@charset "UTF-8";
.block-gallery {
  margin-bottom: 80px;
  position: relative;
  padding-top: 40px;
}
.block-gallery::before {
  content: "";
  background: #F6F6F6;
  height: 71%;
  width: 100%;
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: -2;
}
.block-gallery::after {
  content: "фото";
  font-weight: 800;
  font-size: 11vw;
  line-height: 100%;
  text-transform: uppercase;
  color: #FFFFFF;
  position: absolute;
  top: -2vw;
  left: 0px;
  z-index: -1;
}
.block-gallery .block-gallery-body .gallery-swiper .swiper-wrapper .swiper-slide {
  padding-top: 28%;
}
.block-gallery .block-gallery-body .gallery-swiper .swiper-wrapper .swiper-slide img {
  transition: opacity 0.3s ease;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  -o-object-fit: contain;
     object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
}
.block-gallery .block-gallery-body .gallery-swiper .swiper-wrapper .swiper-slide img:hover {
  opacity: 0.7;
}
.block-gallery .block-gallery-body .gallery-swiper .navigations {
  display: flex;
  align-items: center;
  margin-top: 30px;
}
.block-gallery .block-gallery-body .gallery-swiper .navigations .swiper-pagination {
  position: static;
  width: calc(100% - 150px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-right: 15px;
  grid-row-gap: 10px;
  margin-right: auto;
}
.block-gallery .block-gallery-body .gallery-swiper .navigations .swiper-pagination .swiper-pagination-bullet {
  background: #E0E0E0;
  width: 10px;
  height: 10px;
  opacity: 1;
}
.block-gallery .block-gallery-body .gallery-swiper .navigations .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #FF6811;
}
.block-gallery .block-gallery-body .gallery-swiper .navigations .swiper-button-prev {
  margin-right: 10px;
  margin-left: auto;
}
.block-gallery .block-gallery-body .gallery-swiper .navigations .swiper-button-prev,
.block-gallery .block-gallery-body .gallery-swiper .navigations .swiper-button-next {
  border: 1px solid #323232;
}

@media (max-width: 991px) {
  .block-gallery {
    padding-top: 20px;
    margin-bottom: 40px;
  }
}
@media (max-width: 480px) {
  .block-gallery .block-gallery-body .gallery-swiper .navigations {
    margin-top: 20px;
  }
  .block-gallery .block-gallery-body .gallery-swiper .swiper-wrapper .swiper-slide {
    padding-top: 60%;
  }
}