:root {
    --bs-body-color: #0f5679
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0f5679;
    --bs-btn-border-color: #0f5679;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #177db0;
    --bs-btn-hover-border-color: #177db0;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #177db0;
    --bs-btn-active-border-color: #177db0;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0f5679;
    --bs-btn-disabled-border-color: #0f5679
}

.anima {
    transition: all 1s cubic-bezier(.075, .82, .165, 1);
    -webkit-transition: all 1s cubic-bezier(.075, .82, .165, 1);
    -moz-transition: all 1s cubic-bezier(.075, .82, .165, 1);
    -ms-transition: all 1s cubic-bezier(.075, .82, .165, 1);
    -o-transition: all 1s cubic-bezier(.075, .82, .165, 1)
}

.animaX2 {
    transition: all 500ms cubic-bezier(.075, .82, .165, 1);
    -webkit-transition: all 500ms cubic-bezier(.075, .82, .165, 1);
    -moz-transition: all 500ms cubic-bezier(.075, .82, .165, 1);
    -ms-transition: all 500ms cubic-bezier(.075, .82, .165, 1);
    -o-transition: all 500ms cubic-bezier(.075, .82, .165, 1)
}

.animaX2Lin {
    transition: all 500ms;
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    -ms-transition: all 500ms;
    -o-transition: all 500ms;
}

html {
    font-size: 17px
}

body {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    position: relative;
    font-variation-settings:
      "wdth" 100;


}

.exo-2 {
    font-family: "Exo 2", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal
}

h1 {
    font-size: 4rem;
    line-height: 4rem;
    font-weight: 700
}

h2 {
    font-size: 2.25rem;
    font-weight: 300
}

h2 strong,
h5 strong {
    font-weight: 700
}

small {
    font-size: .875em;
    line-height: 1.2rem;
    display: block
}

.t-bianco {
    color: #fff
}

.t-azzurro {
    color: #167aac
}

.b-azzurro {
    background-color: #167aac
}

.b-azzurro-chiaro {
    background-color: #e2eaef
}

.border-radius {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px
}

.img-100 {
    width: 100%
}


.btn {
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    border-radius: .5rem;
    text-transform: uppercase;
    font-size: .9rem;
    padding: 20px 33px
}

.btn_small {
    padding: 14px 19px;
    width: fit-content;
}

nav {
    background-color: #fff;
    top: -70px;
    opacity: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    height: 60px;
    overflow: hidden;
    box-shadow: 0 1px 15px -3px rgb(0 0 0 / 26%);
}

nav.dentro {
    top: 0;
    opacity: 1;
}

.menu {
    overflow-y: hidden;
    overflow-x: auto;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.menu::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.menu {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.menu_inner {
    position: absolute;
    width: max-content;
    display: flex;
    gap: 0px;
    transition: 0s ease-in;
    justify-items: start;
    align-items: stretch;
    padding: 9px 11px;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

.menu_inner .cursore {
    position: absolute;
    left: -10px;
    width: 70px;
    top: -3px;
    height: 32px;
    background-color: #0da8cd;
    z-index: 0;
    border-radius: 100px;
    opacity: 0;
}

.menu .menu_inner a,
.menu .menu_inner button {
    position: relative;
    z-index: 1;
    color: #0e5679;
    text-decoration: none;
    font-size: .8rem;
    text-transform: uppercase;
    padding: 5px 11px 4px;
    border-radius: 100px;
    margin-top: 2px;
}
.menu .menu_inner button{
    margin-left: 21px;
    margin-top: -2px;
    color: #fff;
    border-radius: 100px;
    border: 0;
    padding: 7px 12px;
}
.menu .menu_inner a.active {
    color: #fff;
    font-weight: 600;
    background-color: #0da8cd;
}



body.no-scroll {
    overflow: hidden; /* Blocca lo scroll */
}

    #pannello_form {
        position: fixed;
        z-index: 100000;
        top: 0px;
        right: 0px;
        overflow: auto;
        width: 100%;
        height: 100vh;
        display: none;
    }

    #pannello_form .overflow {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: #175e71d1;
        z-index: 0;
    }

    #pannello_form .body {
        background-color: #fff;
        padding: 40px;
        box-shadow: 0 0 20px 1px #0c44605c, 0 3px 7px 1px #0c44605c;
        display: grid;
        place-items: center;
        align-content: center;
        width: 100%;
        max-width: 760px;
        overflow: auto;
        position: relative;
        z-index: 10;
        margin: 50px auto;
        border-radius: 20px;
    }

    #pannello_form .body .pannello_form_cont {
        width: 100%;
        max-width: 600px;
        float: left;
    }

    #pannello_form .close_btn{
        position: absolute;
        right: 20px;
        top: 10px;
        width: 41px;
        padding: 10px;
        cursor: pointer;
    }

    

