/* ================================== */
/*          Stili layout              */
/* ================================== */
.navbar {
    background-color: #333;
}
.navbar-brand, .nav-link {
    color: #f5f5f5 !important;
}
.footer {
    background-color: #333;
    color: #f5f5f5;
}

/* ================================== */
/*          Preloader                 */
/* ================================== */
#content {
    display: none;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m:
            conic-gradient(#0000 10%,#000),
            linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

/* ================================== */
/*          Slider banner             */
/* ================================== */
.banner-container {
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    position: relative; /* Per posizionare l'overlay */
    height: 400px;
}

.owl-carousel {
    width: 100%;
}

.owl-carousel .item {
    height: 400px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.owl-carousel .item img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay nero trasparente */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Nero con 50% di opacità */
    z-index: 2;
}

/* Stile per il testo fisso */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3; /* Sopra l'overlay */
    width: 100%;
    padding: 0 20px;
}

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.banner-text p {
    font-size: 1.5rem;
    margin: 0;
}

.text-bg-secondary strong {
    font-weight: 600;
    color: #ffe100;
}

.text-bg-secondary strong a {
    color: #ffe100;
}
.card-title {
    font-weight: 600;
    font-size: 1.1em;
}
.card-title a {
    text-decoration: none;
}

.card-text strong {
    color: #000000;
}

.forni-a-convenzione .card-text {
    font-size: 0.85em;
}

.forni-a-convenzione  .card-text a {
    text-decoration: none;
}
