.row > .column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
    float: left;
    width: 25%;
}

/* The Modal (background) */
.modal-gallery {
    display: none;
    position: fixed;
    z-index: 6;
    margin: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
}

@media only screen and (min-width: 850px) {
    .modal-gallery {
        padding-top: 100px;
    }
}

/* Modal Content */
.modal-content-gallery {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    height: 90%;
    max-width: 1200px;
}
@media only screen and (max-width: 640px) {
    .modal-content-gallery {
        padding-top: 20%;
        margin-left: 2.5%;
    }
}

#content_gallery {
    height: 100%;
    width: 100%;
}

/* Hide the slides by default */
.mySlides {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mySlidesImg {
    display: block;
    /* margin: auto; */
    max-width: 100%;
    width: 50%;
    height: auto;
}

/* The Close Button */
.close-gallery {
    color: white;
    position: absolute;
    top: 1%;
    right: 1%;
    font-size: 40px;
    font-weight: bold;
}

.close-gallery:hover,
.close-gallery:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-prev,
.carousel-next {
    cursor: pointer;
    position: relative;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-user-select: none;
    display: none;
}

/* Position the "Prev button" to the left */
.prev, .carousel-prev {
    left: 0%;
}

/* Position the "next button" to the right */
.next, .carousel-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* On hover, add a black background color with a little bit see-through */
.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.9);
}


/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 24px;
    font-weight: bold;
    padding: 8px 12px;
    position: absolute;

    bottom: 0;
    right: 49%;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

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);
}

#carousel-container {
    width: 100%;
    height: auto;
    min-height: 250px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#images-section {
    display: flex;
    align-items: center;
}