.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}
@keyframes loading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.lightbox {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease-in-out, visibility 0s ease-in-out;
  z-index: 9998;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.lightbox:after,
.lightbox:before {
  content: "";
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  z-index: 9999;
  top: calc(50% - 12px);
  left: calc(50% - 12px);
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
  mix-blend-mode: difference;
  animation: loading 0.6s ease-in-out 0s infinite alternate both paused;
}
.lightbox:before {
  animation-direction: alternate-reverse;
}
.lightbox--hidden {
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
}
.lightbox--hidden .lightbox-container {
  transition-duration: 0s;
}
.lightbox--loading:after,
.lightbox--loading:before {
  opacity: 1;
  animation-play-state: running;
}
.lightbox:not(.lightbox--hidden):not(.lightbox--loading) .lightbox-container {
  opacity: 1;
}
.lightbox-container {
  position: absolute;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: default;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.lightbox-container:focus {
  outline: 0;
}
.lightbox-img {
  border-radius: 3px;
  display: block;
}
.lightbox-close {
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  position: absolute;
  right: 0;
  bottom: calc(100% + 2px);
  border: 0;
  background: 0 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease-in-out;
}
.lightbox-close::-moz-focus-inner {
  border: 0;
}
.lightbox-close:after,
.lightbox-close:before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  background-color: currentColor;
  transform-origin: center;
}
.lightbox-close:before {
  transform: rotate(45deg);
}
.lightbox-close:after {
  transform: rotate(-45deg);
}
.lightbox-close:hover {
  color: #fff;
  cursor: pointer;
}
.lightbox-close:focus {
  color: #fff;
  outline: #fff solid 1px;
  outline-offset: 0;
}
.lightbox-info {
  width: 100%;
  margin: 0;
  position: fixed;
  left: 0;
  bottom: -25px;
  font: 16px sans-serif;
  text-align: center;
  color: #fff;
}
