.lightbox {
  min-height: 100vh;
  display: none;
  background: #000;
  overflow: hidden;
}

.lightbox.active {
  display: block;
}


.lightbox .close_zoom_cont {
  position: absolute;
  z-index: 1;
  right: 1rem;
  top: 0rem;
  width: 3.4rem;
  height: 4.15rem;
  background: url('./images/close_fill.svg') center/1.5rem no-repeat;
  cursor: pointer;
}

.lightbox .close_zoom_cont:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .lightbox .close_zoom_cont {
    top: 19px;
    right: 10px;
  }
}



.lightbox .zoom_header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background: #fff;
}

.lightbox .zoom_header:after {
  clear: both;
  content: " ";
  height: 0;
  display: block;
}

.lightbox .zoom_cont {
  margin-top: 80px;
  height: calc(100% - 160px);
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
}

.lightbox .zoom_cont:active {
  cursor: grabbing;
}

.lightbox .zoom_cont .image_cont {
  display: block;
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: transform 500ms;
}

.lightbox .zoom_cont .image {
  display: block;
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  background: center/contain no-repeat;
  will-change: transform;
}

.lightbox .zoom_in_button {
  position: absolute;
  bottom: 85px;
  right: 90px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: rgba(0,0,0,0.3) url('./images/plus.svg') center/30px no-repeat;
  z-index: 1;
}

.lightbox .zoom_out_button {
  position: absolute;
  bottom: 85px;
  right: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: rgba(0,0,0,0.3) url('./images/minus.svg') center/30px no-repeat;
  z-index: 1;
}

.lightbox .zoom_in_button:hover,
.lightbox .zoom_out_button:hover {
  background-color: rgba(0,0,0,0.5);
}

.lightbox .zoom_in_button.hidden,
.lightbox .zoom_out_button.hidden {
  display: none;
}



.lightbox .prev_button {
  width: 3.4rem;
  height: 4.15rem;
  background: url('./images/navigate_left.svg') center/1rem no-repeat;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .prev_button:hover {
  opacity: 0.8;
}

.lightbox .next_button {
  width: 3.4rem;
  height: 4.15rem;
  background: url('./images/navigate_right.svg') center/1rem no-repeat;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .next_button:hover {
  opacity: 0.8;
}

@keyframes lightbox_description_blind_fade_in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.lightbox .description_blind {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  z-index: 2;
}

.lightbox .description_blind.active {
  display: block;
  animation: lightbox_description_blind_fade_in 200ms ease-out;
}

.lightbox .description_inner {
  position: absolute;
  bottom: 0;
  left: 0;
  max-height: 100%;
  box-sizing: border-box;
  overflow: hidden auto;
  width: 100%;
  color: #fff;
  padding: 1rem 0;
  z-index: 3;
  pointer-events: none;
}

.lightbox .description_inner.hidden {
  display: none;
}

.lightbox .description_short_cont {
  display: none;
  pointer-events: all;
}

.lightbox .description_short_cont.active {
  display: block;
}

.lightbox .description_short {
  display: inline-block;
}

.lightbox .description_sep {
  display: inline-block;
  margin: 0 1rem;
}

.lightbox .description_more_link {
  display: inline-block;
  text-decoration: underline;
  cursor: pointer;
}

.lightbox .description_long {
  display: none;
  pointer-events: all;
}

.lightbox .description_long.active {
  display: block;
}
