.filter {
	border-left: 1px solid #e0dfdf;
	background: #f3f3f3;
}
.filter:not(:last-child) {
	border-bottom: 1px solid #c9c9c9;
}
.filter h3 {
	position: relative;
	font-weight: bold;
	font-size: 14px;
	padding: 12px 40px 12px 20px;
	cursor: pointer;
}
.filter h3:after,
.filter.closed h3:after {
	content: '';
	position: absolute;
	right: 15px; top: calc(50% - 4px);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 7px solid #919191;
}
.filter.closed h3:after {
	border-top: 7px solid #919191;
	border-bottom: 0;
}
.filter h3 i {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 15px;
	height: 15px;
	margin-left: 5px;
	background: url(img/help.png) no-repeat 50% 50%;
}
.filter .hint {
	display: none;
	position: absolute;
	z-index: 10;
	top: calc(100% + 10px);
	left: -100px;
	right: -100px;
	padding: 10px;
	font-style: normal;
	font-size: 12px;
	font-weight: 400;
	text-align: center;
	background: #fff;
	border: 1px solid #e0e0e0;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.11);

}
.filter .hint:before {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	top: 1px;
	left: 50%;
	transform: translateX(-50%) translateY(-50%) rotate(135deg);
	border: 1px solid #e0e0e0;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.11);
}
.filter .hint:after {
	content: '';
	position: absolute;
	left: 50%;
	top: 1px;
	width: 16px;
	height: 16px;
	transform: translateX(-50%) translateY(-50%) rotate(135deg);
	background: #fff;
}
.filter h3 i:hover .hint {
	display: block;
}
.filter .inner {
	padding: 0 20px 20px;
}

/* чекбоксы */

.filter label {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 3px 0;
}
.filter label s {
	width: 25px;
	height: 25px;
	margin-right: 7px;
	background: url(img/checkbox.png);
}
.filter [type=checkbox]:checked + s {
	background-position: 0 -25px;
}
.filter label span {
	font-size: 14px;
	color: #888;
}
.filter [type=checkbox] {
	display: none;
}

/* слайдеры */

.filter .left {
	float: left;
}
.filter .right {
	float: right;
}
.filter .left span,
.filter .right span {
	color: #979494;
}
.filter [type=number] {
	width: 95px;
	height: 28px;
	padding: 0 5px;
	font-size: 14px;
	border-radius: 4px;
	border: 1px solid #c9c9c9;
}
.filter .range {
	margin: 15px 0;
	font-size: 14px;
	color: #1c1d22;
}
.filter .range span {
	color: #979494;
}
.filter .ui-slider-horizontal {
	width: 94%;
	margin: 0 auto 10px;
	height: 4px;
	cursor: pointer;
	background: #cecdcd;
	border: 0;
}
.filter .ui-slider-range {
	height: 4px !important;
	background: #2ba23f;
}
.filter .ui-slider-handle {
	width: 18px !important;
	height: 18px !important;
	top: -8px !important;
	cursor: pointer !important;
	border-radius: 50%;
	background: #2ba23f !important;
	border: 0 !important;
}

/* кнопки */

.filters {
	position: relative;
}
.filters_wrp {
	border-radius: 15px;
	overflow: hidden;
}
.filters .submit_wrp {
	display: none;
	position: absolute;
	z-index: 10;
	left: 280px;
	top: 10px;
	white-space: nowrap;
}
.filters .submit_wrp .text {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	height: 32px;
	line-height: 31px;
	cursor: default;
	padding: 0 8px 0 4px;
	font-size: 12px;
	border-top: 1px solid #c9c9c9;
	border-bottom: 1px solid #c9c9c9;
	background: #fff;
}
.filters .submit_wrp .text:before {
	content: '';
	position: absolute;
	width: 16px;
	height: 32px;
	left: -16px; top: -1px;
	background: url(img/angle-left.png);
}
.filters .submit_wrp i {
	font-style: normal;
}
.filters .submit {
	display: inline-block;
	vertical-align: middle;
	width: 80px;
	height: 32px;
	line-height: 32px;
	position: relative;
	left: -5px;
	color: #fff;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
	background: #d9401c;
	border-radius: 5px;
}
.filters .submit.wait {
	color: transparent;
	background: #d9401c url(img/ajax-loader-white.svg) no-repeat 50% 50% / 20px auto;
}

.filters a {
	display: block;
	width: 167px;
	padding: 11px 10px 9px;
	margin: 25px auto 0;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	color: #383637;
	border: 1px solid #383637;
	border-radius: 7px;
}
.filters a:hover {
	background: #f4f3f3;
}
