.lightboxpreview {
  transition: all 0.3s linear;
  height: 150px;
  cursor: pointer;
  background-size: cover;
  -webkit-box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  outline: 0;
  z-index: 9999;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
}
.lightbox_nav {
  position: absolute;
  bottom: -50px;
  z-index: 999999999999999999;
}
.lightbox-content {
  width: 80%;
  height: 90%;
  max-width: 1800px;
  text-align: center;
  margin: auto;
  border: 20px solid white;
  border-radius: 5px;
}

.lightbox-close {
  cursor: pointer;
  margin-left: auto;
  position: absolute;
  right: -30px;
  top: -30px;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.modal_inner_image {
  min-height: 400px;
  z-index: 1000;
}
.modal-content {
  width: 100%;
}

/*Animations*/
/* Fade in from direction */
.has-scroll-reveal {
  animation-play-state: paused;
}

.animated {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-play-state: running;
}

.modalscale {
  transform: scale(0);
  opacity: 0;
}

.lightbox {
  width: 100vw;
  height: 100vh;
  text-align: center;
  margin: auto;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.9);
}
