/* ################################################################################### */
/* SLIDER HOEMPAGE */
/* ################################################################################### */

.slider-home {
    min-height: 450px;
    height: 85vh;
}

.slider-video {
    width: 100vw;
    height: auto;
}

/*.slider-overlay:after { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent radial-gradient(closest-side at 50% 50%, #09191e00 0%, var(--black-color) 100%) 0% 0% no-repeat padding-box;
}*/

.slider-subtitle {
    line-height: 45px;
    font-weight: 300 !important;
    font-size: 27px;
}

.position-custom-home {
    position: sticky;
    top: 450px;
}

.mouse-scroll-icon {
    width: 20px;
    fill: var(--white-color);
    position: relative;
    bottom: 40px;
}

#splide-slider-homepage .splide__arrow {
    opacity: 1 !important;
}

#splide-slider-homepage .box-arrow i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1 !important;
}

#splide-slider-homepage .splide__arrow {
    align-items: center;

    height: 150px;
    width: 90px;
    border-radius: 0 !important;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

#splide-slider-homepage .splide__arrow i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white-color) !important;
    font-size: 40px !important;
    z-index: 10;
    opacity: 1 !important;
}

#splide-slider-homepage .splide__arrow--next {
    right: 0 !important;
}

#splide-slider-homepage .splide__arrow--prev {
    left: 0 !important;
}

/* #########################################################*/
/* ############# TESTATA ############## */
/* #########################################################*/
.testata__bg {
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center
}


/* #########################################################*/
/* ############# SEZIONE ESPERIENZE HOMEPAGE ############## */
/* #########################################################*/

.box-video {
    position: relative;
}

.box-video::before {
    content: '';
    position: absolute;
    left: -60px;
    bottom: -60px;
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    background-color: #cfd7c733;
    z-index: -1;
}

.video-esperienza {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

/* #########################################################*/
/* ############# BANNER CTA HOMEPAGE ############## */
/* #########################################################*/

#banner-cta {
    position: relative;
    min-height: 65vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#banner-cta:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#banner-cta #panel {
    background-color: rgba(68, 99, 145, .9);
}

#banner-cta #panel p {
    color: #ffffff;
}



/* #########################################################*/
/* ############# INTESTAZIONE PAGINA ############## */
/* #########################################################*/

#intestazione-video {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

#intestazione-video .video-testata {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#intestazione-video .video-testata:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

#intestazione-video .video-testata video {
    height: auto;
    width: 100% !important;
}



/* ################################################################################### */
/* BOX CATEGORIA PRODOTTO */
/* ################################################################################### */

#box-categoria,
#box-categoria .categoria-icon {

    color: var(--primary-color);

}

#box-categoria {
    background-color: var(--grey-color);
    transition: all .4s ease-in-out;
}

#box-categoria .categoria-icon {
    width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: var(--primary-color);
}

#box-categoria span,
#box-categoria span i {
    transition: .1s ease-in-out;
}

#box-categoria span i {
    margin-left: 4px;
}

#sezione-categorie #box-categoria h3,
#slide_box_ripetuti #box-categoria h3 {
    font-size: 19px;
}

#box-categoria:hover,
#box-categoria .small-size:hover {
    /* box-shadow: 1px 2px 40px 5px rgba(73, 189, 241, 0.2) !important;
	background-color: var(--primary-color);
	color: var(--primary-color);*/
}

#box-categoria:hover {
    background-color: var(--primary-color);
}


#box-categoria:hover h4,
#box-categoria:hover h3,
#box-categoria:hover .small-size,
#box-categoria:hover .small-size p,
#box-categoria:hover .boton,
#box-categoria:hover .boton i,
#box-categoria:hover .categoria-icon {
    color: var(--white-color) !important;
}

#box-categoria .boton span {
    display: flex;
    align-items: center;
    justify-content: center;
}

#box-categoria:hover .boton i {
    margin-left: 10px;
}


#slide_box_ripetuti {
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 26%;
    /* Centra il contenitore */
}

#slide_box_ripetuti .containera {
    display: flex;
    justify-content: center;
    /* Centra i box orizzontalmente */
}

