

/* Start:/local/templates/a-len/components/bitrix/news/projects/bitrix/news.detail/projects_detail/style.css?179205220812817*/
.hero__figure .hero-slider__video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero__figure .hero-slider__video.is-ready {
    opacity: 1;
}

.hero__figure .hero__poster {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero__figure .hero__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-inline-gallery {
  margin-bottom: 90px;
  overflow-x: visible;
}

@media screen and (max-width: 768px) {
  .project-inline-gallery {
    margin-bottom: 40px;
  }
}

.project-inline-gallery__inner {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@media screen and (min-width: 769px) {
  .project-inline-gallery__inner {
    padding-left: 80px;
    padding-right: 80px;
  }
}

.project-inline-gallery__content {
  position: relative;
  width: 100%;
  max-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow: visible;
}

.project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev,
.project-inline-gallery .gallery__main-arrow.project-inline-gallery__next {
  pointer-events: auto;
  opacity: 1;
  z-index: 12;
}

.project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev:not(.is-hidden),
.project-inline-gallery .gallery__main-arrow.project-inline-gallery__next:not(.is-hidden) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev.is-hidden,
.project-inline-gallery .gallery__main-arrow.project-inline-gallery__next.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev {
  left: 0;
  right: auto;
  -webkit-transform: translate(-100%, -50%);
          transform: translate(-100%, -50%);
  margin-left: -16px;
}

.project-inline-gallery .gallery__main-arrow.project-inline-gallery__next {
  right: 0;
  left: auto;
  -webkit-transform: translate(100%, -50%);
          transform: translate(100%, -50%);
  margin-right: -16px;
}

@media screen and (max-width: 768px) {
  .project-inline-gallery__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev,
  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__next {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev:not(.is-hidden),
  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__next:not(.is-hidden) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev::after,
  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__next::after {
    font-size: 15px;
  }

  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__prev {
    margin-left: -4px;
  }

  .project-inline-gallery .gallery__main-arrow.project-inline-gallery__next {
    margin-right: -4px;
  }
}

.project-inline-gallery__slider {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  max-height: 900px;
  height: auto;
  background: #fff;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  touch-action: pan-y;
}

.project-inline-gallery__slider .swiper-wrapper {
  height: 100%;
}

.project-inline-gallery__slider .swiper-slide {
  width: 100%;
  height: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.project-inline-gallery__slide {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.project-inline-gallery__slide:not(.project-inline-gallery__slide--video) .project-inline-gallery__image {
  cursor: pointer;
}

.project-inline-gallery__slide.swiper-slide-active {
  z-index: 3;
}

.project-inline-gallery__slide.swiper-slide.zoomed .project-inline-gallery__image {
  cursor: -webkit-grab;
  cursor: grab;
}

.project-inline-gallery__slide.swiper-slide.zoomed .swiper-zoom-container {
  overflow: visible;
}

.project-inline-gallery__slide.swiper-slide.zoomed .swiper-zoom-container > picture {
  max-width: none !important;
  max-height: none !important;
  overflow: visible;
}

.project-inline-gallery__slide.swiper-slide.zoomed .swiper-zoom-container > picture img {
  max-width: none !important;
  max-height: none !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  -o-object-position: center;
     object-position: center;
}

.project-inline-gallery__image-wrap {
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.project-inline-gallery__media-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-inline-gallery__picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-height: 0;
  min-width: 0;
  line-height: 0;
  overflow: visible;
}

.project-inline-gallery__image {
  display: block;
  -ms-flex: 0 0 auto;
      flex: 0 0 auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.project-inline-gallery__image.is-fitted {
  width: auto;
  height: auto;
}

.project-inline-gallery__slide--video {
  background: #fff;
}

.project-inline-gallery__video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.project-inline-gallery__media-frame iframe,
.project-inline-gallery__media-frame .plyr,
.project-inline-gallery__media-frame .plyr__video-wrapper,
.project-inline-gallery__media-frame .plyr__video-embed,
.project-inline-gallery__media-frame .plyr__video-wrapper--fixed-ratio {
  width: 100%;
  height: 100%;
}

.project-inline-gallery__media-frame iframe,
.project-inline-gallery__media-frame .plyr,
.project-inline-gallery__media-frame .plyr__video-wrapper,
.project-inline-gallery__media-frame .plyr__video-embed,
.project-inline-gallery__media-frame .plyr__video-wrapper--fixed-ratio {
  position: absolute;
  inset: 0;
}

.project-inline-gallery__media-frame .plyr__video-embed,
.project-inline-gallery__media-frame .plyr__video-wrapper--fixed-ratio {
  padding-bottom: 0;
}

.project-inline-gallery__media-frame .plyr--full-ui .plyr__video-embed > .plyr__video-embed__container {
  padding-bottom: 0;
  -webkit-transform: none;
          transform: none;
  position: absolute;
  inset: 0;
}

.project-inline-gallery__slide--video .project-inline-gallery__video {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: block;
  padding: 0;
}

.project-inline-gallery__slide--video .project-inline-gallery__media-frame {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
}

.project-inline-gallery__slide--video iframe {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-inline-gallery__pagination {
  position: absolute;
  left: 50%;
  bottom: 45px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 12;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  width: auto !important;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  pointer-events: auto;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
  .project-inline-gallery__pagination {
    bottom: 0;
  }
}

.project-inline-gallery__pagination.swiper-pagination-lock {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.project-inline-gallery__slider.swiper-container-horizontal > .project-inline-gallery__pagination {
  left: 50%;
  width: auto;
  bottom: 45px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
  .project-inline-gallery__slider.swiper-container-horizontal > .project-inline-gallery__pagination {
    bottom: 0;
  }
}

.project-inline-gallery__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #292929;
  opacity: 0.45;
  margin: 0 !important;
  border-radius: 50%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.project-inline-gallery__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #292929;
}

.project-inline-gallery__zoom {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: #000;
  display: none;
  overflow: hidden;
  touch-action: none;
}

.project-inline-gallery__zoom.is-active {
  display: block;
}

.project-inline-gallery__zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.project-inline-gallery__zoom-close::before,
.project-inline-gallery__zoom-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
}

.project-inline-gallery__zoom-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.project-inline-gallery__zoom-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .project-inline-gallery__zoom-close {
    top: 12px;
    right: 12px;
  }
}

.project-inline-gallery__zoom-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

.project-inline-gallery__zoom-slider .gallery__main-arrow {
  z-index: 10;
  pointer-events: auto;
}

.project-inline-gallery__zoom-slider .swiper-wrapper,
.project-inline-gallery__zoom-slider .swiper-slide {
  height: 100%;
}

.project-inline-gallery__zoom-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-inline-gallery__zoom-slide.swiper-slide.zoomed .swiper-zoom-container {
  overflow: visible;
}

.project-inline-gallery__zoom-slide.swiper-slide.zoomed .project-inline-gallery__zoom-image {
  cursor: grab;
}

.project-inline-gallery__zoom-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-inline-gallery__zoom-wrap .swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.project-inline-gallery__zoom-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  user-select: none;
  cursor: zoom-in;
  touch-action: none;
}

.project-inline-gallery__zoom-slide.swiper-slide.zoomed .project-inline-gallery__zoom-image {
  max-width: none !important;
  max-height: none !important;
  cursor: grab;
}


html.is-inline-gallery-zoom,
html.is-inline-gallery-zoom body {
  overflow: hidden;
  overscroll-behavior: none;
}

.project-inline-gallery__zoom.is-active,
.project-inline-gallery__zoom.is-active .project-inline-gallery__zoom-slider,
.project-inline-gallery__zoom.is-active .swiper-zoom-container,
.project-inline-gallery__zoom.is-active .project-inline-gallery__zoom-image {
  touch-action: none;
  overscroll-behavior: none;
}

/* End */
/* /local/templates/a-len/components/bitrix/news/projects/bitrix/news.detail/projects_detail/style.css?179205220812817 */
