/**
 * D3 Lightbox SCSS
 * Contains all static styles to keep JavaScript lean
 */
#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms cubic-bezier(0.9, 0, 0.1, 1);
  user-select: none;
  touch-action: manipulation;
}
#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lightbox-image-container img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 400ms cubic-bezier(0.2, 0, 0.1, 1), opacity 400ms ease;
  will-change: transform, opacity;
}
.lightbox-image-container img.zoomed {
  cursor: grab;
}
.lightbox-image-container img.zoomed:active {
  cursor: grabbing;
}

.lightbox-controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px;
  display: flex;
  justify-content: flex-end;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity 200ms ease;
}
.lightbox-controls .lightbox-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  opacity: 0.7;
  z-index: 1001;
  transition: opacity 200ms ease;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.image-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.preload-container {
  display: none;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .lightbox-image-container img {
    max-width: 100%;
    max-height: 100%;
  }

  .lightbox-controls,
.lightbox-prev,
.lightbox-next {
    display: none;
  }

  .image-caption {
    max-width: 90%;
    font-size: 14px;
    padding: 6px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #lightbox,
.lightbox-image-container img,
.image-caption {
    transition-duration: 0.1ms !important;
  }
}

/*# sourceMappingURL=lightbox3b.css.map */
