
.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 {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color:rgba(61, 61, 61, 0.597);

}

/* Modal Content */
.modal-content {
  position: relative;
  display: block;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 1200px;
  height: 70vh;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 0px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

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

/* Hide the slides by default */
.mySlides {
  display: none;
  max-width: 900px;
  width: 100%;
  margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: black;
  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: #1c1c1ccc;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #000;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: #2f2f2fcc;
  padding: 2px 16px;
  color: white;
  min-height: 6vh;
}

img.demo {
  opacity: 0.6;
}

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

img.hover-shadow {
  transition: 0.3s;
  padding: 20px 5px;
  
}
img.hover-shadow.no-padding{
    padding: 0;

}
.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);
  cursor: pointer;


}

/* lightbox styling */
.lightbox-thumbnails {
  overflow-y: hidden;
  overflow-x: scroll;
  white-space: nowrap;
  width: 100%;
  height: 183px;
  scrollbar-color: #3BACD2 #b8cdd5;
  background-image: linear-gradient(180deg, #dad8d8 0%,#ffffff 20%, #fffafa 80%,#dad8d8 100%);

}

.lightbox-thumbnails:hover {
    border: solid 2px #3BACD2;
    transform: scale(1.1);
    transform-origin: center;
}


.hover-arrow .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    color: #FFF;
}
.hover-arrow:hover .after {
    display: block;
}

.lightbox-thumbnails .thumbnail-container {
  display: inline-block;
    position: relative;
    width: 200px;
    height: 100%;
    padding: 10px 0;
    

}
.lightbox-thumbnails .thumbnail-container img{
  width: auto;
    height: auto;
    max-width: 175px;
    max-height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  
}

.thumbnail-control {
  overflow: auto;
  overflow-y: clip;
    white-space: nowrap;
    width: 100%;
    height: 150px;
    background-color: #2f2f2fcc;
    height: 12vh;

  }

.thumbnail-control .column {
  display: inline-block;
  position: relative;
  width: 150px;
  float: none;
}


.thumbnail-control .column img{
  width: auto;
    height: auto;
    margin-top: 2vh;
    max-width: 95%;
    max-height: 11vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.mySlides {
  height: 100%;
  width: 100%;
  position: relative;
}
.mySlides img {
    display: block;
    margin: 0 auto;
    max-height: 90%;
    height: auto;
    width: auto;
    max-width: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mySlides img.narrow {
  max-height: 40vh;
}

img.demo {
  max-width: 200px;
  width: 100%;
  
}

@media screen and (max-width: 768px){
  .mySlides img {
    max-width: 100%;
    padding: 10px 35px;
  }

  /* .thumbnail-control .column {
    width: 100px;
    
}

.thumbnail-control .column img {
  max-height: 13vh;
  max-width: 114px;
} */
.modal {
padding-top: 50px;
}
.modal-content {
  height: 68vh;
}


.close {
  font-size: 31px;
}

.lightbox-thumbnails {
  height: 120px;
}

.lightbox-thumbnails .thumbnail-container {
  width: 143px;
}
.lightbox-thumbnails .thumbnail-container img {
  max-width: 125px;
  max-height: 140px;
  margin: 0 auto 40px;


}
}
