/* This is not from a vendor */
.lightbox-fullscreen {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.lightbox-fullscreen-visible {
  display: block !important;
  background: black;
  z-index: 9002;
  opacity: 0.8;
}
.lightbox-fullscreen-close {
  top: 7px;
  right: 7px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50px;
  display: flex;
  justify-content: center;
}
.lightbox-close-button,
.lightbox-prev,
.lightbox-next {
  color: #fff;
  font-size: 20pt;
  padding-top: 5px;
}
.lightbox-fullscreen-close,
.lightbox-prev,
.lightbox-next {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  cursor: pointer;
  height: 48px;
  width: 48px;
}
.lightbox-prev,
.lightbox-next {
  top: calc(50% - 24px);
  border-radius: 5px;
  padding-left: 0;
  padding-top: 0;
  display: none;
  box-sizing: border-box;
}
.lightbox-prev {
  left: 10px;
  rotate: 180deg;
}
.lightbox-next {
  right: 10px;
}
.lightbox-image-box {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9003;
  max-height: 90vh;
  max-width: 90vh;
  width: 90vh;
}
.lightbox-image-box img {
  max-height: 90vh;
  max-width: 90vh;
  object-fit: contain;
  border-radius: 5px;
  width: 100%;
}
.lightbox-visible {
  display: block !important;
}
.lightbox-caption {
  font-size: 16px;
  margin-top: 12px;
  color: #fff;
  text-align: center;
}
@media (max-width: 1400px) {
  .lightbox-image-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9003;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 48px 10px 10px 10px;
    /* top padding for close button */
    display: none;
  }
  .lightbox-image-box img {
    max-height: calc(100vh - 58px);
    max-width: 100%;
    object-fit: contain;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
  }
  .lightbox-fullscreen-close {
    top: 7px;
    right: 7px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    z-index: 9004;
    /* above image box */
    position: fixed;
  }
  .lightbox-prev,
  .lightbox-next {
    top: calc(50% - 24px);
    border-radius: 5px;
    display: flex;
    /* was none — controlled by JS instead */
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

