/*** for fancybox video ***/
.fancybox-overlay {
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999 !important;
}
.fancybox-wrap {
  z-index: 99999 !important;
}
.custom-gallery-1 .gallery-container {
  margin: 0 -7.5px;
}
.custom-gallery-1 .gallery-container .grid {
  width: 33.33%;
  float: left;
  padding: 0 7.5px 15px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .custom-gallery-1 .gallery-container .grid {
    padding: 0 5px 10px;
  }
}
@media (max-width: 600px) {
  .custom-gallery-1 .gallery-container .grid {
    width: 50%;
  }
}
.custom-gallery-1 .gallery-container .grid a {
  display: block;
  z-index: 10;
}
.custom-gallery-1 .gallery-container .grid a img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
