/************************************************
Stylesheet: Global Stylesheet
*************************************************/


/* COLORS */
:root {
    --moredark: #222;
    --dark:     #333;
    --gray:     #8f9499; /* #95a8ab */
    --green:    #27c46a; /* 00843d */
    --light:    #f4f4f4;
    --white:    #fff;
}


/*********************
GENERAL STYLES
*********************/

html { background-color: var(--moredark); }
body {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-color: var(--moredark);
    /*background-image: url("../images/sinapsi_BG.png");*/
    background-repeat: repeat;
    background-size: auto;
    font-family: "Oxanium", sans-serif !important;
}
header.header { max-width: 1920px; }

h1, h2, h3, h4, h5, h6,
p, a, ul, ol, li, table, input, textarea { font-family: "Oxanium", sans-serif !important; }

h1, h2, h3, h4, h5, h6 {
    color: var(--green);
    font-weight: 900;
    line-height: 1.1em;
    text-transform: none;
    text-align: center;
    text-transform: uppercase;
    padding-top: 20px;
    padding-bottom: 20px;
}

h1 { font-size: 3.0rem; }
h2 { font-size: 2.6rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.6rem; }
h6 { font-size: 1.4rem; }

p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.5em;
}
ol, ul, li {
    font-size: 1rem;
    color: var(--gray);
}
table {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.3em;
}

    @media (max-width:48em) {
        h1 { font-size: 2.3rem; }
        h2 { font-size: 2.0rem; }
        h3 { font-size: 1.6rem; }
        h4 { font-size: 1.5rem; }
        h5 { font-size: 1.4rem; }
        h6 { font-size: 1.3rem; }
        button, .button { }
    }
    @media (max-width:39.9375em) {
    }

a { color: var(--gray); text-decoration: underline; }
    a:hover { color: var(--green); }

a.button, .button {
    display: inline-block;
    color: var(--dark);
    font-size: .9rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 2px;
    padding: 15px 30px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 9px;
    background-color: var(--green);
    -webkit-box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
    button:hover, a.button:hover, .button:hover {
        color: var(--dark);
        background-color: var(--white);
        -webkit-box-shadow:none;
        box-shadow:none;
    }
    button:focus, a.button:focus {
        color: var(--dark);
        background-color: var(--white);
    }
a.button_green {
    color: var(--green);
    border: 1px solid var(--green);
    background: transparent;
}
a.button i, .button i {
    font-size: 1.2em;
}

select option:checked {
    color: var(--white);
    border: 1px solid var(--white);
    background-color: var(--green);
}
option:not(:checked) {
    color: var(--gray);
    background-color: var(--white); 
}




/*********************
MENU
*********************/

/* EFFETTI PRINCIPALI SU SCROLL */
header.header {
    position: fixed;
    display: block;
    width: 100%;
    margin: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,.0) );
    z-index: 999; /* IUBENDA BOX è impostato su 10000 */
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}
    header.header.darkHeader {
        margin-top: 0px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,.5) );
    }
#top-bar-menu {
    max-width: 1400px;
    height: auto;
    margin: 0 auto;
}
.top-bar-menu.maxwidthcontent { overflow: visible; }
.top-bar, .top-bar ul {
    background-color: transparent;
}
    .darkHeader .top-bar {
        padding: 3px 0;
    }
ul.submenu.is-dropdown-submenu {
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.7);
}
    .darkHeader ul.submenu.is-dropdown-submenu {
        background-color: #ecf2f2;
    }
    @media (max-width:39.9375em) { /* 39.9375em oppure 63.9375em */
        ul#main-nav ul.submenu.is-accordion-submenu { padding-left: 20px; }
        .is-dropdown-submenu {
            position: relative;
            top: auto !important;
            right: auto !important;
            left: auto !important;
            z-index: 1;
            display: block;
            min-width: 200px;
            border: 0;
            background: transparent;
        }
    }

/* PULSANTI */
header.header a,
header.header a:visited,
header.header a:focus {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}
    @media (max-width:48em) {
        header.header .accordion-menu li { text-align: center; }
        header.header a { display: inline-block !important; }
    }
    @media (min-width:48em) {
        header.header.darkHeader a { color: var(--white) !important; }
    }
.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a::after,
.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle)>a::after {
    border-color: var(--white) transparent transparent;
}
    .darkHeader .dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a::after,
    .darkHeader .accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle)>a::after {
        border-color: var(--white) transparent transparent;
    }

        
/* PAGINA ATTIVA */
.menu .active>a,
.menu .is-active>a {
    color: var(--green);
    border-bottom: 1px solid var(--green);
    background: transparent;
}
    header.header.darkHeader .active>a,
    header.header.darkHeader .is-active>a { }
.dropdown.menu>li.is-active>a {
    color: var(--green);
    background: transparent;
}

/* LOGO */
header.header .menu a.logo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0px 10px; /* row-gap - column gap */
    padding: 0px
}
.menu a.logo img {
    padding-right: 15px;
    height: 90px;
    -moz-transition: all .6s;
    -o-transition: all .6s;
    -ms-transition: all .6s;
    -webkit-transition: all .6s;
    transition: all .6s;
}
    .darkHeader .menu a.logo img {
        height: 65px;
    }
    @media (max-width:39.9375em) {
        .menu a.logo img {
            height: 75px;
            padding-right: 10px;
        }
    }

