﻿@media (max-width: 767px) {
  .gallery {
    flex-direction: column;
  }
}
.gallery .details_picture-slider {
  position: relative;
}
.gallery .details_picture-slider .swiper {
  margin: 0;
}
.gallery .details_picture-slider .swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0;
  visibility: hidden;
}
.gallery .details_picture-slider .swiper .swiper-slide:only-child {
  opacity: 1;
  visibility: visible;
}
.gallery .details_picture-slider .swiper-button-prev, .gallery .details_picture-slider .swiper-button-next, .gallery .details_picture-slider .swiper-pagination {
  z-index: 9999;
}
.gallery .details_picture-slider .swiper-pagination {
  display: none;
}
@media (max-width: 991px) {
  .gallery .details_picture-slider .swiper-pagination {
    display: block;
  }
  .gallery .details_picture-slider .swiper-pagination .swiper-pagination-bullet {
    width: 24px;
    height: 5px;
    background: var(--white);
    border-radius: 5px;
    opacity: 1;
  }
  .gallery .details_picture-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--secondary-color);
  }
}
.gallery .details_picture-slider .swiper-button-prev, .gallery .details_picture-slider .swiper-button-next {
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  opacity: 0.5;
  pointer-events: all;
}
.gallery .details_picture-slider .swiper-button-prev:hover, .gallery .details_picture-slider .swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
}
.gallery .details_picture-slider .swiper-button-prev::after, .gallery .details_picture-slider .swiper-button-next::after {
  font-size: 30px;
  color: var(--white);
}

.cloud-zoom-thumb-container {
  width: 90px;
  margin-top: 0 !important;
  padding-right: 10px;
}
.cloud-zoom-thumb-container .thumbSlider {
  height: 100%;
  margin: 0;
}
.cloud-zoom-thumb-container .thumbSlider .swiper-slide {
  height: auto;
}
.cloud-zoom-thumb-container .thumbSlider img {
  width: 100%;
  height: auto;
}
.cloud-zoom-thumb-container .thumbSlider .swiper-slide {
  padding: 2px;
}
.cloud-zoom-thumb-container .thumbSlider .swiper-slide.swiper-slide-thumb-active a {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
@media (max-width: 991px) {
  .cloud-zoom-thumb-container {
    display: none;
  }
}
.cloud-zoom-thumb-container .cloud-zoom-thumb {
  border: none;
  margin: 0;
}
@media (max-width: 991px) {
  .cloud-zoom-thumb-container .cloud-zoom-thumb {
    width: 25%;
    padding: 5px;
  }
}
.cloud-zoom-thumb-container .cloud-zoom-thumb a {
  display: block;
}
.cloud-zoom-thumb-container .cloud-zoom-thumb a img {
  max-width: 100%;
  height: auto !important;
}

.gallery .details_picture-slider {
  margin: 0;
}
.gallery .details_picture-slider img {
  width: 100%;
}
@media (min-width: 992px) {
  .gallery .details_picture-slider {
    width: calc(100% - 90px);
  }
  .gallery .details_picture-slider:only-child {
    width: 100%;
  }
}
.gallery #wrap {
  z-index: 100 !important;
  position: relative;
  width: 100%;
}
.gallery #wrap .offer-content {
  left: 0;
  right: auto;
}
@media (max-width: 991px) {
  .gallery #wrap {
    max-width: 100%;
  }
}
.gallery #wrap .mousetrap {
  display: none;
}
.gallery #wrap:hover .mousetrap {
  display: block;
}
