html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    padding-top: 120px; /* Adatta all'altezza effettiva della tua navbar */
    font-family: "Charm", cursive;
    font-weight: 400;
    font-style: normal;
   
}



#home_img {
    width: 100%;
    max-width: 100%;
}



.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    font-family: "Playfair Display SC", serif;
    font-weight: 700;
    font-style: normal;
    padding: 20px;
}

@media (max-width: 900px) {
    .navbar {
        padding: 0;
    }
}

.nav-link.active, .nav-link[aria-current="page"] {
    color: #fff !important;
    background-color: #00a086 !important;
    border-radius: 0.25rem;
    padding-left: 6px;
}

.nav-link:focus {
    background-color: rgb(255, 182, 89);
    border: 2px;
    border-color: white;
}




.text-body-secondary {
    --bs-text-opacity: 1;
    color: #d05b25 !important;
}

#footerCenter {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    padding: 0.8rem;
    background-color: #c1c1c1;
    background-color: #7f44c6;
    border-radius: 0rem;
}
}
    #footerCenter p {
        color: white !important;
        font-size: 0.8rem;
    }

#galleriaDropdown {
    --bs-text-opacity: 1;
    font-size: 1.1rem;
    bottom: 2px;
    position: relative;
    color: #d05b25;
}


#footerCenter a.nav-link {
    color: white !important;
    font-size: 0.9rem;
}
/* Seleziona qualsiasi elemento che abbia un attributo 'id' il cui valore inizia con "gruppo"
[id^="gruppo"] {
    background-color: red;
    scroll-margin-top: 20rem;
}
 */
.logoX {
    height: 45px; /* Altezza consigliata per navbar, puoi adattare */
    width: auto; /* Mantiene le proporzioni */
    /*  max-width: 180px;Limite massimo, opzionale */
    display: block;
    margin-right: 2rem;
}

.logo3d {
    height: 42px;
    width: auto;
    max-width: 65px;
    display: block;
    background-color: #777;
    border-style: solid;
    border-width: 1px;
    border: white;
}

@media (max-width: 600px) {
   

    .logoX {
        height: 45px;
        max-width: 200px;
    }
}



a {
    color: #222222;
    text-decoration: underline;
    transition: color 0.2s, text-decoration 0.2s;
}

    /* Al passaggio del mouse */
    a:hover,
    a:focus {
        color: #888888;
        text-decoration: none;
    }

    /* Link visitati
    a:visited {
        color: #555555;
    }
 */
    /* Link attivi (cliccati) */
    a:active {
        color: white;
    }


.home_titolo {
    font-family: "Playfair Display SC", serif;
    color: #222222;
    font-weight: 700;
    font-style: normal;
    font-size: 1.4rem;
    /* animation: blinker 1.5s linear infinite; */
}



/* La keyframe animation è il cuore dell'effetto.
           Specifica come il colore del testo cambia nel tempo. */
@keyframes blinker {
    50% {
        opacity: 0; /* Rende il testo invisibile al 50% dell'animazione */
    }
}

.blocco_titolo {
    text-transform: uppercase;
    font-family: "Playfair Display SC", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    text-align: right;
    margin-right: 10px;
    text-decoration: #2f9993;
    text-decoration-line: underline;
    text-decoration-style: solid;
}







.blocco_sottoTitolo {
    padding: 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: italic;
    font-size: 1.6rem;
    background-color: #333;
    color: white;
    margin-top: 20px;
    margin-bottom: 0;
    border-top-left-radius:2rem;
}

/* Seleziona l'h3 nella PRIMA sezione */
section:nth-of-type(1) h3 {
    background-color: #00a086;
}

/* Seleziona l'h3 nella SECONDA sezione */
section:nth-of-type(2) h3 {
    background-color: #e09573;
}

/* Seleziona l'h3 nella TERZA sezione */
section:nth-of-type(3) h3 {
    background-color: #ffb659;
}

section:nth-of-type(4) h3 {
    background-color: #25958a;
    
}
section:nth-of-type(5) h3 {
    background-color: #ffb659;
    
}