.menu a.logo span.site_title_box {
    position: relative;
    display: block;
    height: auto;
    margin-top: 0;
}
.menu a.logo span.site_name {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0;
    padding: 0 1rem 0 0;
    color: var(--white);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
    .darkHeader .menu a.logo span.site_name {
        height: 0;
        margin-top: -100px;
        visibility: hidden;
    }
    @media (max-width:39.9375em) {
        .menu a.logo span.site_name {
            max-width: 200px;
        }
    }
    @media (max-width:39.9375em) {
        .menu a.logo span.site_name { font-size: 1.4rem; }
    }

/* PAYOFF */
.menu a.logo span.site_payoff {
    position: relative;
    display: block;
    width: 100%;
    max-width: 170px;
    margin-top: 0;
    padding: .2rem 0 0 0;
    visibility: visible;
    height: auto;
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 2px;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
    .darkHeader .menu a.logo span.site_payoff {
        margin-top: 100px;
    }
    /*
    @media (max-width:39.9375em) {
        .menu a.logo span.site_payoff {
            max-width: 170px;
        }
    }
    */
    @media (max-width:39.9375em) {
        .menu a.logo span.site_payoff { font-size: .9rem; }
    }

/* DIMENSIONE MENU SU TABLET */
@media (max-width:63.9375em) {
    .show-for-medium > ul > li > a {
        font-size: 0.8em;
    }
}


/*********************
MENU MOBILE
*********************/

/* Medium: max-width: 63.9375em */ /* Small: max-width: 39.9375em) */



/* MENU A TENDINA SULLE MEDIUM media queries COME SULLE SMALL media queries: */
/*
@media screen and (max-width: 63.9375em) {
    body.home .top-bar .top-bar-left { }
    ul#main-nav { margin-top: 20px !important; }
}
@media screen and (min-width: 39.9375em) and (max-width: 63.9375em) {
    .top-bar {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .top-bar .top-bar-left,
    .top-bar .top-bar-right {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .top-bar .top-bar-right .menu ul.vertical.menu.accordion-menu {
        width: 100%;
    }
    ul#main-nav {
        width: 100%;
        top: 10px;
        right: 0;
        left: 0;
    }
}
*/

/* ALTEZZA MENU MOBILE */
@media screen and (max-width: 39.9375em) {
.vertical .is-accordion-submenu-parent {
    height: auto !important;
}
}

/* VOCI MENU MOBILE */
@media screen and (max-width: 39.9375em) {
header.header a, 
.menu .active>a {
    text-align: left;
}
}

/* SFONDO MENU MOBILE */
.show-for-medium-only ul.medium-horizontal.menu.submenu.is-accordion-submenu.dropdown.is-active,
.show-for-small-only ul.medium-horizontal.menu.submenu.is-accordion-submenu.accordion-menu.is-active {
    background-color: var(--moredark) !important;
}

/* PULSANTE MENU MOBILE */
a.mobilemenubutton {
    display: block;
    position: absolute !important;
    width: 40px;
    height: 35px;
    text-align: right;
    padding: 7px !important;
    right: 0;
    left: auto;
    top: 7px;
    right: 3px;
    margin: 0 auto;
}
    @media screen and (max-width: 39.9375em) { 
        a.mobilemenubutton {
            top: -50px;
            right: 0;
        }
    }
a.mobilemenubutton i {
    font-size: 1.6rem;
}
    .darkHeader a.mobilemenubutton i {}
    a.mobilemenubutton::after {
        display: none !important;
    }

/* ALTEZZA HEADER MOBILE */
@media screen and (max-width: 39.9375em) { 
    .vertical .is-accordion-submenu-parent {
        height: 0;
    }
}


/*********************
MAIN CONTENT
*********************/

header.article-header {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    padding: 120px 0 80px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
body.home .hero-section .header_overlay { opacity: 1; }
.header_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}
.article-header .grid-container,
.hero-section .grid-container {
    z-index: 3;
}
header.article-header .header_tag {
    display: inline-block;
    text-align: left;
    padding: 10px 18px;
    border: 1px solid rgba(39, 196, 106, 0.4);
    border-radius: 50px;
    color: var(--green);
    background: rgba(39, 196, 39, 0.08);
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}
header.article-header h1 {
    font-size: 4rem;
    line-height: 1.15;
    text-align: left;
    margin-bottom: 25px;
    color: var(--white);
}
    @media (max-width: 69px) {
        header.article-header h1 { font-size: 3rem; }
    }
    @media (max-width: 48em) {
        header.article-header h1 { font-size: 2.4rem; }
    }
    @media (max-width: 40em) {
        header.article-header h1 { font-size: 1.8rem; }
    }

.grid-container {
    width: 100%;
    max-width: 1400px;
}
.section-pad {
    padding: 100px 0;
}
.section-title {
    margin-bottom: 20px;
    color: var(--white);
}
.section-title.text-left {
    text-align: left;
}
.section-text {
    max-width: 850px;
    margin: 0 auto 70px;
    color: var(--gray);
}
.text-accent {
    color: var(--green);
}
.block_buttons {}

.maxwidthcontent {
    max-width: 1400px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}
    @media (max-width:1420px) {
        .maxwidthcontent {
            padding: 0 10px;
        }
    }
.maxwidthpost {
    max-width: 900px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}
    @media (max-width:1220px) {
        .maxwidthpost {
            padding: 0 10px;
        }
    }
#boxthumb {
    position: relative;
    width: 100%;
    border-radius: 0;
    height: 60vH;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
#boxNOthumb {
    position: relative;
    height: 120px;
    background-color: var(--dark);
}
.diagonalBox {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    /* Senza diagonali: 0% 0%, 100% 0%, 100% 100%, 0% 100% */
    /* sx top, dx top, dx bottom, sx bottom */
}

/* SFONDO PUNTINATO */
.dotoverlay {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    background-image: url(../images/dot-overlay.svg);
    background-color: rgba(0, 0, 0, 0.3);
    background-size: 2px 2px;
    background-repeat: repeat;
}

/* CONTENITORE PER TESTI CENTRATI */
.boxcentercell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

/* CELLE A ZERO */
@media screen and (max-width: 39.9375em) { /* Small: max-width: 39.9375em) */
    .small-0 { display: none; }
}
@media screen and (min-width: 39.9376em) and (max-width: 63.9375em)  { /* Medium: max-width: 63.9375em */ 
    .medium-0 { display: none !important; }
}
@media screen and (min-width: 64em) { 
    .large-0 { display: none !important; }
}

/* RICERCA */
#productsfooter_search {
    display: block;
    position: relative;
    width: 100%;
    margin: 70px auto;
}
form.search-form {
    display: block;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
form.search-form label,
form.search-form button {
    display: inline-block;
    margin: 0;
    padding: .85em 1em;
    font-size: 1rem;
}
form.search-form label {
    width: calc(100% - 70px);
}
form.search-form input[type="search"] {
    border: 0;
    border-bottom: 1px solid var(--dark);
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}
span.results_icon i {
    color: #6cb7fd;
    vertical-align: middle;
    padding-right: 10px;
}

/* PARALLAX EFX */
.parallax_efx {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.parallax_img {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}
    @media screen and (max-width: 40em) { 
        .parallax_img {
            width: 180%;
        }
    }
.parallax_text {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
}



/*********************
SLIDE

Realizzato con Orbit
di Foundation
*********************/

/* Attivo su Home */
#slide_home {
    width: calc(100% - 20px);
    margin: 10px;
    border-radius: 40px;
    overflow: visible;
    background: transparent;
}
#slide_home .orbit,
#slide_home .orbit-wrapper,
#slide_home .orbit-slide,
#slide_home .orbit-image,
#slide_home .dotoverlay_abs {
    height: 90vH;
    max-height: 1200px;
    margin: 0;
    padding: 0;
    border-radius: 40px;
    overflow: hidden;
}
    @media (max-width:48em) {
        #slide_home .orbit,
        #slide_home .orbit-wrapper,
        #slide_home .orbit-slide,
        #slide_home .orbit-image,
        #slide_home .dotoverlay_abs {
            height: 60vH;
            max-height: 60vH;
        }
    }
    @media (max-width:39.9375em) {
        #slide_home .orbit,
        #slide_home .orbit-wrapper,
        #slide_home .orbit-slide,
        #slide_home .orbit-image,
        #slide_home .dotoverlay_abs {
            height: 50vH;
            max-height: 50vH;
        }
    }
#slide_home .dotoverlay_abs {
    display: block;
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    margin: 0;
    padding: 0;
    background: linear-gradient( to top, rgba(0,0,0,1), rgba(0,0,0,0) );
}
#slide_home .orbit-image {
    object-fit: cover;
}
#slide_home .orbit-caption {
    position: absolute;
    max-width: 800px;
    height: auto;
    background-color: transparent;
    bottom: auto; /* Correzione */
    margin-bottom: auto; /* Correzione */
    margin: 0;
    padding: 0;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}
    @media (max-width:1000px) {
        #slide_home .orbit-caption { max-width: calc(100% - 80px); }
    }
    @media (max-width:48em) {
        #slide_home .orbit-caption { max-width: calc(100% - 80px); }
    }
    @media (max-width:39.9375em) {
        #slide_home .orbit-caption { max-width: calc(100% - 20px); }
    }
#slide_home .orbit-caption .title_figcaption,
#slide_home .orbit-caption p {
    color: var(--white);
    text-align: center;
    line-height: 1em;
    padding: 3px;
    margin: 0 auto;
}
#slide_home .orbit-caption .title_figcaption {
    font-size: 3rem;
    font-weight: 700;
}
    @media (max-width:48em) {
        #slide_home .orbit-caption .title_figcaption { font-size: 2rem; }
    }
    @media (max-width:39.9375em) {
        #slide_home .orbit-caption .title_figcaption { font-size: 1.6rem; }
    }
