body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;

  /* Image border */
  border: 2px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.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/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 {
  outline: none;
}

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

.lb-nav a.lb-prev {
  width: 30%;
  float: left;
  opacity: 0.6;
  transition: all 0.25s ease-in-out 0s;
}
.lb-nav a.lb-prev:hover {
	opacity: 1;
}

.lb-nav a.lb-next {
  width: 30%;
  float: right;
  opacity: 0.6;
  transition: all 0.25s ease-in-out 0s;
}
.lb-nav a.lb-next:hover {
	opacity: 1;
}

.lb-nav span {
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	top: 50%;
	outline: medium none;
	text-indent: -9999px;
	position: absolute;
	transition: all 0.25s ease-in-out 0s;
	z-index: 1;
	box-shadow: 0 2px 8px hwb(0 0% 100% / 0.08);
}

.lb-nav .arrow-left {
	background: url("../images/arrow-left.png") no-repeat scroll center center #FFF;
	left: 10px;
}
.lb-nav .arrow-right {
	background: url("../images/arrow-right.png") no-repeat scroll center center #FFF;
	right: 10px;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

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

.lb-data {
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
}

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

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding: 10px 0 0 0;
  font-size: 13px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/lightbox-close.png) top right no-repeat;
  text-align: right;
  outline: none;
  opacity: 0.6;
  transition: all 0.25s ease-in-out 0s;
}

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


#lightbox {
    display: flex;
    flex-direction: column;
}
#lightbox .lb-dataContainer {
    order: 0;
    margin-bottom: 5px;
}
#lightbox .lb-dataContainer .lb-close {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
	margin: 0 -30px 0 0px;
}
#lightbox .lb-outerContainer{
    order: 1;
}