body {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 59px;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
}

h1,
h2,
h3,
img {
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
}

a,
a:hover {
  text-decoration: none;
  border-bottom: none;
  color: #000;
}
header a,
a[href^="tel:"] {
  border: 0 !important;
}

input,
textarea,
button {
  font-family: "Montserrat", sans-serif;
}

.header {
  height: auto;

  padding: 10px 0;

  z-index: 100;
}

.header .header-ul {
  max-width: 760px;
}

.footer .header-ul {
  max-width: 766px;
}

.header .header-blocks {
  align-items: center;
}

.header .header-logo,
.header .header-logo > img,
.header .header-ul,
.header-phone {
  margin: 0;
}

.header .header-ul-li-a {
  font-size: 12.3px;
}

.header .header-ul-li-a.selected {
  font-weight: bold;
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .header .header-ul-li-a {
    font-size: 11.2px;
  }
}

@media (min-width: 1025px) {
  .header-div-ul {
    width: auto;
    height: auto !important;

    display: flex;
  }
}

.apartments,
.documentation,
.about-us,
.mortgage,
.offices,
.stages,
.news,
.privacy {
  padding-top: 60px;
}

@media (max-width: 768px) {
  .apartments,
  .documentation,
  .about-us,
  .mortgage,
  .offices,
  .stages,
  .news,
  .privacy {
    padding-top: 30px;
  }
}

.documentation-list,
.tab-list {
  display: flex;
  flex-wrap: wrap;

  margin-bottom: 40px;

  border-bottom: 1px solid #ccc;
}

@media (max-width: 576px) {
  .documentation-list,
  .tab-list {
    overflow-x: scroll;
  }
}

.documentation-list__item:not(:last-child),
.tab-list__item:not(:last-child) {
  margin-right: 40px;
}

.documentation-list__link,
.documentation-list__link:hover,
.tab-list__link,
.tab-list__link:hover {
  display: block;

  padding-bottom: 6px;

  white-space: nowrap;
  text-decoration: none;

  color: #000;
  border: 0;
  border-bottom: 2px solid transparent;
}

.documentation-list__link:hover,
.tab-list__link:hover {
  color: #1b4677;
}

.documentation-list__link--active,
.documentation-list__link--active:hover,
.tab-list__link--active,
.tab-list__link--active:hover {
  border-bottom: 2px solid #1b4677;
}

.documentation-wrapper {
  display: none;
}

.documentation__show-btn {
  border: 0;
  border-radius: 4px;

  padding: 10px 20px;

  transition: background-color 0.25s ease-in-out;

  background-color: #1b4677;
  color: #fff;
}

.documentation__show-btn:hover {
  background-color: #000;
}

@media (max-width: 576px) {
  .documentation-list,
  .tab-list {
    display: block;

    border-bottom: 0;
  }

  .documentation-list__item:not(:last-child),
  .tab-list__item:not(:last-child) {
    margin-right: 0;
  }

  .documentation-list__item,
  .tab-list__item {
    margin-bottom: 20px;
  }

  .documentation-list__link,
  .tab-list__link {
    display: inline;
  }
}

.tab-list .tab-list__link > span {
  display: inline-block;

  width: 25px;

  font-size: 12px;
  font-weight: bold;
  text-align: center;

  padding: 4px;
  margin-left: 5px;

  border-radius: 50%;

  background-color: #1b4677;
  color: #fff;
}

.apartments-col {
  margin-bottom: 40px;

  cursor: pointer;

  transition: all 0.25s ease-in-out;
}

.apartments-col:hover {
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);

  background-color: #fff;
}

.apartments-col:hover .block__wrapper {
  visibility: visible;
  opacity: 1;
}

.apartments-block {
  padding: 30px;
}

.apartments-block__title {
  line-height: 1.5em;

  margin-bottom: 0;
}

.apartments-block__title {
  font-weight: normal;
}

.apartments-block__link:hover {
  color: #1b4677;
}

.apartments-block__price {
  font-weight: bold;
}

.apartments-block__title,
.apartments-block__price {
  font-size: 14px;
}

.apartments .block-row {
  display: none;
}

.apartments .block-row--active {
  display: flex;
}

.apartments .detail-img__img {
  padding: 0 40px;
  display: block;
  margin: 0 auto;
}

