main {
    overflow: hidden;
}

.splide__pagination {
    bottom: 1.5em;
}

#clearfix {
    height: 110px;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    background-image: url('../images/logo-overlay.png');
    background-size: cover;
    background-position: left;
}

.object-fit {
    object-fit: cover;
    object-position: center;
}

#testata {
    height: 100vh;
}

#testata h1 {
    font-size: 70px;
}

.overlay .primary-button:hover {
    background-color: transparent;
    color: var(--white-color);
}

.slider-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-video {
    width: 100vw;
    height: auto;
}

.bg-right {
    background-image: url('../images/bg-right.png');
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
}

.bg-right-big {
    background-image: url('../images/bg-right-big.png');
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
}

.icona {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icona--min-width {
    min-width: 80px;
}

.icona--storia {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icona i {
    font-size: 45px;
}

.icona--storia i {
    font-size: 35px;
}

#clienti {
    transform: translateY(-100px);
    margin-bottom: -150px;
}

#clientiCarousel img {
    filter: grayscale(1);
}

/*---------------------------
-------- AZIENDA --------
---------------------------*/
.storia-row {
    position: relative;
    overflow: hidden;
}

.storia-row:after {
    content: '';
    width: 3px;
    height: calc(100% - 48px);
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: 48px;
    background-color: #EEE;
    z-index: -1;
}

.storia__item.order-lg-1:after {
    width: 0;
    height: 0;
    line-height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid var(--light-color);
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
}

.storia__item.order-lg-3:after {
    width: 0;
    height: 0;
    line-height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid var(--light-color);
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 6px;
}

.servizio__immagine:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--primary-color-light);
    transform: rotate(-30deg);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--white-light);
    box-shadow: none;
}

.accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
}

/*--------------------------
-----Contact form---------
--------------------------*/
.gform_required_legend {
    display: none;
}

.gform-button--width-full {
    border: 0;
}

.ginput_container_consent {
    margin-top: 10px;
}

.contact-form-image {
    margin-top: -150px;
}


/* Gravity campo nazione 100% */
/* Rende il campo Indirizzo a larghezza piena */
.full-width-address .ginput_complex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.full-width-address .ginput_complex input,
.full-width-address .ginput_complex select {
    flex: 1 1 100%; /* Ogni campo occupa il 100% */
    max-width: 100%;
    margin-bottom: 10px; /* Aggiunge spazio tra i campi */
}

/* Rimuove eventuali margini e padding extra */
.full-width-address .ginput_complex input,
.full-width-address .ginput_complex select {
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid var(--border-solid-color);
    border-radius: 10px;
}
.full-width-address .ginput_complex .address_state {
    flex: 1 1 100%; /* Campo Stato occupa il 100% */
}

.gform_wrapper.gravity-theme .ginput_container_address span {
	flex: 0 0 100% !important;
}

#gform_1 input[type=text],
#gform_1 input[type=email],
#gform_1 textarea,
#gform_1 input[type=tel],
#gform_3 select,
#gform_3 input[type=text],
#gform_3 input[type=email],
#gform_3 input[type=file],
#gform_3 textarea,
#gform_3 input[type=tel],
#gform_3 select {
    border: 1px solid var(--border-solid-color);
    border-radius: 10px;
}

#gform_3 input[type=file] {
    min-height: 46px;
    padding: 10px;
}

.gfield_required_asterisk {
    color: var(--primary-color) !important;
}

.form-container-white {
    min-height: 500px;
}

/*.page-template-page-contatti .form {
    transform: translateY(-140px);
}*/

/* #contattiForm {
    margin-bottom: -140px;
} */

.form-container {
    min-height: 420px;
    margin: 280px 0 230px 0;
}

.form-absolute {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.stampo-disegno img,
.stampo-finito img {
    width: 55%;
}

.stampo-disegno {
    margin-bottom: -150px;
    position: relative;
}

.translate-bottom {
    transform: translateY(80px);
}

#serviceSlider,
#serviceImage,
#settoreImage {
    position: sticky;
    top: 150px;
}

.single-prodotto h1 {
    font-size: 40px;
}

.wpml-ls-item {
    padding: 0 10px !important;
}





/*--------------------------
-----Sezioni fullscreen---------
--------------------------*/
.section {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100vh;
}

#section-left {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(var(--primary-color-rgb), 1) 50%, rgba(var(--primary-color-rgb), 1) 100%);
}

#section-right {
    background: rgb(255, 255, 255);
    background: linear-gradient(-90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(var(--primary-color-rgb), 1) 50%, rgba(var(--primary-color-rgb), 1) 100%);
}