#slide_box_ripetuti .rowa {
    display: flex;
    justify-content: center;
    /* Centra i box all'interno della row */
    flex-wrap: wrap;
    /* Per evitare overflow e gestire il responsive */
    gap: 20px;
    /* Spazio tra i box */
}

#slide_box_ripetuti .col-lg-4a {
    flex: 1 1 300px;
    /* Adatta i box in base allo spazio disponibile */
    max-width: 300px;
    /* Imposta una larghezza massima */
}




/* ################################################################################### */
/* SEZIONI ALTERNATE */
/* ################################################################################### */

#sectionImg img {
    position: sticky !important;
    top: 180px;
}

/*#sectionImg::before {
    content: '';
    height: 120%;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--grey-color-2);
    z-index: -1;
}*/

#sectionImg .overlay-box {
    display: none;
}

#sectionImg.odd::before {
    left: -47%;
}

#sectionImg.even::before {
    right: -47%;
}

#sectionImg .decoration-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    filter: opacity(0.75) saturate(1.5);
}

/* ################################################################################### */
/* BOX RIQUADRI NEWS (PROMO E NOVITA) */
/* ################################################################################### */

#promo-novita #box-post h2 {
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 23px;
}

#promo-novita #box-post p {
    font-size: 20px;
    font-weight: 500;
}

#promo-novita #box-post .img-scale {
    transition: .3s ease-in-out;
}

#promo-novita #box-post:hover .img-scale {
    transform: scale(1.2);
}

#promo-novita .bg-effect {
    transition: .3s ease-in-out;
    background: transparent linear-gradient(180deg, #193543 0%, #193543 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #193543 0%, #193543 100%) 0% 0% no-repeat padding-box;
}


/* ################################################################################### */
/* BOX PARCO MEZZI */
/* ################################################################################### */

#box-mezzi .img-scale {
    transition: .4s ease-in-out;
    filter: grayscale(1);
}

#box-mezzi .bg-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    background: transparent linear-gradient(180deg, #44639100 0%, var(--primary-color) 100%) 0% 0% no-repeat padding-box;
    transition: .4s ease-in-out;
}

#box-mezzi .etichette {
    transition: .4s ease-in-out;
}

#box-mezzi:hover .img-scale {
    transform: scale(1.1);
    filter: unset;
}

#box-mezzi:hover .bg-fade {
    height: 40%;
}

#box-mezzi:hover .etichette {
    background-color: #ffffff;
}

#box-mezzi h3 {
    font-weight: bold;
    font-size: 19px;
}

#etichette__mezzo {
    padding: 5px 10px;
    bottom: 30px;
    left: 30px;
}


#etichette__mezzo {
    display: flex;
    gap: 8px;
}


/* ################################################################################### */
/* BOX PRODOTTO SINGOLO */
/* ################################################################################### */

#catalogo-prodotti #box-post h2 {
    color: var(--white-color);
    font-weight: bold;
    font-size: 20px;
}

#catalogo-prodotti #box-post .img-scale,
#catalogo-prodotti #box-post-product .img-scale {
    transition: .3s ease-in-out;
}

#catalogo-prodotti #box-post:hover .img-scale,
#catalogo-prodotti #box-post-product:hover .img-scale {
    transform: scale(1.2);
}

#catalogo-prodotti .bg-effect {
    transition: .3s ease-in-out;
    background: transparent linear-gradient(180deg, #00000000 0%, var(--unnamed-color-000000) 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #00000000 0%, #193543 100%) 0% 0% no-repeat padding-box;
}

#catalogo-prodotti #box-post:hover .bg-effect,
#catalogo-prodotti #box-post-product:hover .bg-effect {
    background: transparent linear-gradient(180deg, #D6081200 0%, var(--unnamed-color-d60812) 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #D6081200 0%, #49BDF1 100%) 0% 0% no-repeat padding-box;
}

#catalogo-prodotti #box-post-product h2 {
    text-transform: uppercase;
    color: var(--white-color);
    font-weight: bold;
    font-size: 16px;
}

#catalogo-prodotti .price {
    font-size: 20px;
    font-weight: bold;
}

#catalogo-prodotti #loop-sottocategorie h2 {
    font-size: 18px !important;
}

