.photobodycover .photo-modal .lSSlideOuter .lSSlideWrapper{
    height: calc(100% - 85px);
}
.photo-gallery, .photo-gallery-new {
    list-style: none outside none;
    padding-left: 0;
    margin-bottom:0;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-gallery li, .photo-gallery-new li {
    display: block;
    float: left;
    margin-right: 6px;
    cursor:pointer;
}
.photo-gallery-new img, .photo-gallery-new video, .photo-gallery img, .photo-gallery video, .photo-gallery-viewdetail img, .photo-gallery-viewdetail video {
    display: block;
    height: auto;
    max-width: 100%;
    margin: auto;
} 
.hidden{
    display: none;
}
.lazy, .lazy-viewdetail {
    display: block;
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}


.photo-view-viewdetail{
  text-align:center;
  width:100%;
  margin-top:150px;
  min-height:200px;
}
.photo-modal, .photo-modal-new, .photo-modal-viewdetail {
    display:none; 
    z-index: 999999; 
    overflow-y:scroll;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #dddddd;
}.photo-modal-new .photo-modal-close-new,.photo-modal .photo-modal-close, .photo-modal-viewdetail .photo-modal-close-viewdetail {
    position: absolute;
    top: 25px;
    right: 65px;
    z-index: 999;
    cursor: pointer;
}


.img_div .lSGallery{
  height:63px;
  object-fit: contain;
}

/*.invUnitCarousel li {text-align:center;}*/
.invUnitCarousel{margin:auto;}
.invUnitCarousel li img{height:552px;}

 .photobodycover, .photo-modal-new, .photo-modal-viewdetail {
    display:none; 
    z-index: 999999;
    width: 100%;
    position: fixed;
    padding: 10px 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 85%);
    overflow-y: scroll;
}
.photobodycover .photo-modal{
    position: relative;
    overflow: hidden;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 1000px;
    padding: 10px;
    margin: auto;
    background: #4d4d59;
}
.photobodycover .photo-modal .photo-modal-close{
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    background: #fff;
    width: 22px;
    height: 22px;
    text-align: center;
    border-radius: 4px;
    line-height: 22px;
    font-size: 14px;
    color: #4d4d59;
}

.photobodycover .photo-modal .lSSlideOuter{
    max-height: inherit;
    position: relative;
}
.photobodycover .photo-modal .lSAction > a,
.photobodycover a.bottomCtrl{
    background-image: none;
    width: 27px;
    height: 70px;
    line-height: 70px;
    background: #fff;
    border-radius: 4px;
    text-align: center;
    opacity: 0.85;
    color: #4d4d59 !important;
}
.photobodycover .bottomCtrl{
    display: block;
    bottom: 0;
    cursor: pointer;
    position: absolute;
    z-index: 98;
    -webkit-transition: opacity 0.35s linear 0s;
    transition: opacity 0.35s linear 0s;
}
.photobodycover .photo-modal .lSAction > a.lSPrev,
.photobodycover a.bottomCtrl.lSPrev{
    left: 0;
}
.photobodycover .photo-modal .lSAction > a.lSNext,
.photobodycover a.bottomCtrl.lSNext{
    right: 0;
}
.photobodycover .photo-modal .lSAction > a i,
.photobodycover a.bottomCtrl i {
  line-height: inherit;
}
.photobodycover .photo-modal .lSAction > a:hover,
.photobodycover a.bottomCtrl:hover {
    opacity: 1;
}
.photobodycover .photo-modal .lSSlideOuter .lSPager.lSGallery{
    margin-top: 15px !important;
    height: 70px !important;
    position: absolute;
    bottom: 0;
    left: 0;
}

.img-overlay-container {
    position: relative;
    display: block;
  }
.image_overlay {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 10px;
    background: #c11f24;
    text-transform: uppercase;
    opacity: 0.8;
    z-index: 1;
}

.image_overlay p {
    color: white !important;
    margin-bottom: 0;
    font-size:14px;
}




.itemSubTitle{font-size:14px;}

/* light gallery css start */

.custom-model-main {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.custom-model-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: 600px;
  margin: 30px auto;
  max-width: 97%;
}
.custom-model-wrap {
  display: block;
  width: 100%;
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
    overflow-y: auto;
}
.model-open .custom-model-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}
.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}
.close-btn {
  position: absolute;
  right: 0;
  top: -30px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

.lSAction > a 
{
    background-color: black;
    border-radius:100%; 
}

@media screen and (min-width:800px){
    .custom-model-main:before {
      content: "";
      display: inline-block;
      height: auto;
      vertical-align: middle;
      margin-right: -0px;
      height: 100%;
    }
}
@media screen and (max-width:799px){
  .custom-model-inner{margin-top: 45px;}
}

.imageGallery
{
    min-height: 300px;
  margin: auto 8px;
}

.custom-model-inner
{
   max-width: 800px !important;
   width: 90% !important;
   
}
/* light gallery css end*/

.custom-model-main .listing-slider .lightSlider{
  max-height: 60VH;
    display:flex;
    align-items:center;
}
.custom-model-main .listing-slider .lightSlider img{
    width:100%;
    max-height:600px;
    object-fit:contain;
}

.custom-model-main .listing-slider .lSSlideOuter .lSGallery{
    height: 70px;
    min-width:100%;
    padding:5px;
	display:flex;
}
.custom-model-main .listing-slider .lSSlideOuter .lSGallery li{
  border: 1px solid lightgray;
  height: 100%;
  object-fit: contain !important;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width:65px;
   
}

.has-inline-color{color:#0000fe;}


.listing-slider .lSSlideOuter .lSGallery li a{
  display:flex !important;
}
@media only screen and (max-width: 499px)
{
  .custom-model-main .listing-slider .lightSlider{
    height: 300px !important;
  }
  
}


.lSGallery li a img{
  max-height:65px !important;
}



.lSSlideOuter .lSPager.lSGallery li a img, .photo-of-gallery-x{
	object-fit: contain;
	background: #b7b7b7;
}