#slide_home .orbit-caption .title_figcaption span {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--green);
}
#slide_home .orbit-caption .button_figcaption {
    margin: 10px 0 10px 0;
    padding: 10px 25px 8px 25px;
    text-transform: uppercase;
    border: 2px solid var(--white);
}

#slide_home .orbit-controls button,
#slide_home .orbit-bullets button {
    cursor: pointer;
}
    @media (max-width:48em) {
        #slide_home .orbit-controls button { display: none; }
    }
#slide_home .orbit-controls button {
    font-size: 3em;
    border: 0;
    background-color: transparent;
}

/* PULSANTI SLIDE GRANDI AI PIEDI DELL'IMMAGINE */
/*
#slide_home .orbit-bullets {
    position: relative;
    display: flex;
    align-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 0;
    margin-top: -12px;
    overflow: hidden;
    opacity: .7;
}
#slide_home .orbit-bullets button {
    width: 100%;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: var(--dark);
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
*/
/* PULSANTI SLIDE PICCOLE E SOPRA L'IMMAGINE */

#slide_home .orbit-bullets {
    position: absolute;
    width: 320px;
    height: auto;
    margin: 0;
    overflow: hidden;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -20px);
}
#slide_home .orbit-bullets button {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0px .3rem;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background-color: var(--gray);
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
#slide_home .orbit-bullets button.is-active {
    width: 45px;
    background-color: var(--green);
}
#slide_home .orbit-bullets span.show-for-sr {
    display: none;
}



/*********************
HOME
*********************/

/* HERO */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
    @media screen and (max-width: 40em) {
        .hero-section {
            height: 60vh;
            min-height: 600px;
        }
    }
.hero-tag {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid rgba(39, 196, 106, 0.4);
    border-radius: 50px;
    color: var(--green);
    background: rgba(39, 196, 106, 0.08);
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}
.hero-section h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--white);
}
    @media (max-width: 69px) {
        .hero-section h1 { font-size: 3rem; }
    }
    @media (max-width: 48em) {
        .hero-section h1 { font-size: 2.4rem; }
    }
    @media (max-width: 40em) {
        .hero-section h1 { font-size: 1.8rem; }
    }
.hero-text {
    color: rgb(215, 215, 215);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
}

/* Contenitori: invisibili finché JS non wrappa le lettere e le controlla singolarmente */
.hero-section .grid-container .hero-tag,
.hero-section .grid-container h1,
.hero-section .grid-container .hero-text,
.hero-section .grid-container .block_buttons  {
    opacity: 0;
}

/* CARDS SERVIZI */

#servizi {
    background-color: var(--moredark);
}
.step-card {
    background: var(--dark);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--green);
    height: 100%;
    margin-bottom: 25px;
    transition: all 0.3s;
}
    .step-card:hover {
        transform: translateY(-8px);
        border-left-color: rgba(39, 196, 106, 0.3);
    }
.card-number {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(39, 196, 106, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--green);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.step-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    min-height: 100px;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
    @media (max-width:48em) {
        h3 { font-size: 1.4rem; }
    }
    @media (max-width:39.9375em) {
        h3 { font-size: 1.2rem; }
    }
.step-card p {
    color: var(--gray);
}


/* MATERIALI IN HOME */

#materials {
    background: var(--moredark);
    /*background: linear-gradient(135deg, rgb(31, 143, 79), rgb(17, 17, 17));*/
}
#materials .grid-container {
    max-width: 1200px;
}
.materialCard {
    display:flex;
    align-items:stretch;
    background: rgba(200,200,200,0.05);
    border-radius:14px;
    overflow:hidden;
    margin:0 32px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
    .materialCard:hover {
        transform: translateY(-8px);
        border-color: rgba(39, 196, 106, 0.3);
    }
.materialCard-left {
    width: 220px;
    padding: 35px; /* la larghezza di ".materialCard-left" meno la larghezza ".materialCard-circle" diviso 2 */
    border-right: 1px solid rgba(255,255,255,0.1);
}
.materialCard-circle {
    display:flex;
    align-items:center;
    justify-content:center;
    width: 150px;
    height: 150px;
    border-radius:50%;
    border:5px solid #27c46a;
    box-shadow: 0 0 35px rgba(39, 196, 106, 0.25);
    font-family: "Oxanium", sans-serif !important;
    font-size:0.9rem;
    font-weight:700;
    text-transform: uppercase;
    color:#27c46a;
    letter-spacing:1px;
    text-align:center;
    line-height:1.2;
}
.materialCard-right {
    padding:28px 32px;
}
.materialCard-right h3,
.materialCard-right p {
    color: var(--light);
    text-align: left;
}
.materialCard-right a.button {
    display:inline-block;
}

/* Tablet grande / laptop piccolo: margini leggermente ridotti */
@media screen and (max-width: 69em) {
    .materialCard {
        margin: 0 16px 20px;
    }
}

/* Tablet: riduzione padding e dimensioni cerchio */
@media screen and (max-width: 64em) {
    .materialCard-left {
        width: 180px;
        padding: 20px;
    }
    .materialCard-circle {
        width: 130px;
        height: 130px;
        font-size: 0.8rem;
    }
    .materialCard-right {
        padding: 24px;
    }
}

/* Tablet verticale: margini ridotti ulteriormente, testo leggermente più piccolo */
@media screen and (max-width: 48em) {
    .materialCard {
        margin: 0 8px 20px;
    }
    .materialCard-left {
        width: 150px;
        padding: 15px;
    }
    .materialCard-circle {
        width: 110px;
        height: 110px;
        font-size: 0.7rem;
        border-width: 4px;
    }
    .materialCard-right {
        padding: 20px;
    }
    .materialCard-right h3 {
        font-size: 1.2rem;
    }
}

/* Mobile: stack verticale della card */
@media screen and (max-width: 40em) {
    .materialCard {
        flex-direction: column;
        margin: 0 0 24px;
    }
    .materialCard-left {
        width: 100%;
        padding: 25px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: flex;
        justify-content: center;
    }
    .materialCard-circle {
        width: 130px;
        height: 130px;
        font-size: 0.8rem;
    }
    .materialCard-right {
        padding: 24px 20px;
        text-align: center;
    }
    .materialCard-right h3,
    .materialCard-right p {
        text-align: center;
    }
    .materialCard-right a.button {
        display: block;
        width: 100%;
    }
    .materialCard:hover {
        transform: none; /* evita hover shift su mobile/touch */
    }
}

/* PAGINA AZIENDA - CHI SIAMO */

#whoWeAre {}
    @media screen and (max-width: 1430px) {
        #whoWeAre { margin: 0 10px; }
    }
#whoWeAre .block_text {
    background: var(--dark);
    padding: 2em 3em;
    border-radius: 12px;
    border-left: 5px solid var(--green);
    height: 100%;
    margin-bottom: 25px;
    transition: all 0.3s;
}
#whoWeAre h3 {
    text-align: left;
    text-transform: none;
}
#whoWeAre .block_text strong { color: var(--light); }


/* PAGINA MATERIALI */

.section_bigBlock {
    background: rgba(200,200,200,0.05);
    border-radius:14px;
    max-width: 1400px;
    margin: 50px auto;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    overflow:hidden;
}
    @media screen and (max-width: 1430px) {
        .section_bigBlock { margin: 50px 10px; }
    }
.section_bigBlock .materialBlock { padding: 0 20px; }
.section_bigBlock .textBlock-left,
.section_bigBlock .textBlock-right {
    padding: 30px 20px;
}
.section_bigBlock .textBlock-left {
    border-right: 1px solid rgba(255,255,255,0.1);
}
    @media screen and (max-width: 1430px) {
        .section_bigBlock .textBlock-left { border-right: 0; }
    }
