﻿.mySwiperThumbnails {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.mySwiperThumbnails .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    max-height: 90vh;
}

.mySwiperThumbnails .swiper-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.image-container {
    position: relative;
    cursor: pointer;
}

.image-container .caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5em;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

@media (min-width: 390px) and (max-width: 560px) {
    .image-container .caption {
        padding: 1em;
    }
}

@media (min-width: 640px) and (max-width: 860px) {
    .image-container .caption {
        padding: 0.2em;
    }
}

.image-container:hover .caption {
    opacity: 1;
}

.lb-overlay {
    z-index: 9999 !important;
    position: fixed !important;
    top: 0;
    left: 0;
}

.gslide-description {
    background-color: #000 !important;
    padding: .5em;
}

.gslide-description .gslide-title {
    color: white !important;
    font-size: 16px;
    line-height: 1.4;
}

.glightbox .gprev,
.glightbox .gnext {
    display: none !important;
}
