/* COLORS */
* {
  --main-color: #233f8a;
  --main-hover-color: #1a2e65;
  --second-color: #fff;
  --alert-color: #f66;
  --gray-800: #1d1e20;
  --gray-600: #5e636e;
  --gray-500: #8f96a3;
  --gray-400: #c2c9d6;
  --gray-300: #dee3ed;
  --gray-200: #f1f3f9;
  --gray-100: #f8f9fc;
}

/* COLORS */

/* COMMON */

.w-100 {
  width: 100%;
}

.min-h-100 {
  min-height: 100%;
}

@media (min-width: 1200px) {
  .min-h-lg-100 {
    min-height: 100%;
  }
}

@media (min-width: 768px) {
  .min-h-md-100 {
    min-height: 100%;
  }
}

.mr-6px {
  margin-right: 6px;
}

.mr-12px {
  margin-right: 12px;
}

.mr-24px {
  margin-right: 24px;
}

.mb-4px {
  margin-bottom: 4px;
}

.mb-8px {
  margin-bottom: 8px;
}

.mb-12px {
  margin-bottom: 12px;
}

.mb-16px {
  margin-bottom: 16px;
}

.mb-20px {
  margin-bottom: 20px;
}

.mb-24px {
  margin-bottom: 24px;
}

.mt-8px {
  margin-top: 8px;
}

.mt-16px {
  margin-top: 16px;
}

.mt-20px {
  margin-top: 20px;
}

.mt-24px {
  margin-top: 24px;
}

.p-0 {
  padding: 0;
}

* {
  margin: 0;
  transition: 150ms;
}

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

body {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  color: var(--gray-800);
  background-color: var(--gray-100);
}

h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 120%;
}

h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 120%;
  margin-bottom: 16px;
}

h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  margin-bottom: 16px;
}