#sezione-photogallery .bg-effect {
    transition: .3s ease-in-out;
    background: transparent linear-gradient(180deg, #00000000 0%, var(--unnamed-color-000000) 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #00000000 0%, #193543 100%) 0% 0% no-repeat padding-box;
}


/* ################################################################################### */
/* PAGINA PRODOTTO SINGOLO
/* ################################################################################### */

#sezione-img-prodotto {
    position: fixed;
    top: 140px;
    left: 0;
    width: 100%;
    z-index: -1;
}

#sezione-img-prodotto #sectionImg::before {
    width: 130%;
    position: absolute;
}

#sezione-img-prodotto #sectionImg.even::before {
    right: -60%;
}

#sezione-img-prodotto #sectionImg .decoration-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 85%;
    filter: opacity(0.75) saturate(1.5);
}

.custom-overflow {
    overflow: visible;
}

@media screen and (max-width: 768px) {
    .custom-overflow {
        overflow: hidden;
    }
}


/* ################################################################################### */
/* BOX RIQUADRI SEZIONE BLOG */
/* ################################################################################### */

#sezione-blog #box-post h3 {
    font-weight: bold;
    font-size: 19px;
}

#sezione-blog #box-post .img-scale {
    transition: .3s ease-in-out;
}

/*#sezione-blog #box-post:hover .img-scale {
    transform: scale(1.2);
}*/

#sezione-blog .bg-effect {
    transition: .3s ease-in-out;
    background: transparent linear-gradient(180deg, var(--unnamed-color-14354200) 0%, #143542 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #14354200 0%, #143542 100%) 0% 0% no-repeat padding-box;
}

.zoom-container {

    overflow: hidden;
    position: relative;
    display: inline-block;
}

.zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.zoom-container:hover img {
    transform: scale(1.2);
}

.zoom-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(68, 99, 145, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.zoom-container:hover::after {
    opacity: 1;
}


#intestazione__servizio {
    margin-top: 160px;
    margin-bottom: 252px;
}

.overlay-section {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
}

.overlay-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Sfondo nero con opacità 0.4 */
}

#intestazione__servizio .icona__servizio {
    font-size: 42px;
    color: #ffffff;
}

/* ################################################################################### */
/* PAGINA CONTATTI */
/* ################################################################################### */

.form-margin {
    margin-top: -150px;
    z-index: 1;
}

.cont-box-icon a {
    transition: .1s ease-in-out;
    text-decoration: none;
}

.cont-box-icon a:hover {
    color: var(--primary-color);
}

.box-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .1s ease-in-out;
}

.box-icon i {
    color: var(--white-color);
    font-size: 30px;
}

@media screen and (max-width: 768px) {
    .form-margin {
        margin-top: 0;
        z-index: 1;
    }
}

/* ################################################################################### */
/* PAGINA MARCHI (filtri isotope) */
/* ################################################################################### */

#loop-marchi h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
}

.box-marchi {
    transition: .1s ease-in-out;
}

.box-marchi:hover {
    transform: scale(1.03);
}

#filter .button-group-wrapper {
    overflow-x: auto;
}

#filter .button-group {
    display: flex;
    flex-wrap: nowrap;
}

#filter .button-group-wrapper::-webkit-scrollbar {
    height: 6px;
}

#filter .button-group-wrapper::-webkit-scrollbar-thumb {
    background-color: #efefef;
    border-radius: 10px;
}

#filter .button-group-wrapper::-webkit-scrollbar-track {
    background: transparent;
}


#filter .button {
    background-color: var(--grey-color-2);
    border: 1px solid #ededed;
    transition: .1s ease-in-out;
    font-weight: 300 !important;
    font-size: 14px;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 20px;
    color: var(--black-color);
}

#filter .button:hover {
    border: 1px solid var(--second-color);
    color: var(--white-color);
    background-color: var(--second-color);
}

#filter .button.active {
    border: 1px solid var(--second-color);
    background-color: var(--second-color);
    color: var(--white-color);
}

#filter .button:last-child {
    margin-right: 0;
}


/* Create three equal columns that floats next to each other */
.column {

    display: none;
    /* Hide all elements by default */
}

/* The "show" class is added to the filtered elements */
.show {
    display: block;
}


#sezione-categorie h3 {
    font-size: 20px;
}


