

/* Start:/local/templates/wildbim/assets/css/twentytwenty.css?17405489476537*/
.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after, .twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
  content: " ";
  display: block;
  background: white;
  position: absolute;
  z-index: 30;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); }

.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after {
  width: 3px;
  height: 9999px;
  left: 50%;
  margin-left: -1.5px; }

.twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
  width: 9999px;
  height: 3px;
  top: 50%;
  margin-top: -1.5px; }

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%; }

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s; }

.twentytwenty-before-label, .twentytwenty-after-label {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  transition-property: opacity; }

.twentytwenty-before-label:before, .twentytwenty-after-label:before {
  color: white;
  font-size: 13px;
  letter-spacing: 0.1em; }

.twentytwenty-before-label:before, .twentytwenty-after-label:before {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  line-height: 38px;
  padding: 0 20px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px; }

.twentytwenty-horizontal .twentytwenty-before-label:before, .twentytwenty-horizontal .twentytwenty-after-label:before {
  top: 50%;
  margin-top: -19px; }

.twentytwenty-vertical .twentytwenty-before-label:before, .twentytwenty-vertical .twentytwenty-after-label:before {
  left: 50%;
  margin-left: -45px;
  text-align: center;
  width: 90px; }

.twentytwenty-left-arrow, .twentytwenty-right-arrow, .twentytwenty-up-arrow, .twentytwenty-down-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute; }

.twentytwenty-left-arrow, .twentytwenty-right-arrow {
  top: 50%;
  margin-top: -6px; }

.twentytwenty-up-arrow, .twentytwenty-down-arrow {
  left: 50%;
  margin-left: -6px; }

.twentytwenty-container {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  z-index: 0;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; }
  .twentytwenty-container img {
    max-width: 100%;
    position: absolute;
    top: 0;
    display: block; }
  .twentytwenty-container.active .twentytwenty-overlay, .twentytwenty-container.active :hover.twentytwenty-overlay {
    background: rgba(0, 0, 0, 0); }
    .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
    .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label, .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label,
    .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {
      opacity: 0; }
  .twentytwenty-container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box; }

.twentytwenty-before-label {
  opacity: 0; }
  .twentytwenty-before-label:before {
    content: attr(data-content); }

.twentytwenty-after-label {
  opacity: 0; }
  .twentytwenty-after-label:before {
    content: attr(data-content); }

.twentytwenty-horizontal .twentytwenty-before-label:before {
  left: 10px; }

.twentytwenty-horizontal .twentytwenty-after-label:before {
  right: 10px; }

.twentytwenty-vertical .twentytwenty-before-label:before {
  top: 10px; }

.twentytwenty-vertical .twentytwenty-after-label:before {
  bottom: 10px; }

.twentytwenty-overlay {
  -webkit-transition-property: background;
  -moz-transition-property: background;
  transition-property: background;
  background: rgba(0, 0, 0, 0);
  z-index: 25; }
  .twentytwenty-overlay:hover {
    background: rgba(0, 0, 0, 0.5); }
    .twentytwenty-overlay:hover .twentytwenty-after-label {
      opacity: 1; }
    .twentytwenty-overlay:hover .twentytwenty-before-label {
      opacity: 1; }

.twentytwenty-before {
  z-index: 20; }

.twentytwenty-after {
  z-index: 10; }

.twentytwenty-handle {
  height: 38px;
  width: 38px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border: 3px solid white;
  -webkit-border-radius: 1000px;
  -moz-border-radius: 1000px;
  border-radius: 1000px;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  z-index: 40;
  cursor: pointer; }