.apartments .detail-info {
  position: relative;
  border: 1px solid #c4c4c4;
  border-radius: 10px;

  padding: 20px;
}

.apartments .detail-info .info-block {
  display: flex;
  flex-wrap: wrap;

  margin-bottom: 10px;
}

.apartments .detail-info .info-block__title,
.apartments .detail-info .info-block__value {
  width: 50%;
}

.apartments .detail-info .info-block__title {
  white-space: nowrap;
  overflow: hidden;
}

.apartments .detail-info .info-block__title:after {
  content: ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .";

  width: 100%;
  height: 1px;

  margin-left: 5px;

  color: #ccc;
}

.apartments .detail-info__button {
  display: block;

  width: 100%;

  padding: 15px;
  margin-top: 20px;

  text-align: center;
  text-decoration: none;

  border-radius: 5px;

  transition: all 0.25s ease-in-out;

  background-color: #1b4677;
  color: #fff;
}

.apartments .detail-info__button:hover {
  background-color: #000;
  color: #fff;
}

.apartments .block__wrapper {
  display: flex;

  margin-top: 20px;

  visibility: hidden;
  opacity: 0;

  transition: all 0.25s ease-in-out;
}

.apartments .apartments-block__button {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 50%;

  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;

  padding: 5px;

  border: 1px solid #1b4677;
  border-radius: 4px;

  transition: all 0.25s ease-in-out;

  background-color: #fff;
  color: #1b4677;
}

.apartments .apartments-block__button:first-child {
  margin-right: 20px;
}

.apartments .apartments-block__button:last-child {
  background-color: #1b4677;
  color: #fff;
}

.apartments .apartments-block__button:hover {
  background-color: #000;
  color: #fff;
}

.apartments .apartments-table {
  position: relative;

  width: 100%;
}

.apartments .apartments__wrapper {
  width: 100%;

  overflow: hidden;
}

.apartments .apartments-table__row {
  text-align: center;
}

.apartments .apartments-table__heading,
.apartments .apartments-table__data {
  padding: 10px;
}

.apartments .apartments-table__data {
  font-size: 14px;
}

.apartments .apartments-table__heading {
  border: 1px solid #ccc;
}

.apartments .apartments-table tbody tr {
  display: none;
}

