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

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  opacity: 0.9;
  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: 1080px !important;
/*max-height: calc(100vh - 100px) !important;*/
	max-height:800px !important;
  border-radius: 0px;

  /* Image border */
  border: 4px solid white;

	/* NEW STYLES */
}

.lightbox a img {
  border: none;
}

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

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
	
	/*NEW STYLES*/
	max-height: calc(100vh - 100px);

}

.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: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) left 48% no-repeat;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.lb-nav a.lb-prev:hover {
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) right 48% no-repeat;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.lb-nav a.lb-next:hover {
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  width: 100%;
  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 {
  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-caption a {
  color: #4ae;
}

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

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/icons/close.svg) top right no-repeat;
  text-align: right;
  outline: none;
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

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

/* NEW STYLES */

.lightbox .lb-image {
	max-height:calc(100vh - 200px) !important;
	    height: calc(100vh - 250px) !important;

}

.lb-data .lb-close {
	
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-image: url(../images/icons/close.svg);
    background-position: center;
    background-color: rgba(255,255,255,1);
    background-repeat: no-repeat;
    opacity: 1;
    margin: 10px;
    border-radius: 1000px;
    background-size: 50% auto;
	transition:.25s ease

}
.lb-data .lb-close:hover {
    cursor: pointer;
    opacity: 1;
	    background-color: rgba(255,255,255,.5);
	transition:.25s ease

}
.lb-outerContainer {
	
margin: 0 auto;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
    max-height: calc(100vh - 100px);
	    max-width: 1080px !important;
    width: 100% !important;
	height: fit-content !important
}
.lightbox .lb-image {
    display: block;
     max-width: 1080px !important;
    border-radius: 0;
    border: none;
    margin: auto;
	    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
}
.lb-data .lb-details {
    width: 95%;
    float: none;
    line-height: 1.2;
    display: block;
    margin: 1rem auto 0;
    text-align: center;
	color:#fff;
}
.lb-data .lb-caption {
    font-size: calc(1rem + .25vw);
    font-weight: 500;
    line-height: 1.2;
}
.lb-dataContainer {
       margin: 0 auto;
    padding-top: .75rem;
    max-width: 900px;
    border-radius: 0;
    width: 100% !important;
    position: relative;
}

 .lb-data .lb-number {
      display: block;
    clear: left;
    padding-bottom: 0;
    font-size: .9rem;
    color: #999999;
    line-height: 1.5;
  /*  position: absolute;
    right: 0; */
    text-align: center;
    width: 100%;
    margin-top: .75rem;
    opacity: .75;
}
.lb-nav a.lb-prev {
    width: 15%;
    left: 0;
    float: left;
    background: url(../images/icons/back-circle-fill.svg) left 48% no-repeat;
    opacity: 0.75;
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;
			transition:.25s ease;

    max-width: 50px;
    margin-left: -60px;
	

}
.lb-nav a.lb-next {
    width: 15%;
    right: 0;
    float: right;
    background: url(../images/icons/next-circle-fill.svg) right 48% no-repeat;
    opacity: 0.75;
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;
	transition:.25s ease;
    max-width: 50px;
    margin-right: -60px;

}
.lb-nav {
	opacity:0.5;
}
.lb-nav:hover{
	opacity:1;
		transition:.25s ease;

}
a.lb-next:hover {
		opacity:.5;
			transition:.25s ease;


	
}
.lb-container {
	background-color:transparent;
		margin-top:20px
	
}
	@media (max-width: 480px) { 
		
		.lb-outerContainer {
    margin: 0 auto;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
           height: fit-content !important;
    padding: 30px 2rem 0;
}
		.lightbox .lb-image {
    display: block;
    max-width: 100% !important;
    border-radius: 0;
    border: none;
    margin: auto;
    height: auto !important;
		}
		.lb-nav a.lb-next {
    width: 15%;
 
    max-width: 15px;
        margin: 15px .375rem 15px 0;
			display: block !important;
}
		.lb-nav a.lb-prev {
    width: 15%;
 
    max-width: 15px;
           margin: 15px 0 15px .375rem;
    display: block !important;
		}
		.lb-data .lb-details {
    width: 85%;
    float: none;
    line-height: 1.2;
    display: block;
    margin: .75rem auto 0;
    text-align: center;
    color: #fff;
}
		.lb-data .lb-number {
			margin-top:.5rem;
		}
		.lb-data .lb-close {

    width: 35px;
    height: 35px;
		}
		.lb-nav {
    opacity: 1;
}
		.lb-nav a.lb-prev, .lb-nav a.lb-next {
			opacity:1;
		}
.lb-nav a.lb-prev {

    background-image: url(../images/icons/back.svg);
		}
.lb-nav a.lb-next {
  
    background-image: url(../images/icons/next.svg)
		}
.lb-container {
	background-color:transparent;
	margin-top:25px;
}
}