#myBtnContainer .btn {
    background-color: rgba(207, 215, 199, 0.33);
    margin: 0 5px;
    font-weight: 300;
    border: 0
}

#myBtnContainer .btn:hover,
#myBtnContainer .btn.active {
    background-color: #CFD7C7;
    border: 0
}

.etichette {
    display: inline-block;
    /* Evita che vadano su una nuova riga */
    padding: 5px 10px;
    /* Aggiunge un po' di spazio interno */
    background-color: #CFD7C7;
    /* Sfondo visibile */
    color: #333;
    /* Colore del testo */
    border-radius: 5px;
    /* Angoli arrotondati */
    white-space: nowrap;
    /* Evita che il testo vada a capo */
}


.splide__pagination__page {
    margin: 0 5px;
}

.splide__pagination__page {
    height: 10px;
    width: 10px;
    background-color: #abafb1;
}

#sectionImg,
.image-container {
    position: relative;
    display: inline-block;
    /* Per adattarsi alla dimensione dell'immagine */
    /*mi serve più per il mobile*/
}

#sectionImg img,
.image-container img {
    display: block;
    width: 100%;
    /* Adatta l'immagine */
    /*max-width: 400px;  Cambia a seconda delle esigenze */
}

.overlay-box {
    position: absolute;
    left: -40px;
    /* Sporge a sinistra */
    bottom: -40px;
    /* Sporge in basso */
    width: calc(95% + 40px);
    /* Larghezza aumentata per coprire */
    height: 98%;
    /* Altezza del div (personalizzabile) */
    background: #CFD7C733;
    /* Colore semi-trasparente */
    z-index: -1;
    /* Lo posiziona sotto l'immagine */
    border-radius: 10px;
}

/* Stile per la lista */
ul.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Stile per ogni elemento della lista */
ul.custom-list li {
    /*display: flex;
    align-items: center;*/
    margin-bottom: 15px;
}

ul.custom-list li:last-child {
    margin: 0 !important;
    padding: 0 !important;
}

/* Stile per il link */
ul.custom-list li a,
.custom-list a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    color: #446391;
    /* Colore principale */
    transition: color 0.3s ease;
}

/* Effetto hover */
ul.custom-list li a:hover {
    color: #0056b3;
    /* Cambio colore al passaggio del mouse */
}


/* Stile per il testo evidenziato */
#lista_de_experiencias ul.custom-list li a span {
    background-color: #dfe3e8;
    /* Sfondo del testo evidenziato */
    padding: 2px 4px;

}


ul.custom-list li a span {
    padding: 0 !important;
    background-color: transparent !important;
    text-decoration: none;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 60%, #dfe3e8 38%, #dfe3e8 100%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0) 100%)
}

.labelone {
    display: inline-block;
    /* Occupa solo lo spazio del contenuto */
    max-width: max-content;
    /* Si adatta alla lunghezza del testo */
    width: auto;
    /* Evita di allungarsi troppo */
    text-align: center;
    background-color: #f8f9fa;
    /* Sfondo per visibilità */
    color: #333;
    /* Colore del testo */
    border-radius: 5px;
    /* Bordi arrotondati */
    padding: 5px 10px;
    /* Spaziatura interna */
    font-size: 12px;
}


/*************** FORM PREVENTIVO FAST *****************/
/* Stile generale per i campi con icona */
.gf-field-icon {
    position: relative;
}

.content-preventivo-fast {
    padding: 100px 0;
}

.preventivo-fast h2 {
    font-size: 50px;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.content-preventivo-fast h1 .special-underline,
.preventivo-fast h1 .special-underline {
    position: relative;
    z-index: 1;
    padding: 0 5px;
}

.content-preventivo-fast .special-underline::before,
.preventivo-fast .special-underline::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 27px;
    background-color: #CFD7C7;
    z-index: -1;
}

.content-preventivo-fast .gsection_title,
.preventivo-fast .gsection_title {
    position: relative;
    margin-bottom: 0 !important;
    color: var(--dark-color) !important;
    font-size: 20px !important;
}