.section_bigBlock h2 {
    color: var(--light);
    text-align: center;
}
.section_bigBlock h2 span {
    color: var(--gray);
    font-size: .9rem;
    font-weight: 400;
    padding: 10px 15px;
    border-radius: 6px;
    background-color: rgba(200,200,200,0.05);
}
.section_bigBlock p {
    color: var(--gray);
    text-align: left;
}
.section_bigBlock .block_buttons {
    display: block;
    width: 100%;
    margin-top: 25px;
}
.section_bigBlock .galleryBlock {
    display: block;
    width: 100%;
}

/*
.material-badge  {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 8px solid var(--green);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgb(26, 29, 31), rgb(16, 17, 18));
    box-shadow: 0 0 35px rgba(39, 196, 106, 0.25);
}
.material-spec p {
    color: var(--light);
    text-align: center;
}
.material-spec .hero-buttons {
    text-align: center;
}
*/


/* ISO */

#qualita { background: var(--dark); }
#qualita h2 {
    margin: 0;
    line-height: 1;
}
#qualita h2 span.text-accent {
    font-size: 1.5em;
    line-height: 1;
}
#qualita p {
    color: var(--gray);
    margin-bottom: 20px;
}
#qualita a.btn_cert {
    display: flex;
    width: 450px;
    margin: 0;
    padding: 13px 27px;
    font-size: 1rem;
    line-height: 1;
    color: var(--white);
    font-weight: 400;
    text-align: left;
    text-decoration: none;
    border-radius: 9px;
    border: 1px dashed var(--gray);
    background-color: rgba(200,200,200,0.05);
    transition: all .5s;
}
    @media screen and (max-width: 40em) {
        #qualita a.btn_cert { padding: 13px 4px; }
    }
    #qualita a.btn_cert:hover {
        color: var(--green);
        border-color: var(--green);
    }
    #qualita a.btn_cert span span {
        display: inline-block;
        font-size: .8rem;
        color: var(--gray);
        padding-top: 5px;
        transition: all .5s;
    }
        #qualita a.btn_cert:hover span span {
            color: var(--white);
        }
    #qualita a.btn_cert::before {
        display: inline-block;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font: var(--fa-font-solid);
        content: "\f063" !important;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 15px;
        width: 36px;
        height: 36px;
        margin-right: 9px;
        padding: 10px;
        border-radius: 50%;
        background-color: var(--green);
    }


/* CLIENTI */

#section_customers {
    border-top: 1px solid var(--moredark);
    /*border-top: 1px solid var(--green);*/
    background: var(--dark);
}
#customers_list .customer_logo {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
#customers_list .customer_logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
}


/* CONTATTI IN HOME */

#homeContatti { }
#homeContatti .section-title { text-align: left; }
    @media screen and (max-width: 40em) {
        #homeContatti .section-title { text-align: center; }
    }
#homeContatti span.whyUs {
    color: var(--gray);
    font-size: .9rem;
    font-weight: 400;
    display: inline-block;
    margin-bottom: .5rem;
    padding: 10px 15px;
    border-radius: 6px;
    background-color: rgba(200,200,200,0.05);
}
    @media screen and (max-width: 40em) {
        #homeContatti span.whyUs { width: 100%; }
    }
#homeContatti span.whyUs i {
    color: var(--green);
    padding-right: 10px;
}
#homeContatti .block_buttons {
    text-align: center;
    margin-top: 45px;
}

/* CTA */
#cta1 {
    background: linear-gradient(135deg, rgb(31, 143, 79), rgb(17, 17, 17));
}
#cta1 .grid-container {
    max-width: 700px;
}
#cta1 h2,
#cta1 p {
    color: var(--white);
}
#cta1 .block_buttons { margin-top: 40px; }
#cta1 a.button_green {
    color: var(--white);
    border: 1px solid var(--gray);
}
    #cta1 a.button_green:hover {
        background-color: var(--green);
    }



/*********************
TABELLA COMPARATIVA
*********************/

/* ── Sezione wrapper ── */
#confronto {
    background: var(--moredark);
    padding: 80px 0;
}
#confronto .grid-container {
    max-width: 1200px;
}

/* ── Intestazione sezione ── */
#confronto .section-title {
    color: var(--gray);
    font-family: "Oxanium", sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
#confronto .section-title .text-accent {
    color: var(--green);
}
#confronto .section-text {
    color: rgba(232, 232, 232, 0.55);
    font-size: 0.95rem;
    margin-bottom: 48px;
}

/* ── Wrapper tabella con scroll orizzontale su mobile ── */
.confronto-wrapper {
    margin: 0 32px;
    background: rgba(200, 200, 200, 0.05);
    border-radius: 14px;
    border: 1px solid var(--gray);
    overflow: hidden;          /* mantiene border-radius */
    overflow-x: auto;          /* scroll orizzontale su mobile */
    -webkit-overflow-scrolling: touch;
}

/* ── Tabella ── */
.confronto-table {
    width: 100%;
    min-width: 640px;          /* soglia scroll orizzontale */
    border-collapse: collapse;
    font-family: inherit;
}
.confronto-table thead,
.confronto-table tbody,
.confronto-table tfood {
    border: 0;
    background-color: var(--dark);
}

/* ── Header ── */
.confronto-table thead tr {
    border-bottom: 2px solid rgba(39, 196, 106, 0.35);
}
.confronto-table thead th {
    padding: 22px 28px;
    text-align: left;
    font-family: "Oxanium", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    background: rgba(39, 196, 106, 0.06);
}
.confronto-table thead th:first-child {
    width: 22%;
    color: rgba(232, 232, 232, 0.4);
    font-size: 0.72rem;
    letter-spacing: 1px;
}

/* ── Corpo ── */
.confronto-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s;
}
.confronto-table tbody tr:last-child {
    border-bottom: none;
}
.confronto-table tbody tr:hover {
    background: rgba(39, 196, 106, 0.04);
}

/* Cella "caratteristica" (prima colonna) */
.confronto-table tbody td.caratteristica {
    padding: 22px 28px;
    font-family: "Oxanium", sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--green);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
    white-space: nowrap;
}

/* Celle dati */
.confronto-table tbody td {
    padding: 22px 28px;
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.6;
    vertical-align: top;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.confronto-table tbody td:last-child {
    border-right: none;
}

/* Separatore verticale tra colonne materiali più visibile */
.confronto-table thead th:not(:first-child),
.confronto-table tbody td:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

/* Riga alternata leggermente più chiara */
.confronto-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}
.confronto-table tbody tr:nth-child(even):hover {
    background: rgba(39, 196, 106, 0.05);
}

/* ── Mobile: card verticali sotto i 640 px ── */
@media (max-width: 640px) {
    .confronto-wrapper {
    margin: 0 12px;
    }
}



/*********************
VIDEO
*********************/
section.videoBox {
    clear: both;
    width: calc(100% - 20px);
    margin: 10px;
    margin-top: 90px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 40px;
    background-color: #444;
}


/*********************
BARRA COLORATA
*********************/
section.coloredBar {
}
section.coloredBar .grid-x {
    clear: both;
    width: 100%;
    margin-top: 90px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 40px;
    background: linear-gradient(to right, var(--green), #034e26);
    border-bottom: 9px solid #07ac54;
}
section.coloredBar p { margin-bottom: 0; }
section.coloredBar p, section.coloredBar a {
    color: #eee;
    text-align: center;
}
section.coloredBar a {
    text-decoration: none;
    padding: 0 4px 4px 4px;
    border-bottom: 1px dashed var(--white);
}
section.coloredBar p i {
    font-size: 1.5rem;
}



/*********************
CONTATTI - PREVENTIVO
*********************/

#bookingBox {
    margin-top: 40px;
    padding: 50px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--dark);
}
#bookingBox h3 {
    color: var(--white);
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
#bookingBox h3 span {
}
#bookingBox h3 i {
    color: var(--green);
    font-size: 60px;
}
#bookingBox h3 span:nth-child(1) {
    width: 100px;
}
#bookingBox h3 span:nth-child(2) {
    
}
#bookingBox p { color: var(--gray); }