.heading {
    background-image: url(../img/vivavoce-balbuzie-header-bg_dx_desktop_tutti.webp);
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: 128%;
    background-size: 54%
}

.heading .col_sx {
    width: 75%
}

.heading .logo {
    margin-top: 60px;
    max-width: 250px
}

.target_video_container {
    cursor: pointer
}

.target_video_container .play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: scale(.7) translate(-60%, -60%)
}

.target_video_container:hover .play-icon {
    transform: translate(-40%, -40%) scale(1)
}

ul.lista_percorso {
    position: relative;
    margin-left: 40px;
    padding-left: 1rem;
}

ul.lista_percorso::after {
    content: '';
    border-left: 1px dotted #0f5679;
    position: absolute;
    top: -2rem;
    left: -8px;
    height: 78%;
    left: -18px;
}

.lista_percorso li {
    margin-bottom: 30px;
    list-style: none;
    position: relative
}

.lista_percorso li::after {
    content: '';
    position: absolute;
    top: 2px;
    left: -50px;
    background-image: url(../img/vivavoce-check.webp);
    width: 52px;
    height: 52px;
    width: 34px;
    height: 34px;
    z-index: 100;
    background-position: -1px -1px;
    background-size: 100%;
}

.lista_percorso li h3 {
    font-weight: 700;
    font-style: italic
}

#percorso .imm_equipe {
    left: 0;
    width: 122%;
    margin-top: 33px;
    margin-left: -70px
}




/*
.slider_testimonianze {
    height: 180px;
    padding-top: 10px;
    width: 100%;
    overflow: hidden;
    position: relative
}

.slider_testimonianze-inner {
    position: absolute;
    left: 75px;
    width: max-content;
    display: grid;
    gap: 20px;
    pointer-events: none;
    transition: 0s ease-in;
    justify-items: start;
    align-items: stretch
}

.slider_testimonianze-card {
    padding: 1.5rem;
    padding-bottom: 0;
    box-shadow: 0 1px 15px -3px rgb(0 0 0 / 26%);
    width: 280px
}

.slider_testimonianze-card small {
    font-size: .75em
}

.slider_testimonianze-inner .slider_testimonianze-card:nth-child(1) {
    background-color: #167aac;
    color: #fff;
    font-size: 1.2rem
}
    */


    .slider_testimonianze {
        height: 300px;
    }
    .slider_testimonianze-inner {
        position: absolute;
        width: max-content;
        display: flex;
        gap: 20px;
        transition: 0s ease-in;
        justify-items: start;
        padding: 9px 11px;
        flex-direction: row;
        align-content: center;
    
        align-items: flex-start;
    }
    .slider_testimonianze-card{
        position: relative;
        text-decoration: none;
        font-size: .8rem;

        padding: 5px 11px 4px;
        border-radius: 5px;
        border: 1px solid #e1e8ed;

        width: 450px;
        color: #1c2022;

        font-family: "Roboto", serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }


.banner {
    color: #fff;
    background-image: url(../img/vivavoce-centro-medico.webp);
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: left center;
    box-shadow: 0 0 20px 1px #0c44605c, 0 3px 7px 1px #0c44605c
}

.banner-body {
    padding-left: 45% !important
}

.banner .btn {
    background-color: #fff;
    color: #0f5679;
    border-color: #fff
}

.banner .btn:hover {
    background-color: #0f5679;
    border-color: #0f5679;
    color: #fff
}

.form-control {
    display: block;
    width: 100%;
    padding: .475rem .975rem;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

#formDati label {

    text-transform: uppercase;
    font-style: italic;
    font-size: .85rem;
    margin: 18px 0 10px
}

