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

.lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
  overflow-x: scroll;
}

.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;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}

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

.lb-container {
  padding: 4px;
  position: relative;
}

.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/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(../img/prev_v2.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;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../img/next_v2.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;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  width: 100%;
  position: absolute;
  bottom: 4px;
  background: url(../img/bg_lightbox.png) repeat;
  z-index: 10;
}

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

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
  padding-bottom: 10px;
}

.lb-data .lb-caption {
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	line-height: 1em;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding: 5px 0 10px;
  font-size: 12px;
      color: #666;
      visibility: hidden;
}

.lb-closeContainer .lb-close {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 15;
	width: 66px;
	height: 22px;
	background: url(../img/lightbox-btn-close.gif) top right no-repeat;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.lb-closeContainer .lb-close:hover {
	cursor: pointer;
	opacity: 1;
}



/*--------------
hover
-------------*/
#imgPreviewWithStyles2 {
  background: #fff url(../img/loading.gif) no-repeat center;
  padding: 15px;
  z-index: 999;
  border: solid 1px #ccc;
  position: relative;
}
#imgPreviewWithStyles2 .hover_text {
  color: #fff;
  text-align: center;
  display: block;
  padding: 10px 10px 3px 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  min-height: 100px;
  width: 100%;
  z-index: 2;
  background: url(../img/bg_lightbox.png) repeat;
  border-left: solid 15px #fff;
  border-bottom: solid 15px #fff;
  border-right: solid 15px #fff;
}
#imgPreviewWithStyles2 .hover_text h4 {
  color: #fff;
  text-align: left;
  display: block;
  position: relative;
  z-index: 5;
  font-size: 1.8rem;
}
#imgPreviewWithStyles2 .hover_text p {
  text-align: left;
  position: relative;
  z-index: 5;
  color: #fff;
  padding: 10px 0;
}
.loading {
  height: 32px;
  width: 32px;
}
.hoverbox {
  cursor: default;
}