/* Preload images */
body:after {
  content: url(../images/lightbox/close.png) url(../images/lightbox/loading.gif) url(../images/lightbox/prev.png) url(../images/lightbox/next.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  width: 250px;
  height: 250px;
  margin: 25px auto 0 auto;
}

.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/lightbox/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 40px;
  height: inherit;
  width: inherit;
  z-index: 10;
}

.lb-container {
  width:inherit;
  height:inherit;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  float: left;
  background: url(../images/lb_left.png) 10px calc(55% - 25px) no-repeat;
}

.lb-nav a.lb-next {
  width: 64%;
  float: right;
  background: url(../images/lb_right.png) calc(100% - 10px) calc(55% - 25px) no-repeat;
}


.lb-dataContainer {
  margin: 0 auto;
  width: 100%;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  position:absolute;
  width:inherit;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 16px;
  font-family:'gr-book';
  color:#fff;
}

.lb-data .lb-caption b {
  font-family:'gr-bold';
}

.lb-data .lb-number {
  display: block;
  clear: left;
  font-size: 16px;
  font-family:'gr-bold';
  color: #fff;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 17px;
  height: 17px;
  background:url('../images/lb_close.png');
  cursor:pointer;
}

.lb-data .lb-closeContainer { float:right; }