#formDati h4 {
    font-weight: 400
}

.btn_cta {
    background-color: #0da44e;
    border-color: #0da44e
}

.btn_cta:hover {
    background-color: #057134;
    border-color: #057134
}

.label_check {
    font-size: 0.7rem !important;
    text-transform: none !important;
    margin: 0 !important;
}

.btn_telefono,
.btn_whatsapp {
    padding-left: 53px;
    padding-right: 0;
    background-image: url(../img/vivavoce-telefono.webp);
    background-repeat: no-repeat;
    background-position: 22px 20px;
    background-size: 23px;
    font-size: 1.2rem;
    margin: 10px auto;
    width: 100%
}

.btn_whatsapp {
    background-image: url(../img/vivavoce-whatsapp.webp);
    background-position: 25px 20px;
    background-size: 33px
}

.form_body {
    background-color: #e2eaef;
}

#sedi img {
    width: 100%;
    margin-top: -30px
}

.brands {
    display: flex;
    gap: 20px;
    pointer-events: none;
    transition: 0s ease-in;
    justify-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    justify-content: center
}

.brands img {
    width: 30%
}

footer small {
    font-size: .7rem;
    margin: 40px 0
}

footer img {
    margin: 20px 0;
    max-width: 200px
}

@media only screen and (max-width:1200px) {
    html {
        font-size: 16px
    }

    .heading {
        background-position-x: 140%;
        background-size: 56%
    }

    .banner {
        background-size: 55%;
        background-position: -70px center
    }

    .banner-body {
        padding-left: 53% !important
    }
}

@media only screen and (max-width:767px) {  /*  ---  MOBILE  ---  */
    html {
        font-size: 16px
    }

    .heading {
        background-image: url(../img/vivavoce-balbuzie-header-bg_dx_mobile_tutti.webp);
        background-repeat: no-repeat;
        background-position-x: 162%;
        background-size: 81%
    }

    .heading .logo {
        margin-top: 70px;
        max-width: 200px
    }

    h1 {
        font-size: 2.7rem;
        line-height: 2.7rem
    }

    h2 {
        font-size: 1.7rem;
        line-height: 1.7rem
    }

    #percorso .imm_equipe {
        left: 0;
        width: 105%;
        margin-top: 33px;
        margin-left: -20px
    }

    .banner {
        background-image: none
    }

    .banner-body {
        text-align: center;
        padding: 30px 10px !important
    }

    #sedi img {
        width: 60%;
        margin-top: -30px;
        margin: -30px auto 40px;
        display: block
    }

    #pannello_form .body{
        margin: 0;
        border-radius: 0;
    }
    .menu_inner {
        margin-top: 4px;
    }
}


@media only screen and (min-width:767px) {
    nav {
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 100px;
        height: auto;
    }
    nav button{
        margin-top: -6px;
    }
    nav.dentro {
        top: 10px;
    }

    .menu {
        width: fit-content;
    }

    .menu_inner {
        position: relative;
    }

}

#tecnologia {
    overflow: hidden;
}

#percorso_2 .griglia{
    flex-direction: row;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}


#percorso .griglia{
    flex-direction: row;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

@media only screen and (min-width:1201px) {

    #percorso .card:nth-child(1){
        grid-area: 1 / 1 / 2 / 2;
    }
    #percorso .card:nth-child(2){
        grid-area: 1 / 2 / 2 / 3;
    }
    #percorso .card:nth-child(3){
        grid-area: 1 / 3 / 2 / 4;
    }
    #percorso .card:nth-child(4){
        grid-area: 2 / 1 / 3 / 2;
    }
    #percorso .card:nth-child(5){
        grid-area: 2 / 2 / 3 / 4;
    }
}
@media only screen and (max-width:1200px) {
    #percorso .griglia{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    #percorso .card:nth-child(3) { grid-area: 2 / 1 / 3 / 2; }
    #percorso .card:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
    #percorso .card:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
}
@media only screen and (max-width:768px) {
    #percorso .griglia{
        display: block;
    }
    #percorso .griglia .card{
        margin-top: 20px;
    }
    #percorso_2 .griglia{
        grid-template-columns: repeat(1, 1fr);
   grid-template-rows: repeat(1, 1fr);
   }

}