.breadcam_bg_2 {
    background-image: url(../../../img/banner/gallery_bg.jpg) !important;
    position: relative; /* Necessario per posizionare l'overlay assoluto al suo interno */
    z-index: 1;
}

.breadcam_bg_2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stessa sfumatura dello slider: parte dal blu notte (#002040) al 70% di opacit&#65533; in alto e diventa trasparente in basso */
    background: linear-gradient(to bottom, rgba(0, 32, 64, 0.7) 0%, rgba(0, 32, 64, 0) 100%);
    z-index: 2; /* Sta sopra l'immagine di sfondo */
    pointer-events: none; /* Evita di bloccare eventuali click o interazioni sulla sezione */
}

/* Assicura che il testo all'interno del banner rimanga sopra l'overlay e sia leggibile */
.breadcam_bg_2 .brading_text, 
.breadcam_bg_2 .breadcam_text,
.breadcam_bg_2 h3, .breadcam_bg_2 h1,
.breadcam_bg_2 p {
    position: relative;
    z-index: 3; /* Superiore all'overlay per risaltare al massimo */
}

.section_preft {
    padding: 160px 0;
    margin-top: 0px;
    background-position-y: center;
}


section.heading-page {
    background-image: url(../../../../banner/flotta-bg.jpg) !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 230px;
    text-align: center;
}


.pswp__ui.pswp__ui--hidden,
.about-intro .col-four {
    display: none;
}

.col-eight {
width:100% !important;
}
div#demo-test-gallery a {
    width: 31%;
    float: left;
    margin: 1%;
    margin-bottom: 25px;
    height: 250px;
    overflow: hidden;
    text-align: center;
    background-color: #000;
}


h1.title_album {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 50px;
}
.descr_album p {
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    color: #000;
    margin-bottom: 13px;
    font-family: 'Raleway', sans-serif;
    text-align:center;
}

#about > div.row.about-bottom-image > h1.title_album {
    display: none;
}

p.num_foto_album {
    display: none;
}

@media (max-width:990px)
{
div#demo-test-gallery a {
    height: 190px;
}
}

@media (max-width:800px)
{
div#demo-test-gallery a {
    width: 48%;
}
div#demo-test-gallery a {
    height: 260px;
}

}



div#demo-test-gallery a img {
    height: 100%;
    width:auto;
    max-width: none;
}
@media (max-width:420px)
{
div#demo-test-gallery a {
    width: 98%;
}
div#demo-test-gallery a {
    height: auto;
}
div#demo-test-gallery a img {
    width: 100% !important;
}
}
@media (max-width: 767.98px) {
    div#demo-test-gallery a {
        background-color: #FFF;
    }
    h1.title_album {
        text-transform: uppercase;
        color: #fff;
        line-height: 1.3;
        font-weight: 700;
        font-size: 23px;
        margin-bottom: 20px;
        text-align: center;
    }
    section.meetings-page {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
        background-color: #1f262c;
    }
}