section {
  padding-top: 24px;
  padding-bottom: 24px;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.link {
  color: var(--gray-800);
}

.link:hover {
  color: var(--main-color);
}

.link-inverse {
  color: var(--main-color);
}

.link-inverse:hover {
  color: var(--main-hover-color);
}

.link--light {
  color: var(--gray-500);
}

.link--light:hover {
  color: var(--main-color);
}

.link--alt {
  color: var(--main-color);
}

.link--alt:hover {
  color: var(--main-hover-color);
}

.link--small {
  font-size: 16px;
  line-height: 120%;
}

.link.disabled {
  color: var(--gray-500);
}

.link.disabled:hover {
  color: var(--gray-500);
}

.link-more {
  text-decoration: underline;
  cursor: pointer;
}

.link-more:hover {
  text-decoration: none;
}

.icon {
  fill: var(--gray-800);
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

.icon-big {
  width: 24px;
  height: 24px;
}

.icon-small {
  width: 16px;
  height: 16px;
}

a:hover .icon {
  fill: var(--main-color);
}

.btn {
  border: 1px solid var(--main-color);
  box-sizing: border-box;
  border-radius: 4px;

  font-size: 16px;
  line-height: 120%;

  cursor: pointer;
  padding: 12px 28px;
}

.btn-fill {
  background-color: var(--main-color);
  color: var(--second-color);
}

.btn-fill:hover {
  background-color: var(--main-hover-color);
  border-color: var(--main-hover-color);
}

.btn-trp {
  background-color: transparent;
  color: var(--main-color);
}

.btn-trp:hover {
  background-color: var(--second-color);
}

.btn-trp--dark {
  border-color: var(--gray-800);
  color: var(--gray-800);
}

.btn__counter {
  font-size: 14px;
  line-height: 100%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 4px 6px;
  margin-left: 8px;
}

.list-no-marker {
  list-style: none;
}

ul {
  padding-left: 0;
  list-style: none;
}

li:not(:last-child) {
  margin-bottom: 16px;
}

.sublist {
  padding-left: 28px;
}

.sublist li {
  margin-bottom: 12px;
}

.sublist li:last-child {
  margin-bottom: 20px;
}

.sublist-title {
  margin-bottom: 12px;
}

.card {
  background: var(--second-color);
  border-radius: 4px;
  padding: 20px;
}

.form-control {
  border: 1px solid var(--gray-300);
  box-sizing: border-box;
  border-radius: 4px;
  background-color: transparent;
  display: flex;
  padding: 14px 32px 14px 12px;
}

.form-control label {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 120%;
  white-space: nowrap;
  margin-right: 4px;
}

.form-control input {
  border: none;
  font-size: 16px;
  line-height: 18px;

  flex-grow: 1;
  width: 10px;

  margin-right: 8px;
}

.pointer-none {
  pointer-events: none;
}

.form-control input:focus {
  outline: none;
}

.dropdown-control {
  position: relative;
  cursor: pointer;
}

.dropdown-control::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.dropdown-control.active {
  border-color: var(--main-color);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--second-color);
  box-shadow: 0px 0px 12px -2px #e7e7e7;
  border-radius: 8px;
  display: none;
  padding: 9px 15px;
  margin-top: 7px;
  z-index: 2;

  font-size: 14px;
  line-height: 120%;
}

.dropdown-control.active .dropdown {
  display: block;
}

.dropdown__list li {
  padding: 4px 7px;
  border-radius: 4px;
  margin-bottom: 0;
}

.dropdown__list li:hover {
  background: var(--gray-200);
}

.dropdown .form-control {
  padding: 7px 12px;
}

.custom-checkbox {
  color: var(--gray-800);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox {
  display: block;
}

.checkbox-checked {
  display: none;
}

input[type='radio']:checked ~ label .checkbox,
input[type='checkbox']:checked ~ label .checkbox {
  display: none;
}

input[type='radio']:checked ~ label .checkbox-checked,
input[type='checkbox']:checked ~ label .checkbox-checked {
  display: block;
}

input[type='radio']:checked ~ label,
input[type='checkbox']:checked ~ label {
  color: var(--main-color);
}

input[type='radio'],
input[type='checkbox'] {
  display: none;
}

.pagination {
  margin-top: 32px;
}

.pagination__nav {
  background: var(--second-color);
  border-radius: 4px;
  padding: 8px;
  width: max-content;
  margin: 0 auto;
}

.pagination__nav li {
  margin-bottom: 0;
}

.pagination__nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 3px;
  font-size: 16px;
  line-height: 120%;
  color: var(--main-color);
  border-radius: 4px;
  box-sizing: border-box;
}

.pagination__nav a.active,
.pagination__nav a:not(.disable):hover {
  border: 1px solid #233F8A;
}

.prev.disable,
.next.disable {
  color: var(--gray-500);
}

.breadcrumbs {
  display: flex;
  margin-bottom: 8px;
}

.breadcrumbs li {
  padding: 0 4px;
  margin-bottom: 0;
  position: relative;
}

.breadcrumbs li:not(:last-child) {
  padding-right: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '·';
  font-size: 12px;
  position: absolute;
  top: 0;
  right: 0;
}

.breadcrumbs .link {
  font-size: 12px;
  line-height: 100%;
}

/* COMMON */

.header {
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 120%;
}

.header .btn {
  padding: 8px 12px;
}

.header__top {
  margin-bottom: 21px;
}

.header__login .dropdown {
  width: max-content;
  z-index: 2;
}

.header__logo {
  margin-right: 22px;
  width: 159px;
}

.header__location {
  margin-right: auto;
}

.header__menu {
  gap: 24px;
}

.header__action {
  color: var(--gray-500);
  position: relative;
}

.header__action .icon {
  margin-right: 8px;
  fill: var(--gray-500);
}

.action__counter {
  background: var(--gray-800);
  color: var(--second-color);
  font-size: 10px;
  line-height: 100%;
  padding: 2px 4px;
  border-radius: 13px;
  position: absolute;
  top: -5px;
  left: 13px;
  display: none;
}

.header__action.active {
  color: var(--gray-800);
}

.header__action.active .icon {
  fill: var(--main-color);
}

.header__action.active .icon.heart {
  fill: var(--alert-color);
}

.header__action.active .action__counter {
  display: block;
}

.header__action.active:hover {
  color: var(--main-color);
}

.filter {
  margin-top: 24px;
}

.filter__tabs {
  padding: 16px 12px 0;
  border-radius: 12px 12px 0 0;
  background-color: var(--second-color);
  display: flex;
  width: max-content;
}

.filter__tabs input[type='radio'] {
  display: none;
}

.filter__tabs input[type='radio']:checked ~ .filter__tab {
  color: var(--main-color);
  border-color: var(--main-color);
}

.filter__tab {
  padding: 10px 20px;
  border: 1px solid var(--gray-300);
  box-sizing: border-box;
  border-radius: 4px;
  cursor: pointer;
  color: var(--gray-600);
  display: block;
}

.filter__tab--left {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.filter__tab--right {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.filter__tab:hover,
.filter__tab.active {
  color: var(--main-color);
  border-color: var(--main-color);
}

.filter__body {
  background-color: var(--second-color);
  padding: 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.filter .select {
  /*width: 390px;*/
  width: 340px;
  max-width: 100%;
}

.select::after {
  content: url(/themes/biznesarenda/static/img/svg/chevron-down.svg);
  width: 24px;
  height: 24px;
}

.select.active::after {
  transform: rotate(180deg) translateY(50%);
}

.filter .square {
  width: 280px;
  max-width: 100%;
}

.filter .square::after,
.mobile-filter .square::after {
  content: 'м²';
  font-size: 16px;
  line-height: 120%;
  color: var(--gray-600);
}

.filter .price {
  /*width: 370px;*/
  width: 280px;
  max-width: 100%;
}

.filter .price::after,
.mobile-filter .price::after {
  content: '₽';
  font-size: 16px;
  line-height: 120%;
  color: var(--gray-600);
}

.filter .place {
  width: 550px;
  margin-right: auto;
}

.filter__clear {
  font-size: 12px;
  line-height: 120%;
  color: var(--main-color);
  cursor: pointer;
  width: max-content;
  margin-left: auto;
  margin-bottom: 8px;
}

.filter__clear:hover {
  color: var(--main-hover-color);
}

.square__dropdown {
  /*min-height: 220px;*/
}

.square__dropdown .dropdown {
  box-shadow: none;
}

.price__dropdown {
  /*min-height: 220px;*/
}

.price__dropdown .dropdown {
  box-shadow: none;
}

.find-space__counter {
  margin-left: 4px;
  background: var(--gray-100);
  border-radius: 4px;
  padding: 4px 6px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 100%;
}

.find-space .link:hover .find-space__counter {
  color: var(--main-color);
}

.find-space__wrapper {
  background-color: var(--second-color);
  padding: 20px;
}

.find-space__wrapper > .row {
  gap: 24px;
}

.find-space__card {
  background-color: none;
  padding: 0;
}

.rent h2,
.sale h2 {
  margin-bottom: 24px;
}

.space-card__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px 20px;
}

.space-card {
  padding: 8px;
  color: var(--gray-800);
  position: relative;
}

.space-card:hover {
  box-shadow: 0px 0px 12px #c2c9d6;
  cursor: pointer;
}

.space-card__img {
  display: block;
  border-radius: 4px;
  width: 100%;
  height: 164px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.space-card__img .advert-edit-btn {
  position: absolute;
  border-radius: 4px;
}

.space-card__info {
  padding: 12px 4px 4px;
  flex-grow: 1;
}

.info__left {
  flex-grow: 1;
}

.space-card__add-favourite .icon {
  fill: var(--gray-300);
  margin-right: 0;
  margin-left: 2px;
}

.space-card:hover .space-card__add-favourite .icon {
  fill: var(--gray-300);
}

.space-card .space-card__add-favourite:hover .icon {
  fill: var(--gray-500);
}

.space-card .space-card__add-favourite.active .icon {
  fill: var(--alert-color);
}

.metro__icons {
  position: relative;
  width: 18px;
  height: 14px;
}

.metro__icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 10px;
  border: 1px solid #fff;
}

.metro__icon:nth-child(2) {
  transform: translateX(5px);
}

.metro__icon:nth-child(3) {
  transform: translateX(10px);
}

.metro__icon:nth-child(4) {
  transform: translateX(12px);
}

.line-red {
  background: #f66;
}

.line-blue {
  background: #233f8a;
}

.line-black {
  background: black;
}

.line-brown {
  background: brown;
}

.line-green {
  background: green;
}

.line-grey {
  background: gray;
}

.line-grey-blue {
  background: lightslategray;
}

.line-light-blue {
  background: lightblue;
}

.line-lilac {
  background: violet;
}

.line-lime {
  background: greenyellow;
}

.line-orange {
  background: orange;
}

.line-pink {
  background: pink;
}

.line-purple {
  background: purple;
}

.line-teal {
  background: #008080;
}

.line-white-red-contur {
  background: white;
  border: 1px solid red;
}

.line-yellow {
  background: yellow;
}

.space-card .space-card__title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 2.6em;
  line-height: 100%;
}

.space-card__price {
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  margin-bottom: 4px;

  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.space-card__params {
  font-size: 14px;
  line-height: 100%;
  margin-bottom: 18px;
}

.space-card__params span:first-child {
  margin-right: 8px;
}

.space-card__metro, .space-card__address, .space-card__date {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: var(--gray-500);
}

.space-card__metro {
  margin-bottom: 4px;
}

.space-card__address {
  margin-bottom: 6px;
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.materials-card {
  padding: 8px;
  color: var(--gray-800);
}

.materials-card:hover {
  box-shadow: 0px 0px 12px #c2c9d6;
}

.materials-card__img {
  border-radius: 4px;
  width: 100%;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.materials-card__info {
  padding: 12px 8px;
}

.materials-card__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  margin-bottom: 8px;
}

.materials-card__date {
  font-size: 14px;
  line-height: 100%;
  color: var(--gray-500);
}

.materials__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.materials__tab {
  border: 1px solid var(--gray-400);
  box-sizing: border-box;
  border-radius: 12px;
  padding: 8px 24px;

  font-size: 16px;
  line-height: 120%;
  color: var(--gray-500);
}

.materials__tab:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  cursor: pointer;
}

.materials__tab.active {
  border-color: var(--main-color);
  color: var(--main-color);
}

.about {
  width: 715px;
  margin: 0 auto;

  font-size: 18px;
  line-height: 140%;
}

.footer {
  padding-top: 24px;
}

.footer__block {
  box-shadow: 0px 0px 12px #f1f3f9;
  border-radius: 32px;
  padding: 32px 12px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.footer__logo {
  width: 236px;
  margin-bottom: 32px;
}

.footer__menu {
  margin-bottom: 32px;
}

.footer__link {
  padding: 0 16px;
}

.footer__contacts {
  display: flex;
  gap: 16px;
}

.contacts__mailto {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 24px;
  line-height: 120%;

  background: rgba(242, 153, 74, .12);
  border-radius: 24px;
  padding: 12px 32px;
}

.contacts__mailto span {
  font-size: 14px;
  line-height: 18px;
  margin-top: 8px;
}

.footer__copyright {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.copyright {
  font-size: 14px;
  line-height: 100%;
  color: var(--gray-500);
}

.copyright__link {
  font-size: 14px;
  line-height: 100%;
  color: var(--gray-500);
}

.copyright__link:hover {
  color: var(--main-color);
}

.footer__bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 43px;
}

.link img {
  margin-right: 4px;
}

.popular__item {
  padding: 8px;
  width: 60%;
  margin: 0 12px;
}

.images__item {
  border-radius: 4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-shrink: 0;
  position: relative;
}

.popular__img {
  width: 251px;
  height: 233px;
}

.space-card__text {
  font-size: 14px;
  line-height: 130%;
  color: var(--gray-500);
  margin-bottom: 16px;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  height: 6.5em;
}

.popular__info {
  margin-left: 16px;
  flex-grow: 1;
}

.popular__item .space-card__add-favourite:hover .icon {
  fill: var(--gray-500);
}

.popular__item .space-card__add-favourite.active .icon {
  fill: var(--alert-color);
}

.popular__item .space-card__price {
  width: 100%;
}

.popular__item .space-card__title {
  width: 350px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider {
  position: relative;
}

.slider::after {
  content: '';
  width: 64px;
  height: 100%;
  background: url(../img/slider_cover.png) no-repeat left center / cover;
  position: absolute;
  top: 0;
  right: 0;
}

.flickity-prev-next-button {
  z-index: 2;
}

.flickity-button:disabled {
  opacity: 0;
}

.images__item--big {
  width: 242px;
  height: 165px;
  margin-bottom: 4px;
  position: relative;
}

.images__item--big .advert-edit-btn {
  position: absolute;
  border-radius: 4px;
}

.images__row {
  gap: 4px;
}

.images__item--small {
  width: 78px;
  height: 64px;
}

.images__item.overlay::before {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: rgba(6, 6, 6, 0.4);
  position: absolute;
  top: 0;
  left: 0;
}

.images__item.overlay span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  line-height: 100%;
  color: var(--second-color);
}

.dropdown__inner {
  display: flex;
  max-width: 100%;
}

.dropdown__item {
  width: 50%;
}

.dropdown__item input {
  pointer-events: all;
}

.dropdown-control input[type="number"] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}

.dropdown-control input[type="number"]::-webkit-outer-spin-button,
.dropdown-control input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

.suggestion-list {
  margin-top: 4px;
}

.suggestion-list li {
  margin-bottom: 4px;
  border-radius: 4px;
  padding: 4px 12px;
}

.suggestion-list li:hover {
  background-color: var(--gray-200);
}

.advertisment {
  padding-top: 24px;
  padding-bottom: 24px;
}

.catalog__card {
  margin-bottom: 12px;
  padding: 8px;
  position: relative;
}

.catalog__images {
  margin-right: 24px;
}

.catalog__images .images__item--big {
  width: 356px;
  height: 280px;
  margin-right: 8px;
  margin-bottom: 0;
}

.images__item--small {
  width: 72px;
  height: 64px;
  margin-right: 0;
  margin-bottom: 8px;
}

.catalog__img {
  width: 436px;
  height: 280px;
  margin-right: 24px;
}

.space-card__status {
  color: #FFB529;
  font-size: 14px;
  line-height: 100%;
}

.catalog__info-btn {
  font-size: 12px;
  line-height: 110%;
  padding: 8px;
}

.catalog__info .info__right {
  margin-left: 24px;
  min-width: 160px;
}

.catalog__info .space-card__price {
  width: 330px;
}

.catalog__info .space-card__address,
.catalog__info .space-card__metro {
  margin-bottom: 0;
}

.catalog__info .space-card__metro {
  margin-right: 12px;
}

.catalog__owner-status {
  font-size: 14px;
  line-height: 100%;
  color: var(--gray-500);
}

.sort .dropdown {
  width: max-content;
  padding: 8px;
}

:where(.sort, .mobile-sort) .dropdown ul:not(:last-child) {
  margin-bottom: 20px;
}

:where(.sort, .mobile-sort) .dropdown ul li {
  margin-bottom: 0;
  padding: 5px 12px;
  border-radius: 4px;
}

.sort .dropdown ul li:hover {
  background-color: var(--gray-200);
}

:where(.sort, .mobile-sort) .dropdown ul li.active {
  color: var(--main-color);
  font-weight: 700;
}

.mobile-sort .dropdown {
  display: block;
  box-shadow: none;
}

.advert-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--main-color);
  border-radius: 4px;

  position: absolute;
  top: 0;
  left: 0;
}

.advert-edit-btn .icon {
  margin-right: 0;
}



/* Popup */
.alphabet-group {
  margin-bottom: 24px;
}

.alphabet-group a {
  line-height: 200%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.no-btn {
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
}

.board {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 100vw;
  min-height: 100vh;
  display: none;
  z-index: 10;
  pointer-events: none;
}

.board.active {
  display: block;
  pointer-events: initial;
}

.board__wrapper {
  position: relative;
  background: #fff;
  border-radius: 12px 12px 0px 0px;
  padding: 24px 48px;
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  min-height: calc(100vh - 50px);
}

.board__top-wrap {
  margin-bottom: 12px;
}

.board__background {
  padding-top: 50px;
  background-color: rgba(29, 30, 32, 0.32);
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

.board__title {
  margin-bottom: 0;
}

.board__close {
  position: absolute;
  top: -24px;
  right: 24px;
  max-width: 16px;
  max-height: 16px;
  min-height: 16px;
  min-width: 16px;
}

.board__close svg {
  max-width: 16px;
  max-height: 16px;
  min-height: 16px;
  min-width: 16px;
}

.btn--little {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px 10px 18px;
}

.btn--little svg {
  max-width: 12px;
  max-height: 12px;
  margin-right: 10px;
}

.board__input {
  border: 1px solid #dee3ed;
  border-radius: 4px;
  padding: 14.5px 12px;
  min-width: 100%;
  font-size: 16px;
  line-height: 120%;
  margin-bottom: 16px;
}

.board__input:focus {
  outline-color: b;
}

.board__most-cities-wrap {
  margin-bottom: 40px;
}

.board__cols {
  column-width: 20%;
  column-count: 5;
  column-gap: 4%;
  padding-bottom: 48px;
}

.board__most-cities-wrap a + a {
  margin-left: 20px;
}

.board__close {
  display: none;
}

/* Popup */

/* Search cities */
.cities_search_container .cities_search_container {
  display: inline-block;
  padding: 40px 20px;
  width: 100%;
  overflow: hidden;
  line-height: 1.4em;
}
.cities_search_container .column {
  float: left;
  overflow: hidden;
  margin-right: 20px;
}
.cities_search_container .cities_item {
  display: block;
  width: 220px;
}
.cities_search_container .item_region {
  color: #695db5;
}
.cities_search_container .item_search {
  padding-left: 20px;
}
.cities_search_container a {
  color: #355a82;
  text-decoration: underline;
}
.cities_search_container .tiny-padding {
  display: block;
  padding-bottom: 16px;
}
/* Search cities */

/* mobile menu */
#js-mobile-menu .board__wrapper {
  min-height: 55vh;
  max-height: calc(100vh - 30px);
  border-radius: 24px 24px 0 0;

  bottom: 0;
  left: 0;
  position: absolute;
  width: 100%;
}

#js-mobile-menu {

}

.cover-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

.mobile-menu__link-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mobile-menu__sublist {
  position: absolute;
  top: 0;
  background-color: white;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding-top: 24px;
  border-radius: 24px 24px 0 0;
  display: none;
}

.mobile-menu__sublist li {
  margin-bottom: 16px;
}

.mobile-menu__sublist.active {
  display: block;
}

.divider {
  background: #111213;
  width: 100%;
  height: 1px;
  margin-top: 28px;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.mobile-menu__user {
  font-size: 18px;
  line-height: 120%;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gray-800);
}

.mobile-menu__counter {
  font-size: 10px;
  line-height: 120%;
  color: var(--gray-500);

  background: #f8f9fc;
  border-radius: 4px;
  padding: 4px 6px;
}

.mobile-menu__user-menu {
  overflow-y: auto;
  padding-top: 6px;
}

/* mobile menu */

/* OBJECT */




.object__description {
  width: 654px;
}

.object__description h2 {
  margin-bottom: 12px;
}

.object__description p {
  margin-bottom: 16px;
}

.object__row {
  display: flex;
  column-gap: 24px;
}

/* .object__images {
    margin-right: 24px;
} */

.object__images-desktop .images__item--big {
  width: 619px;
  height: 384px;
  margin-bottom: 0;
  margin-right: 16px;
}

.object__images-desktop .images__item--small {
  width: 165px;
  height: 120px;
  margin-bottom: 12px;
}

.object__info {
  padding: 16px;
  height: max-content;
}

.object__title {
  font-size: 16px;
  line-height: 120%;
  margin-bottom: 8px;
}

.object__buttons {
  margin-top: 24px;
}

.object__buttons .btn {
  margin-bottom: 8px;
}

.object__owner {
  text-align: center;
  font-size: 14px;
  line-height: 100%;
  color: var(--gray-500);
}

.object__info-add {
  display: flex;
  align-items: center;

  margin-bottom: 24px;

  color: var(--gray-500);
  font-size: 16px;
  line-height: 120%;
}

.object__info-add .space-card__date {
  font-size: inherit;
}

.object__id {
  margin-left: 8px;
  margin-right: 16px;
}

.object__shown {
  display: flex;
  align-items: center;

  margin-left: 16px;
  margin-right: 40px;
}

.collapsed {
  height: 0;
  padding: 0;
  visibility: hidden;
}

.object-specification {
  font-size: 16px;
  line-height: 120%;
}

.object-specification .link {
  font-size: inherit;
}

.object-specification__grid {
  display: grid;
  grid-template-columns: 40% 30%;
}

.object-specification__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.object-specification__col.left {
  display: grid;
  row-gap: 16px;
}

.object-specification__col.right > div{
  column-gap: 8px;
}

.object-specification__mark {
  background: var(--second-color);
  border-radius: 200px;
  padding: 4px 8px;
  width: max-content;
  height: max-content;

  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.object-specification__mark.disabled {
  color: var(--gray-500);
}

.object-specification__mark .icon {
  margin-right: 0;
  margin-left: 4px;
}

.select2-container {
  width: max-content;
}

.select2-container .select2-selection--single {
  height: auto;
}

.select2-container--default .select2-selection--single {
  background-color: transparent;
  border: 1px solid var(--gray-800);
  border-radius: 24px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 12px;
  padding-right: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: none;
  width: 24px;
  height: 24px;
  background: url(../img/svg/bx-chevron-down.svg) no-repeat center / contain;
  left: 0;
  top: 0;
  margin-left: 0;
  margin-top: 0;
}

.dynamic__text {
  margin-bottom: 32px;
  width: 685px;
}

.dynamic__bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 4px;
}

.bar__title {
  font-size: 12px;
  line-height: 100%;
  text-align: center;
}

.bar__month {
  font-size: 12px;
  line-height: 100%;
  text-align: center;
  color: var(--gray-500);
  margin-top: 4px;
}

.bar {
  background-color: var(--gray-300);
  border-radius: 4px 4px 0px 0px;
  width: 100%;
  min-height: 20px;
}

.bar__item:hover {
  cursor: pointer;
}

.bar__item:hover .bar__title,
.bar__item:hover .bar__month {
  color: var(--main-color);
}

.bar__item:hover .bar {
  background-color: var(--main-color);
}

.dynamic {
  padding-bottom: 84px;
}

.rent--background {
  background-color: var(--gray-300);
}
/* OBJECT */

@media (max-width: 1199.9px) {
  .h1--padding {
    padding-right: 300px;
  }

  .filter__body {
    justify-content: space-between;
  }

  .filter .select {
    width: 100%;
  }

  .filter__btn {
    width: 100%;
  }

  .filter .square,
  .filter .price {
    width: 49%;
  }

  .filter .place {
    width: auto;
    flex: 1 1 auto;
  }

  .popular__item .space-card__title {
    width: 230px;
  }

  .burger {
    margin-right: 20px;
  }

  .header__bottom {
    background: var(--second-color);
    box-shadow: 0px 0px 12px -3px #dee3ed;
    border-radius: 4px;
    padding: 18px 0;

  }

  .mobile__location {
    color: var(--gray-500);
  }

  .space-card__wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog__images .images__item--big {
    width: 260px;
    height: 207px;
  }

  .catalog__images .images__item--small {
    height: 46px;
  }

  .catalog__img {
    width: 340px;
    height: 207px;
  }

}

@media (max-width: 991.9px) {
  .h1--padding {
    padding-right: 0;
  }

  .filter .select {
    order: 2;
  }

  .filter__btn {
    order: 5;
    width: auto;
    flex: 1 1 auto;
  }

  .filter__btn-map {
    order: 4;
  }

  .filter .square,
  .filter .price {
    width: 48%;
    order: 3;
  }

  .filter .place {
    width: 100%;
    flex: 0 1 auto;
    order: 1;
  }

  .popular__item {
    width: 90%;
    margin: 0 12px;
  }

  .footer__menu {
    margin: 0 80px;
    justify-content: center;
  }

  .footer__link {
    margin-bottom: 12px;
  }

  .footer__copyright {
    flex-direction: column;
    align-items: center;
  }

  .find-space .card {
    margin-bottom: 16px;
    min-height: auto !important;
  }

  .board__cols {
    column-width: 33%;
    column-count: 3;
    column-gap: 4%;
  }

  .board__overflow {
    overflow: auto;
  }

  .rent h2,
  .sale h2 {
    margin-bottom: 16px;
  }

  .space-card__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog__images .images__item--big {
    width: 158px;
    height: 170px;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .catalog__images .images__item--small {
    width: 50px;
    height: 46px;
    margin-bottom: 0;
    margin-right: 4px;
  }

  .catalog__images .images__item--small:last-child {
    margin-right: 0;
  }

  .catalog__images .images__item.overlay span {
    font-size: 24px;
  }

  .catalog__img {
    width: 158px;
    height: 220px;
  }

  .catalog__info .space-card__price {
    width: 230px;
  }

  .catalog__info .info__right {
    min-width: 30px;
  }

  .catalog__info .space-card__metro {
    margin-right: 0;
    margin-bottom: 4px;
  }

  .catalog__info .space-card__address {
    margin-bottom: 4px;
  }

  .sort .dropdown {
    left: auto;
    right: 0;
  }
}

@media (max-width: 767.9px) {
  body {
    font-size: 16px;
    line-height: 120%;
  }

  .slider::after {
    content: none;
  }

  .popular__item {
    width: 100%;
    margin: 0 0 8px;
  }

  .popular__item .space-card__title {
    width: 195px;
  }

  .space-card__price {
    font-size: 20px;
    line-height: 120%;
  }

  .materials-card__img {
    width: 185px;
    height: 140px;
    flex-shrink: 0;
  }

  .materials-card__info {
    padding: 0 8px;
  }

  .about {
    width: 100%;
    font-size: inherit;
  }

  .footer__block {
    background-color: transparent;
    box-shadow: none;
  }

  .footer__menu {
    margin: 0 40px;
  }

  .contacts__mailto:nth-child(2) {
    display: none;
  }

  .footer__copyright {
    text-align: center;
  }

  .link {
    font-size: 16px;
  }

  .board__cols {
    column-width: 50%;
    column-count: 2;
    column-gap: 4%;
  }

  .board__wrapper {
    padding: 24px 8px;
  }

  .filter__tabs {
    background-color: transparent;
  }

  .filter__body {
    background-color: transparent;
  }

  .form-control input {
    background-color: transparent;
  }

  .catalog__images {
    margin-right: 12px;
  }

  .catalog__images .images__item--big {
    width: 128px;
    height: 85px;
  }

  .catalog__images .images__item--small {
    width: 62px;
    height: 44px;
  }

  .catalog__img {
    width: 128px;
    height: 133px;
    margin-right: 12px;
  }

  .catalog__info {
    flex-grow: 1;
  }
}

@media (max-width: 575.9px) {
  body {
    font-size: 14px;
    line-height: 140%;
  }

  h1 {
    font-size: 24px;
    line-height: 110%;
  }

  h2 {
    font-size: 18px;
    line-height: 26px;
  }

  h3 {
    font-size: 16px;
    line-height: 120%;
  }

  .btn {
    font-size: 14px;
    line-height: 120%;
  }

  .btn__counter {
    font-size: 10px;
    line-height: 120%;
  }

  .form-control label,
  .form-control input,
  .filter .square::after,
  .filter .price::after {
    font-size: 14px;
    line-height: 120%;
  }

  .filter__body {
    gap: 8px;
  }

  .images__item--big {
    width: 128px;
    height: 85px;
  }

  .images__item--small {
    width: 62px;
    height: 44px;
    margin-right: auto;
  }

  .images__item.overlay span {
    font-size: 24px;
  }

  .popular__img {
    width: 128px;
    height: 133px;
  }

  .find-space__wrapper > .row {
    gap: 20px;
  }

  .space-card__wrapper {
    gap: 8px;
  }

  .space-card {
    padding: 4px;
  }

  .space-card .space-card__title {
    height: 3em;
  }

  .space-card__text {
    display: none;
  }

  .space-card__price {
    width: 120px;
    font-size: 16px;
  }

  .space-card__address {
    width: 120px;
  }

  .space-card__params {
    font-size: 10px;
  }

  .space-card__metro, .space-card__address, .space-card__date {
    font-size: 10px;
    line-height: 120%;
  }

  .materials__tabs {
    width: 100%;
    overflow-x: scroll;
    padding-bottom: 3px;
  }

  .materials__tab {
    padding: 4px 16px;
    font-size: 14px;

  }

  .materials-card__title {
    font-size: 16px;
    line-height: 120%;
  }

  .materials-card__date {
    font-size: 10px;
    line-height: 120%;
  }

  .footer__menu {
    margin: 0;
  }

  .footer__block {
    padding-bottom: 0;
  }

  .copyright__link {
    font-size: 10px;
    line-height: 120%;
  }

  .link {
    font-size: 14px;
  }

  .no-sm-paddings {
    padding: 0;
  }

  .board__title {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
  }

  .board__cols {
    column-width: 100%;
    column-count: 1;
    column-gap: 0;
  }

  .alphabet-group {
    display: flex;
    flex-direction: column;
  }

  button.board__btn {
    display: none;
  }

  .board__most-cities-wrap {
    margin-bottom: 24px;
  }

  .board__input {
    margin-bottom: 4px;
  }

  .board__close {
    display: block;
  }

  .board__wrapper {
    padding: 24px 0px;
  }

  .header__bottom {
    margin-right: 0;
    margin-left: 0;
  }

  .filter {
    margin-top: 16px;
  }

  .rent h2,
  .sale h2 {
    margin-bottom: 8px;
  }

  .catalog__info .space-card__price {
    width: 180px;
  }

  .catalog__info .info__right {
    margin-left: 12px;
  }
}

@media (max-width: 425px) {

  .space-card__img {
    width: 152px;
    height: 128px;
  }

  .materials-card__img {
    width: 97px;
    height: 77px;
  }

  .rent .col-6:nth-child(even),
  .sale .col-6:nth-child(even) {
    padding-left: 4px;
  }

  .rent .col-6:nth-child(odd),
  .sale .col-6:nth-child(odd) {
    padding-right: 4px;
  }

  .find-space__counter {
    font-size: 10px;
    line-height: 100%;
  }

  .catalog__info .space-card__price {
    width: 160px;
  }
}

@media (max-width: 375.9px) {
  .popular__item .space-card__title {
    width: 160px;
  }

  .catalog__info .space-card__price {
    width: 137px;
  }

}

@media (max-width: 339.9px) {
  .popular__item .space-card__title {
    width: 100px;
  }

  .popular__img {
    width: 100px;
  }

  .images__item--big {
    width: 100px;
    height: 65px;
  }

  .images__item--small {
    width: 48px;
    height: 44px;
  }

  .space-card__img {
    width: 124px;
    height: 98px;
  }

  .space-card__price {
    width: 90px;
    font-size: 16px;
  }

  .space-card__address {
    width: 90px;
  }
}

/* mobile filter */
@media (max-width: 767.9px) {
  #js-filter .board__wrapper {
    min-height: 55vh;
    max-height: calc(100vh - 30px);
    bottom: 0;
    position: absolute;
    width: 100%;
  }

  .mobile-filter__item {
    display: none;
  }

  .mobile-filter__item.active {
    display: block;
  }

  .mobile-filter .form-control {
    flex: 1 1 auto;
    padding: 14px 32px 14px 12px;
  }
}

/* mobile filter */
