/* Header */


.boxlogohdr{
    transition: .3s ease ;
}

/* .mysticky-none{
    background: #D30B0B;
    position: fixed;
    top: -114px;
    transition: .3s ease ;

}
.mysticky-view{
    top: 0;

        .boxlogohdr{
            width: 100px;
        }
}

/* Change sticky default */
@media screen and (min-width: 1024px){

    .elementor-sticky .boxlogohdr{
        display: none;
        opacity: 0;
    }
}




.e-con.elementor-sticky--active .e-con-inner{
    justify-content: space-between!important;

}
.e-con.elementor-sticky--active{
    background-color: black!important;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5)!important; 
    animation: header 0.3s ease-out forwards;
      
    
        .boxlogohdr{
            display: block;

            animation: opacitylogo 0.3s ease-out forwards;

        }
} 
/* Animazione per far entrare logo */
@keyframes opacitylogo {
    0% {
        opacity: 0;
        width: 0;

    }
    100% {
        opacity: 1;
        width: 100px;

    }
}
@keyframes header {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.e-con.elementor-sticky--effects .elementor-nav-menu--main .menu-item:not(.menu-item-72) .elementor-item:not(.elementor-item-active){
    color: #ffffff!important;
    fill: #ffffff!important;

}
.e-con.elementor-sticky--active .menu-item:not(.menu-item-72) .elementor-item:hover{
    color: var(--e-global-color-accent)!important;
    fill: var(--e-global-color-accent)!important;

}

.e-con.elementor-sticky .menu-item-72 .elementor-item {
    color: #D30B0B !important;
}
.e-con.elementor-sticky--effects .menu-item-72 .elementor-item {
    color: #ffffff !important;
    background-color: #D30B0B !important;
}
/* END Header */

/* .swiper-pagination{
    bottom: 45px!important;
} */

/* Counter home */
.mycounter .elementor-counter-number-wrapper:after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% - 25px);
    width: 50px;
    border-bottom: 2px solid #D30B0B;
}
/* END Counter home */

/* Card */
.mycard .mycard-content {
	transform: translateY(45px);
}
.mycard:hover .mycard-content {
	transform: translateY(-45px);
}


.mycard .sci {
	transform: translateY(20px);
	transition: 0.5s;
	opacity: 0;
}

.mycard:hover .sci{
	transform: translateY(0px);
	opacity: 1;
}
 .mycard .icn {
	transform: translateY(0px);
	transition: 0.5s;
	opacity: 1;
}   

.mycard:hover .icn{
	transform: translateY(-10px);
	opacity: 0;
}
/* END Card */

/* Step icons */
.mycircle{
    width: 150px;
    height: 150px;
    border-radius: 100px;
    transition: .3s ease;

}
.mycircle:hover{

	transform: scale(1.1)

}
.mycircle2{
    width: 220px;
    height: 220px;
    border-radius: 100%;
    transition: .3s ease;

}

.box_circle:hover .mycircle2{

	transform: scale(1.05)

}
/* END Step icons */

/* toppage  */

#toppage.visible {
    animation: slideIn 0.4s ease-out forwards;
}

/* Animazione per quando l'icona diventa invisibile */
#toppage.invisible {
    animation: slideOut 0.4s ease-out forwards;
}

/* Animazione per far entrare l'icona dal basso */
@keyframes slideIn {
    0% {
        transform: translateY(100%); /* L'icona parte dal basso */
        opacity: 0;

    }
    100% {
        transform: translateY(0); /* L'icona arriva alla posizione finale */
        opacity: 1;

    }
}

/* Animazione per far uscire l'icona verso il basso */
@keyframes slideOut {
    0% {
        transform: translateY(0); /* L'icona è nella posizione finale */
        opacity: 1;

    }
    100% {
        transform: translateY(100%); /* L'icona scivola verso il basso */
        opacity: 0;
    }
}
.contenitoretop{
    /* transition: .3s ease; */
    /* height: auto; */
    overflow: hidden;
    height: 150px;


}
.reduced {
    animation: heightOut 0.4s ease-out forwards;
}
.extend{
    animation: heightIn 0.4s ease-out forwards;

}
@keyframes heightIn {
    0% {
        height: 150px; /* L'icona è nella posizione finale */

    }
    100% {
        height: 210px; /* L'icona è nella posizione finale */

    }
}
@keyframes heightOut {
    0% {
        height: 210px; /* L'icona è nella posizione finale */


    }
    100% {
        height: 150px; /* L'icona è nella posizione finale */

    }
}


/* Blog */
h2.wp-block-heading {
    font-size: 30px;
}
h3.wp-block-heading {
    font-size: 22px;
}
h3.calltoactionblog{
    font-size: 28px;
    text-transform: uppercase;
}
.elementor-post__card .elementor-post__read-more{
    text-transform: uppercase;
    background: #D30B0B;
    border: 1px solid #D30B0B;;
    padding: 10px 30px;
    font-size: 14px;
    color: #ffffff;
    transition: .3s ease;

}
.elementor-post__card .elementor-post__read-more:hover{
    background: #ffffff00;
    color: #030303;
}

@media (max-width: 1200px) {
    .wp-block-columns{
        display: block!important;
    }
}
/* END Blog */



/* Table Veicoli */
.veicolo-box tbody>tr:nth-child(odd)>td, 
.veicolo-box tbody>tr:nth-child(odd)>th {
    background-color: transparent; /* Disabilita righe alternate */
}


.veicolo-box tbody tr:hover > td,
.veicolo-box tbody tr:hover > th {
  background-color: rgb(128 128 128 / 0%);
}

.veicolo-box {
    width: 100%;
    table-layout: fixed;
}

.veicolo-thumbnail {
    width: var(--thumbnail-width, 40%); /* Valore predefinito 40% */
}

.veicolo-details {
    width: auto; /* Occupa lo spazio rimanente */
}
tr > th:nth-of-type(2) {
    color: #ffffff!important;
    background-color: #D30B0B!important;
}
tr > th:nth-of-type(2), tr > th:nth-of-type(3) {
    border-right-color: #ffffff!important;
}
tr > th:nth-of-type(1) {
    border-top: 0!important;
    border-left: 0!important;
}
.veicolo-column .veicolo-head:nth-of-type(2){
    font-weight: 400!important;
    font-size: 16px;

}
.myimg{
    display: block;
    margin: 0;
}
/* .veicolo-value{

} */
.veicolo-title{
    margin: 0;
    transition: .15s ease-in-out;

}
.veicolo-button:hover .veicolo-title{

    background-color: #D30B0B!important;
    color: #ffffff!important;

}

/* END Table Veicoli */


/* 
.veicolo-thumbnail {
    margin-right: 20px;
    flex: 0 0 auto;
}

.veicolo-thumbnail.left {
    order: 1; 
}

.veicolo-thumbnail.center {
    order: 2; 
    display: block;
    margin: 0 auto;
}

.veicolo-thumbnail.right {
    order: 3;
}

.center.veicolo-details {
    flex: 1;
    order: 0; 
}

.veicolo-details {
    flex: 1;
    order: 2; 
}

.view-more {
    display: inline-block;
    margin-top: 10px;
} */

