/* Preload images */
body:after {
  content:
	url(../images/lightbox/loading.gif)
	url(../images/lightbox/close_sm.png)
	url(../images/lightbox/prev_sm.png)
	url(../images/lightbox/next_sm.png)
	url(../images/lightbox/enlarge_sm.png)
	url(../images/lightbox/close.png)
	url(../images/lightbox/prev.png)
	url(../images/lightbox/next.png)
	url(../images/lightbox/enlarge.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  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;
  max-width: inherit;
}

.lightbox a img {
  border: none;
}

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

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

.lb-container {
  padding: 1px;
}

.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/lightbox/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 {
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

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

.enlarge {
	background: url(../images/lightbox/enlarge_sm.png) center center no-repeat;
	width: 64px;
	height: 60px;
	z-index: 100;
	position: absolute;
	top: 0;
	right: 0;
}

.lb-nav a.lb-prev {
  width: 34%;
  float: left;
  background: url(../images/lightbox/prev_sm.png) left 48% no-repeat;
	position: absolute;
	left: 0;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  float: right;
  background: url(../images/lightbox/next_sm.png) right 48% no-repeat;
	position: absolute;
	right: 0;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2C2C2C;
  background-color: rgba(44, 44, 44, 0.5);
}

.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: 10px;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
  color: #F0F3EF;
}
.lb-data .lb-caption a {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
  color: #FFF;
  font-style: italic;
}

.lb-data .lb-number {
  display: none !important;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: url(../images/lightbox/close_sm.png) top right no-repeat;
  z-index: 10;
}

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

@media only screen and (min-width: 992px) {
	.enlarge {
		background: url(../images/lightbox/enlarge.png) center center no-repeat;
	}

	.lb-nav a.lb-prev {
		background: url(../images/lightbox/prev.png) left 48% no-repeat;
	}

	.lb-nav a.lb-next {
		background: url(../images/lightbox/next.png) right 48% no-repeat;
	}

	.lb-data .lb-close {
		background: url(../images/lightbox/close.png) top right no-repeat;
	}
}