/* ==========================================================================
   Section Navigation
   ========================================================================== */

/* #section-menu {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 3000;
    text-transform: uppercase;

    -webkit-transition: all ease 0.1s;
    transition: all ease 0.1s;
}

#section-menu.freeze {
    right: -112px;
}

.touch #section-menu {
    display: none;
}

#section-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#section-menu li {}

#section-menu a {
    float: right;
    clear: both;

    display: block;
    height: 2em;
    line-height: 2em;
    text-decoration: none;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.5); 
    color: #fff;
    white-space: nowrap;

    -webkit-transition: all ease 0.1s;
    transition: all ease 0.1s;
}

#section-menu.freeze a {
    float: none;
    width: 128px;
}

#section-menu a:hover,
#section-menu a:focus {
    background: rgba(0, 0, 0, 0.75);
    font-size: 1.2em;
}

#section-menu a span {
    display: none;
    font-weight: 700;
    position: relative;
    width: 48px;
    left: -16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
}

#section-menu a.active {
    background: #000;
    font-size: 1.4em;
    font-weight: 700;
}

#section-menu.freeze a span {
    display: inline-block;
}

#section-menu a.active span {
    display: inline-block;
    background: #000;
}

#section-menu a.active span:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.25);
}

#section-menu.freeze a.active span:before {
    display: none;
}
*/

#section-left h6 {
    font-size: 14px !important
}

.bg-section-title {
    background: var(--primary-color);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(var(--primary-color-rgb), 1) 30%, rgba(var(--primary-color-rgb), 1) 70%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 1) 100%);

}

.table>:not(caption)>*>*,
#descrizione_tabella>:not(caption)>*>* {
    padding: .1rem .4rem !important;
    border-bottom-width: 1px !important;
    font-size: 14px;
    line-height: 20px;
}

.table-responsive-lg {
    overflow-y: auto;
}

.table tr:first-child,
#descrizione_tabella table>tbody>tr:first-child:hover>* {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.table-hover>tbody>tr:first-child:hover>*,
#descrizione_tabella table>tbody>tr:first-child:hover>* {
    color: var(--white-color);
}

.model-title strong {
    color: var(--primary-color);
    font-family: var(--font-family-title);
}

@keyframes animazione-immagini {
    0% {
        transform: translateX(0%) scale(1);
    }

    50% {
        transform: translateX(50%) scale(1.2);
    }

    100% {
        transform: translateX(50%) scale(1.2);
    }
}

@keyframes animazione-img-destra {
    0% {
        transform: translateX(0%) scale(0.5);
        opacity: 0;
    }

    25% {
        transform: translateX(200px) scale(1);
        opacity: 1;
    }

    75% {
        transform: translateX(200px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(0%) scale(0);
        opacity: 0;
    }
}



/* .img-left,
.img-right {
    max-width: 100%;
    height: auto;
    position: relative;
    transition: transform 3s ease-in-out, opacity 4s ease-in-out;
}

.img-left {
    left: -50%;
    animation: animazione-immagini 4s forwards;
    z-index: 9
}

.img-right {
    right: 0;
    position: absolute;
    z-index: -1;
    top: 25%
}

.img-right {
    right: 0;
    position: absolute;
    z-index: -1;
    top: 25%;
} */

.over-img {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-sticky-top {
    position: sticky;
    margin-top: -60px;
    /* margin-top: -150px; */
    top: 130px;
    right: 0;
}


.puff-out-center {
    -webkit-animation: puff-out-center 1s ease-in-out 4s both;
    animation: puff-out-center 1s ease-in-out 4s both;
    opacity: 0.8
}

@-webkit-keyframes puff-out-center {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
        visibility: visible;
    }

    100% {
        -webkit-transform: scale(2);
        transform: scale(2);
        -webkit-filter: blur(4px);
        filter: blur(4px);
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes puff-out-center {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
        visibility: visible;
    }

    100% {
        -webkit-transform: scale(2);
        transform: scale(2);
        -webkit-filter: blur(4px);
        filter: blur(4px);
        opacity: 0;
        visibility: hidden;
    }
}



.puff-in-center {
    -webkit-animation: puff-in-center 1.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 4s both;
    animation: puff-in-center 1.5s cubic-bezier(0.470, 0.000, 0.745, 0.715) 4s both;
}

@-webkit-keyframes puff-in-center {
    0% {
        -webkit-transform: scale(2);
        transform: scale(2);
        -webkit-filter: blur(4px);
        filter: blur(4px);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes puff-in-center {
    0% {
        -webkit-transform: scale(2);
        transform: scale(2);
        -webkit-filter: blur(4px);
        filter: blur(4px);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}



.title-product:after {
    content: attr(data-text);
    transform: translateX(-100%);
    position: absolute;
    color: var(--primary-color);
    font-family: var(--font-family-title);
}

#numeri {
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-color: #000;
    background-size: cover;
    position: relative;
    height: 50vh;
}

#numeri::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0
}

#numeri h4 i,
#numeri h3 {
    font-size: 3rem;
}

#numeri p {
    font-size: 1.5rem;
}



#gallery_section1,
#gallery_section2 {
    border: 20px solid #fff;
}

