img {
    width: 100%;
}

.row > .column {
    padding: 0 8px;
}
  
.row:after {
    content: "";
    display: table;
    clear: both;
}
  
  /* Create four equal columns that floats next to eachother */
.column {
    width: 50%;
    padding:5px;
}
  
/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 9999!important;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #ffffffba;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    height: 100%;
    max-height:705px;
    box-shadow: none!important;
    width: 90% !important;
}
  
/* The Close Button */
.close {
    color: #9ca3af;
    position: absolute;
    top: 0px;
    right: 25px;
    font-size: 35px!important;
    font-weight: bold;
}
  
.close:hover,
.close:focus {
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
}
  
  /* Hide the slides by default */
.mySlides {
    align-items: center;
    display: none;
    height: 650px;
    justify-content: center;
}
  
/* Center main image in lightbox */
.col-md-8.ph0 {
    display: flex;
    justify-content: center;
}

.gallery-main-photo {
    position: relative;
}
  
.gallery-current {
    overflow: hidden;
    height: 100%;
}
  
.gallery-thumbs {
    height: 100%;
    overflow: scroll;
    padding-bottom: 26rem;
}
  
/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    padding: 0 16px;
    color: #6b7280 !important;
    font-weight: bold;
    font-size: 2em;
    text-decoration: none !important;
    transition: 0.1s 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 {
    color: #4b5563 !important;
    text-decoration: none !important;
}
  
/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
  
.caption {
    top: 20px;
}
  
img.demo {
    opacity: 0.6;
}
  
img.demo:hover {
    cursor: pointer;
}
  
.active,
.demo.active,
.demo:hover {
    opacity: 1;
}

@media ( max-width: 700px ) {
    .modal {
        padding-top: 10px;
        max-width: 100%;
    }
  
    .modal-content {
        max-height: 650px !important;
        max-width: 100%;
    }
}
  
@media ( max-width: 820px ) {
    .modal-content {
        max-height: 900px;
    }
  
    .mySlides {
        height: auto;
    }
  
    .mySlides img {
        max-height: 500px;
    }
  
    .gallery-main-photo {
        max-height: 500px;
        margin-bottom: 1rem;
    }
}