.gruppo_desc {
    background-color: #eaeaea;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
}

section:nth-of-type(1) p {
    
    padding: 3rem;
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.5rem;
    background-image: url('/photos/composizione/G2/background-001.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    
    background-size: 100%;
    color: white;
    height: 31rem;
    background-position-x: center;
    background-position-y: center;
    vertical-align: top;
    display: table-cell;
}

section:nth-of-type(2) p {
    padding: 2rem;
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.5rem;
    background-image: url('/photos/composizione/G2/_DSC7629-002-1920px.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 100%;
    color: white;
    height: 27rem;
    background-position-x: center;
    background-position-y: center;
    vertical-align: top;
    display: table-cell;
}


section:nth-of-type(3) p {
    padding: 2rem;
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.5rem;
    background-image: url('/img/CAVIAR-GIAVERI-001.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 100%;
    color: white;
    height: 27rem;
    background-position-x: center;
    background-position-y: center;
    vertical-align: top;
    display: table-cell;
}





#gruppo-G1:nth-of-type(1) p.gruppo_desc {
    background: none;
    background-color: rgba(0, 0, 0, 0);
    color: black;
    height: 5rem;
    background-color: #eaeaea;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
}
#gruppo-G2:nth-of-type(2) p.gruppo_desc {
    background: none;
   
    background-color: rgba(0, 0, 0, 0);
    color: black;
    height: 5rem;
    background-color: #eaeaea;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
}


#gruppo-G3:nth-of-type(3) p.gruppo_desc {
    background: none;
    background-color: rgba(0, 0, 0, 0);
    color: black;
    height: 6rem;
    background-color: #eaeaea;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
}


#pry_1:nth-of-type(1) p.gruppo_desc {
    background: none;
    background-color: rgba(0, 0, 0, 0);
    color: black;
    height: 5rem;
    background-color: #eaeaea;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
}

#pry_2:nth-of-type(2) p.gruppo_desc {
    background: none;
    background-color: rgba(0, 0, 0, 0);
    color: black;
    height: 5rem;
    background-color: #eaeaea;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
}

#pry_3:nth-of-type(3) p.gruppo_desc {
    background: none;
    background-color: rgba(0, 0, 0, 0);
    color: black;
    height: 5rem;
    background-color: #eaeaea;
    padding: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
}




@media (max-width: 991.98px) {
   



    section:nth-of-type(1) p {
        padding: 1.2rem;
        font-size: 1.3rem;
        text-align: center;
        line-height: 1.4rem;
        background-size: 200%;
        height: 31rem;
        background-position-x: left;
        background-position-y: center;
        vertical-align: top;
        margin-top:-500px;
    }


    section:nth-of-type(2) p {
        padding: 1rem;
        font-size: 1.3rem;
        text-align: center;
        line-height: 1.3rem;
        background-size: 205%;
        height: 31rem;
        background-position-x: center;
        background-position-y: top;
        vertical-align: top;
    }
    section:nth-of-type(3) p {
        padding: 1rem;
        font-size: 1.3rem;
        text-align: center;
        line-height: 1.3rem;
        background-size: 205%;
        height: 25rem;
        background-position-x: center;
        background-position-y: top;
        vertical-align: top;
    }

    }




    @media (max-width: 900px) {

        .blocco_titolo {
            margin-top: 1rem;
        }

        .blocco_sottoTitolo {
            padding: 1rem;
            font-size: 1.1rem;
        }
    }

    .presentazione {
        background-color: #f8f9fa;
        padding: 1.2rem;
    }

    .slogan {
        font-family: "Playfair Display SC", serif;
        font-weight: 400;
        font-style: italic;
        font-size: 1.2rem;
    }




    .sezioniTitoli {
        font-family: "Playfair Display SC", serif;
        font-weight: 700;
        font-style: normal;
        font-size: 2rem;
        text-align: center;
    }





    .contenitore-slider {
        min-height: 100vh;
        margin-bottom: 60px;
        position: relative;
    }


    .blocco_slider {
        text-transform: uppercase;
        font-family: "Playfair Display SC", serif;
        font-weight: 700;
        font-style: normal;
        font-size: 2rem;
        text-align: center;
        margin-bottom: 0.5rem;
        margin-top: 2rem;
    }



    .img-wrapper {
        position: relative;
    }

    .img-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.5);
        color: #fff;
        padding: 8px;
        opacity: 0.8;
        font-family: 'Times New Roman', Times, serif;
    }

    .scroll-down {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background: none;
        border: none;
        font-size: 2.5rem;
        cursor: pointer;
    }

    .gruppo-slider {
        margin-bottom: 40px;
        font-style: italic;
        background-color: rgb(247, 247, 247);
        padding-top: 20px;
        padding-left: 20px;
    }


    .container {
        /*  max-width: 1920px; ORIGINALE, LO TOLGO PER PROVA */
        /*     overflow: hidden;non togliere, altrimenti il botton menù glissa a destra in overflow!!  */
    }





    .my-gallery {
    }

