:root {
    /* --verde: #23c914; */

    /* --verde: #55b74c; */
    --verde: #04cfbb;
    --verdehover: #02b09f;

    --verdechiaro: #c4f3e0;
    --verdescuro: #03756a;
    --blue: rgb(52, 143, 222);
    --blueHover: rgb(18, 124, 217);
    /* --blue: rgb(96 166 227); */
    --rosaTitolo: #f36c9991;
    --rosaChiaro: #f36c992b;
    --rosaChiaroHover: #f36c9960;

    --bgTile: white;
    /* #f4f4f4;*/
    /* --oggiTile: #f4f4f4; */
    --oggiTile: white;

}

body,
h1 {
    font-family: Poppins;
    font-weight: 300;
}


h2,
h3 {
    font-family: Poppins;
    font-weight: 300;
    font-size: 15px;
}


h4,
h5,
h6 {
    /* font-family: "Raleway", sans-serif */

}

.sottotitolo {
    font-size: 24px !important;
}

/* @font-face {
    font-family: Poppins;
    src:
        url(../fonts/Poppins/Poppins-Thin.ttf),
        url(../fonts/Poppins/Poppins-Light.ttf),
        url(../fonts/Poppins/Poppins-Black.ttf),
        url(../fonts/Poppins/Poppins-BlackItalic.ttf),
        url(../fonts/Poppins/Poppins-Bold.ttf),
        url(../fonts/Poppins/Poppins-ExtraBold.ttf),
        url(../fonts/Poppins/Poppins-Italic.ttf),
        url(../fonts/Poppins/),
    ;
    font-style: normal;
    font-weight: normal;
} */

body,
html {
    height: 100%;
    line-height: 1.8;
    font-family: Poppins;
    font-weight: 300;
}





@media only screen and (max-device-width: 1600px) {

    .bgimg-1,
    .bgimg-2,
    .bgimg-3 {
        background-attachment: scroll;
        min-height: 400px;
    }
}

.bgimg-1,
.bgimg-2,
.bgimg-3 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* GESTIONE IMMAGINE DI SFONDO INIZIALE */

.bgimg-1 {
    background-position: center;
    background-size: cover;
    background-image: url("../images/sfondo_ott2.png");
    min-height: 100%;
    min-height: 100vh;
    margin-top: 60px;
    filter: grayscale(0%);
    /* filter: blur(5px); */

}

/* 
.bgimg-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    filter: blur(5px);
    z-index: -1;
}

.bgimg-1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
    z-index: -1;
} */


/* FINE GESTIONE IMMAGINE DI SFONDO */


.w3-bar .w3-button {
    padding: 16px;
}

.bar-title {
    font-size: 1.5rem;
    text-decoration: none;
}


/* TITOLI */

@media (max-width: 500px) {

    .section-title {
        font-size: 1.5rem;
    }

    .section-title-article {
        font-size: 1.0rem;
    }

}

@media (min-width: 501px) {

    .section-title {
        font-size: 2.0rem;
    }

    .section-title-article {
        font-size: 1.5rem;
    }
}


.section-title-blue {
    color: var(--blue);
}

.section-button-blue {
    background-color: var(--blue);
    color: white;
}

.section-button-blue:hover {
    background-color: var(--blueHover) !important;
    color: white !important;
}

.section-title-green {
    color: var(--verde);
}



.section-title-rosa {
    color: var(--rosaTitolo);

}

.section-subtitle {
    font-size: 1.8rem !important;
    font-weight: bold;

}



.light-rosa {
    background-color: var(--rosaChiaro);

}

.light-rosa:hover {
    background-color: var(--rosaChiaroHover) !important;

}


/* ICONE */
.elementor-icon {
    display: inline-block;
    line-height: 1;
    transition: all .3s;
    width: 1em;
    height: 1em;
    font-size: 50px;
    text-align: center;
    fill: var(--verde);
    color: var(--verde);
    border-color: var(--verde);
}

.floaring-button {
    display: inline-block;
    line-height: 1;
    transition: all .3s;
    width: 1em;
    height: 1em;
    font-size: 50px;
    text-align: center;
    fill: #f0709a;
    color: #ee5dd5;
    border-color: #f0709a;
    background-color: white;
    border-radius: 50%;
}


/* TITOLO BARRA DI NAVIGAZIONE SOPRA
 */