.twentytwenty-horizontal .twentytwenty-handle:before {
  bottom: 50%;
  margin-bottom: 22px;
  -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
.twentytwenty-horizontal .twentytwenty-handle:after {
  top: 50%;
  margin-top: 22px;
  -webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }

.twentytwenty-vertical .twentytwenty-handle:before {
  left: 50%;
  margin-left: 22px;
  -webkit-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
.twentytwenty-vertical .twentytwenty-handle:after {
  right: 50%;
  margin-right: 22px;
  -webkit-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }

.twentytwenty-left-arrow {
  border-right: 6px solid white;
  left: 50%;
  margin-left: -17px; }

.twentytwenty-right-arrow {
  border-left: 6px solid white;
  right: 50%;
  margin-right: -17px; }

.twentytwenty-up-arrow {
  border-bottom: 6px solid white;
  top: 50%;
  margin-top: -17px; }

.twentytwenty-down-arrow {
  border-top: 6px solid white;
  bottom: 50%;
  margin-bottom: -17px; }

/* End */


/* Start:/local/templates/wildbim/components/bitrix/news.detail/heritage/style.css?17732269699243*/
.section.heritage-detail {
  padding-bottom: 0;
  position: relative;
}

.heritage-detail__head {
  display: grid;
  grid-template-columns: 330px 1fr 330px;
  align-items: end;
}

.heritage-detail__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 163px;
}

.heritage-detail__type {
  padding-left: 40px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-transform: uppercase;
}

.heritage-detail__content {
  display: grid;
  grid-template-columns: 330px 1fr 330px;
  align-items: start;
  margin-top: 60px;
}

.heritage-detail__column {
  position: sticky;
  top: 0;
  padding-top: 50px;
  padding-bottom: var(--section-p);
}

.heritage-detail__column_left {
  padding-right: 45px;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.heritage-detail__column-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.heritage-detail__caption {
  text-transform: uppercase;
}

.heritage-detail_history {
  gap: 20px;
}

.heritage-detail_history li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.heritage-detail_history span {
  font-family: var(--acc-font);
  font-size: 30px;
  font-weight: 500;
  line-height: 30px;
}

.heritage-detail_history p {
  margin-top: 5px;
}

.heritage-detail__column-item_dotted {
  border-top: 1px dashed var(--d-gray);
  padding-top: 20px;
}

.heritage-detail__column_right {
  padding-left: 45px;
}

.heritage-detail__images {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--d-gray);
  border-right: 1px solid var(--d-gray);
  position: relative;
  padding-bottom: var(--section-p);
}

.heritage-detail__images::before,
.heritage-detail__images::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -1px;
  width: 1px;
  height: 37px;
  background: linear-gradient(
    180deg,
    rgba(171, 172, 172, 0) 14.71%,
    #abacac 79.37%
  );
  z-index: 1;
}

.heritage-detail__images::after {
  left: auto;
  right: -1px;
}

.heritage-detail__img-container {
  width: calc(100% + 14px);
  margin-left: -7px;
  margin-right: -7px;
  /* height: 500px; */
  min-height: 300px;
  padding: 50px 7px;
  position: relative;
  border-bottom: 1px dashed var(--d-gray);
}

.heritage-detail__img-container:has(.twentytwenty-wrapper) {
  padding: 1px 7px;
  height: auto;
}

.heritage-detail__img-container:has(.heritage-detail__link-to-object) {
  min-height: auto;
}

.heritage-detail__img-container:last-child {
  border-bottom: none;
}

.heritage-detail__img-container::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background-color: #6b6b6b;
  border: none;
  z-index: 2;
  top: 0;
  left: 0;
  transform: translate(-2px, -1px) rotate(135deg);
}

.heritage-detail__img-container::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background-color: #6b6b6b;
  border: none;
  z-index: 2;
  top: 0;
  right: 0;
  transform: translate(2px, -1px) rotate(135deg);
}

.heritage-detail__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.heritage-detail__before-after-img {
  height: 500px;
  object-fit: contain;
}

.heritage-detail__before-after-img_vert {
  height: 800px;
}