.fiboInfo {
    /*   font-family: "Playfair Display SC", serif;  */
    font-weight: 400;
    font-style: normal;
    width: 96%;
}


    .pswp__custom-caption {
        background: rgba(75, 75, 75, 0.40);
        font-size: 16px;
        color: #fff;
        width: calc(100% - 32px);
        width: calc(100% - 32px);
        max-width: 400px;
        padding: 2px 8px;
        border-radius: 4px;
        position: absolute;
        left: 50%;
        bottom: 10%;
        transform: translateX(-50%);
    }

        .pswp__custom-caption a {
            color: #fff;
            text-decoration: underline;
        }

    /* Esempio: cambia stile della caption solo in fullscreen */






.hidden-caption-content {
    font-style: normal;
    font-size: 1rem;
    /*   font-family: "Playfair Display SC", serif; */
    font-weight: 400;
    font-style: normal;
    background: rgba(75, 75, 75, 0.55);
    color: #fff;
    width: 40%;
    max-width: 800px;
    padding: 0.5rem;
    border-radius: 4px;
    position: absolute;
    left: 76%;
    top: 2%;
    transform: translateX(-50%);
    line-height: 1.2rem;
}

.pswp--open .pswp__custom-caption {
    opacity: 1;
    font-size: 1rem;
    line-height: 1.2rem;
    pointer-events: auto;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    width: 100%;
    position: absolute;
    bottom: 10px;
    max-width: 1800px;
    vertical-align: bottom;
    margin-bottom: 10px;
}


    .pswp__hide-on-close > div > div > img {
        position: absolute;
        top: -402px;
        left: 10%;
        height: auto;
        border-width: 1px;
        border-color: white;
        border-style: solid;
    }

    @media (max-width: 991.98px) {
        .pswp__hide-on-close > div > div > img {
          
        }
    }

    @media only screen and (max-width: 900px) and (orientation: landscape) {

        .pswp__hide-on-close > div > div > img {
            top: -100px;
            left: 100px;
        }
        .pswp--open .pswp__custom-caption {
            visibility: hidden; /*   provv nascondo descrizione, troppo invasiva con orientamento orizzontale */
        }




    }




    .swiper-button-next::after {
        font-family: Arial;
        content: '>';
    }

    .swiper-button-prev::after {
        font-family: Arial;
        content: '<';
    }




    /* Cambia colore di sfondo e icona dei bottoni prev/next di PhotoSwipe */

    .swiper-button-prev {
        font-style: normal;
        position: absolute;
        top: 88%;
        background-color: #222 !important; /* Sfondo scuro */
        color: #fff !important; /* Icona bianca */
        border-radius: 50%;
        border: 1px solid #fff;
        width: 36px;
        height: 36px;
        opacity: 0.3;
        transition: background 0.2s;
    }

    .swiper-button-next {
        font-style: normal;
        position: absolute;
        top: 88%;
        background-color: #222 !important; /* Sfondo scuro */
        color: #fff !important; /* Icona bianca */
        border-radius: 50%;
        border: 1px solid #fff;
        width: 36px;
        height: 36px;
        opacity: 0.3;
        transition: background 0.2s;
    }


        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background-color: #007bff !important; /* Blu su hover */
            color: #fff !important;
            opacity: 0.3;
        }





    /* Ombra e bordi arrotondati */
    .dropdown-menu {
        transition: opacity 1.2s;
    }



    /* Multi-level dropdown compatibile mobile */
    .dropdown-submenu {
        position: relative;
    }

        .dropdown-submenu > .dropdown-menu {
            top: 0;
            left: 100%;
            margin-top: -1px;
            display: none;
            position: absolute;
            min-width: 200px;
            z-index: 1050;
        }

        .dropdown-submenu.show > .dropdown-menu {
            display: block;
        }


    .dropdown-item .bi {
        margin-right: 0.5em;
        vertical-align: -0.125em;
    }

    /* Hover personalizzato */
