/* Preload images */

.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;
  -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;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-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(../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 {
  height: 100%;
  cursor: pointer;
  display: block;
  
}

.lb-nav a.lb-prev {
  width: 33%;
  left: 0;
  float: left;
  background:rgba(255,255,255,0);
  	-webkit-transition: all 0.9s;
	transition: all 0.9;
	transition-timing-function: ease-in-out;
  	transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.lb-nav a.lb-prev::before {
    color: #fff;
    content: "\f053";
    top:50%;
    left:5%;
    text-rendering: optimizeLegibility;
    font-size: 50px;
    line-height: 50px;
    vertical-align: middle;
    position: absolute;
    font-family: FontAwesome;
    opacity:1;
	transition-timing-function: ease-in-out;
  	transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.lb-nav a.lb-prev:hover {
  background-image: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.8));
}

.lb-nav a.lb-prev:hover::before {
    color: #0f2b48;
}

.lb-nav a.lb-next {
  width: 33%;
  right: 0;
  float: right;
  background:rgba(255,255,255,0);
  	-webkit-transition: all 0.9s;
	transition: all 0.9;
	transition-timing-function: ease-in-out;
  	transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.lb-nav a.lb-next::before {
    color: #fff;
    content: "\f054";
    top:50%;
    right:5%;
    text-rendering: optimizeLegibility;
    font-size: 50px;
    line-height: 50px;
    vertical-align: middle;
    position: absolute;
    font-family: FontAwesome;
    opacity:1;
	transition-timing-function: ease-in-out;
  	transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.lb-nav a.lb-next:hover {
  background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.8));
}

.lb-nav a.lb-next:hover::before {
    color: #0f2b48;
}


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

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

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

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

.lb-data .lb-close {
  display: block;
  position:relative;
  float: right;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  border: 2px solid black;
  background-color: rgba(255,255,255,0.9);
  background-repeat:no-repeat;
  background-position:center center;
  background-position: 50% 50%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.lb-data .lb-close::before{
	position: absolute;
	display:inline-block;
	content: "";
	bottom: 0;
    right: 0px;
    left:0;
    top: 0;
	background:transparent url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiAxMS4yOTNsMTAuMjkzLTEwLjI5My43MDcuNzA3LTEwLjI5MyAxMC4yOTMgMTAuMjkzIDEwLjI5My0uNzA3LjcwNy0xMC4yOTMtMTAuMjkzLTEwLjI5MyAxMC4yOTMtLjcwNy0uNzA3IDEwLjI5My0xMC4yOTMtMTAuMjkzLTEwLjI5My43MDctLjcwNyAxMC4yOTMgMTAuMjkzeiIvPjwvc3ZnPg==");
	background-repeat:no-repeat;
	background-position:50% 50%;
	font-size:50px;
	text-align:center;
    line-height: 50px;
    vertical-align: middle;
    z-index: 1;
}

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