/* Фотогалерея — замена LayerSlider #layerslider_2 */

.gallery-slider-wrap {
  position: relative;
  width: 639px;
  max-width: 100%;
  margin: 0;
}

.gallery-slider {
  margin: 0;
}

.gallery-slider__slide {
  outline: none;
  height: 252px;
}

.gallery-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
}

.gallery-slider .slick-dots {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: -36px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: auto;
  height: auto;
}

.gallery-slider .slick-dots li {
  margin: 0;
  padding: 0;
  width: 12px;
  height: 12px;
}

.gallery-slider .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background: url("../images/marker_v_fotogalerei.png") no-repeat center top;
  background-size: 12px 12px;
  cursor: pointer;
}

.gallery-slider .slick-dots li.slick-active button,
.gallery-slider .slick-dots li button:hover {
  background-image: url("../images/marker_v_fotogalerei_aktiv.png");
}

.gallery-slider__pause {
  position: absolute;
  z-index: 6;
  bottom: -40px;
  right: 12px;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #3e88fc;
  opacity: 0.85;
}

.gallery-slider__pause:hover {
  opacity: 1;
}

.gallery-slider__pause::before {
  content: "";
  display: block;
  width: 4px;
  height: 12px;
  margin: 3px 0 0 4px;
  border-left: 3px solid #3e88fc;
  border-right: 3px solid #3e88fc;
  box-sizing: border-box;
}

.gallery-slider__pause.is-paused::before {
  width: 0;
  height: 0;
  margin: 3px 0 0 5px;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #3e88fc;
}

.gallery-slider .slick-prev,
.gallery-slider .slick-next {
  display: none !important;
}

@media (max-width: 767.98px) {
  .gallery-slider-wrap {
    width: 100%;
  }

  .gallery-slider__slide {
    height: auto;
    aspect-ratio: 639 / 252;
  }

  .gallery-slider .slick-dots {
    bottom: -28px;
    gap: 18px;
  }
}