/*********************
ELENCO SERVIZI
*********************/

#serviceLoop {
    margin-top: 3em;
    margin-left: 0px !important;
    margin-right: 0px !important;
}
#serviceLoop > .cell {
    position: relative;
    border-radius: 20px;
    text-decoration: none;
    background-color: var(--gray);
    background-image: url('https://dev.mabetrial.it/ccf/wp-content/uploads/finger.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}
    #serviceLoop > .cell:hover { background-color: var(--green); }
#serviceLoop  h2,
#serviceLoop  h3 {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5em;
    margin-bottom: 0;
}
#serviceLoop img.professionista {
    width: 100%;
    height: 130px;
    object-fit: cover;
}



/*********************
ELENCO NEWS
*********************/

#loopblog {
    margin-top: 3em;
    margin-left: 0px !important;
    margin-right: 0px !important;
}
#loopblog > .cell {
    margin-bottom: 50px;
    background-color: var(--white);
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}
    #loopblog > .cell:hover {
        background-color: #f0f0f0;
    }
#loopblog .imagebox, #loopblog h2, #loopblog p {
    display: block;
    position: relative;
    text-align: center;
    width: 100%;
}
#loopblog .imagebox {
    height: 250px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #eee;
}
#loopblog  h2.looptitle {
    font-size: 1em;
    line-height: 1.5em;
    padding: 5px 0 20px 0;
}
#loopblog p {
    text-align: center;
    padding: 0;
}
#loopblog  p.entry-date {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
    padding: 15px 0 5px 0;
}



/*********************
POSTS & CONTENT STYLES
*********************/
#accordion_tab .tabs-title,
#accordion_tab .tabs-title>a {
    outline: none !important;
}
.page-title .vcard {
  border: 0px;
  padding: 0px; }

.byline {
  color: #999; }

.entry-content img {
  max-width: 100%;
  height: auto; }

.entry-content .alignleft, .entry-content img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left; }

.entry-content .alignright, .entry-content img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right; }

.entry-content .aligncenter, .entry-content img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both; }

.entry-content video, .entry-content object {
  max-width: 100%;
  height: auto; }

.entry-content pre {
  background: #eee;
  border: 1px solid #cecece;
  padding: 10px; }

.wp-caption {
  max-width: 100%;
  background: #eee;
  padding: 5px; }
  .wp-caption img {
    max-width: 100%;
    margin-bottom: 0;
    width: 100%; }
  .wp-caption p.wp-caption-text {
    font-size: 0.85em;
    margin: 4px 0 7px;
    text-align: center; }

