
/*gallery css*/
.img-wrapper {
    position: relative;
}
  .img-wrapper img {
    width: 100%;
     object-fit: fill;
  }

  .img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
  }
  .img-overlay:hover {
    opacity: 1;
}
  .img-overlay i {
    color: #fff;
    font-size: 3em;
  }
  
  #overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  #overlay img {
    margin: 0;
    width: 80%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    padding: 5%;
  }
  @media screen and (min-width: 768px) {
    #overlay img {
      width: 60%;
    }
  }
  @media screen and (min-width: 1200px) {
    #overlay img {
      width: 50%;
    }
  }
  
  #nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
  }
  #nextButton:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    #nextButton {
      font-size: 3em;
    }
  }
  
  #prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
  }
  #prevButton:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    #prevButton {
      font-size: 3em;
    }
  }
  
  #exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;
  }
  #exitButton:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    #exitButton {
      font-size: 3em;
    }
  }


.imageGallery {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(3, 32%);
  justify-content: center;
  grid-gap: 10px;
}
.videoGallery {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(2, 49%);
  justify-content: center;
  grid-gap: 10px;
}
 .img-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.img-wrapper a {
    display: block;
}
.img-wrapper {
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0px 0px 6px 1px #e0e0e0;
}
.img-wrapper video{
  width: 100%;
  height: 220px;
}
.img-overlay p {
  color: #fff;
}
.galleryImageItem * {
    transition: all 1s ease;
}
.img-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.galleryContant {
  padding: 4px 6px;
}
.galleryContant p {
  font-size: var(--size12);
}

.backArrow a {
  color: #000;
  margin: 12px 4px;
  padding: 8px;
}
.gallery {
  margin: 20px 0;
}
/*gallery css*/



#deadSimpleLightbox img {
  max-width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  cursor: pointer;
}

/* Overlay Style */
#lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 9999;
}

#lightboxOverlay h3 {
  color: #f3f3f3;
}

#lightboxOverlay .fa-times {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 50px;
  cursor: pointer;
}

#lightboxOverlay img {
  margin-top: 35%;
  max-width: 80%;
  max-height: 50%;
}
#lightboxOverlay h3 {
  color: #fff;
  font-size: 16px;
  margin-top: 14px;
}
/* Responsiveness */





@media screen and (min-width: 768px) {
  #lightboxOverlay .fa-times {
      font-size: 30px;
      width: 50px;
      height: 50px;
  }

  #lightboxOverlay .fa-times:before {
      line-height: 50px;
      color: #fff;
  }

  #lightboxOverlay img {
      margin-top: 5%;
      max-height: 80%;
  }
}
@media screen and (min-width: 1600px) {
  .img-wrapper video {
    height: 280px;
  }
  .videoGallery, .imageGallery {
    grid-gap: 20px;
}
.backArrow a {
  margin: 12px 0px;
  font-size: 20px;
}
}
@media screen and (min-width: 1800px) {
  .img-wrapper img {
    height: 350px;
}

  }
  @media screen and (min-width: 2100px) {
    .img-wrapper img {
        height: 400px;
    }
    .backArrow a {
      font-size: 26px;
    }
    .img-wrapper video {
        height: 320px;
    }
  }
  @media screen and (min-width: 2400px) {
    .img-wrapper img {
      height: 450px;
  }
  .backArrow a {
    font-size: 30px;
  }
  .img-wrapper video {
    height: 400px;
}
  }
@media screen and (max-width: 991px) {
  .videoGallery {
    grid-template-columns: repeat(2, 49%);
  }
  .imageGallery {
    grid-template-columns: repeat(3, 32%);
}
.img-wrapper img, .img-wrapper video {
  height: 200px;
}
}
@media screen and (max-width: 767px) {
  .img-wrapper img {
    height: 200px;
  }
}
@media screen and (max-width: 575px) {
  .videoGallery {
    grid-template-columns: repeat(1, 100%);
}
.img-wrapper video {
  height: 280px;
}
.imageGallery {
  grid-template-columns: repeat(2, 49%);
}
}

@media screen and (max-width: 400px) {
  .img-wrapper img {
    height: 320px;
  }
  .imageGallery {
    grid-template-columns: repeat(1, 100%);
  }
  .img-wrapper video {
    height: 280px;
  } 
}
