/* Preload images */

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

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(25,25,25,0.6);
  display: none;
}

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

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

.lightbox 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: #fff;
}

.lb-outerContainer: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(../images/loading.gif) no-repeat;*/
}

.lb-nav {
  position: absolute;
  top: 0;
  left: -28px;
  height: 100%;
  width: -webkit-calc(100% + 56px);
  width:      -o-calc(100% + 56px);
  width:         calc(100% + 56px);
  z-index: 10;
}

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

.lb-nav a {
  outline: none;
}

.lb-prev, .lb-next {
  cursor: pointer;
  display: block;
  position: absolute;
  width: 13px;
  height: 40px;
  top: 50%;
  margin-top: -20px;
}

.lb-nav a.lb-prev {
  left: 0;
}

.lb-nav a.lb-next {
  right: 0;
}

.lb-nav a.lb-prev svg,
.lb-nav a.lb-next svg {
  width: 100%;
  height: 100%;
}

.lb-nav a.lb-prev svg .color,
.lb-nav a.lb-next svg .color {
  fill: #dddddd;
}

.lb-nav a.lb-prev:hover svg .color,
.lb-nav a.lb-next:hover svg .color {
  fill: #434343;
}

.lb-dataContainer {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.lb-data {
  width: 100%;
  height: 0;
  position: relative;
}

.lb-details {
  display: none;
}

.lb-data .lb-close {
  display: block;
  position: absolute;
  top: -25px;
  right: -20px;
  width: 18px;
  height: 18px;
  color: #dddddd;
  cursor: pointer;
  font-size: 18px;
  line-height: 18px;
}

.lb-data .lb-close:hover {
  color: #434343;
}
