
.row .col-md-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gallery-section {
    padding: 30px 0px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.gallery-section h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 800;
    margin: 0px;
    color: #000000;
    text-align: center;
}

.GalleryBlock {
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    position: relative;
    width: 100%;
    align-items: stretch;
}

.GallerySwiper {
    padding: 30px 0 70px !important;
}

.GallerySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.GallerySwiper .swiper-slide > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: pointer;
    height: 100%;
    max-width: 300px;
    margin: 0 10px;
}

@media screen and (min-width: 600px) {
    .GallerySwiper .swiper-slide > a {
        max-width: 350px;
    }
}

.GallerySwiper .swiper-wrapper .swiper-slide:first-child > a {
    max-width: 400px; 
}

@media screen and (min-width: 600px) {
    .GallerySwiper .swiper-wrapper .swiper-slide:first-child > a {
        max-width: 450px; 
    }
}

.GalleryBlock .swiper-slide {
    transition: all 0.3s ease-in-out; 
}

.GallerySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
}

div.gallery-swiper-button-next {
    top: auto !important;
    bottom: 0;
    right: calc(50% - 70px) !important;
    background: #2563eb;
    border-radius: 10px;
    width: 40px !important;
    transition: 0.4s;
}

div.gallery-swiper-button-prev {
    top: auto !important;
    bottom: 0;
    left: calc(50% - 70px) !important;
    background: #2563eb;
    border-radius: 10px;
    width: 40px !important;
    transition: 0.5s;
}

div.gallery-swiper-button-next:hover, div.gallery-swiper-button-prev:hover {
    background: #111827;
}

div.gallery-swiper-button-next::after, div.gallery-swiper-button-prev::after {
    position: relative;
    color: #fff;
    font-size: 25px !important;
}

.lightboxOverlay, .lightbox {
    z-index: 999999 !important;
}
@media (min-width: 981px) {
    .lp-gallery a {
        width: calc(31.6667vw);
        max-width: 300px;
        height: calc(31.6667vw);
        max-height: 300px;
   }
}

