/* Preload images */
body:after {
  content: url("../img/btn_close.gif") url("../img/img_loading.gif") url("../img/btn_prev.gif") url("../img/btn_next.gif");
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  opacity: 0.3;
  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 {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  padding: 17px 17px 0;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  position: relative;
  background: #FFFFFF;
  padding: 20px;
}

.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/img_loading.gif") no-repeat;
}

.lb-nav {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 10;
}

.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: 50%;
  left: 0;
  float: left;
  background: url("../img/btn_prev.gif") left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 50%;
  right: 0;
  float: right;
  background: url("../img/btn_next.gif") right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  margin: 0 auto;
  z-index: 11;
  *zoom: 1;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  background: #FFFFFF;
  color: #666666;
  padding: 0 20px;
}

.lb-details {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  background: rgba(51,51,51,0.6);
  color: #FFFFFF;
  line-height: 1.5;
  text-align: left;
}

.lb-details .lb-title {
  display: block;
  font-size: 13px;
  font-weight: bold;
  padding: 10px;
}

.lb-data .lb-number {
  display: none;
}

.lb-close {
  position: absolute;
  right: -17px;
  top: -17px;
  display: block;
  width: 55px;
  height: 55px;
  background: url("../img/btn_close.gif") no-repeat center top;
  outline: none;
  z-index: 12;
}
.lb-close:hover {
  cursor: pointer;
}

.lb-caption {
  background: #FFFFFF;
  font-size: 13px;
  text-align: left;
  line-height: 1.2;
}

.data-bottom {
  display: block;
  height: 20px;
}
.data-bottom:after {
  content: "";
  display: table;
  clear: both;
}