* {
	box-sizing: border-box;
}

.filter-form > * {
	margin-bottom: 1rem;
}

.filter-form__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.filter-form__form > * {
	margin-right: 1rem;
	margin-bottom: .5rem;
}

.filter-form__item {
	position: relative;
}

.filter-form__item.filter-form__item--select {
	display: inline-block;
	position: relative;
}

.filter-form__item--select .filter-form__label {
	position: absolute;
	bottom: .8rem;
	left: .5rem;
	bottom: .5rem;
	padding-right: 1.5rem;
	transition: bottom .3s ease;
	pointer-events: none;
}

.filter-form__item select {
	display: none;
}

.custom-select {
	display: inline-block;
	position: relative;
	min-width: 189px;
	padding: 1.25rem .5rem .25rem .5rem;
	height: 2.8rem;
	background-color: white;
    border-bottom: 1px solid #999;
}

.custom-select__selected {
	height: 1rem;
	position: relative;
}

.custom-select.selected ~ .filter-form__label {
	bottom: 2rem;
}

.custom-select .custom-select__options {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-color: white;
	border: 1px solid lightgray;
	max-height: calc(10 * 2.5rem);
    overflow: auto;
}

.filter-form__item--select.active .custom-select .custom-select__options {
	display: block;
	top: 100%;
	z-index: 1;
}

.custom-select .custom-select__options .custom-select__option {
	position: relative;
	padding: .5rem;
	border-bottom: 1px solid lightgray;
}

.custom-select .custom-select__options .custom-select__option.active {
	background-color: #E8EAF6;
}

.custom-select .custom-select__options .custom-select__option:nth-last-child() {
	border-bottom: none;
}

.custom-select__option.custom-select__option--mult:before {
	content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
	margin-right: 10px;
	vertical-align: text-top;
	border: 2px solid grey;
    background: white;
	border-radius: 2px;
}

.custom-select__option.custom-select__option--mult.active:before {
	border-color: lightgrey;
}

.custom-select__option.custom-select__option--mult.active:after {
	content: '';
    display: inline-block;
	position: absolute;
    width: 6px;
    height: 12px;
	top: 4px;
	left: 14px;
	margin-right: 10px;
	vertical-align: text-top;
	border-right: 3px solid grey;
	border-bottom: 3px solid grey;
    background: transparent;
	transform: rotate(45deg);
}

.filter-form__item.filter-form__item--text input{
	padding: 1.25rem .5rem .25rem .5rem;
	height: 2.8rem;
	border: none;
	background-color: white;
    border-bottom: 1px solid #999;
}

.filter-form__item.filter-form__item--text input:focus {
	outline: none;
}

.filter-form__item.filter-form__item--text input + .filter-form__label {
	position: absolute;
	left: .5rem;
	bottom: .25rem;
	font-size: 1rem;
	transition: bottom .3s ease;
}

.filter-form__item.filter-form__item--text input:focus + .filter-form__label,
.filter-form__item.filter-form__item--text input.active + .filter-form__label {
	bottom: 2rem;
}

.filter-form__item.filter-form__item--checkbox {
	position: relative;
}

.filter-form__item.filter-form__item--checkbox {
	position: relative;
}

.filter-form__item.filter-form__item--checkbox .custom-checkbox__options {
	margin-top: 1.25rem;
	padding: .5rem 0;
}

.custom-checkbox__options + .filter-form__label {
	position: absolute;
	top: 0;
	padding-bottom: .15rem;
	border-bottom: 2px solid #999;
}

.filter-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

}

.filter-form-chip {
	margin-right: .25rem;
	margin-bottom: .25rem;
	padding: .25rem .5rem;
	border-radius: 16px;
	background-color: #e0e0e0;
}

.filter-form-chip .filter-form-chip__remove-icon {
	cursor: pointer;
}

.filter-form-chip_wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.filter-form-reset {
	cursor: pointer;
	padding: .25rem;
}

.custom-select__arrow {
	width: 1rem;
	height: 1rem;
	display: inline-block;
	position: absolute;
	right: 0;
	margin: 0 .5rem;
  }

  .custom-select__arrow span {
	top: 0.5rem;
	position: absolute;
	width: 0.65rem;
	height: 0.1rem;
	background-color: #333;
	display: inline-block;
	transition: all 0.2s ease;
  }

  .custom-select__arrow span:first-of-type {
	left: 0;
	transform: rotate(45deg);
  }

  .custom-select__arrow span:last-of-type {
	right: 0;
	transform: rotate(-45deg);
  }

  .filter-form__item--select.active .custom-select__arrow span:first-of-type {
	transform: rotate(-45deg);
  }

  .filter-form__item--select.active .custom-select__arrow span:last-of-type {
	transform: rotate(45deg);
  }

  .custom-checkbox__options input[type=checkbox] {
	  display: none;
  }

  .custom-checkbox__options input + label {
	  position: relative;
	  padding-right: .5rem;
  }

  .custom-checkbox__options input + label:before {
	content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
	margin-right: 10px;
	vertical-align: text-top;
	border: 2px solid grey;
    background: white;
	border-radius: 2px;
}

.custom-checkbox__options input:checked + label:before {
	border-color: lightgrey;
}

.custom-checkbox__options input:checked + label:after {
	content: '';
    display: inline-block;
	position: absolute;
    width: 6px;
    height: 12px;
	bottom: 6px;
	left: 6px;
	margin-right: 10px;
	vertical-align: text-top;
	border-right: 3px solid grey;
	border-bottom: 3px solid grey;
    background: transparent;
	transform: rotate(45deg);
}