/* Load 3 icons when picture load*/
body:after {
  content: url(images/close.gif) url(images/loading.gif) url(images/prev.gif) url(images/next.gif);
  display: none;
}

/*Background of the image table*/
.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #051819;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.9;
  display: none;
}

/* Display image table in the middle of the screen*/
.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}
/* Create a image window */
.lightbox .lb-image {
  display: block;
  height: auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
/* Display image border*/
.lightbox a img {
  border: none;
}

/* Image table property*/
.lb-outerContainer {
  position: relative;
  background-color: #0F0808;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}
/* line*/
.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

/* Frame border size */
.lb-container {
  padding: 6px;
}

/* Busy animated icon */
.lb-loader {
  position: absolute;
  top: 43%;
  left: 0%;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

/* Busy animated icon will display */
.lb-cancel {
  display: block;
  width: 150px;
  height: 125px;
  margin: 0 auto;
  background: url(images/loading.gif) no-repeat;
}

/* line*/
.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

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

/* line*/
.lb-nav a {
  outline: none;
}

/*Previous and Next button */
.lb-prev, .lb-next {
  width: 49%;
  height: 100%;
  cursor: pointer;
  display: block;
}

/* Previous icon button */
.lb-prev {
  left: 0;
  float: left;
}
/* Previous icon button will display when mouse pointer hover over at left side of the picture*/
.lb-prev:hover {
  background: url(images/prev.gif) left 50% no-repeat;
}

/* Next icon button */
.lb-next {
  right: 0;
  float: right;
}
/* Next icon button will display when mouse pointer hover over at right side of the picture*/
.lb-next:hover {
  background: url(images/next.gif) right 50% no-repeat;
}

/* Table property*/
.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
/* Data*/
.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

/* Description field style*/
.lb-data {
  padding: 0 4px;
  color: #ffffff;
}
/* Style for picture description */
.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}
/* Style for picture description */
.lb-data .lb-caption {
  font-size: 12px;
  font-weight: normal;
  line-height: 1em;
}
/* Count picture number style*/
.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 10px;
  color: #A6E8EA;
}
/* Display picture close button */
.lb-data .lb-close {
  display: block;
  float: right;
  width: 24px;
  height: 24px;
  background: url(images/close.gif) right 0% no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.2;
}
/*Picture window will be closed*/
.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
