.filter-panel {
  padding: 13px 24px 11px 23px;
  margin-bottom: 20px;
}
.filter-panel__filter .controls-hr {
  top: -3px;
  margin: 0 17px 0 13px;
}
.filter-panel__filter .bx-filter-title {
  cursor: pointer;
  display: inline-block;
}
.filter-panel__filter .bx-filter-title .svg {
  top: 0;
}
.filter-panel__filter .bx-filter-title span {
  margin: 0 0 0 8px;
}
.filter-panel__filter.filter-panel__filter--visible {
  display: block;
}

.dropdown-menu-wrapper {
  position: absolute;
  top: 100%;
  left: -15px;
  display: none;
  z-index: 107;
}
.dropdown-menu-wrapper .dropdown-menu-inner {
  background: #fff;
  background: var(--card_bg_black);
  text-align: left;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 7px 0px;
}
.dropdown-select {
  cursor: pointer;
  position: relative;
}
.dropdown-select__title {
  padding: 5px 0;
}
.dropdown-select__title .svg {
  margin: -4px 0 0 4px;
}
.dropdown-select__list-link {
  display: block;
  padding: 5px 25px 5px 15px;
  white-space: nowrap;
}
.dropdown-select__list-link--current {
  cursor: default;
  font-weight: bold;
}
.dropdown-select__title svg {
  transition: transform 0.3s ease;
}
.dropdown-select__title.opened svg {
  transform: rotate(180deg);
}

.controls-view {
  margin: 0 -10px;
  font-size: 0px;
}

.controls-view__link {
  display: inline-block;
  vertical-align: top;
  padding: 2px 10px;
}
.controls-view__link--current path {
  fill: var(--fill_dark_light);
}

.controls-hr {
  width: 21px;
  position: relative;
  height: 1px;
  margin: 0 29px 0 9px;
  display: inline-block;
  top: 3px;
  background: #e5e5e5;
  background: var(--stroke_black);
}

@media (min-width: 992px) {
  .filter-panel--filter-VERTICAL .filter-panel__filter {
    display: none;
  }
}
@media (max-width: 991px) {
  .controls-linecount {
    display: none;
  }
}
@media (min-width: 768px) {
  .filter-panel--filter-COMPACT .filter-panel__filter {
    display: none;
  }
  .filter-panel--filter-COMPACT {
    margin-bottom: 16px;
  }
}
@media (max-width: 767px) {
  .controls-view {
    display: none;
  }
}
@media (max-width: 500px) {
  .filter-panel__filter .controls-hr {
    display: none;
  }
  .filter-panel__main-info {
    justify-content: space-between;
    white-space: nowrap;
  }
  .filter-panel__part-left {
    width: 100%;
  }
}

@media (max-width: 450px) {
  body .filter-panel {
    border: none;
    padding: 0px;
  }
  .filter-panel .dropdown-select:not(.dropdown-select--wide) .dropdown-select__title {
    overflow: hidden;
    max-width: 170px;
    text-overflow: ellipsis;
    position: relative;
    padding-right: 10px;
  }
  .filter-panel .dropdown-select:not(.dropdown-select--wide) .dropdown-select__title .svg {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -1px;
  }
  .filter-panel .dropdown-select:not(.dropdown-select--wide) .dropdown-menu-wrapper {
    left: auto;
    right: 0;
  }
  .filter-panel .line-block__item:first-child:not(.filter-panel__filter) .dropdown-select:not(.dropdown-select--wide) .dropdown-menu-wrapper {
    left: 0;
    right: auto;
  }
}
