/* selected-filter */

.selected-filters-component {
  padding-bottom: 30px;
  margin-top: 30px;
}


.selected-filters-component ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  align-items: center;
}

.selected-filters-component li {
  font-size: 12px;
  line-height: 15px;
  margin-right: 10px;
  color: #4d4d4d;
  margin-bottom: 5px;
}

.selected-filter-title-wrap {
  margin-right: 15px;
}

.selected-filter-main-title {
  font-weight: 700;
  font-size: 13px;
  color: #1fa29c;
  text-transform: uppercase;
}

.selected-filter-item-control {
  color: #4d4d4d;
}

.selected-filter-item-control:hover {
  color: #000000;
}

.selected-filter-item-control {
  position: relative;
  display: flex;
  align-items: center;
}

.selected-filter-item-control:before {
  content: "";
  background: url(/themes/custom/gff/components/elements/selected-filter/img/Remove_Selected.svg) no-repeat center center transparent;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background-size: 12px;
  margin-top: 0px;
  flex-shrink: 0;
}

.selected-filter-item-control:hover:before {
  background-image: url(/themes/custom/gff/components/elements/selected-filter/img/Remove_Selected_hover.svg);
}

.selected-filter-category-name span {
  font-weight: 600;
}

.selected-filter-item-control.without-close-opt {
  pointer-events: none;
}

.selected-filter-item-control.without-close-opt:before {
  display: none;
}

.selected-filter-hidden {
  display: none !important;
}

/* category */

.selected-filter-category-name:not(.first-category) {
  padding-left: 10px;
  position: relative;
}

.selected-filter-category-name:not(.first-category):after {
  content: "";
  width: 1px;
  height: 14px;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -7px;
  background: var(--site-primary-color);
  display: block;
}

/* more opt */

.selected-filter-more-btn {
  color: #4d4d4d;
  cursor: pointer;
  font-weight: 500;
}

.selected-filter-more-btn strong {
  font-weight: 500;
  color: #1fa29c;
  text-decoration: underline;
}

.selected-filter-more-btn:hover strong {
  color: #4d4d4d;
}

.selected-filter-more-btn.is-active .more-opt-btn,
.selected-filter-more-btn .less-opt-btn {
  display: none;
}

.selected-filter-more-btn.is-active .less-opt-btn {
  display: block;
}

/* hide title & category name */
.selected-filters-list-block.hide-labels .selected-filter-title-wrap,
.selected-filters-list-block.hide-labels .selected-filter-category-name {
  display: none;
}

/* with-reset-option */

.selected-filters-component.with-reset-option {
  display: flex;
  align-items: center;
}

.selected-filters-component.with-reset-option .selected-filters-component-inner {
  padding-right: 20px;
  margin-right: 20px;
  position: relative;
}

.selected-filters-component.with-reset-option .selected-filters-component-inner:after {
  content: "";
  display: block;
  width: 1px;
  background: #dbdbdb;
  height: calc(100% - 4px);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.selected-filters-component.with-reset-option .reset-all-filters {
  margin-bottom: 0px;
  display: flex;
  white-space: nowrap;
}

.selected-filters-component.with-reset-option .selected-filters-list-block {
  gap: 8px 0;
}

.selected-filters-component.with-reset-option .selected-filter-more-opt,
.selected-filters-component.with-reset-option .selected-filter-item {
  line-height: 17px;
  margin-bottom: 0;
}

.selected-filters-component.with-reset-option .selected-filter-item-control:before {
  margin-right: 8px;
}

/* disable-reset */
.disable-reset-opt.selected-filters-component .reset-all-filters,
.disable-reset-opt.selected-filters-component .selected-filters-component-inner:after {
  display: none;
}

.disable-reset.selected-filters-component .selected-filters-component-inner {
  padding-right: 0;
  margin-right: 0;
}

/* after title section */
.visualisation-head-section:has(+.selected-filters-component.pos-after-title) {
  margin-bottom: 15px;
}

.selected-filters-component.pos-after-title {
  margin-top: 0;
}

@media only screen and (max-width: 767px) {
  .selected-filters-component {
    margin-top: 20px;
    padding-bottom: 20px;
  }

  .selected-filters-clear {
    width: 100%;
    display: flex;
    padding-top: 15px;
  }

  /* with reset opt */
  .selected-filters-component.with-reset-option {
    flex-direction: column;
    align-items: flex-start;
  }

  .selected-filters-component.with-reset-option .selected-filters-component-inner:after {
    display: none;
  }

  .selected-filters-component.with-reset-option .selected-filters-component-inner {
    padding-right: 0;
    margin-right: 0;
  }

  .selected-filters-component.with-reset-option .reset-all-filters {
    margin-top: 16px;
  }
}
