.filter {
	border-bottom: 1px solid #c9c9c9;
	border-left: 1px solid #c9c9c9;
	background: #ececec;
}
.filter h3 {
	position: relative;
	font-size: 16px;
	padding: 12px 40px 12px 20px;
	cursor: pointer;
	background: url(img/arrow-up.png) no-repeat 94% 50%;
}
.filter.closed h3 {
	background-image: url(img/arrow-down.png);
}
.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: flex-start;
	cursor: pointer;
	padding: 2px 0;
}
.filter label s {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-right: 7px;
	background: url(img/checkbox.png) no-repeat 50% 50% / contain;
}
.filter [type=checkbox]:checked + s {
	background-image: url(img/checkbox-checked.png);
}
.filter [type=checkbox] {
	display: none;
}

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

.filter .left {
	float: left;
}
.filter .right {
	float: right;
}
.filter .left span,
.filter .right span {
	font-size: 16px;
	color: #979494;
}
.filter [type=number] {
	width: 90px;
	height: 28px;
	padding: 0 5px;
	font-size: 14px;
	border-radius: 4px;
	border: 1px solid #c9c9c9;
}
.filter .range {
	margin: 15px 0 10px;
	font-size: 14px;
	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: #E12019;
}
.filter .ui-slider-handle {
	width: 18px !important;
	height: 18px !important;
	top: -8px !important;
	cursor: pointer !important;
	border-radius: 50%;
	background: #E12019 !important;
	border: 0 !important;
}

/* кнопки */

.filters {
	position: relative;
}
.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: #e12019;
	border-radius: 5px;
}
.filters .submit.wait {
	color: transparent;
	background: #e12019 url(img/ajax-loader-white.svg) no-repeat 50% 50% / 20px auto;
}
.filters .submit:hover {
	background: #e63257;
}

.filters a {
	display: block;
	width: 165px;
	height: 30px;
	margin: 17px auto 0;
	line-height: 30px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	color: #383637;
	border: 1px solid #383637;
	border-radius: 7px;
}
.filters a:hover {
	background: #f4f3f3;
}