/* Aggiunta di uno spazio interno per non sovrapporre il testo all'icona */
/* .gf-field-icon input,
.gf-field-icon input[type="text"],
.gf-field-icon input[type="date"],
.gf-field-icon input[type="time"] {
    padding-left: 40px;
}

input .large {
    padding-left: 40px;
}

#form input[type="text"],
#form input[type="email"],
#form input[type="tel"],
#form textarea,
#form select {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #cbcbcb !important;
    height: 45px;
    box-shadow: unset;
    font-size: 16px !important;
}

#form input[type="radio"] {
    border: 1px solid #cbcbcb !important;
    box-shadow: unset !important;
}

#form select {
    padding: 4px 10px 0 10px;
}

#form .gform-theme--foundation .gform_fields {
    grid-row-gap: 30px !important;
}

#form .gfield_radio {
    flex-direction: row !important;
} */

.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('URL-DELLA-TUA-IMMAGINE');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: -1;
}



/* ---------------------- */
/* NUOVO FORM */
/* ---------------------- */

.decoration-lines {
    position: absolute;
    left: 105%;
    top: 50%;
    transform: translateY(-50%);
}

.decoration-lines .line {
    height: 5px;
    border-radius: 50px;
    width: 70px;
    background-color: #CFD7C7;
    margin-bottom: 5px;
}

.decoration-lines .line:nth-child(2) {
    margin-left: 10px;
}

.decoration-lines .line:nth-child(3) {
    margin-bottom: 0;
}

#formfast {
    position: relative;
}

#formfast .custom-position {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100% !important;
}


#form .form-divider {
    display: flex;
    align-items: center;
}

#form .form-divider span {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 300px;
    font-size: 23px;
    display: inline-block;
    margin-right: 10px;
}

#form .form-divider .line {
    height: 1px;
    width: 100%;
    background-color: #eeeeee;
}

#form label:not(.gfield_consent_label) {
    margin-bottom: 5px;
    font-weight: bold !important;
}

#form .icon-input {
    display: flex;
    align-items: center;
}

#form input[type="text"],
#form input[type="email"],
#form input[type="tel"],
#form input[type="date"],
#form textarea,
#form select {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #cbcbcb !important;
    height: 45px;
    width: 100%;
    box-shadow: unset;
    font-size: 16px !important;
}

#form textarea {
    height: auto;
}

#form input[type="radio"] {
    border: 1px solid #cbcbcb !important;
    box-shadow: unset !important;
}

#form select {
    padding: 0 10px;
    font-weight: 300 !important;
}

#form select option {
    font-weight: 300 !important;
}

#form .icon-input input[type="text"],
#form .icon-input input[type="date"] {
    width: calc(100% - 45px);
}

#form .icon-input .has-icon {
    border-bottom-left-radius: unset;
    border-top-left-radius: unset;
    border-left: unset !important;
}

#form .icon-box {
    height: 45px;
    width: 45px;
    background-color: #eeeeee;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbcbcb !important;
}

/* ---------------------- */
/* FINE NUOVO FORM */
/* ---------------------- */



/******** *********/
.testata-esperienza {
    background-color: #446391;
    margin-top: 80px;
}

#sezione-clienti {
    background-color: var(--grey-color);
}


.BoxNumeri .grisl {
    background: #CFD7C733;
}

.experience i {
    margin-top: 13px;
}

/*************    ****************/
.icon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    /* Distanza tra gli elementi */
}

.iconazz {
    display: flex;
    align-items: center;
    /*flex: 1 1 calc(50% - 20px);   
    min-width: 250px; 
    padding: 10px;*/

}

.iconazz .icon {
    font-size: 30px;
    /* Grandezza icona */
    margin-right: 15px;
    /* Spazio tra icona e testo */
}

.iconazz .content {
    display: flex;
    flex-direction: column;
}




.lavconn {
    /*background: var(--primary-color);*/
    background: #446391d9;
    /* Devi avere il colore in formato RGB */
    top: 30%;
    min-width: 400px
}

.Testoimmagine iframe {
    width: 100% !important;
    height: 500px;
}


/*********************************************************/
/***********************  GFORM  *************************/
/*********************************************************/
.gfield_label,
.gform-datepicker,
.gfield_select,
input[type="text"],
input[type="number"],
.gform-field-label {
    font-size: 16px !important;
    font-weight: 100 !important;
}

.gfield_required_asterisk {
    font-weight: bold !important;
    color: #BB0003 !important;
}

