.gallery_images_bk .gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery_images_bk .gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 24px;
}

.gallery_images_bk img{
    background-color: white;
    margin-bottom: 15px;
}

.gallery_images_bk .r{
    margin-bottom: 25px;
}

.gallery_images_bk .gallery-item:hover {
    transform: scale(1.05);
}

.gallery_images_bk .lightbox {
    display: none; 
    position: fixed;
    z-index: 999999999999999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery_images_bk .lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.gallery_images_bk .labelinfo-gallery{
    position: absolute;
    top: 20px;
    left: 35px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    z-index: 999999999999999999;
}

.gallery_images_bk .close-gallery {
    position: absolute;
    top: 0px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 999999999999999999;
}

.gallery_images_bk .close-gallery svg path {
    stroke: white;
    stroke-width: 2px;
}

.gallery_images_bk .close-gallery:hover,
.gallery_images_bk .close-gallery:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.gallery_images_bk .prev-gallery,
.gallery_images_bk .next-gallery {
    cursor: pointer;
    position: absolute;
    top: 60px;
    height: calc(100vh - 60px);
    width: 25%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery_images_bk .prev-gallery svg path,
.gallery_images_bk .next-gallery svg path {
    stroke: white;
    stroke-width: 4px;
}

.gallery_images_bk .prev-gallery {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.gallery_images_bk .next-gallery {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.gallery_images_bk .prev-gallery:hover,
.gallery_images_bk .next-gallery:hover {
    color: white;
}


@media(max-width:991px){
    .gallery-img .r {
        margin-top: 35px;
    }
}