* {
  font-family: "AvanteInt", sans-serif;
  font-weight: 300;
  padding: 0;
  margin: 0;
  /* box-sizing: border-box; */
}

a {
  text-decoration: none;
}

/* Фильтр */
.controllers {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  gap: 10px;
  top: 105px;
  margin: 0 auto;
  max-width: var(--pcContent-width);
  z-index: 200;
}

/* Фильтр регионов */
.filters {
  font-size: 16px;
  width: 270px;
  height: auto;
  border-radius: 4px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  padding: 10px;
  /* убираем стандартную стрелку браузера */
  appearance: none;
  /* для Safari */
  -webkit-appearance: none;
  /* для Firefox */
  -moz-appearance: none;
  /* изображение стрелки*/
  background-image: url("/img/faq-toggle.png");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 10px;
  -webkit-filter: drop-shadow(2px 2px 4px rgba(31, 39, 27, 0.15)) drop-shadow(0px 0px 5px rgba(31, 39, 27, 0.35));
  filter: drop-shadow(2px 2px 4px rgba(31, 39, 27, 0.15)) drop-shadow(0px 0px 5px rgba(31, 39, 27, 0.35));
  /* Запрещаем перенос текста на новую строку */
  white-space: nowrap;
  /* Обрезаем все, что выходит за границы */
  overflow: hidden;
  /* Добавляем многоточие, если текст не помещается */
  text-overflow: ellipsis;
}

/* Стили для select в раскрытом состоянии */
.filters:focus {
  /* убираем стандартное выделение */
  outline: none;
}

.filters option {
  font-size: 16px;
  background-color: #ffffff;
  color: #000000;
  font-family: "AvanteInt";
  font-size: 18px;
}

.switch-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 239px;
  height: 44px;
  border-radius: 4px;
  background: #f28123;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  -webkit-filter: drop-shadow(2px 2px 4px rgba(31, 39, 27, 0.15)) drop-shadow(0px 0px 5px rgba(31, 39, 27, 0.35));
  filter: drop-shadow(2px 2px 4px rgba(31, 39, 27, 0.15)) drop-shadow(0px 0px 5px rgba(31, 39, 27, 0.35));
}

.switch-btn svg {
  margin: 4px;
}

.switch-map-icon {
  width: 120px;
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 3px;
  cursor: default;
}

.switch-list-icon {
  border-radius: 4px 0 0 4px;
  width: 119px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 5.5px 4px;
  color: #000000;
}

.switch-list .switch-list-icon {
  background-color: #ffffff;
}

.switch-map .switch-map-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #ffffff;
  -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15),
    0px 0px 5px rgba(0, 0, 0, 0.35);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15), 0px 0px 5px rgba(0, 0, 0, 0.35);
}

.switch-btn-text {
  font-size: 16px;
  line-height: 145%;
  margin: 5px 2px 2px 2px;
}

.switch-btn-text2 {
  font-size: 16px;
  line-height: 145%;
  margin: 8px 2px 2px 2px;
}

.container {
  margin: 0 auto;
  width: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* display: none; */
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

/* Карта */

#map {
  height: calc(100vh - 90px) !important;
  width: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

/* Элементы карты */

.ymaps-2-1-79-balloon__layout {
  background: none !important;
}

.ymaps-2-1-79-balloon {
  box-shadow: none !important;
  
}

.ymaps-2-1-79-balloon__content {
  background: transparent !important;
  padding: 0 !important;
}

.ymaps-2-1-79-balloon__content>ymaps {
  max-width: 229px !important;
    height: 380px !important;
    border-radius: 8px !important;
}

.ymaps-2-1-79-balloon__tail:after {
  display: none !important;
}

.ymaps-2-1-79-balloon__tail {
  display: none !important;
}

/* Крестик закрытия карточки на карте */
.ymaps-2-1-79-balloon__close-button {
  position: relative;
  width: 25px !important;
  height: 25px !important;
  background-image: url(/img/close_card.svg) !important;
  opacity: 1 !important;
  right: 12px;
  top: 12px;
}

.ymaps-2-1-79-balloon__close+.ymaps-2-1-79-balloon__content {
  margin-right: 0 !important;
}

/* Сoкращение кнопки слоёв до мини-кнопки без текста */
.ymaps-2-1-79-listbox__button-text,
.ymaps-2-1-79-listbox__button-arrow {
  display: none !important;
}


/* Стили карточки */
.catalog-item {
  max-width: 229px;
    height: 380px;
  background: #f7fbfb;
  -webkit-box-shadow: 0px 7px 12px rgba(31, 39, 27, 0.12),
    0px 16px 18px rgba(31, 39, 27, 0.1), 0px 18px 18px rgba(31, 39, 27, 0.08);
  box-shadow: 0px 7px 12px rgba(31, 39, 27, 0.12),
    0px 16px 18px rgba(31, 39, 27, 0.1), 0px 18px 18px rgba(31, 39, 27, 0.08);
  border-radius: 8px;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  cursor: pointer;
}

.trail-img {
  -webkit-filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.35));
  filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.35));
  border-radius: 8px;
  width: 229px;
  height: 165px;
}

.trail-spec {
  margin-top: var(--smallPC-margin);
  width: 200px;
  height: 49px;
  margin-bottom: 3px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  position: relative;
  top: 16px;
  bottom: 3px;
  right: 0px;
  margin: 0;
  margin-top: 10px;

}

.trail-spec>a {
  text-align: center;
}

.trail-info {
  padding: 14px 21px;
}

.tabcontent {
  display: none;
}

.trail-title-link h2 {
  font-family: "AvanteInt";
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  height: 54px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-bottom: 10px;
  text-decoration: none;  
}

#color-letters-cot {
  font-family: "AvanteInt";
  font-weight: 700;
}

.trail-location-black>p {
  background: url(/img/location-black.svg) no-repeat;
  background-position: 0% 0%;
  padding-left: 25px;
  font-size: 16px;
  line-height: 19px;
}

.size-card-elem-h2 {
  width: 201px;
  height: 58px;
}

.size-card-elem-p {
  height: 43px;
  font-weight: 300 !important;
}

.black-color {
  font-family: "Avante Bold";
  color: #000000;
  font-size: 16px;
}

.white-color {
  font-family: "a_AvanteInt";
  color: white;
}

.catalog-item-orange {
  background: #f28123;
}

.catalog-item-white {
  background: #ffffff;
}

.tabcontent.active {
  display: block;
}

@media (max-width: 1250px) {

  .controllers {
    max-width: var(--tabletContent-width);
  }
}

/* Мини-планшет */
@media (max-width: 1024px) {
  .controllers {
    max-width: var(--tabletMiniContent);
  }
}

/* Микро-планшет */
@media (max-width: 775px) {
  .controllers {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--tabletMicroContent);
  }

  .filters {
    /* Уменьшение ширины при надобности */
    width: auto;
    flex-shrink: 1;
    min-width: 230px;
    max-width: 235px;
  }
}

@media (max-width: 525px) {

  .controllers {
    max-width: var(--mobileContent);
  }

  /* Мини-кнопки переключения "Список - карта" */
  .switch-btn-text,
  .switch-btn-text2 {
    display: none;
  }

  .switch-list-icon,
  .switch-map-icon,
  .switch-btn {
    width: auto;
  }
}