#field_submit {
    display: flex;
    justify-content: end;
}

#gform_submit_button_2 {
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--white-color);
    background-color: var(--primary-color);
    padding: 20px 40px !important;
    transition: 0.1sease-in-out;
    text-transform: uppercase;
    border: 1px solid var(--primary-color) !important;
    font-weight: bold !important;
    border-radius: 10px;

}

/****************** VIDEO ********************/
.video-container {
    position: relative;
    /* width: 100%; */
    /* max-height: 600px; */
    /* overflow: hidden; */
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    z-index: 1;
}

.video-container video {
    /* width: 100%; */
    /* height: 100%; */
    /* object-fit: cover; */
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2
}

.overlay-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    margin-bottom: 50%;
    z-index: 0
}

.video-container .container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;
    transform: translate(-50%, -50%);
    /*   color: var(--primary-color);
            font-size: 2rem;
            text-align: center;
            background: rgba(0, 0, 0, 0.5);
            padding: 20px;
            border-radius: 10px;*/
}



.fo-12 {
    font-size: 12px;
}



/***************************/
/*** sezione chi siamo ***/
#sezione-blog-chisiamo .cuatro {
    position: absolute;
    top: -250px;
}

#sezione-blog-chisiamo .tre {
    position: relative;
}


.lavconn {
    position: absolute;
}


.fancybox-container {
    z-index: 999999999999999999999999999999992;
}



/**** video staff *****/

.Staff h2 {
    font-size: 30px;
}

#persona .name {
    font-weight: 500;
    font-family: var(--font-family) !important;
    font-size: 36px;
    color: var(--text-color);
}

.ii-video-box {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.ii-video-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.ii-video-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, #446391 100%);
    border-radius: 0.5rem;
    pointer-events: none;
    z-index: 1;
}

.ii-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    z-index: 2;
    pointer-events: none;
}


.headstack {
    padding-top: 150px;
}


footer a:hover {
    color: #446391;
}


/* ################################################################################### */
/* SINGOLO MEZZO */
/* ################################################################################### */

#absolute {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

#chiSiamo .video-container {
    max-height: unset !important;
    height: 100% !important;
}



/* ################################################################################### */
/* HOEMPAGE - Nuove sezioni alternate */
/* ################################################################################### */

#slider-vertical .label {
    font-size: 20px;
}

#slider-vertical h2 {
    font-size: 40px;
}

/* #slider-vertical #editor.section-text p {
    font-size: 20px;
    line-height: 30px;
} */

#slider-vertical .full-height {
    height: auto;
    width: 100%;
    position: sticky;
    top: 160px !important;
}

#slider-vertical #item {
    position: relative;
}

#slider-vertical #item h3 {
    color: var(--dark-color) !important;
    font-size: 35px !important;
}

#slider-vertical #item video {
    width: 100%;
    height: auto;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

#slider-vertical #item iframe {
    width: 100%;
    height: 600px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

#slider-vertical #item img {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

#slider-vertical #item .link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
}


/* ################################################################################### */
/* HOEMPAGE - CHI SIAMO new */
/* ################################################################################### */


#chi-siamo h2 {
    font-size: 40px;
}

/* #chi-siamo #editor p {
    font-size: 16px;
    line-height: 35px;
} */

#chi-siamo img {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.video-chi-siamo iframe {
    width: 100%;
    height: 500px;
}

#chi-siamo iframe {
    width: 100%;
    height: 700px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}


/* ################################################################################### */
/* DISCLAIMER VIDEO E IMMAGINI PER ACCESSIBILITA' */
/* ################################################################################### */

.disclaimer-accessibility {
    padding: 3px 10px 5px 10px;
    border-radius: 20px;
    background-color: #dedede;
    width: auto;
    display: inline-block;
    margin: 5px 0 0 0;
    line-height: 20px;
}

.disclaimer-absolute .disclaimer-accessibility {
    position: absolute;
    bottom: 10px;
    left: 6px;
    width: auto;
    z-index: 10;
    pointer-events: none;
}

.disclaimer-accessibility span {
    font-size: 12px;
    font-weight: 500;
    color: #2c2c2c;
}

.disclaimer-accessibility span i {
    margin-right: 2px;
}