.heritage-detail__steps-list {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.heritage-detail__steps-item {
  display: flex;
  gap: 12px;
}

.heritage-detail__steps-item span {
  font-family: var(--acc-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  width: 25px;
}

.heritage-detail__work-list {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
}

.heritage-detail__img-container:has(+ .heritage-detail__links) {
  border-bottom: none;
}

.heritage-detail__links::before,
.heritage-detail__links::after {
  content: unset;
}

.heritage-detail__links {
  height: auto !important;
  display: flex;
  justify-content: center;
  gap: 60px;
}

.heritage-detail__link-to-object {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
  margin: 0 auto;
}

.heritage-detail__link-to-object * {
  pointer-events: none;
}

.heritage-detail__link-to-object-hint {
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 10px;
}

.heritage-detail__link-to-object-hint_reverse {
  flex-direction: row-reverse;
}

.heritage-detail__link-to-object-hint::after {
  content: "";
  width: 8px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='10' viewBox='0 0 8 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 5L0 0V10L8 5Z' fill='%23DC431E'/%3E%3C/svg%3E%0A");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
}

.heritage-detail__link-to-object-hint_reverse::after {
  transform: rotate(180deg);
}

.heritage-detail__link-to-object-pic-container {
  flex-shrink: 0;
  transition: all 0.3s ease;
  width: 100px;
  height: 100px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.heritage-detail__link-to-object-pic-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--red);
  transition: all 0.3s ease;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

.heritage-detail__link-to-object-name {
  color: var(--black);
  text-align: center;
  max-width: 200px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  transition: all 0.3s ease;
}

.heritage-detail__link-to-object-pic {
  width: 90%;
  height: 90%;
  background-size: 200% 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
}

.heritage-detail__link-to-object:hover .heritage-detail__link-to-object-name,
.heritage-detail__link-to-object:focus .heritage-detail__link-to-object-name {
  color: var(--red);
}

.heritage-detail__link-to-object:hover
  .heritage-detail__link-to-object-pic-container::before,
.heritage-detail__link-to-object:focus
  .heritage-detail__link-to-object-pic-container::before {
  opacity: 1;
  visibility: visible;
}

.heritage-detail__link-to-object:hover .heritage-detail__link-to-object-pic,
.heritage-detail__link-to-object:focus .heritage-detail__link-to-object-pic {
  background-position: 100% 0;
}

.heritage-detail__top {
  position: absolute;
  right: clamp(16px, 7.55vw, 145px);
  bottom: var(--section-p);
  background: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.heritage-detail__top:hover {
  transform: scale(1.2);
}

.heritage-detail__container-mobile {
  display: none;
}

@media screen and (max-width: 1279px) {
  .heritage-detail__head {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .heritage-detail__content {
    grid-template-columns: 1fr 300px;
    gap: 60px 40px;
    margin-top: 30px;
  }
  .heritage-detail__column {
    position: relative;
    padding-bottom: 40px;
  }
  .heritage-detail__column_left {
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 40px;
  }
  .heritage-detail__column_right {
    padding-left: 0;
    padding-top: 40px;
  }
  .heritage-detail__images {
    order: 2;
    grid-column: 1 / -1;
  }
  .heritage-detail__img-container {
    /* height: 47.85vw; */
    padding: 30px 7px;
    /* max-height: 500px; */
  }
  .heritage-detail__before-after-img {
    height: 47.85vw;
    object-fit: contain;
  }
  .heritage-detail__before-after-img_vert {
    height: 62.55vw;
  }
  .heritage-detail__img-container:first-child {
    border-top: 1px dashed var(--d-gray);
  }
  .heritage-detail__type {
    padding-left: 0;
  }
  .heritage-detail__type {
    max-width: calc(100vw - 32px - 120px);
    margin: 0 auto;
  }
  .heritage-detail__links {
    gap: 40px;
  }
  .heritage-detail__container-mobile {
    display: block;
  }
  .heritage-detail__container-desktop {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .heritage-detail__content {
    grid-template-columns: 1fr;
  }
  .heritage-detail__img-container {
    /* height: 58.67vw; */
    padding: 16px 7px;
    min-height: 150px;
  }
  .heritage-detail__before-after-img {
    height: 58.67vw;
    object-fit: contain;
  }
  .heritage-detail__before-after-img_vert {
    height: 84.75vw;
  }
  .heritage-detail__column_right {
    padding-top: 0;
  }
  .heritage-detail__content {
    gap: 24px;
  }
  .heritage-detail__column_right .list-title {
    padding-left: 0;
  }
  .heritage-detail__type {
    max-width: calc(100vw - 32px - 90px);
  }
  .heritage-detail__links {
    gap: 20px;
  }
  .heritage-detail__link-to-object {
    margin: 0;
  }
  .heritage-detail__link-to-object-pic {
    width: 80px;
    height: 80px;
  }
  .heritage-detail__link-to-object-name {
    max-width: 150px;
    font-size: 14px;
    line-height: 18px;
  }
  .heritage-detail__top {
    width: 40px;
    height: 40px;
    bottom: 24px;
  }
}

/* End */
/* /local/templates/wildbim/assets/css/twentytwenty.css?17405489476537 */
/* /local/templates/wildbim/components/bitrix/news.detail/heritage/style.css?17732269699243 */