.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgb(255, 182, 89);
    color: #ffffff;
    font-weight: 500;
}









    @media (max-width: 991.98px) {
        /* Su mobile: i sottomenu si aprono in posizione statica, sotto il menu padre */

        .dropdown-menu {
            max-height: 60vh;
            overflow-y: auto;
        }



        .dropdown-submenu > .dropdown-menu {
            left: 0;
            top: 100%;
            position: static;
            margin-left: 0;
            min-width: 100%;
            box-shadow: none;
        }
    }

    @media (min-width: 992px) {
        /* Desktop: normale apertura a destra */
        .dropdown-submenu > .dropdown-menu {
            left: 100%;
            top: 0;
            margin-top: -1px;
            position: absolute;
            min-width: 200px;
        }
    }









#contFullFaq {
    position: relative;
    width: 96%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 6px;
   
}




.faq-item {
    
}




.titleFaq {
    width: 100%;
    text-align: center;
    border: 0;
    background-color: #fff;
    /*   display: none;Mostrato via JS se serve */
}

    #buttonOpenFaq {
        margin-bottom: -5px;
    }

.divfaq {
    position: relative;
    align-self: center;
    width: 100%;
    opacity: 0;
    text-align: justify;
    max-height: 0;
    overflow: hidden;
    transition: 1.8s;
    line-height: 1.8rem;
    padding: 0rem;
    font-size: 1.2rem;
    color: #222;
    white-space: preserve-breaks;
    background-color: #f4f4f4;
    padding-left: 1rem;
    padding-right: 1rem;
    border-top-left-radius: 2rem;
}

        .divfaq.show {
            opacity: 1;
            max-height: 800px; /* o quanto serve */
           
        }

.titleSpanFaq {
    font-size: 1.5rem;
    font-weight: 200;
    color: #d05b25;
}

        .titleSpanFaq:hover {
        }

        .titleSpanFaq::after {
            content: "+";
            display: inline-block;
            color: #828282;
            font-size: 2rem;
            left: 3%;
            top: 20%;
            line-height: 21px;
            position: relative;
        }

    .spanToggle::after {
        content: "-";
        font-size: 2rem;
        left: 3%;
        top: 20%;
        line-height: 21px;
        color: white;
        position: relative;
    }

    .faqFind {
        font-size: 1.4rem;
        color: #4ba589;
        font-weight: 600;
        text-decoration: underline;
        text-transform: uppercase;
    }

    input#search-box {
        color: #000;
        font-size: 1.3rem;
        width: 60%;
        display: inline;
        align-self: center;
        margin-top: 0px;
        background-color: #eaeaea;
        box-shadow: 8px 8px 8px -2px #666;
        border-radius: 0px;
        border: #c0c0c0 groove 0px;
        margin-top: 2rem;
    }



