/* ==========================================
   SLIDER FALKORAIR
   ========================================== */

#falkorSlider {
    --altezza-immagine: 500px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

/* IMMAGINI DELLA GALLERIA */

#falkorSlider .carousel-item img {
    display: block;
    width: 100%;
    height: var(--altezza-immagine);
    object-fit: cover;
   /* background: #050505;*/
}

/* PRIMA IMMAGINE - LOGO ASSOCIAZIONE */

#falkorSlider .carousel-item:first-child img {
    object-fit: contain;
}

/* RIQUADRO DELLE SCRITTE SOTTO L'IMMAGINE */

#falkorSlider .carousel-caption {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 20px 15px 30px;
    background: transparent !important;
    border: none;
    text-align: center;
    box-sizing: border-box;
}

/* TITOLI */

#falkorSlider h1,
#falkorSlider h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 10px;
}

/* DESCRIZIONI */

#falkorSlider p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 15px;
}

/* PULSANTI */

#falkorSlider .btn-primary {
    display: inline-block;
    background: #c91414;
    color: #ffffff;
    border: 1px solid #c91414;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* PULSANTI AL PASSAGGIO DEL MOUSE */

}

#falkorSlider .btn-primary:hover,
#falkorSlider .btn-primary:focus-visible {
    background: #a81010;
    border-color: #a81010;
    color: #ffffff;
}

/* FRECCE DI NAVIGAZIONE */

#falkorSlider .carousel-control-prev,
#falkorSlider .carousel-control-next {
    top: 0;
    bottom: auto;
    height: var(--altezza-immagine);
    width: 12%;
}

/* ==========================================
   VISUALIZZAZIONE SU TABLET E CELLULARE
   ========================================== */

@media (max-width: 768px) {

    #falkorSlider {
        --altezza-immagine: auto;
        width: 100%;
        max-width: 100%;
    }

    /* IMMAGINI COMPLETE SENZA RITAGLI */

    #falkorSlider .carousel-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: contain;
        background: #050505;
    }

    /* RIQUADRO DELLE SCRITTE */

    #falkorSlider .carousel-caption {
        width: 100%;
        min-height: 160px;
        padding: 15px 10px;
        border-bottom: 3px solid #c91414;
    }

    /* TITOLI */

    #falkorSlider h1,
    #falkorSlider h2 {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    /* DESCRIZIONI */

    #falkorSlider p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    /* PULSANTI */

    #falkorSlider .btn-primary {
        font-size: 14px;
        padding: 8px 16px;
    }

    /* FRECCE CENTRATE SULL'IMMAGINE */

    #falkorSlider .carousel-control-prev,
    #falkorSlider .carousel-control-next {
        top: 0;
        bottom: auto;
        width: 12%;
        height: auto;
        aspect-ratio: 16 / 75;
    }

    /* ELIMINAZIONE DEI MARGINI ECCESSIVI */

    .container-banner .banner-overlay {
        min-height: 0 !important;
        height: auto !important;
    }

    .container-banner .banner-overlay .overlay {
        width: 100%;
        max-width: 100%;
        padding: 10px !important;
        box-sizing: border-box;
    }
}

/* ==========================================
   SMARTPHONE CON SCHERMO PICCOLO
   ========================================== */

@media (max-width: 480px) {

    #falkorSlider h1,
    #falkorSlider h2 {
        font-size: 19px;
    }

    #falkorSlider p {
        font-size: 13px;
    }

    #falkorSlider .carousel-caption {
        min-height: 150px;
        padding: 12px 8px;
    }

    #falkorSlider .btn-primary {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* ALTEZZA AUTOMATICA DEL BANNER */

#mod-custom118.banner-overlay {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

#mod-custom118.banner-overlay .overlay {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100%;
    padding: 30px 15px !important;
    box-sizing: border-box;
}

#falkorSlider,
#falkorSlider .carousel-inner {
    height: auto !important;
    max-height: none !important;
}

/* Migliore leggibilità delle scritte */

#falkorSlider h1,
#falkorSlider h2,
#falkorSlider p {
    color: #ffffff;
    text-shadow: 1px 2px 5px #000000;
}

/* MENU PRINCIPALE */

#navbar110 .metismenu-item > a,
#navbar110 .metismenu-item > button {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* MENU PRINCIPALE - PASSAGGIO DEL MOUSE */

#navbar110 .metismenu-item > a:hover,
#navbar110 .metismenu-item > button:hover {
    color: #c91414 !important;
}

/* SFONDO DEL MENU A TENDINA */

#navbar110 ul.mm-collapse,
#navbar110 ul.mm-show {
    background: #050505 !important;
    background-image: none !important;
    border: 1px solid #c91414 !important;
    border-radius: 0 !important;
}

/* VOCI DEL MENU A TENDINA */

#navbar110 ul.mm-collapse li,
#navbar110 ul.mm-collapse li a {
    background: #050505 !important;
    color: #ffffff !important;
    font-size: 16px !important;
}

/* SOTTOMENU - PASSAGGIO DEL MOUSE */

#navbar110 ul.mm-collapse li:hover,
#navbar110 ul.mm-collapse li a:hover {
    background: #c91414 !important;
    color: #ffffff !important;
}

/* ELIMINAZIONE DELLA SOTTOLINEATURA */

#navbar110 a {
    text-decoration: none !important;
}