#gallery__image__bg.blurred,
.gallery-content-wrapper.blurred {
    filter: blur(10px); /* Adjust the blur level as needed */
    transition: filter 0.3s ease; /* Smooth transition for blur effect */
}

.gallery__banner__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

video#gallery__image__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    height: 100vh;
    /*min-height: calc(100vh - 104px);*/
    z-index: -100;
    object-fit: cover;
}

.banner__gallery__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .55;
    background-color: #000;
}


.gallery-content-wrapper {
    position: relative;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;


    width: 100%;

    height: calc(100vh - 104px);
}

.gallery-title h2 {
    font-family: Gotham-Black, 'sans-serif';
    font-size: 92px;
    text-align: center;

    text-transform: uppercase;

    color: #ffffff;
    transform: translateY(-50%);
}

.scroll-wrapper {
    position: absolute;
    bottom: 2rem;

    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    align-self: center;
    align-items: center;

}


.gallery {
    width: 100%;
    display: block;
    /*min-height: 100vh;*/

    padding: 0 100px;
    background-color: #1a1a1a;
    padding: 100px;
}

.gallery-spinner {
    width: 100%;
    height: 200px;
    font-size: 2rem;
    color: #CE181E;
    
    text-align: center;
    margin-top: 150px;
}


.gallery-item {
    width: 100%;
    /*display: none;*/
}

.gallery-item img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
}


#fillterGallery {
    display: grid;
    grid-template-columns: 100%;
}

.buses-gallery__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;

    margin-top: 5rem;
}

.filter-btns {
    display: flex;
    flex-direction: row;
    column-gap: 5rem;
    /*justify-content: center;*/
    justify-content: space-between;
    
    width: 100%;
    text-align: center;

    font-family: Gotham-Book, sans-serif;
    font-size: 1.5rem;

    border: none;
    border-bottom: 1px solid #757575;
    margin-bottom: -1px;

}

.filter-btns button {
    /*margin-right: 10px;*/
    padding: 10px;
    cursor: pointer;

    background-color: transparent;
    color: white;

    border: none;
    border-bottom: 4px solid rgba(206, 24, 30, 0);

    font-family: Gotham-Book, sans-serif;
    font-size: 1.4rem;

    text-transform: uppercase;

    padding: 0 2rem;
}

#showMoreBtn,
#showLessBtn {
    /*display: none;*/
    margin-top: 3rem;
    padding: 10px 20px;
    cursor: pointer;
}


.img-thumbnail {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.thumb:last-child {
    margin-bottom: 0;
}


.thumb figure img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.thumb figure:hover img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}


.filter-btns .active-tab {
    color: #CE181E;
    border-bottom: 4px solid #CE181E;

    font-family: Gotham-Medium, sans-serif;
    margin-bottom: -1px;

    padding: 0 2rem;
}

a.show-more__btn,
a.show-less__btn {
    background: transparent;
    border: none;
    padding: 1.5rem;
    font-weight: bold;
    font-size: 20px;
    font-family: "Gotham-Book", sans-serif;
    position: relative;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
}

a.show-more__btn:after,
a.show-less__btn:after {
    transform: translateY(-50%);
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E4282D;
    position: absolute;
    left: 0px;
    top: 50%;
    z-index: -1;
    transition: 0.3s ease;
}

a.show-more__btn:hover:after,
a.show-less__btn:hover:after {
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 150px;
}

a.show-more__btn i,
a.show-less__btn i {
    margin-left: 1rem;
}


#footer {
    padding: 100px 0 10px 0;
}


.mfp-arrow-left:before {
    margin-left: 25px;
     border-right: none;
    font-family: FontAwesome;
    font-size: 30px;
    content: '\f104';
    color: white;
}

.mfp-arrow-left:after {
     border-right: none;
     margin-left: 31px;
}


.mfp-arrow-right:before {
    margin-left: 25px;
    border-left: none;
    font-family: FontAwesome;
    font-size: 30px;
    content: '\f105';
    color: white;
}

.mfp-arrow-right:after {
    border-left: none;
}


@media only screen and (max-width: 1920px) {
    .filter-btns {
        column-gap: 3rem;
    }
}

@media only screen and (max-width: 1366px) {
    .filter-btns {
        column-gap: 3rem;
    }
}

@media only screen and (max-width: 1366px) {
    .filter-btns {
        column-gap: 2rem;
    }

    .gallery-item img {
        height: 20vh;
    }

    .filter-btns button {
        padding: 0 2rem;
    }
}


@media only screen and (max-width: 1200px) {
    .filter-btns button {
        font-size: 1.3rem;
    }

    .filter-btns button {
        padding: 0 1.5rem;
    }
}


@media only screen and (max-width: 1024px) {
    .buses-gallery__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery {
        padding: 50px;
    }

    .filter-btns {
        column-gap: 0rem;
    }

    .gallery-item img {
        height: 15vh;
    }

    .filter-btns button {
        padding: 0 1.5rem;
    }
}

@media only screen and (max-width: 820px) {
    .filter-btns button {
        padding: 0 1rem;
    }

    .filter-btns button {
        font-size: 1rem;
    }
}


@media only screen and (max-width: 768px) {
    .filter-btns button {
        padding: 0 1rem;
    }

    .filter-btns button {
        font-size: 1rem;
    }

    .buses-gallery__container {
        margin-top: 3rem;
    }

    .filter-btns .active-tab {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 570px) {
    video#gallery__image__bg {
        height: 40vh;
    }

    .banner__gallery__overlay {
        height: 40vh;
    }

    .gallery__banner__image {
        height: 40vh;
    }

    .gallery-content-wrapper {
        height: calc(40vh - 66px);
        padding: 2.5rem 0;
        justify-content: space-between;
    }

    .gallery {
        padding: 60px 20px 0 20px;
    }

    .filter-btns button {
        font-size: 1.3rem;
    }

    .filter-btns {
        flex-direction: column;
        width: max-content;
        border: none;
        margin: 0 auto;
    }

    .filter-btns {
        row-gap: 1rem;
    }

    .buses-gallery__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-title h2 {
        font-size: 3rem;
        transform: translateY(60%);
    }

    .filter-btns button {
        margin-right: 0;
    }

    figure {
        margin: 0 !important;
    }

    .buses-gallery__container {
        gap: 0.5rem;
    }

    a.show-more__btn, a.show-less__btn {
        font-size: 1.1rem;
    }

    #showMoreBtn,
    #showLessBtn {
        /*display: none;*/
        margin-top: 0;
    }
    

    #footer {
        padding: 200px 0 12px 0;
    }
}


@media only screen and (max-width: 430px) {
    video#gallery__image__bg {
        height: 45vh;
    }
    .banner__gallery__overlay {
        height: 45vh;
    }

    .gallery__banner__image {
        height: 45vh;
    }
    
    .gallery-content-wrapper {
        height: calc(45vh - 66px);
        padding: 2.5rem 0;
        justify-content: space-between;
    }
}


@media only screen and (max-width: 375px) {
    video#gallery__image__bg {
        height: 50vh;
    }

    .gallery-title h2 {
        font-size: 2.2rem;
    }

    .banner__gallery__overlay {
        height: 50vh;
    }

    .gallery__banner__image {
        height: 50vh;
    }
    
    .gallery-content-wrapper {
        height: calc(50vh - 66px);
    }
    
}
