:root {
  --gallery-zoom: on;
}
.gdm-slick-container .slick-arrow {
  display: flex;
  padding: 12px;
}
.gdm-slick-container .gdm-slick-prev,
.gdm-slick-container .gdm-slick-next {
  background-color: #00000060 !important;
}
.gallery-container {
  --swiper-navigation-size: 15px;
  --swiper-navigation-color: #fff;
}
.gallery-back-button,
.gallery-next-button {
  width: 48px !important;
  height: 48px !important;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
}
.gallery-enlarge-button {
  position: absolute;
  top: 3px;
  right: 7px;
  cursor: pointer;
  font-size: 18pt;
  z-index: 2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
}
.gallery-image {
  margin-left: auto;
  margin-right: auto;
}
.gallery-image-zoom {
  cursor: pointer;
}
.gallery-caption {
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 10px;
  font-size: 15px;
}
.gallery-button-container {
  display: flex;
}
.gallery-slide-count {
  padding-top: 13px;
}
.gallery-caption-on-image {
  height: 25px;
  font-size: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding-left: 8px;
  padding-top: 1px;
  position: absolute;
  left: 7px;
  width: calc(100% - 14px);
  bottom: 6px;
}
.swiper {
  width: 100% !important;
  height: 100% !important;
}
.swiper-slide img {
  border-radius: 5px;
}
@media (max-width: 500px) {
  .gallery-footer {
    width: 100% !important;
  }
  .swiper,
  .swiper-slide {
    max-width: 100% !important;
    min-width: 100% !important;
  }
  .swiper-slide img {
    /* Must set width on image to ensure it fills the mobile width, otherwise it could be too narrow */
    width: 500px;
    max-width: 100%;
    min-width: 100%;
  }
  .gallery-enlarge-button {
    /* No need to enlarge images on a small screen */
    display: none;
  }
  .gallery-image-zoom {
    --gallery-zoom: off;
  }
}

