/*! 
-------------------------------------------
CUSTOM STYLES
-------------------------------------------
NOTE: PLEASE DO NOT edit base.css.min
      for custom styles use custom.css only
-------------------------------------------
*/
.adv__items .item{font-size: 20px;}
.editor .policy-list,
.editor .policy-list ul {
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
  counter-reset: none !important;
}

.editor .policy-list li {
  list-style: none !important;
  counter-increment: none !important;
}

.editor .policy-list li::marker {
  content: "" !important;
}
/* Fix Swiper inside rent tabs */
.section--rent .r_place,
.section--rent .r_place__image,
.section--rent .r_place__image .promoCarousel,
.section--rent .r_place__image .swiper {
  min-width: 0;
  max-width: 100%;
}

.section--rent .r_place__image .promoCarousel {
  width: 100%;
  overflow: hidden;
}

.section--rent .r_place__image .promoCarousel .swiper-slide {
  width: 100% !important;
  min-width: 0;
}

.section--rent .r_place__image .promoCarousel .card {
  width: 100%;
}

.section--rent .r_place__image .promoCarousel .card__image {
  width: 100%;
  overflow: hidden;
  --ratio-spacer: 67%;
}

/* перебиваем старое правило .r_place__image picture height:314px */
.section--rent .r_place__image .promoCarousel picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
}

.section--rent .r_place__image .promoCarousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.mobileUserbar {
  border: 1px solid rgb(255, 255, 255);
}

@media (max-width: 575.98px) {
  .section--rent .r_tabs__content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .section--rent .r_place .r_place__content {
    padding-right: 0;
  }

  .section--rent .r_place__image .promoCarousel .card__image {
    --ratio-spacer: 72%;
  }

  .section--rent .r_place__image .promoCarousel .swiper__buttons {
    left: 10px;
    bottom: 10px;
  }

  .section--rent .r_place__image .promoCarousel .swiper__buttons .btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1366px) {
    .adv__items .item {
        padding-right: 170px
    }
    .contactsGrid{
      grid-template-columns: repeat(auto-fit, minmax(24%, 1fr));
    }
    .section--market{
      background: white;
    }
}
@media (max-width: 1180px) {
   .nav--main .nav__item.is-dd .nav__item_link{
    font-size: 11px;
   }
}

@media (max-width: 991.98px) {
    .footer .footer__row--bottom {
        padding: 15px 15px 80px 38px
    }
    .contactsGrid{
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .nav--main .nav__item.is-dd .nav__item_link{
    font-size: inherit;
   }
}
/* Fix mobile input focus zoom + horizontal scroll */
@media (max-width: 767.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .layout-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  input,
  textarea,
  select,
  .input {
    font-size: 16px !important;
  }
  .r_popup[data-name=cookie][data-type=window] {
    bottom: 70px;
  }
}
@media (max-width: 575px) {
  .r_popup[data-name=cookie][data-type=window] {
    bottom: 70px;
  }
  .blocksGrid .item .item__title {
    padding-right: 0%;
    font-size: 10px;
  }
  .promoGrid .card {
    min-height: 170px;
    padding-right: 125px;
    padding-bottom: 20px;
  }

  .promoGrid .card .card__float {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    bottom: 0;
    width: 120px;
    height: 100%;
  }

  .promoGrid .card .card__float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }

  .promoGrid .card .card__title,
  .promoGrid .card .card__description,
  .promoGrid .card .card__footer {
    position: relative;
    z-index: 2;
  }

  .promoGrid .card .card__footer {
    max-width: calc(100% - 20px);
  }
}
