body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #382f2af2;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;

  & .lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    max-height: none;
  }

  & a img {
    border: none;
  }
}


.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: #382f2a;

  &::after {
    content: "";
    display: table;
    clear: both;
  }
}


.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/lb_loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;

  & a {
    outline: none;
    background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
  }
}

.lb-container > .nav {
  left: 0;
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 15%;
  height: 100%;
  left: 0;
  float: left;
  background-image: url(../img/arrow_ash.svg);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 50%;
  translate: -100% 0;
  rotate: -90deg;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 350ms 0ms ease;
  -moz-transition: opacity 350ms 0ms ease;
  -o-transition: opacity 350ms 0ms ease;
  transition: opacity 350ms 0ms ease;

  &:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
  }
}


.lb-nav a.lb-next {
  width: 15%;
  height: 100%;
  right: 0;
  float: right;
  background: url(../img/arrow_ash.svg);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 50%;
  translate: 100% 0;
  rotate: 90deg;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 350ms 0ms ease;
  -moz-transition: opacity 350ms 0ms ease;
  -o-transition: opacity 350ms 0ms ease;
  transition: opacity 350ms 0ms ease;

  &:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
  }
}


.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;

  &::after {
    content: "";
    display: table;
    clear: both;
  }
}


.lb-data .lb-details {
  width: 85%;
  float: left;
  margin-top: 8px;
  text-align: left;
}

.lb-data .lb-caption {
  line-height: 2em;
  font-size: 1.6rem;
  font-weight: 500;
  color: #eeece8;
}

.lb-data .lb-caption a {
  color: #5494de;
  text-decoration: underline 1px solid currentColor;
  cursor: pointer;
  transition: all 150ms 0ms ease;

  &:hover {
    color: #80b6f3;
  }
}

.lb-data .lb-number {
  display: inline-block;
  clear: left;
  padding-inline-start: 2em;
  font-size: 1.3rem;
  color: color-mix(in srgb, #382f2a, #ccc7c4 70%);
  display: none!important;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: calc(1.6rem * 1.5);
  height: calc(1.6rem * 1.5 * 2);
  background: url(../img/lb_close.png)  no-repeat center/contain;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;

  &:hover {
    cursor: pointer;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
  }
}
