
#galleryModal .column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1033;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 1200px;
}

/* The Close Button */
#galleryModal .close {
  color: #fff;
  position: fixed;
  top: 10px;
  right: 30px;
  font-size: 35px;
  font-weight: bold;
}

#galleryModal .close:hover,
#galleryModal .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

#galleryModal .mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
#galleryModal .prev,
#galleryModal .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  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 */
#galleryModal .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
#galleryModal .prev:hover,
#galleryModal .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
#galleryModal .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

#galleryModal .caption-container {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 16px;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

#galleryModal .thumb-container {
  text-align: center;
  background-color: #000;
  height: 70px;
  overflow: hidden;
}

#galleryModal .thumb-container img{
  max-height: 80px
}

#galleryModal .demo {
  opacity: 0.6;
}

#galleryModal .active,
#galleryModal .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);
}
.pop-photo::after {
  font-family: font-jade;
  content: '\e84b';
  display: block;
  margin-right: 5px;
  position: absolute;
  z-index: 99999;
  right: 10px;
  top: 10px;
  background: #a8afac;
  color: #fff;
  font-size: 25px;
  opacity: .7;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  text-align: center;
}
@media (max-width: 575.98px) {
  .modal-content {
    position: absolute;
    top: 25%;
    left: 30px;
  }
}