#section_2 {
    margin-top: -100px
}

#section_1 {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 55%, rgba(var(--primary-color-rgb), 1) 55%, rgba(var(--primary-color-rgb), 1) 95%, rgba(255, 255, 255, 1) 95%, rgba(255, 255, 255, 1) 100%);
}

.bg-form-news {
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(1.1rem);
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: -1;
}

.bg-form-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.bg-left-big {
    background: linear-gradient(90deg, rgba(var(--primary-color-rgb), 1) 0%, rgba(var(--primary-color-rgb), 1) 40%, rgba(var(--primary-color-rgb), 1) 40%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 1) 100%);

}

#single-news a {
    text-decoration: underline;
    color: var(--primary-color);
}

#single-news a:hover {
    text-decoration: none;
    color: var(--black-color);
}

.primary-bg-prd {
    background: var(--primary-color);
    /*background: linear-gradient(90deg, rgba(var(--primary-color-rgb), 1) 0%, rgba(var(--primary-color-rgb), 1) 70%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%);*/
}


.moving-arrow {
    width: 100%;
    height: 140px;
    background: #A42332;
    transition: 0.5s;
    clip-path: clip-path: xywh(0 5px 100% 75% 15% 0);
    position: relative;
    z-index: -1;
    margin-top: -455px;
}

#prodotto:hover .moving-arrow {
    clip-path: clip-path: xywh(0 5px 100% 75% 15% 0);
    width: 100%;
    background: #fff;
    right: 0;
    transform: translateX(100%);
}

#prodotto .img-prodotto {
    top: -25%;
    position: relative;
    transition: 0.5s;
}

#prodotto #disegno.img-prodotto {
    top: -25%;
    position: relative;
    display: none;
    transition: 0.5s;
}

#prodotto:hover .img-prodotto {
    display: none;
}

#prodotto:hover #disegno.img-prodotto {
    display: block;
}

#prodotto h2 {
    font-size: 50px;
    color: #fff
}

#prodotto h3 {
    font-size: 60px;
    color: #fff
}

#prodotto .icona-prodotto {
    filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(30deg) brightness(130%) contrast(101%);
    width: 60%
}

#prodotto:hover .icona-prodotto {
    filter: none;
}

#prodotto:hover h2 {
    color: #A42332;
}

#prodotto:hover h3 {
    color: #000;
}




#prodotto-single .img-prodotto {
    top: -25%;
    position: relative;
}

#prodotto-single h1 {
    font-size: 50px;
    color: #fff
}

#prodotto-single h2 {
    font-size: 60px;
    color: #fff
}

#prodotto-single .icona-prodotto {
    filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(30deg) brightness(130%) contrast(101%);
    width: 70%;
    margin: 0 auto;
    display: block;
}

#section-video iframe {
    width: 100%;
    height: 450px;
}


#titleMacchina {
    top: 0px;
    opacity: 0;
    z-index: 99;
    height: 0;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}

#titleMacchina.scroll-title {
    top: 102px;
    opacity: 1;
    visibility: visible;
    height: auto;
    transition: 0.2s ease-in-out;
    overflow: visible;
}

#titleMacchina .single-prodotto__attachment {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#titleMacchina .single-prodotto__attachment:hover {
    border-color: white !important;
}


#section-modelli img {
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

#descrizione_tabella table {
    font-size: 14px;
    line-height: 20px;
}

#descrizione_tabella table tr:first-child {
    background-color: var(--primary-color);
    color: var(--white-color);
}

#descrizione_tabella p {
    font-size: 12px;
    line-height: 16px;
}

.primary-border {
    border: 2.5px solid var(--primary-color);
}

.model-title {
    font-size: 14px;
    line-height: 20px;
    margin-top: 10px;
}

.fade-title {
    transition: .4s ease-in-out;
}

.hide-title {
    opacity: 0;
    visibility: hidden;
}

.show-title {
    opacity: 1;
    visibility: visible;
}


#gallery-news .splide__arrow--prev {
    left: 30px !important;
}

#gallery-news .splide__arrow--next {
    right: 30px;
}

.category {
    z-index: 1;
}