@media (max-width: 991.98px) {
    input#search-box {
        font-size: 1.2rem;
        width: 100%;
        box-shadow: 4px 4px 4px -1px #666;
    }
    }




    .slider-container {
        position: relative;
        width: 100%;
        max-width: 100vw;
        height: 300px;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .slider-track {
        display: flex;
        width: calc(4530px * 2); /* Doppio per il loop */
        height: 300px;
        animation: scroll-horizontal 60s linear infinite;
    }

    .slider-img {
        width: 4530px;
        height: 300px;
        object-fit: cover;
        flex-shrink: 0;
    }

    @keyframes scroll-horizontal {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-4530px);
        }
    }

    .slider-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: rgba(0,0,0,0.0); /* trasparenza */
        pointer-events: none; /* overlay non blocca i click */
        text-shadow: 0 2px 8px #000;
        z-index: 2;
    }


    .slider-container:hover .slider-track {
        animation-play-state: paused;
    }

    .slider-overlay .btn {
        pointer-events: auto;
        text-shadow: none;
        color: #fff;
    }












    @media only screen and (max-width: 900px) and (orientation: portrait) {
        .rotate-device-overlay {
            display: flex;
            flex-direction: column;
            padding: 2%;
            position: fixed;
            z-index: 9999;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.85);
            color: #fff;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            text-align: center;
        }

        .main-content {
            filter: blur(2px);
            pointer-events: none;
            user-select: none;
        }
    }

    @media (orientation: landscape) {
        rotate-device-overlay
        .rotate-device-overlay {
            display: none !important;
        }

        .main-content {
            filter: none;
            pointer-events: auto;
            user-select: auto;
        }
    }

    @media only screen and (max-width: 900px) and (orientation: portrait) {
        .swiper-slide img,
        .pswp__img {
            width: 100vw;
            height: 100vw; /* quadrato per evitare tagli */
            max-width: 100vw;
            /*   max-height: 60vh;  ELIMINATO, CREA PROBLEMI A FOTO VERTICALI, LE SPINGE IN ALTO E RIDUCE */
            object-fit: contain;
            display: block;
            margin: 0 auto;
            background: #111;
        }

        .img-wrapper {
            background: #111;
        }
    }

    @media only screen and (max-width: 900px) and (orientation: landscape) {
        .swiper-slide img,
        .pswp__img {
            width: 100vw;
            height: 100vh;
            /*  max-width: 100vw;  Fix per PhotoSwipe zoom in landscape */
            /*   max-height: 100vh;  */
            object-fit: contain;
            display: block;
            margin: 0 auto;
            background: #111;
        }

        .img-wrapper {
            background: #111;
        }
    }

    @media only screen and (min-width: 901px) and (max-width: 1366px) and (orientation: landscape) {
        .swiper-slide img,
        .pswp__img {
            width: 100vw;
            height: 90vh;
            max-width: 100vw;
            max-height: 90vh;
            object-fit: contain;
            display: block;
            margin: 0 auto;
            background: #111;
        }

        .img-wrapper {
            background: #111;
        }

        .container {
            max-width: 1366px;
        }
    }



















    .close-rotate-overlay {
        background: #fff;
        color: #222;
        border: none;
        border-radius: 4px;
        padding: 8px 18px;
        font-size: 1.1rem;
        margin-top: 16px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

        .close-rotate-overlay:hover {
            background: #eee;
        }







    .tooltip-container {
        position: relative;
        display: inline-block;
        cursor: help; /* Indica che c'è un tooltip */
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        text-decoration: underline;
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: italic;
        font-size: 1.2rem;
    }

    .tooltip-text {
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
    }

        .tooltip-text img {
            position: absolute;
            top: 0;
            left: 0;
            max-width: 419px;
            height: auto;
            max-height: 420px;
        }

    .tooltip-container:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }




    .tooltip-containerTitoli {
        position: relative;
        display: inline-block;
        cursor: help; /* Indica che c'è un tooltip */
        color: #666;
        font-size: 1rem;
        font-weight: 800;
        text-decoration: underline;
        margin-bottom: 1rem;
        width: 100%;
    }


        .tooltip-containerTitoli:hover .tooltip-titoli {
            visibility: visible;
            opacity: 1;
        }




    .tooltip-titoli {
        visibility: hidden;
        width: 90%; /* Larghezza del tooltip */
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 10px;
        position: absolute;
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s;
        text-decoration: underline;
        /*  bottom: 125%; Posiziona il tooltip sopra l'elemento */
        left: 0;
        top: 1.5rem;
        font-weight: 200;
        font-size: 1rem;
        text-align: left;
        font-family: 'Times New Roman', Times, serif;
        text-decoration: none;
    }








    .fuoriSchermo {
        background-color: red;
        position: absolute;
        visibility: visible;
        z-index: 20;
        top: -400px;
        left: 0;
        width: 400px;
    }


    .mb-3 > input {
        margin-bottom: 0.5rem;
    }




    @media (max-width: 900px) {
        .hidden-caption-content {
            font-style: normal;
            font-size: 0.7rem;
            line-height: 1rem;
        }

        .tooltip-container {
            font-size: 0.9rem;
        }

        .tooltip-text {
            left: 0;
            top: -160px;
            max-height: 300px;
            padding: 4px;
            max-width: 300px;
        }

            .tooltip-text img {
                max-width: 280px;
                height: auto;
                position: fixed;
                display: block;
                margin-bottom: 0px;
                max-height: 280px;
                left: -160px;
                top: 100px;
            }

        .fuoriSchermo {
            background-color: red;
            position: absolute;
            visibility: visible;
            z-index: 20;
            left: 30%;
            right: 30%;
            width: 400px;
            top: -300px;
        }



        #info-icon::after {
            content: " (Premi leggermente sul testo)"; /* FontAwesome Unicode per l'icona info-circle */
            font-size: 0.9rem;
        }
    }


    .btn-primary {
        background-color: #2f9993;
        border-color: white;
        color: white;
        --bs-btn-color: #fff;
        --bs-btn-bg: #2f9993;
        --bs-btn-border-color: #fff;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #fff;
        --bs-btn-hover-border-color: #000;
        --bs-btn-focus-shadow-rgb: 49,132,253;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #ffb659;
        --bs-btn-active-border-color: #0d0d0d;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #fff;
        --bs-btn-disabled-bg: #0d6efd;
        --bs-btn-disabled-border-color: #0d6efd;
    }




        .btn-primary button:hover {
            background: rgba(220,220,220,0.1); /* trasparenza */
            color: red;
            border-color: white;
        }

    .btn:hover {
        background-color: #e09573;
        border-color: white;
    }





