@import "../variables/colors";
@import "../variables/dimensions";

$rc-property-filter-showed-elements: 5;

.rc-property-filter {
  margin-bottom: $rc-property-filter-bottom-margin;
}

.rc-property-filter__section {
  margin-bottom: $rc-property-filter-bottom-margin;
}

.rc-property-filter__section-container {
  position: relative;
  overflow: auto;
  margin-bottom: $rc-property-filter-elements-margin;
  max-height: (
    ($rc-property-filter-elements-margin + ($font-size-base * 1.3)) * $rc-property-filter-showed-elements +
    ($rc-property-filter-elements-margin)
  );
}

.rc-property-filter__section-item {
  margin-left: 1px;
  margin-top: 0;
  margin-bottom: 0;

  &:not(:last-child) {
    margin-bottom: $rc-property-filter-elements-margin !important;
  }
}

.rc-property-filter__title {
  margin-bottom: $rc-property-filter-elements-margin;
  color: $blackColor;
  font-weight: 600;
  font-size: $rc-property-filter-title-font-size;
}

.rc-property-filter__search {
  margin-bottom: $rc-property-filter-elements-margin;
}

.rc-property-filter__no-results {
  margin-bottom: $rc-property-filter-elements-margin;
}