.gallery_column {
    float: left;
    width: 20%;
}

/* The Modal (background) */
/* #service_gallery_modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 60%;
    height: 60%;
    overflow: auto;
    background-color: black;
    margin: auto;
    left: 0px;
    right: 0px;
} */

/* Modal Content */
#service_gallery_images_html {
    position: relative;
    background-color: #fefefe;
    padding: 0;
    width: 100%;
}

.gallery_slides {
    display: none;
    text-align: center;
}

.gallery_cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.gallery_prev,
.gallery_next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;

}

/* Position the "next button" to the right */
.gallery_next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.gallery_prev:hover,
.gallery_next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.gallerynumbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.gallery_slides img,
.gallery_single_image {
    margin-bottom: 0px;
    object-fit: cover;
    object-position: bottom;
}

.gallery_slides img {
    width: auto !important;
    height: 400px !important;
}

.gallery_single_image {
    width: 100% !important;
    height: auto !important;
}

/* .caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
} */

.gallery_single_image {
    opacity: 0.6;
    max-height: 97px !important;
}

.gallery_active,
.gallery_single_image:hover {
    opacity: 1;
}

.gallery_slides img.hover-shadow,
.gallery_column img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}