.galleryModal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  box-shadow: inset 0px 0px 30px 25px rgba(24, 22, 22, 0.65);
}
.galleryModal:not(.show) {
  display: none;
}
.galleryModalContainer {
  z-index: 10000 !important;
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
}
.galleryOpened {
  overflow: hidden;
}
/* .galleryModalContainer img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  top: 0;
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
  cursor: grab;
} */

.galleryModalContainer svg {
  opacity: 0.8;
  cursor: pointer;
}

.galleryModalContainer svg:hover {
  opacity: 1;
}

.galleryOpened {
  overflow: hidden;
}
.galleryModalActions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 20px;
  z-index: 10001;
}

.galleryActionToNextButton,
.galleryActionToPrevButton {
  position: absolute;
  height: 100%;
  width: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s all;
  cursor: pointer;
  z-index: 1;
}

.galleryActionToNextButton {
  right: 0;
}
.galleryActionToPrevButton {
  left: 0;
}

.galleryActionToNextButton svg,
.galleryActionToPrevButton svg {
  opacity: 0.8;
  transition: 0.2s all;
  color: #fff;
  font-size: 65px;
  text-align: center;
  height: 65px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}

/* @media (max-width: 758px) {
    .galleryActionClose, .galleryActionZoomIn, .galleryActionZoomOut {
        width: 48px;
        height: 48px;
    }
    .galleryActionClose i {
        font-size: 48px;
        height: 48px;
    }
} */

.gallery-swiper {
  height: 100%;
}

.gallery-swiper__wrapper {
  padding: 0;
}

.swiper-slide.gallery-swiper__slide {
  padding: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 1400px) {
  .swiper-slide.gallery-swiper__slide {
    padding: 7.5%;
  }
}

@media (max-width: 992px) {
  .swiper-slide.gallery-swiper__slide {
    padding: 10%;
  }
}

@media (max-width: 576px) {
  .swiper-slide.gallery-swiper__slide {
    padding: 15%;
  }
}

@media (max-width: 400px) {
  .swiper-slide.gallery-swiper__slide {
    padding: 20%;
  }
}

.gallery-swiper__image-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
}

.gallery-swiper__image-container > img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-swiper__button {
  width: 40px;
  height: 60px;
  position: absolute;
  top: calc(50% - 38px);
  box-sizing: content-box;
  z-index: 2;
}

.gallery-swiper__button-prev {
  left: 0;
}

.gallery-swiper__button-next {
  right: 0;
}

@media (max-width: 576px) {
  .gallery-swiper__button {
    padding: 8px;
  }
  .gallery-swiper__button > svg {
    width: 30px;
    height: 45px;
  }
}
