html.lb-disable-scrolling {
  overflow: hidden;
  /* Position fixed required for iOS. Just putting overflow: hidden; on the body is not enough. */
  position: fixed;
  height: 100vh;
  width: 100vw;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0;
  display: none;
}

.lightbox {
  position: fixed;
  left: 0!important;
  right: 0;
  top: 0!important;
  bottom:0;
  margin: auto;
  width: 1000px;
  height: 80%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  background: #fff;
  box-shadow: 0 0 40px -14px #ccc;
  border-radius: 6px;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;

  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: auto;
  border-radius: 4px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
}

.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: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../images/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: 28px;
  left: -50px;
  position: absolute;
  background: url(../images/prev.png) left 48% no-repeat;
}

.lb-nav a.lb-next {
  width: 28px;
  right: -50px;
  position: absolute;
  background: url(../images/next.png) left 48% no-repeat;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  border-bottom-left-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 {
  text-align: center;
  line-height: 1.1em;
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  right: 0;
}

.lb-data .lb-caption {
  font-size: 1.2rem;
  line-height: 1em;
  color: #333;
  line-height: 2;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}
.lb-data .lb-closeContainer {
  position: absolute;
  top: 10px;
  right: 10px;	
}
.lb-data .lb-close {
  display: block;
  width: 48px;
  height: 48px;
  background: url(../images/close.png) top right no-repeat;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

@media screen and (max-width: 1080px) {
.lightbox {
  width: 90vw;
  height: 90vh;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  background: #fff;
  box-shadow: 0 0 40px -14px #ccc;
  border-radius: 6px;
}
.lightbox .lb-image {
	max-width: 90vw;
}
}