/* Stile base della barra di navigazione */
.navbar-title {
    /* display: flex; */
    align-items: center;
    margin-left: 10px;
    margin-top: 5px;
    font-size: 1.4em;
    /* background-color: rgb(52, 143, 222); */
    line-height: 1.0em;

}

.title-full {
    display: flex;
    align-items: center;
    margin-left: 5px;

    /* Mostrato di default */
}

.title-short {
    display: none;
    /* Nascosto di default */
}



/* Media query per schermi piccoli */
@media (max-width: 870px) {
    .title-full {
        display: none;
        /* Nascondi il titolo completo */
    }

    .title-short {
        display: flex;
        align-items: center;
        margin-left: 5px;

        /* Mostra il titolo ridotto */
    }
}

.telefono {
    width: 130px;
    /* Nascondi il titolo completo */
}

.email {
    width: 280px;

}

/* Media query per schermi piccoli */


.email {
    width: 90%;
    max-width: 300px;
}

/* @media (max-width: 400px) {
    .email {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .email {
        width: 230px;
    }
} */

/* COLORAZIONE GIORNI DELLA SETTIMANA */

.day-div {
    width: 100px;
    height: 100px;
    margin: 10px;
    display: inline-block;
    text-align: center;
    line-height: 100px;
    font-weight: bold;
    border: 1px solid #333;
}

.monday {
    /* background-color: #f4f4f4; */
    background-color: var(--bgTile);

}

.tuesday {
    background-color: var(--bgTile);


}

.wednesday {
    background-color: var(--bgTile);
}

.thursday {
    background-color: var(--bgTile);
}

.friday {
    background-color: var(--bgTile);
}

.monday-day {
    color: var(--oggiTile);

}



.tuesday-day {
    color: var(--oggiTile);
}

.wednesday-day {
    color: var(--oggiTile);


}

.thursday-day {
    color: var(--oggiTile);


}

.friday-day {
    color: var(--oggiTile);

}



.monday-day-w {
    color: var(--bgTile);

}

.tuesday-day-w {
    color: var(--bgTile);
}

.wednesday-day-w {
    color: var(--bgTile);
}

.thursday-day-w {
    color: var(--bgTile);
}

.friday-day-w {
    color: var(--bgTile);

}





.highlight-verde {
    background-color: var(--verde);
    /* Verde evidenziato */
    color: white;
}

.highlight-verde-text {
    color: var(--verdescuro) !important;
}

.highlight-rosa {
    background-color: var(--rosaTitolo);
    /* Verde evidenziato */
    color: white;
}

.highlight-days {
    color: #333;

}


.align-days {
    /* margin-top: 64px; */
    width: 100%;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.non-oggi {
    display: none;
}

/* .bgCard {
    background: white;
} */

.orari-tile-verde {
    border: 2px solid var(--verde) !important;
    margin: 0.5%;
}

.orari-tile-rosa {
    border: 2px solid var(--rosaTitolo) !important;
    margin: 0.5%;
}

.giorni-title-verde {
    color: var(--verde);

}


/* ANIMAZIONI PAGINA */

@keyframes custom-zoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
        /* Inizia con dimensioni ridotte */
    }

    100% {
        opacity: 1;
        transform: scale(1);
        /* Arriva alla dimensione originale */
    }
}

.hidden {
    opacity: 0;
    transform: scale(0.8);
    /* Riduci la dimensione iniziale */
    /* transition: opacity 0.5s ease, transform 0.5s ease; */
    /* transition: opacity 0.5s ease, transform 0.5s ease-out; */
    /* Durata di 2 secondi */

    /* Animazione più lenta */

}

/* Stile per gli oggetti visibili */
.visible {
    animation: custom-zoom 1.0s ease-out;

    /* opacity: 1; */
    /* transform: scale(1); */
    /* Riporta l'elemento alla dimensione originale */
}

