/* Preload images */
body:after {
  content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;/* 2019.04.11 */
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);/* 2019.04.11 */
  opacity: 0.7;/* 2019.04.11 */
  display: none;
}

.lightbox {
  position: fixed;
  left: 0;
  top: 0!important;
  width: 100%;
  height: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: inline;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  max-width: 100%;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  *zoom: 1;
  width: auto!important;
  height: 100%!important;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 0 4px;
  position: relative;
  height: 100%;
}

.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: 50%;/* 2019.04.18 */
  left: 0;
  float: left;
  background: url(../images/prev.png) 15% center no-repeat;/* 2019.04.18 */
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 1;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}


.lb-nav a.lb-next {
  width: 50%;/* 2019.04.18 */
  right: 0;
  float: right;
  background: url(../images/next.png) 85% center no-repeat;/* 2019.04.18 */
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 1;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}


.lb-dataContainer {
  pointer-events: none;/* 2019.04.11 */
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  height: 100%;/* 2019.04.11 */
  -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;
  position: absolute;/* 2019.04.11 */
  top: 0;/* 2019.04.11 */
  width: 100%!important;
  z-index: 9999999997;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #333;
}


.lb-data .lb-caption {
  font-size: 14px; /* 2019.04.08 */
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-number {
  display: none!important;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-close {
  display: block;
  width: 32px;
  height: 32px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  z-index: 99999999;
  float: right;
  margin-right: 20px;
  background-size: 100%;
  -webkit-background-size: 100%;
}
.lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
#lightbox_wrap{
	display: table;
	height: 100%;
	width: 100%;
}
#lightbox_wrap div#lightbox_inner{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.lb-closeContainer {
    position: absolute;
    top: 10vh;/* 2019.04.11 */
    right: 5%;/* 2019.04.11 */
    z-index: 999999999;
    pointer-events: visible;/* 2019.04.11 */
}
