html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: rgb(248, 248, 248);
}

figure {
    cursor: pointer;
}

.row {
    background-color: white;
}

.image {
    height: 200px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .image {
        width: 50%;
    }
}

.rounded-10 {
    border-radius: 10px;
    -webkit-box-shadow: 0 0 10px 7px rgba(0, 0, 0, 0.38);
    -moz-box-shadow: 0 0 10px 7px rgba(0, 0, 0, 0.38);
    box-shadow: 0 0 10px 7px rgba(0, 0, 0, 0.38);
}


/* The Modal (background) */
#modal {
    display: none;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Content */
.modal-content {
    display: flex;
    justify-content: center;
    position: relative;
    background-color: rgba(240, 240, 240, 1);
    margin: 100px auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    /*height: 1000px;*/
    max-height: 90%;
}


#current-slide {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 20px;
}

#thumbnails {
    /*position:absolute;*/
    /*bottom:0;*/
    padding-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    z-index: 2;
}

@media (max-width: 1200px) {
    #thumbnails {
        display: none;
    }

    .modal-content {
        display: flex;
        justify-content: center;
        position: relative;
        background-color: rgba(240, 240, 240, 0);
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .rounded-10 {
        border-radius: 10px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    #current-slide {
        display: flex;
        /*width: 100%;*/
        /*height:100%;*/
        justify-content: center;
        /*align-content: center;*/
        padding: 0;
    }
    .slide-photo {
        margin-top: 100px;
        width: initial;
        height: auto;
        max-height: 100%;
        max-width: 100%;
    }
}


.column {
    padding: 3px;
    overflow: hidden;

}

.thumbnail {
    cursor: pointer;
    width: 10vh;
    height: 10vh;
    margin: 10px;
    opacity: 0.6;
}


/* Hide the slides by default */
.slide-photo {
    display: none;
    /*height: 60%;*/
    /*width: auto;*/
    /*max-width: 90%;*/
    max-width: 100%;
    max-height: 100%;
    height: inherit !important;
}

/* The Close Button */
.close {
    cursor: pointer;
    color: gray;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    z-index: 2;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}


/* Next & previous buttons */
.prev-area, .next-area {
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 50%;
}

.prev-area {
    left: 0;
}

.next-area {
    right: 0;
}

.prev,
.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 */
.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);
}


.active,
.thumbnail:hover {
    opacity: 1;
}