.zoom-container {

    /* display: flex; */

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-container:hover {
    transform: scale(1.02);
    /* Effetto zoom */
    /* box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); */
    /* Ombra */
}

.day-title {
    font-size: 20px;
}

.today {
    color: #333 !important;
}

.today:before {
    content: "\f0ab";
    /* Codice Unicode per l'icona Font Awesome (fa-circle-down) */
    font-family: "Font Awesome 5 Free";
    /* Assicurati di caricare Font Awesome */
    font-weight: 900;
    /* Imposta il peso corretto per l'icona */
    color: var(--rosaTitolo);
    /* Colore dell'icona */
    margin-right: 10px;
    /* Spaziatura tra l'icona e il testo */
    display: inline-block;


}



/* MENU */



.menu:hover {
    background-color: var(--verde) !important;
    border-color: var(--verde) !important;
    color: white !important;
}



.menu {
    border: 2px solid #333 !important;

}

.menu:hover {
    background-color: var(--verde);
    color: #fff;
}

.nav {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    background-color: #fff;
    /* color: #4fc045; */
    /* padding: 0 20px; */
    /* border-radius: 40px; */
    /* box-shadow: 0 10px 40px rgba(159, 162, 177, .8); */
}

.nav-item {
    /* color: var(--verde); */
    padding: 20px;
    text-decoration: none;
    transition: .3s;
    margin: 0 6px;
    z-index: 1;
    /* font-family: 'DM Sans', sans-serif; */
    font-weight: 500;
    position: relative;

    &:before {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 70%;
        margin-left: 23%;
        height: 2px;
        align-self: center;
        background-color: var(--verde);

        border-radius: 4px;

        opacity: 0;
        transition: .3s;
    }
}

.nav-item:not(.is-active):hover:before {
    opacity: 1;
    bottom: 10px;
    color: var(--verde) !important;
}


.nav-item:not(.is-active):hover {
    color: var(--verde) !important;
    background-color: transparent !important;
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    transition: .4s;
    height: 5px;
    z-index: 1;
    /* border-radius: 8px 8px 0 0; */
}

@media (max-width: 580px) {
    .nav {
        overflow: auto;
    }
}

.nav-item-contact {

    padding: 8px !important;
    height: 100%;
    margin-top: 5px;
    margin-right: 5px;
    margin-left: 5px;

}


.immagini-tile {

    /* height: 214px; */
    width: 100%;
}

.alt-tile {
    /* height: 490px; */
}

.margin-left-60 {
    margin-left: 60px;
}


.tile-container {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0px; */
}

.tile {
    width: 100%;
    padding-top: 100%;
    /* Mantiene un rapporto 1:1 */
    position: relative;
    background: #f0f0f0;
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tile img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Riempie il contenitore senza distorsioni */
}


.limited-text {
    height: 100px;
}


.faq-container {
    max-width: auto;
    margin: 25px auto;
}

.faq-question {
    cursor: pointer;
}

.faq-question:hover {
    background-color: #13c5b4;
}

.faq-answer {
    display: none;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #13c5b4;
    padding-left: 50px;
}

.question {
    padding-left: 10px;

}

.search-bar {
    margin: 16px 0;
}

.bgGreen {
    background-color: var(--verde);
    color: white;

}

.bgGreen-text {
    color: var(--verde);
}

.bgGreenAzure {
    background-color: #13c5b4;
}

.bgGreenAzure-text {
    color: #13c5b4;
}



@media (min-width: 1200px) {
    .centratura {
        width: 80%;
        place-self: center;
    }
}

@media (min-width: 1500px) {
    .centratura {
        width: 70%;
        place-self: center;
    }
}

.w3-padding-8d {
    padding: 8px;
}


/* @media (max-width: 800px) {
    .contatti-align {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .w3-margin-right {}
}


@media (max-width: 800px) {
    .contatti-align {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
} */




/* Layout per schermi minori di 500px */
@media (max-width: 500px) {
    .contatti-align {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .telefono-label,
    .telefono-value,
    .telefono-icona {
        display: block;
        text-align: center;
    }

    .dim-icona {
        width: 100%;
    }

}

/* Layout per schermi tra 501px e 1000px */
@media (min-width: 501px) and (max-width: 7500px) {
    .contatti-align {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .telefono-label,
    .telefono-value,
    .telefono-icona {
        display: inline;
        text-align: center;

    }

    .dim-icona {
        width: 100%;
    }
}

/* Layout per schermi tra 501px e 1000px */
@media (min-width: 751px) {
    .contatti-align {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .telefono-label,
    .telefono-value,
    .telefono-icona {
        display: block;
        text-align: center;
    }

    .dim-icona {
        width: 33%;
    }
}

/* Layout per schermi maggiori di 1000px */
/* @media (min-width: 1001px) {
    .contatti-align {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .hidden {
        display: inline-block;
        text-align: left;
    }
} */

.inline {
    display: inline
}

.padding-titolo {
    padding: 85px 16px 85px 16px;
}

/* Stile del bottone fisso */
.floating-button {
    font-size: 11px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* background-color: #0078ff; */
    color: white;
    border: none;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    z-index: 9999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    animation: zoomBounce 0.7s ease-out;
}

@keyframes zoomBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}


.floating-button:hover {
    background-color: transparent;
    color: #13c5b4 !important;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.tile-right {
    float: right;
}

.title-banner {
    font-size: 30px !important;
}

.indirizzo-studio,
.tel-studio,
.email-studio,
.poppins-semibold {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
}

.share-button {
    background-color: var(--verde);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* font-size: px; */
    display: flex;
    align-items: center;
    /* Allinea verticalmente */
    justify-content: center;
    /* Allinea orizzontalmente */
    gap: 8px;
    /* Distanza tra icona e testo */
}

.share-button:hover {
    /* background-color: #1eac11; */
    background-color: #0cad9d;
}

.fa-square-share-nodes {
    font-size: 24px;
    /* Imposta la dimensione dell'icona */
}

.button-container {
    display: flex;
    justify-content: center;
    /* Centra orizzontalmente */
    align-items: center;
    /* Centra verticalmente */
    margin-top: 10px;
    /* Imposta l'altezza del contenitore per centrare verticalmente */
}

a.custom-hover-color:hover {
    /* background-color: #1eac11 !important; */
    background-color: #0cad9d !important;

    color: white !important;
}

button.custom-hover-color:hover {
    /* background-color: #1eac11 !important; */
    background-color: #0cad9d !important;

    color: white !important;
}

/* Media query per dispositivi con larghezza inferiore a 900px */
@media screen and (max-width: 900px) {
    #element61 {
        display: flex;
        flex-direction: column;
        /* Imposta i div in colonna */
        align-items: center;
        /* Centra il contenuto */
    }

    #element61 .w3-col {
        width: 100% !important;
        /* Assicura che le colonne prendano tutta la larghezza disponibile */
        text-align: center;
        /* Centra il testo nella colonna */
    }

    #element61 img {
        width: 100%;
        /* L'immagine occupa tutta la larghezza del contenitore */
        max-width: 700px;
        /* Imposta una larghezza massima per l'immagine */
        margin-bottom: 20px;
        /* Distanza tra l'immagine e il testo */
    }

    #element62 {
        display: flex;
        flex-direction: column;
        /* Imposta i div in colonna */
        align-items: center;
        /* Centra il contenuto */
    }

    #element62 .w3-col {
        width: 100% !important;
        /* Assicura che le colonne prendano tutta la larghezza disponibile */
        text-align: center;
        /* Centra il testo nella colonna */
    }

    #element62 img {
        width: 100%;
        /* L'immagine occupa tutta la larghezza del contenitore */
        max-width: 700px;
        /* Imposta una larghezza massima per l'immagine */
        margin-bottom: 20px;
        /* Distanza tra l'immagine e il testo */
    }
}



/* PHOTO GALLERY NEWS */

.cover {
    position: relative;
    padding: 0px 30px;

}

.left {
    position: absolute;
    left: -21px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8em;

}

.right {
    position: absolute;
    right: -21px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8em;

}

.scroll-images {
    position: relative;
    width: 100%;
    padding: 40px 0px;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* justify-content: center; */
}

.child {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    max-width: 282px;
    min-width: 281px;

    /* height: 200px; */
    /* padding: 0px 15px; */
    margin: 1px 10px;
    border: 1px solid #f1f1f1;
    overflow: hidden;
    /* -webkit-box-shadow: 0px 0px 15px 2px rgb(0 0 0 / 10%); */
    ;
    /* box-shadow: 0px 0px 15px 2px rgb(0 0 0 / 10%); */
    ;
}

.child img,
.child>svg {
    /* position: absolute;
    margin-top: -195px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    background: #03A9F4; */
}

.scroll-images::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #aaa;
}

.scroll-images::-webkit-scrollbar-thumb {
    background-color: black;
}

.buttonFG {

    background-color: #ee5dd5;
    color: white;
    z-index: 10;
}

.buttonFG:hover {
    background-color: #f5a7e7 !important;
    color: white !important;
}