/* Preload images */
body:after {
  content: url(../img/close.png) url(../img/loading.gif) url(../img/prev.png) url(../img/next.png);
  display: none;
}


.lightboxOverlay {
    position: fixed;
    height:100%;
    top: 0;
    left: 0;
    background-color: #333;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity:0.8;
    transition: 1s;
}

.lightbox {
    margin:0 auto;
    position: absolute;
    width: 100%;
}



.lightbox img {
    width:100%;
}

.lightbox .lb-image {
      display: block;
      height: auto;
      
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
    padding:2px 2px 0 2px;
    border-left:solid #333 2px;
    border-top:solid #333 2px;
    border-right:solid #333 2px;
    
    position: relative;
    background-color: white;
    *zoom: 1;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    -webkit-border-bottom-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-bottom-radius: 4px;
    -o-border-bottom-radius: 4px;
    border-bottom-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 4px;
}

.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: 0;
  height: 100%;
  width: 100%;
  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: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) 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;
      -webkit-transition: opacity 1;
  -moz-transition: opacity 1;
  -o-transition: opacity 1;
  transition: opacity 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) 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;
      -moz-transition: opacity 1;
  -o-transition: opacity 1;
  transition: opacity 1;
}

.lb-dataContainer {
  margin: 0 auto;
    background-color:white;
  border-left:solid #333 2px;
    border-bottom:solid #333 2px;
    border-right:solid #333 2px;
    padding: 0 2px;
  *zoom: 1;
  width: 100%;
  -moz-border-bottom-left-radius: 4px;
    -moz-border-bottom-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
    padding-top:5px;
    width:96%;
    height:120px;
    padding-left:1%;
    color:#888;
}

.lb-data .lb-details {
    width: 100%;
    height:40px;
    float: left;
    text-align: left;
    color:#ccc;

}

.lb-data .lb-caption {
    color:#000;
    height:40px;
    line-height: 1.5;
    font-size: 13px;
    font-weight: normal;
    font-family: helvetica, arial, sans-serif;
}

.lb-data .lb-number {
    display: block;
    clear: left;
    height:25px;
    font-size: 12px;
    color: #888;
    margin-top:15px;
    

}

.lb-data .lb-close {
    margin-top:50px;
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/close.png) top right no-repeat;
  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;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
      -moz-transition: opacity 1;
  -o-transition: opacity 1;
  transition: opacity 1;
}

#lightbox-container-image-box {
    max-width: 80%;
    height:100% !important;
}
#lightbox-container-image img {
    max-width: 50% !important; 
}
#lightbox-container-image-data-box{ 
    max-width:80%; margin-bottom:50px;
}