.apartments .apartments-table__row {
  display: table-row !important;

  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.apartments .apartments-table__link {
  position: absolute;
  left: 0;

  width: 100%;
  height: 41px;

  margin-top: -10px;

  transition: background-color 0.25s ease-in-out;
  border: 0 !important;
}

.apartments .apartments-table__link:hover {
  background-color: rgba(27, 70, 119, 0.1);
}

.apartments font > b {
  padding: 4px 10px;

  border-radius: 4px;

  background-color: #1b4677;
  color: #fff;
}

.apartments font a:not(:last-child),
.apartments font b {
  margin-right: 5px;
}

.apartments font a:hover {
  color: #1b4677;
}

.apartments .detail__title {
  margin-bottom: 40px;
}

.color-chips {
  color: #1b4677;
  border: 1px solid #1b4677;
  border-radius: 20px;
  display: inline-block;
  padding: 1px 8px;
  margin: 0 6px;
  white-space: nowrap;
}

.apartments .detail__title .color-chips {
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .apartments .apartments-table {
    display: block;

    overflow-x: scroll;
  }

  .apartments .apartments-table__heading,
  .apartments .apartments-table__data {
    font-size: 12px;
  }

  .apartments .apartments-table__link {
    height: 73px;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .apartments .apartments-table__link {
    height: 82px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .apartments .apartments-table__link {
    height: 62px;
  }
}

.documentation-col {
  margin-bottom: 10px;
}

.documentation__link > span {
  color: #ccc;
}

.slider .bx-breadcrumb {
  position: absolute;
  top: 40px;
  z-index: 10;

  margin: 0;
}

.bx-breadcrumb .bx-breadcrumb-item a,
.bx-breadcrumb .bx-breadcrumb-item span {
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px;

  opacity: 1;
}

.slider .bx-breadcrumb .bx-breadcrumb-item a,
.slider .bx-breadcrumb .bx-breadcrumb-item span {
  color: #fff !important;
}
.bx_filter_parameters_box.window_view .bx_filter_block {
  display: block;
}
.selection {
  padding: 60px 0;

  overflow: hidden;
  background-color: #1b4677;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("/bitrix/templates/fabula_main/img/wave.jpg");
}

.selection .selection__title,
.selection .form-group__title {
  color: #fff;
}

.selection .selection-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.selection .form-group {
  width: 20%;
}

.selection .form-group__title {
  margin-bottom: 20px;
}

.selection .form-group__option {
  color: #000;
}

.selection .form-group__wrapper,
.selection .form-group__checkbox-wrapper {
  display: flex;
}

.selection .form-group__checkbox-wrapper input[type="checkbox"] {
  display: none;
}

.selection .form-group__checkbox-wrapper label {
  display: flex;

  width: 100%;

  font-size: 14px;
  text-align: center;
}

.selection .form-group__checkbox-wrapper label span {
  width: 100%;

  padding: 10px;

  border: 1px solid #fff;

  cursor: pointer;

  color: #fff;
}

.selection .form-group__checkbox-wrapper label:not(:last-child) span {
  border-right: 0;
}

.selection .form-group__checkbox-wrapper input[type="checkbox"]:checked + span {
  background-color: #fff;
  color: #1b4677;
}

.selection .form-group__select {
  width: 100%;
}

.selection .form-group__select,
.selection .form-group__wrapper input[type="text"] {
  font-family: "Montserrat", sans-serif;

  padding: 10px;

  border: 1px solid #fff;

  background-color: transparent;
  color: #fff;
}

.selection .form-group__wrapper input[type="text"] {
  width: 50%;
}

.selection .form-group__wrapper input[type="text"]:first-child {
  margin-right: 20px;
}

.selection .form-group__wrapper input[type="text"]::placeholder {
  color: #fff;
}

.selection .selection-form__submit {
  border: 2px solid transparent;

  padding: 10px 20px;

  cursor: pointer;

  transition: all 0.25s ease-in-out;

  background-color: #fff;
  color: #1b4677;
}

.selection .selection-form__submit:hover {
  border: 2px solid #fff;

  background-color: transparent;
  color: #fff;
}

.selection .bx_filter_section {
  padding: 0;

  border: 0 !important;

  background: transparent !important;
}

.selection .bx_filter_title {
  font-size: 36px;

  margin-bottom: 30px;
  padding: 0;

  color: #fff;
}
.selection .bx_filter_title--soon {
  font-size: 72px;
  text-align: center;
  line-height: 150%;
}

.selection .smartfilter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 0.5rem;
}

.selection .bx_filter_parameters_box_title {
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;

  margin-bottom: 10px;

  border-bottom: none;

  pointer-events: none;

  color: #fff;
}

.selection .bx_filter_parameters_box_title:after {
  content: none;
}

.selection .bx_filter_parameters_box {
  max-width: none;
  width: 100%;

  padding: 0 30px 0 0 !important;

  box-shadow: none;

  background: transparent;
}

.selection .bx_filter_parameters_box.room .bx_filter_parameters_box_container,
.selection .bx_filter_parameters_box.floor .bx_filter_parameters_box_container {
  display: flex;
  flex-wrap: wrap;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  input[type="checkbox"],
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  input[type="checkbox"] {
  display: none;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_param_label,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_param_label {
  width: max-content;
  max-width: 100%;

  margin: 0;
  margin-bottom: 5px;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_input_checkbox,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_input_checkbox {
  padding: 0;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_param_text,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_param_text {
  margin: 0;
  padding: 10px;

  text-align: center;

  border: 1px solid #fff;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_param_label:first-child
  .bx_filter_param_text,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_param_label:first-child
  .bx_filter_param_text {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_param_label:last-child
  .bx_filter_param_text,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_param_label:last-child
  .bx_filter_param_text {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_param_label:not(:last-child)
  .bx_filter_param_text,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_param_label:not(:last-child)
  .bx_filter_param_text {
  border-right: 0;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_param_label:nth-child(5n)
  .bx_filter_param_text,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_param_label:nth-child(5n)
  .bx_filter_param_text {
  border-right: 1px solid #fff;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  .bx_filter_param_label:nth-child(5n + 1)
  .bx_filter_param_text,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  .bx_filter_param_label:nth-child(5n + 1)
  .bx_filter_param_text {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.selection
  .bx_filter_parameters_box.room
  .bx_filter_parameters_box_container
  input[type="checkbox"]:checked
  ~ .bx_filter_param_text,
.selection
  .bx_filter_parameters_box.floor
  .bx_filter_parameters_box_container
  input[type="checkbox"]:checked
  ~ .bx_filter_param_text {
  background-color: #fff;
  color: #1b4677;
}

.selection .bx_filter_parameters_box .min-price {
  padding-right: 5px;
}

.selection .bx_filter_parameters_box .max-price {
  padding-left: 5px;
}

.selection .bx_filter_section .bx_filter_button_box {
  width: 20%;
}

.selection
  .bx_filter
  .bx_filter_parameters_box_container
  .bx_filter_input_container {
  height: auto;

  padding: 0;
  margin-bottom: 10px;

  box-shadow: none;

  background: transparent;
}

.selection
  .bx_filter
  .bx_filter_parameters_box_container
  .bx_filter_input_container
  input {
  font-size: 14px;

  max-width: none;
  height: auto;

  padding: 7.5px 15px;

  border: 1px solid #fff;
  border-radius: 5px;
  box-shadow: none;

  background-color: transparent;
  color: #fff;
}

.selection .bx_filter .bx_filter_input_checkbox input[type="radio"],
.selection .bx_filter .bx_filter_input_checkbox input[type="checkbox"] {
  top: 2px;
}

.selection .bx_filter .bx_filter_input_checkbox .bx_filter_param_text {
  text-shadow: none;

  color: #fff;
}

.selection .bx_filter .bx_filter_search_button,
.selection .bx_filter .bx_filter_search_reset {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;

  width: 100%;
  height: auto;

  margin-right: 0;
  padding: 10px;

  border-radius: 5px;
  box-shadow: none;

  transition: all 0.25s ease-in-out;
  cursor: pointer;

  background: #fff;
  color: #1b4677;
}

.selection .bx_filter .bx_filter_search_button:hover {
  background: #000;
  color: #fff;
}

.selection .bx_ui_slider_part span {
  font-weight: normal;
  text-shadow: none;

  color: #fff;
}

.selection .bx_filter .bx_ui_slider_part.p2 span,
.selection .bx_filter .bx_ui_slider_part.p3 span,
.selection .bx_filter .bx_ui_slider_part.p4 span {
  display: none;
}

.selection .bx_filter .bx_filter_parameters_box_title:after,
.selection
  .bx_filter
  .bx_filter_parameters_box.active
  .bx_filter_parameters_box_title:after {
  top: 5px;

  width: 7px;
  height: 9px;

  transform: rotate(90deg);

  background: url("/bitrix/templates/fabula_main/img/arrows/arrow-right.svg")
    no-repeat;
}

.selection
  .bx_filter
  .bx_filter_parameters_box.active
  .bx_filter_parameters_box_title:after {
  transform: rotate(-90deg);
}

.selection
  .bx_filter
  .bx_filter_parameters_box_container
  .bx_filter_input_container {
  max-width: none;
  min-width: auto;
}

.selection #set_filter {
  margin-top: 26px;
  margin-bottom: 0;
}

.selection #del_filter,
.selection #modef {
  display: none !important;
}

.selection .bx_filter .bx_ui_slider_handle {
  top: -10px;

  width: 20px;
  height: 20px;

  border: 1px solid #fff;
  border-radius: 50%;

  background: transparent;
}

.selection .bx_filter .bx_ui_slider_pricebar_VD,
.selection .bx_filter .bx_ui_slider_pricebar_VN,
.selection .bx_filter .bx_ui_slider_pricebar_V,
.selection .bx_filter .bx_ui_slider_part {
  border: 0;
  background: none;
}

.selection .bx_filter .bx_ui_slider_range,
.selection .bx_filter .bx_ui_slider_pricebar,
.selection .bx_filter .bx_ui_slider_pricebar_VD,
.selection .bx_filter .bx_ui_slider_pricebar_VN,
.selection .bx_filter .bx_ui_slider_pricebar_V {
  position: static;
}

.selection .bx_filter .bx_ui_slider_track {
  height: 1px;

  margin: 40px 20px 0 20px;

  border: 0;
  box-shadow: none;
  background: #fff;
}

.selection .bx_filter .bx_ui_slider_handle.left {
  margin-left: -20px;
}

.selection .bx_filter .bx_ui_slider_handle.right {
  margin-right: -20px;
}

.selection .bx_filter .bx_ui_slider_part {
  top: -15px;
}

.selection .bx_filter .bx_filter_param_label {
  font-size: 12px;
}

@media (max-width: 576px) {
  .selection .bx_filter.bx_horizontal .bx_filter_parameters_box {
    width: 100%;

    padding: 0 20px !important;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .selection .bx_filter.bx_horizontal .bx_filter_parameters_box {
    width: 50%;
  }
}

@media (max-width: 992px) {
  .selection .smartfilter {
    flex-wrap: wrap;
  }

  .selection .bx_filter .bx_filter_button_box,
  .bx_filter .bx_filter_parameters_box {
    display: block;

    width: 100%;

    padding: 0;
  }
}

@media (max-width: 1024px) {
  .main {
    padding-top: 40px !important;
    margin-top: 40px !important;
  }
}

.about {
  padding: 60px 0;
}

.gallery,
.steps,
.contacts {
  padding-top: 60px;
}

.about p:not(:last-child) {
  margin-bottom: 20px;
}

.about .about__map {
  max-width: 100%;
}

.steps .steps__title {
  margin-bottom: 40px;
}

.steps .steps__img {
  width: 100%;
  height: 300px;
  object-fit: cover;

  margin-bottom: 20px;
}

.contacts .row:last-child .col-12:first-child {
  padding: 40px;

  border-radius: 8px;

  background-color: #f0f0f0;
}

.contacts .contacts-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal .contacts-form__input,
.modal .contacts-form__phone,
.modal .contacts-form__apartment,
.contacts .contacts-form__input,
.contacts .contacts-form__phone,
.contacts .contacts-form__apartment {
  max-width: 330px;
  width: 100%;

  font-size: 14px;

  padding: 10px;

  border: 1px solid #808080;
  border-radius: 4px;

  background-color: #fff;
}

.modal .contacts-form__input,
.modal .contacts-form__phone,
.modal .contacts-form__apartment {
  max-width: none;

  border: 1px solid #dee2e6;
}

.modal .contacts-form__label,
.contacts .contacts-form__label {
  margin-bottom: 20px;
}

.modal .contacts-form__input,
.modal .contacts-form__phone,
.modal .contacts-form__apartment,
.contacts .contacts-form__input,
.contacts .contacts-form__phone,
.contacts .contacts-form__apartment {
  margin-bottom: 20px;
}

.modal .contacts-form__submit,
.contacts .contacts-form__submit {
  padding: 10px 20px;

  border: 0;
  border-radius: 4px;

  cursor: pointer;

  background-color: #1b4677;
  color: #fff;
}

.contacts .contacts__wrapper {
  margin-bottom: 20px;
}

.contacts .contacts__text {
  margin-bottom: 10px;
}

.contacts .contacts__link {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;

  color: #000;
}

/* «Написать менеджеру» — кнопка-ссылка (явно кликабельна, ведёт в чат мессенджера) */
.contacts .contacts__link--messenger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-color: #1b4677;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .2s ease-in-out;
}
.contacts .contacts__link--messenger::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM7 9h10v2H7V9zm6 5H7v-2h6v2zm4-6H7V6h10v2z'/%3E%3C/svg%3E");
}
.contacts .contacts__link--messenger:hover,
.contacts .contacts__link--messenger:focus {
  background-color: #14365c;
  color: #fff;
  text-decoration: none;
}

.main-projects-houses-block-image-img {
  height: 200px;

  object-fit: cover;
}

@media (max-width: 576px) {
  .about .about__title,
  .apartments__title,
  .documentation__title,
  .steps .steps__title {
    margin-bottom: 20px;
  }

  .selection,
  .about {
    padding: 30px 0;
  }

  .gallery,
  .steps,
  .contacts {
    padding-top: 30px;
  }

  .footer {
    margin-top: 40px;
  }

  .about p {
    margin-bottom: 20px;
  }

  .footer {
    margin-top: 20px;
  }

  .contacts .row:last-child .col-12:first-child {
    padding: 20px;
  }
}

@media (max-width: 992px) {
  .apartments .block__wrapper {
    flex-direction: column;

    visibility: visible;
    opacity: 1;
  }

  .apartments .apartments-block__button {
    width: 100%;

    padding: 10px;
  }

  .apartments .apartments-block__button:first-child {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

.about-us .about-us__text > b {
  font-size: 18px;
  line-height: 22px;
}

.about-us .about-us__text,
.about-us .about-us__block,
.mortgage .mortgage__text {
  font-size: 14px;
  line-height: 17px;

  margin-bottom: 20px;
}

.about-us .row--hidden {
  display: none;
}

.about-us .about-us__link {
  font-size: 14px;
  line-height: 17px;
  text-decoration: none;

  color: #000;
}

.about-us__img {
  width: 100%;
}

.about .about__link {
  display: block;
  border: 0;
}

.about .about__link > b {
  display: block;
  white-space: nowrap;
  margin-top: 10px;
}

.partners-block {
  text-align: center;
}

.partners-block .partners-block__link {
  display: block;

  font-weight: bold;
}

.partners-block .partners-block__img {
  width: 120px;
}

.mortgage .mortgage-block:not(:last-child) {
  margin-bottom: 40px;
}

.mortgage .block__text {
  font-size: 14px;
  line-height: 17px;
}

.mortgage .block__img {
  width: 320px;
  height: auto;
}

.offices .offices__desc {
  max-width: 375px;

  font-size: 14px;
}

.offices .offices-block {
  display: flex;
  flex-wrap: wrap;

  margin-bottom: 30px;

  border: 1px solid #c4c4c4;
  border-radius: 10px;
}

.offices .block-info {
  padding: 20px;
}

.offices .block-info,
.offices .block-img {
  width: 50%;
}

.offices .block-info__address,
.offices .block-info__phone {
  font-size: 14px;
  line-height: 17px;
}

.offices .block-info__phone {
  font-weight: bold;
}

.offices .block-img__img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;

  margin-bottom: 0;
  aspect-ratio: 269 / 175;
}
[id^="yandex_rtb"] {
  display: none;
}

@media (max-width: 576px) {
  .offices .block-info,
  .offices .block-img {
    width: 100%;
  }

  .offices .block-img__img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .offices .block-info,
  .offices .block-img {
    width: 100%;
  }

  .offices .block-img__img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
  }
}

.stages .block-body__btn,
.gallery .block-body__btn,
.stages .block-body__date {
  display: inline-block;

  font-size: 14px;

  padding: 4px 8px;

  border: 1px solid #c4c4c4;
  border-radius: 4px;

  transition: border 0.25s ease-in-out;

  background-color: transparent;
}

.stages .block-body__btn:hover,
.gallery .block-body__btn:hover {
  border: 1px solid #1b4677;
}

.stages .stages__filter-link,
.gallery .gallery__filter-link {
  padding: 5px 10px;

  font-size: 14px;

  border: 1px solid transparent;
  border-radius: 4px;

  transition: all 0.25s ease-in-out;

  color: #000;
}

.stages .stages__link-wrapper:not(:last-child),
.gallery .gallery__link-wrapper:not(:last-child) {
  margin-bottom: 10px;
}

.stages .stages__filter-link.active,
.stages .stages__filter-link:hover,
.gallery .gallery__filter-link.active,
.gallery .gallery__filter-link:hover {
  background-color: #1b4677;
  color: #fff;
}

.gallery .block-header__img {
  height: 255px;
  object-fit: cover;
}

.gallery .detail__img,
.main-gallary-img {
  height: 200px;
  object-fit: cover;
}

.steps .detail__block,
.stages .detail__block {
  display: inline-block;

  font-size: 14px;

  padding: 5px 10px;
  margin: 0 5px 5px 0;

  border: 1px solid #c4c4c4;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .stages .block-body__btn,
  .stages .block-body__date,
  .gallery .block-body__btn {
    font-size: 12px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .stages .block-body__btn,
  .stages .block-body__date,
  .gallery .block-body__btn {
    margin-bottom: 5px;
  }
}

.main-projects-houses-block-image > img {
  margin: 0;
}

.main-gallary-name {
  position: absolute;
  top: 10px;
  left: 15px;

  border-radius: 4px;

  padding: 5px 10px;

  font-size: 14px;

  background-color: #fff;
  color: #1b4677;
}

.privacy-list {
  list-style-type: disc;

  padding-left: 20px;
}

.main-slider-h {
  margin-top: 150px;
}

@media (max-width: 535px) {
  .main-slider-h {
    margin-top: 0;
  }
}

.text-center {
  text-align: center;
}

input.no-validate {
  background-color: rgba(255, 0, 0, 0.1) !important;
}

span.no-validate {
  color: rgba(255, 0, 0, 0.75);
}

.apartment-location {
  display: flex;
  justify-content: space-between;
}

.apartment-location__img {
  margin-right: 30px;
  flex-grow: 1;
  height: 400px;
  width: 100%;
}

.apartment-location__img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media (max-width: 1200px) {
  .apartment-location {
    flex-direction: column;
  }
  .apartment-location__img {
    margin-left: 0;
    margin-bottom: 30px;
  }
}

#drag_track_91 {
  display: none;
}
.bx_filter.bx_horizontal .bx_filter_parameters_box {
  width: max-content;
  max-width: 100%;
}

/* filter-price block */
.filter-price__title {
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
  margin-bottom: 10px;
  border-bottom: none;
  pointer-events: none;
  color: #fff;
}
.filter-price__label {
  position: relative;
  display: block;
  text-align: left;
  margin-bottom: 5px;
  margin-right: 5px;
}
.filter-price__radio {
  top: 8px;
  position: absolute;
  z-index: -2;
  opacity: 0;
}
.filter-price__label-text {
  position: relative;
  display: block;
  clear: both;
  overflow: hidden;
  min-height: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-shadow: none;
  color: #fff;
  font-size: 12px;
  padding-left: 30px;
}
.filter-price__label-text:before,
.filter-price__label-text::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.filter-price__label-text:before {
  left: 0;
  width: 17px;
  height: 17px;
  border: 1px solid #eeeeee;
  color: white;
  font-weight: 900;
}
.filter-price__radio:checked + .filter-price__label-text::after {
  content: "";
  left: 5px;
  width: 7px;
  height: 7px;
  background-color: #fff;
}
@media (max-width: 480px) {
  .filter-price {
    padding: 0 20px;
  }
}

/* favorite-button */
.favorite-button {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  --size: 1.5rem;
  width: var(--size);
  height: var(--size);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url(/assets/img/icons/favorite_emtpy.svg);
}
.favorite-button--added {
  background-image: url(/assets/img/icons/favorite_full.svg);
}
.detail-info__favorite {
  position: absolute;
  right: 0.6em;
  top: 0.6em;
}

.button-reset {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background-color: rgba(0, 0, 0, 0);
}

/* compare block */
.g-compare__button {
  padding: 1rem;
  background-color: #000;
  color: #fff;
  border-radius: 0.3rem;
  width: 100%;
  margin-top: 0.5rem;
}
.g-compare__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.g-compare__button:hover {
  background-color: #1b4677;
}
.g-compare__button--added {
  background-color: #c74444;
}
.g-compare__button--added:hover {
  background-color: #9e2f2f;
}
.g-compare__list {
  display: none;
  background-color: #f0f0f0;
  border-radius: 0.5rem;
  margin: 0;
  padding: 1rem 0 1rem;
  max-height: 200px;
  overflow-y: auto;
}
.g-compare__link {
  display: none;
  margin: 1rem;
  width: max-content;
  max-width: 100%;
}
.g-compare__button--added ~ .g-compare__list,
.g-compare__button--added ~ .g-compare__link {
  display: block;
}
.g-compare__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 1rem;
}
.g-compare__item-img {
  margin: 0;
}
.g-compare__item-address {
  margin: 0;
}
:not(:defined) {
  display: none;
}
html.p-block {
  overflow: hidden;
}
.fancybox-caption__body {
  background-color: #fff;
  color: #000;
  border-radius: 10px;
  width: max-content;
  padding: 0.5em 3em;
  font-weight: 700;
  margin: 0 auto;
}