.post-password-form input[type="submit"] {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 1rem 0;
  font-family: inherit;
  padding: 0.85em 1em;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  background-color: #1779ba;
  color: #fefefe; }
  [data-whatinput='mouse'] .post-password-form input[type="submit"] {
    outline: 0; }
  .post-password-form input[type="submit"]:hover, .post-password-form input[type="submit"]:focus {
    background-color: #14679e;
    color: #fefefe; }

/*********************
IMAGE GALLERY STYLES
*********************/
.gallery {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.gallery img {
    width: 100%;
    border-radius: 9px;
    -webkit-box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;
}
    .gallery img:hover {
        transform: scale(1.1);
    }

.gallery::before, .gallery::after {
  content: ' ';
  display: table; }

.gallery::after {
  clear: both; }

.gallery.gallery-columns-1 > dl {
  width: 100%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-1 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-1 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-2 > dl {
  width: 50%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-2 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-2 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-3 > dl {
  width: 33.33333%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-3 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-3 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-4 > dl {
  width: 25%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-4 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-4 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-5 > dl {
  width: 20%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-5 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-5 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-6 > dl {
  width: 16.66667%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-6 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-6 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-7 > dl {
  width: 14.28571%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-7 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-7 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-8 > dl {
  width: 12.5%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 39.9375em) {
    .gallery.gallery-columns-8 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-8 > dl:last-child:not(:first-child) {
    float: right; }

.gallery dl {
  width: 100%;
  float: left;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem; }

.gallery dl:last-child:not(:first-child) {
  float: right; }

/*********************
PAGE NAVI STYLES
*********************/
.page-navigation {
  margin-top: 1rem; }

/*********************
COMMENT STYLES
*********************/
#comments .commentlist {
  margin-left: 0px; }

#respond ul {
  margin-left: 0px; }

.commentlist li {
  position: relative;
  clear: both;
  overflow: hidden;
  list-style-type: none;
  margin-bottom: 1.5em;
  padding: 0.7335em 10px; }
  .commentlist li:last-child {
    margin-bottom: 0; }
  .commentlist li ul.children {
    margin: 0; }

.commentlist li[class*=depth-] {
  margin-top: 1.1em; }

.commentlist li.depth-1 {
  margin-left: 0;
  margin-top: 0; }

.commentlist li:not(.depth-1) {
  margin-left: 10px;
  margin-top: 0;
  padding-bottom: 0; }

.commentlist .vcard {
  margin-left: 50px; }
  .commentlist .vcard cite.fn {
    font-weight: 700;
    font-style: normal; }
  .commentlist .vcard time {
    float: right; }
    .commentlist .vcard time a {
      color: #999;
      text-decoration: none; }
      .commentlist .vcard time a:hover {
        text-decoration: underline; }
  .commentlist .vcard img.avatar {
    position: absolute;
    left: 10px;
    padding: 2px;
    border: 1px solid #cecece;
    background: var(--white); }

.commentlist .comment_content p {
  margin: 0.7335em 0 1.5em;
  font-size: 1em;
  line-height: 1.5em; }

.commentlist .comment-reply-link {
  float: right; }

/*********************
COMMENT FORM STYLES
*********************/
.respond-form {
  margin: 1.5em 10px;
  padding-bottom: 2.2em; }
  .respond-form form {
    margin: 0.75em 0; }
    .respond-form form li {
      list-style-type: none;
      clear: both;
      margin-bottom: 0.7335em; }
      .respond-form form li label,
      .respond-form form li small {
        display: none; }
    .respond-form form input[type=text],
    .respond-form form input[type=email],
    .respond-form form input[type=url],
    .respond-form form textarea {
      padding: 3px 6px;
      background: #efefef;
      border: 2px solid #cecece;
      line-height: 1.5em; }
      .respond-form form input[type=text]:focus,
      .respond-form form input[type=email]:focus,
      .respond-form form input[type=url]:focus,
      .respond-form form textarea:focus {
        background: var(--white); }
      .respond-form form input[type=text]:invalid,
      .respond-form form input[type=email]:invalid,
      .respond-form form input[type=url]:invalid,
      .respond-form form textarea:invalid {
        outline: none;
        border-color: #fbc2c4;
        background-color: #f6e7eb;
        -ms-box-shadow: none;
        box-shadow: none; }
    .respond-form form input[type=text],
    .respond-form form input[type=email],
    .respond-form form input[type=url] {
      max-width: 400px;
      min-width: 250px; }
    .respond-form form textarea {
      resize: none;
      width: 97.3%;
      height: 150px; }

#comment-form-title {
  margin: 0 0 1.1em; }

#allowed_tags {
  margin: 1.5em 10px 0.7335em 0; }

.nocomments {
  margin: 0 20px 1.1em; }

/*********************
SIDEBARS & ASIDES
*********************/
.sidebar li {
  list-style: none; }

.widget ul {
  margin: 0; }

/*********************
FOOTER STYLES
*********************/

.slides-wrapper .slide_section.slide_page .slide_contentPage,
.slides-wrapper .slide_section.slide_footer .slide_footer {
}

.slides-wrapper .slide_section.slide_footer .mainFooter {
    height: auto;
    min-height: calc(100vH - 200px);
}
    @media screen and (max-width: 40em) {
        .slides-wrapper .slide_section.slide_footer .mainFooter { min-height: 100vH; }
    }
.slides-wrapper .slide_footer {
    padding-bottom: 0 !important;
}

footer.mainFooter,
section.preFooter {
    position: relative;
    clear: both;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding-top: 40px;
}
footer.mainFooter { background-color: var(--moredark); }
section.preFooter { background: linear-gradient(135deg, rgb(31, 143, 79), rgb(17, 17, 17)); }

.slides-wrapper .mainFooter .inner-footer {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.slides-wrapper .credits {
    position: absolute;
    width: 100%;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

/* PRE FOOTER */
section.preFooter {
    margin-top: 50px;
    padding-top: 25px;
    padding-bottom: 25px;
}
body.home section.preFooter {
    margin-top: 50px;
}
section.preFooter p {
    margin-bottom: 0;
}
section.preFooter p, section.preFooter a {
    color: #eee;
    text-align: center;
}
section.preFooter a { text-decoration: none; }
    section.preFooter a:hover { color: var(--green); }
section.preFooter a.social {
    font-size: 1.5rem;
    padding: 0 7px 0 7px;
}


/* MAIN FOOTER */
footer.mainFooter .small-12 {}
    @media screen and (max-width: 39.9375em) { /* small-12 */
        footer.mainFooter .small-12 {
            padding-top: 35px;
        }
    }
footer.mainFooter h4, footer.mainFooter p, footer.mainFooter a {
    color: var(--green);
    text-align: center;
}
footer.mainFooter a {
    text-decoration: none;
    padding: 0 4px 4px 4px;
    border-bottom: 1px dashed var(--green);
}
    footer.mainFooter a:hover {
        color: var(--gray);
        border-color: var(--gray);
    }

footer.mainFooter a.button, footer.mainFooter  .button {
    display: inline-block;
    color: var(--dark);
    font-size: .9rem;
    font-weight: 700;
    margin: 0;
    padding: 9px 19px;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    border-radius: 9px;
    background-color: var(--green);
    -webkit-box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
    footer.mainFooter button:hover, footer.mainFooter a.button:hover, footer.mainFooter .button:hover {
        color: var(--dark);
        background-color: var(--white);
        -webkit-box-shadow:none;
        box-shadow:none;
    }
    footer.mainFooter button:focus, footer.mainFooter a.button:focus {
        color: var(--dark);
        background-color: var(--white);
    }

footer.mainFooter .footer_brand {
    display: flex;
}
footer.mainFooter .footer_brand img {
    width: 100%;
    max-width: 130px;
    padding-right: 15px;
}
footer.mainFooter .footer_naming h4, footer.mainFooter .footer_naming p { text-align: left; }
footer.mainFooter h4 {
    font-size: 1.2rem;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 10px;
}
footer.mainFooter p {
    font-size: 0.9em;
}

/* CREDITS */
footer.mainFooter .credits {
    padding-top: 50px;
    padding-bottom: 20px;
}
footer.mainFooter .credits p,
footer.mainFooter .credits a {
    color: var(--green);
    font-size: 0.8rem;
}
    footer.mainFooter .credits a:hover { color: var(--green); }




/*********************
VISUAL EDITOR STYLES
*********************/
body#tinymce {
  margin: 20px; }

/*********************
PLUGIN STYLES
*********************/
.gform_body ul {
  list-style: none outside none;
  margin: 0; }

/*# sourceMappingURL=style.css.map */




/*********************
CONTACT FORM 7
*********************/

.wpcf7 p { 
    font-size: 1rem;
    text-align: left;
    margin: 0;
}

.wpcf7 [type=checkbox], .wpcf7 [type=file], .wpcf7 [type=radio] {
    margin: 0;
}

.wpcf7 input, .wpcf7  select, .wpcf7 textarea, span.wpcf7-list-item-label { color: var(--white); }
    .wpcf7 input::placeholder, .wpcf7 select::placeholder, .wpcf7 textarea::placeholder {
        color: var(--gray);
        opacity: 1;
    }
.wpcf7 input,
.wpcf7 input:hover, .wpcf7 input:focus, .wpcf7 input:visited,
.wpcf7 input:-webkit-autofill, .wpcf7 input:-webkit-autofill:hover, .wpcf7 input:-webkit-autofill:focus, .wpcf7 input:-webkit-autofill:active,
select.wpcf7-select {
    padding: .5rem .5rem 1px .5rem;
    border: 0;
    border-bottom: 1px solid var(--gray);
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}
    .wpcf7 span[data-name="your-recipient"]::after { /* arrow in select */
        content: "";
        position: absolute;
        right: 10px;
        top: 3px;
        width: 0; 
        height: 0; 
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid var(--white);
    }
.wpcf7 textarea {
    height: 6em;
    border-radius: 15px;
    border: 1px solid var(--gray) !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent !important;
}
.wpcf7 label {
    font-size: 1rem;
    color: var(--green);
    margin-bottom: 2rem;
}
.wpcf7 label i {
    color: var(--green);
    font-size: .8rem;
    vertical-align: top;
}
.wpcf7 input[type="submit"] {
    width: 100%;
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    margin-top: 0;
    padding: 10px 27px;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    border-radius: 100px;
    background-color: var(--gray);
    -webkit-box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
    cursor: pointer;
}
    .wpcf7 input[type="submit"]:hover  {
        color: var(--white);
        background-color: var(--green);
        -webkit-box-shadow: none;
        box-shadow: none;
    }
.wpcf7 input[type="checkbox"] {
    height: 1.4rem;
    width: 1.4rem;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
}
.wpcf7-response-output {
    display: block;
    max-width: 600px;
    margin: 10px auto !important;
    border-width: 4px !important;
    background-color: var(--white);
}
.privacy_box label {
  margin-bottom: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.privacy_box label span.wpcf7-list-item-label {
  padding-left: 10px;
}


/*********************
Search & Filter PRO
*********************/

.searchandfilter { margin: 50px 5px; }
.searchandfilter ul { margin: 0; }
.searchandfilter select.sf-input-select {
    min-width: 120px;
}
.searchandfilter li[data-sf-field-type="post_meta"],
.searchandfilter li[data-sf-field-type="taxonomy"],
.searchandfilter li[data-sf-field-type="search"],
.searchandfilter .sf-field-reset,
.searchandfilter .sf-field-submit {
    display: inline-block;
    padding: 5px;
    margin-top: 0;
    padding-top: 0;
}
.searchandfilter li[data-sf-field-type="post_meta"],
.searchandfilter li[data-sf-field-type="taxonomy"],
.searchandfilter li[data-sf-field-type="search"] {
    width: 25%;
    float: left;
}
    @media screen and (max-width: 40em) { /* small-12 */
        .searchandfilter li[data-sf-field-type="post_meta"],
        .searchandfilter li[data-sf-field-type="taxonomy"],
        .searchandfilter li[data-sf-field-type="search"] {
            width: 100%;
            float: none;
        }
    }
.searchandfilter li[data-sf-field-type="post_meta"],
.searchandfilter li[data-sf-field-type="taxonomy"],
.searchandfilter li[data-sf-field-type="search"] {
    width: 25%;
}
.searchandfilter li[data-sf-field-type="post_meta"] label,
.searchandfilter li[data-sf-field-type="taxonomy"] label,
.searchandfilter li[data-sf-field-type="search"] label {
    width: 100%;
}
.searchandfilter li[data-sf-field-type="post_meta"] input,
.searchandfilter li[data-sf-field-type="taxonomy"] select,
.searchandfilter li[data-sf-field-type="search"] input {
    width: 100%;
}
.searchandfilter h4 {
    position: relative;
    color: var(--green);
    font-size: 1em;
    letter-spacing: 0;
    text-align: left;
}
.searchandfilter li[data-sf-field-input-type="radio"] ul li,
.searchandfilter li[data-sf-field-input-type="checkbox"] ul li {
    display: inline-block;
}
.searchandfilter li[data-sf-field-input-type="radio"] ul li.sf-item-0 { /* nascondo il radio-button "All items" */
    display: none;
}
.searchandfilter li[data-sf-field-input-type="radio"] ul li,
.searchandfilter li[data-sf-field-input-type="checkbox"] ul li {
    padding: 0;
}
.searchandfilter input.sf-input-radio,
.searchandfilter input.sf-input-checkbox {
    margin-bottom: 0;
}
.searchandfilter .noUi-connect { /* filtro grafico slider */
    background-color: var(--green);
}
.searchandfilter li[data-sf-field-type="taxonomy"] select { border: 1px solid var(--dark); }
.searchandfilter li[data-sf-field-type="search"] input {
    font-weight: 300;
    border: 1px solid var(--dark);
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--white);
}
.searchandfilter .sf-field-reset,
.searchandfilter .sf-field-submit {
    display: inline-block;
    width: 50%;
    padding-bottom: 30px;
}
    @media screen and (max-width: 320px) {
        .searchandfilter .sf-field-reset,
        .searchandfilter .sf-field-submit{
            
        }
    }
.searchandfilter input[type="submit"] {
    display: inline-block;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 27px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    background-color: var(--green);
    cursor: pointer;
}
    .searchandfilter input[type="submit"]:hover {
        color: var(--white);
        background-color: var(--dark);
    }
.searchandfilter .meta-slider {
    max-width: 250px;
    width: calc(100% - 30px);
    margin-left: 0;
    margin-right: auto;
}
.searchandfilter select option:checked {
    color: var(--white);
    background-color: var(--green);
}



/*********************
 * WP-PageNavi
 * per pagination Search&Filter
*********************/
.pagination-result .woocommerce-pagination {
    display: block;
    width: 100%;
    overflow: hidden;
    text-align: center;
}
.woocommerce-pagination .wp-pagenavi {
    display: inline-block;
    overflow: hidden;
    margin: 1em 0;
    border-right: 1px solid #d3ced2;
}
.woocommerce-pagination .wp-pagenavi a,
.woocommerce-pagination .wp-pagenavi span {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    padding: .5em;
    min-width: 1em;
    border: 0;
    margin: 0;
    border-top: 1px solid #d3ced2;
    border-bottom: 1px solid #d3ced2;
    border-left: 1px solid #d3ced2;
}
.woocommerce-pagination .wp-pagenavi a.last,
.woocommerce-pagination .wp-pagenavi span.last {
}
.wp-pagenavi span.current {
    color: var(--dark);
    border-color: var(--green);
    background: #ebe9eb;
}



/*********************
 * YITH Infinite Scrolling
*********************/
.yith-infs-loader {
    display: block;
    margin: 0 auto;
    width: 50px;
    height: auto;
}



/*********************
GOOGLE MAPS
Nascondo la parte superiore di Google MyMaps
*********************/

/*
<div id="mabe_map">
    <!-- Altezza del frame di GoogleMap uguale allo stile:
        #mabe_map iframe { top: -60px; }
    -->
    <iframe src="https://www.google.com/maps/d/u/0/embed?mid=1xQ9J7zJlk1wBTlxI12q6rgiaehETJCdG" width="100%" height="500"></iframe>
</div>
*/

#mabe_map {
    display: block;
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
}
#mabe_map iframe {
    position: absolute;
    top: -55px; /* Altezza uguale a quella del frame di GoogleMap presente in Contatti */
    left: 0;
    border: 0;
}
#mabe_map .maps_hide {
    content: '';
    position: absolute;
    width: 100%;
    height: 60px;
    background-color: #f1f1f1;
    top: 0;
    left: 0;
    z-index: 990;
}



/*********************
GOOGLE RECAPTCHA v.3
*********************/

.grecaptcha-badge {
    opacity: 0;
}



/*********************
IUBENDA
*********************/

a.iubenda-tp-btn.iubenda-cs-preferences-link {
    display: none !important;
    visibility: hidden !important;
}



/*********************
PAGINA 404
*********************/

body.error404 { background-color: var(--white); }
body.error404 header.article-header { margin-top: 50px; }
body.error404 .search {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}
body.error404 form.search-form { margin: 10px 0px; }



/*********************
STILI PER LA STAMPA
DELLA PAGINA WEB
*********************/

@media print {

    a[href]:after {
        content: none !important;
    }
    @page {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    header.header,
    footer .inner-footer > div:nth-child(1),
    footer .inner-footer > div:nth-child(2),
    footer .inner-footer > div:nth-child(3),
    footer .inner-footer > div:nth-child(4),
    footer > div.credits_block { display: none !important; }
    
}







/*********************
PINNED PANELS WITH OVERSCROLL con GSAP
*********************/

.slides-wrapper {}
.slide_section,
.slide_section_inner {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.slides-wrapper .slide_section {
    min-height: 100vH;
    padding-top: 0;
    padding-bottom: 0;
}

    /* ChiSiamo Home */
    .slides-wrapper .slide_section.first_panel {
    }
    /* Materiali Home */
    .slides-wrapper .slide_section.second_panel {
        padding-bottom: 90px;
        background-color: #e1e1e1;
        background-image: url("../images/sinapsi_BG.png");
        background-repeat: repeat;
        background-size: auto;
        /*
        border-radius: 90px;
        box-shadow: 0px 0px 15px #aaa;
        background-image: url("../images/sinapsi_BG_large.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right;
        background-color: #f1f1f1;
        */
    }
    /* Icone Home */
    .slides-wrapper .slide_section.third_panel {
        background-color: #e1e1e1;
        background-image: url("../images/sinapsi_BG.png");
        background-repeat: repeat;
        background-size: auto;
    }
    /* Video Home */
    .slides-wrapper .slide_section.fourth_panel {
        padding-top: 0;
        padding-bottom: 0;
        border-radius: 90px;
        box-shadow: 0px 0px 15px #aaa;
        background-color: #444;
    }
    .slides-wrapper .slide_section.fourth_panel,
    .slides-wrapper .slide_section.fourth_panel .slide_section_inner {
        min-height: 90vH;
        position: relative;
    }
    .slides-wrapper .slide_section.fourth_panel video {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }



/*********************
PARALLAX EFX con GSAP
*********************/

.textAndImageContainer {
    position: relative;
    width: 100%;
    max-width: 1920px;
}
.textAndImageContainer .textBoxSX > div,
.textAndImageContainer .textBoxDX > div,
.textAndImageContainer .textBoxCenter > div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    max-width: 80%;
    padding: 50px 30px;
    background-color: #f1f1f1;
    z-index: 1;
}
.textAndImageContainer .textBoxSX > div {
    transform: translate(-90%, -50%);
}
.textAndImageContainer .textBoxDX > div {
    transform: translate(-10%, -50%);
}
.textAndImageContainer .textBoxCenter > div {
    transform: translate(-50%, 30%);
}
    @media (max-width:39.9375em) {
        .textAndImageContainer .textBoxSX > div,
        .textAndImageContainer .textBoxDX > div {
            position: relative;
            top: 0;
            left: 0;
            transform: none;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: -80px;
            padding: 50px 20px;
        }
        .textAndImageContainer .textBoxCenter > div {
            position: relative;
            top: 0;
            left: 0;
            transform: none;
            margin-left: auto;
            margin-right: auto;
            margin-top: -80px;
            padding: 50px 20px;
        }
    }

/* Il contenitore che fa da "maschera" */
.parallaxImage {
    position: relative;
    height: 90vH;
    overflow: hidden;
}
    @media (max-width:39.9375em) {
        .parallaxImage {
            height: 50vH;
        }
    }

/* L'immagine che si muoverà */
.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160%; /* >100% */
    object-fit: cover;
    will-change: transform; /* Ottimizzazione per browser */
}



/*********************
IMMAGINE A TUTO SCHERMO CHE ZOOMMA con GSAP
*********************/

.bigZoomContainer {
    position: relative;
    width: 100%;
    height: 100vH;
    overflow: hidden;
    /*
    max-width: 1400px;
    margin: 60px auto 0 auto;
    */
}
    @media (max-width:39.9375em) {
        .bigZoomContainer { height: 50vH; }
    }
.bigZoomBox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--dark);
}
    @media (max-width:39.9375em) {
        .bigZoomBox { height: 100%; }
    }
.bigZoomBox div { 
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}



/*********************
DUE BOX AFFIANCATI CHE ZOOMMANO con GSAP
*********************/

.zoomBoxContainer {
    position: relative;
    width: 100%;
    max-width: 1920px;
}
.zoomBox1 { background-color: var(--white); }
.zoomBox2 { background-color: #ccc; }
.zoomBox1,
.zoomBox2 {
    height: 100vH;
    overflow: hidden;
}
    @media (max-width:39.9375em) {
        .zoomBox1,
        .zoomBox2 {
            height: 50vH;
            overflow: hidden;
        }
    }
.zoomBox1 div,
.zoomBox2 div { 
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}



/*********************
INTRO
TESTO CHE COMPARE ALL'APERTURA DELLA PAGINA con GSAP
*********************/
#home_intro {
  overflow: hidden;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.loading #preloader {
  top: 0;
  transition: top 0.8s ease-in-out;
}
#preloader .intro_logo_box {
  width: 100%;
  height: 100%;
  position: relative;
}
#preloader {
  color: red;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100vh;

  width: 100%;
  z-index: 666;
}
#intro_logo_img {
  position: absolute;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  opacity: 0;
}
#intro_logo_img img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}
    @media (max-width:48em) {
        #intro_logo_img img { max-width: 500px; }
    }
    @media (max-width:39.9375em) {
        #intro_logo_img img { max-width: calc(100% - 20px); }
    }
#home_intro h1.page_title {
    color: var(--white);
}