@media only screen and (min-width: 576px) and (max-width: 900px) and (orientation: landscape) {
    /* OKKIO, TOLGO SE GENERA PROBLEMI PER ALTRE COSE  */
    .container {
        max-width: 1920px;
        /*   overflow: hidden;  OKKIO, TOLGO PER MOSTRARE IL MENU   */
        flex-direction: row-reverse; /*    OKKIO, non deve interferire con altri 'container'   */
        align-items: start;
    }
    
    
    
    
    /* Nasconde il menu completo a larghezza intera */

        .navbar-expand-sm .navbar-nav {
        display: none !important;
    }

    /* Mostra il pulsante per il menu a fisarmonica */
    .navbar-expand-sm .navbar-toggler {
        display: block !important;
        margin-right: 10px;
        margin-bottom: 5px;
       
    }

    /* Assicura che il pannello del menu a fisarmonica sia visibile quando viene cliccato */
    .navbar-collapse {
        display: block !important;
        height:auto;
        
    }

  /* --- NUOVA REGOLA --- */
        /* Rende visibile il navbar-nav solo quando il navbar-collapse è aperto (.show) */
        .navbar-collapse.show .navbar-nav {
            display: block !important;
        }
    .navbar-expand-sm .navbar-nav .dropdown-menu {
        position: absolute;
        height: 60vh;
        
        word-wrap: break-word;
        min-width: 400px;
       
    }

    .dropdown-menu {
        max-height: 60vh;
        overflow-y: visible;
        z-index: 9999;
    }

   
      
   




}