/**
 * BaguetteBox Lightbox Component
 * Image lightbox overlay styles from original style.css (lines 2720-2814+).
 */

#baguetteBox-overlay {
  display: none;
  opacity: 0;
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal, 999);
  background-color: rgba(0, 0, 0, .8);
  transition: opacity .5s ease;
  animation: elastic .5s;
}

#baguetteBox-overlay .full-image:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}

#baguetteBox-slider {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  white-space: nowrap;
  transition: left .4s ease, transform .4s ease;
}

.baguetteBox-button#next-button {
  top: calc(50% - 30px);
  width: 44px;
  height: 60px;
  right: 2%;
  box-shadow: none;
}

.baguetteBox-button#previous-button {
  top: calc(50% - 30px);
  width: 44px;
  height: 60px;
  left: 2%;
  box-shadow: none;
}

.baguetteBox-button {
  position: absolute;
  cursor: pointer;
  outline: 0;
  padding: 0;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
  border-radius: 0;
  color: #ddd;
  font: 1.6em sans-serif;
}

.baguetteBox-button#close-button {
  top: 23px;
  right: calc(2% + 6px);
  width: 30px;
  height: 30px;
  display: none;
}

#baguetteBox-overlay .full-image figure {
  display: inline;
  margin: 0;
  height: 50%;
}

#baguetteBox-slider.bounce-from-right {
  animation: bounceFromRight .4s ease;
}

#baguetteBox-slider.bounce-from-left {
  animation: bounceFromLeft .4s ease;
}

.baguetteBox-button svg {
  position: absolute;
  top: 0;
  left: 0;
}
