/**
 * Fonts
 */
/**
 * HTML tag sizes
 */
/**
 * Global vars
**/
.admin-bar .lightbox {
  top: 32px;
}

.lightbox {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  transition: all 0.25s;
}
.lightbox--open {
  visibility: visible;
  opacity: 1;
}
.lightbox--open .lightbox-header,
.lightbox--open .lightbox-nav,
.lightbox--open .lightbox-body {
  visibility: visible;
  opacity: 1;
}
.lightbox--loading {
  visibility: visible;
  opacity: 1;
}

.lightbox-header {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  height: 60px;
  background-color: #fff;
}
.lightbox-header__logo {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0.5rem;
}
.lightbox-header__logo img {
  width: auto;
  height: 100%;
}

.lightbox-close {
  height: 100%;
  position: relative;
  width: 60px;
  background-color: #253577;
  transition: all 0.25s;
}
.lightbox-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  width: 1.5rem;
  background-color: #fff;
  transition: all 0.25s;
}
.lightbox-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.lightbox-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.lightbox-close:hover {
  background-color: #000;
}
.lightbox-close:hover span {
  background-color: #fff;
}

.lightbox-body {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 80px 0 20px;
}

.lightbox-container {
  width: 100%;
  height: 100%;
}
@media (max-width: 900px) {
  .lightbox-container {
    padding: 0 15px;
  }
}
@media (min-width: 901px) {
  .lightbox-container {
    width: 90%;
    margin: 0 auto;
  }
}
.lightbox-container .swiper-container {
  height: 100%;
}

.lightbox-nav {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
.lightbox-nav .swiper-button {
  position: absolute;
  z-index: 1;
  top: 50%;
  margin-top: -50px;
  width: 40px;
  height: 100px;
  background-color: #253577;
}
.lightbox-nav .swiper-button::after {
  font-size: 16px;
  color: #fff;
}
.lightbox-nav .swiper-button:hover {
  background-color: #fff;
}
.lightbox-nav .swiper-button:hover::after {
  color: #253577;
}
.lightbox-nav .swiper-button-prev {
  left: 0;
}
.lightbox-nav .swiper-button-next {
  right: 0;
}
.lightbox-nav .swiper-button-disabled {
  pointer-events: all;
}
.lightbox-nav .swiper-button-disabled:hover {
  background-color: #253577;
}
.lightbox-nav .swiper-button-disabled:hover::after {
  color: #fff;
}

.lightbox-slide {
  display: flex;
  align-items: center;
}
.lightbox-slide .swiper-zoom-container {
  height: 100%;
  width: 100%;
}
.lightbox-slide img {
  height: 100%;
  width: auto;
  margin: 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}