/*********************
TESTO CHE COMPARE SCORRENDO SU SFONDO CON PARALLAX con GSAP
*********************/

#child_street {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    max-height: 1200px;
    color: white;
    text-align: center;
}
.hero__inner {
    display: flex;
    position: relative;
    width: 100vw;
    height: 100vh;
    max-height: 1200px;
    overflow: hidden;
}
  .hero__inner::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16 / 9));
}
.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160%;
    -o-object-fit: cover;
       object-fit: cover;
}
.hero__content {
    display: none;
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.hero__headline {
    --padding: 1.5vmin;
    --duration: 400ms;
    --delay: calc(var(--duration) / 2);
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: inline-block;
    font-size: 10vmin;
    overflow: hidden;
    margin-top: calc(var(--padding) * -1);
    padding: var(--padding);
}
.hero__headline::after {
    content: "";
    position: absolute;
    top: calc(100% - var(--padding));
    left: 0;
    background-color: white;
    width: 100%;
    height: 1.5vmin;
    transform: scaleX(0);
    transition: transform var(--duration) var(--delay) var(--ease);
}
.hero__headline p {
    display: block;
    transform: translateY(120%);
    transition: transform var(--duration) var(--ease);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}
    @media screen and (max-width: 40em) { 
        .hero__headline p { font-size: 1.2rem; }
    }
.active .hero__headline::after {
    transform: scaleX(1);
    transition-delay: 0s;
}
.active .hero__headline p {
    transform: translateY(0);
    transition-delay: var(--delay);
}



/*********************
Lista orizzontale con GSAP
*********************/

.experiencesBox {
    height: auto;
    margin: 0 auto;
}
body.home .experiencesBox  { margin-top: 90px; }

.experiencesBox  .first_cell {
    max-width: 1400px;
    margin: 0 auto;
}
.experiencesBox  .first_cell > div {
    max-width: 600px;
    margin: 0 0;
    padding: 0 10px;
}
.experiencesBox .first_cell h2,
.experiencesBox .first_cell p {
    text-align: left;
}

.experiencesBox .galleryWrapper {
    width: 100%;
    overflow: hidden; /* Nasconde la scrollbar orizzontale nativa */
}
.experiencesList {
    display: flex;
    flex-wrap: nowrap;   /* IMPORTANTE: impedisce di andare a capo */
    width: fit-content;  /* La larghezza si adatta al contenuto totale */
    height: 75vh;
    align-items: stretch;
}
.experiencesList .gallery-item {
    width: 80vw;
    max-width: 600px;
    flex-shrink: 0;      /* IMPORTANTE: impedisce agli elementi di schiacciarsi */
    padding: 20px;
    box-sizing: border-box;
}

.experiencesList .gallery-item img {
    width: 100%;
    height: 50vH;
    max-height: 400px;
    object-fit: cover;
}
.experiencesList .gallery-item h3,
.experiencesList .gallery-item p {
    text-align: center;
}



/*********************
Zoom con Bento Gallery con GSAP
*********************/

.gallery-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* FONDAMENTALE: nasconde lo zoom che esce */
  z-index: 1;
}
.gallery-wrap .gallery {
  position: relative;
  width: 100%;
  height: 100%;
  flex: none;
  /* IMPORTANTE: Imposta l'origine dello zoom al centro */
  transform-origin: center center; 
}
.gallery__item {
    background-position: 50% 50%;
    background-size: cover;
    flex: none;
    position: relative;
    img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}
.gallery--bento {
    display: grid;
    gap: 1vh;
    grid-template-columns: repeat(3, 32.5vw);
    grid-template-rows: repeat(4, 23vh);
    justify-content: center;
    align-content: center;
}
.gallery--final.gallery--bento {
    grid-template-columns: repeat(3, 100vw);
    grid-template-rows: repeat(4, 49.5vh);
    gap: 1vh;
}
.gallery--bento .gallery__item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.gallery--bento .gallery__item:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.gallery--bento .gallery__item:nth-child(3) { grid-area: 2 / 2 / 4 / 3; }
.gallery--bento .gallery__item:nth-child(4) { grid-area: 1 / 3 / 3 / 3; }
.gallery--bento .gallery__item:nth-child(5) { grid-area: 3 / 1 / 3 / 2; }
.gallery--bento .gallery__item:nth-child(6) { grid-area: 3 / 3 / 5 / 4; }
.gallery--bento .gallery__item:nth-child(7) { grid-area: 4 / 1 / 5 / 2; }
.gallery--bento .gallery__item:nth-child(8) { grid-area: 4 / 2 / 5 / 3; }
