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

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

.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 
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.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: 42px;
  height: 42px;
  margin: 0 auto;
  background: url(../img/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;
}

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

.lb-prev{
left:0;
float:left
}

.lb-prev:hover{
background:url(../img/prev.png) left 48% no-repeat
}

.lb-next{
right:-20px;
float:right
}

.lb-next:hover{
background:url(../img/next.png) right 50% no-repeat
}

.lb-dataContainer {
    background: #fff;
    color:#222;
  margin: 0 auto;
  padding: 5px;
  width: 100%
}

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

.lb-data{
padding:12px 0 0;
color:#222
}

.lb-data .lb-details{
width:100%;
text-align:left;
line-height:1.5em
}

.lb-data .lb-caption{
background: #fff;
font-size:16px;
font-weight:400;
line-height:20px
}

.lb-data .lb-number{
clear:left;
font-size:0;
color:transparent
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/close.png) top right no-repeat;
  text-align: right;
  outline: none;

  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;
  opacity: 1;
}
