.main-filter {
	margin: 20px 0 0;
	padding: 30px;
	background-color:#F8F8F8;
	font-family: 'Source Sans Pro', Arial, sans-serif;
}

.mainpage-filter > .main-filter {
	margin: 20px 0 30px;
}

.main-filter input,
.main-filter select {
	background-color: #fff;
	border: 1px solid #E5E5E5;
	border-radius: 3px;
	color:#535355;
	font-size: 14px;
	width: 100%;
	height: 40px;
	padding: 0 0 0 9px;
}

.main-filter select {
	-webkit-appearance: none;
	appearance: none;
	background: url('/newtemplate/images/arrow-down-select.svg') no-repeat #ffffff;
	background-position: right 10px center;
}

.main-filter label {
	color:#535355;
	display: block;
	font-size: 16px;
	line-height: 20px;
	margin: 0 0 5px;
}

.main-page-form .filter-select input::placeholder {
	color: #B7B7B7;
}

.main-page-form .filter-select,
.main-page-form .filter-input,
.main-page-form .filter-submit {
	margin: 10px 0 0;
}

.main-page-form label {
	display: block;
}

.filter-submit {
	margin-top: 10px;
}

.filter-submit button[type="submit"] {
	margin-top: 16px;
	width: 100%;
	height: 48px;
	line-height: 48px;
}

.from-to {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: 100%;
}

.from-to div:not(.field-separator) {
	width: 44.61%;
}

.main-filter .from-to input,
.main-filter .from-to select {
	width: 100%;
}

.filter-select.from-to {
	width: 100%;
	align-items: flex-end;
	justify-content: space-between;
}

.hidden-filter-flex .filter-select.visuallyhidden + .filter-select {
	width: 204px;
}

.field-separator {
	position: relative;
	width: 0;
	height: 100%;
	align-self: flex-end;
}

.field-separator::before {
	content: ' ';
	background: #535355;
	position: absolute;
	display: block;
	right: -7px;
	bottom: 19.5px;
	width: 14px;
	height: 1px;
}

.field-to {
	align-self: flex-end;
}

.checkbox-block {
	width: 100%;
	display: flex;
	flex-direction: column;
	margin: 10px 0 0 7px;
}

.filter-checkbox {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 8px;
}

.filter-checkbox input {
	margin-right: 5px;
}

.filter-checkbox label {
	cursor: pointer;
	position: relative;
	margin: 0;
	padding: 0 0 0 28px;
}

.main-filter .filter-checkbox input {
	position: absolute;
	cursor: pointer;
	opacity: 0;
	height: 0;
	width: 0;
	top: 0;
	left: 0;
}

.filter-checkbox .checkmark {
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
	border-radius: 4px;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
}

.filter-checkbox .checkmark::after {
	content: '';
	position: absolute;
	left: 5px;
	top: -3px;
}

.filter-checkbox input:checked ~ .checkmark:after {
	content: url('../images/checkbox-mark.svg');
}

.form-show-more {
	background-color: #F8F8F8;
	color:#535355;
	font-size: 16px;
	line-height: 20px;
	margin: 12px 0 0 5px;
}

.show-more-button,
.resetform {
	cursor: pointer;
}

.show-more-button {
	margin: 0 0 12px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.show-more-fields {
	position: relative;
}

.show-more-button span.show-more-arrow {
	background: linear-gradient(180deg, #C6C6C6 0%, #FFFFFF 100%);
	border-radius: 50%;
	display: inline-block;
	position: relative;
	width: 22px;
	height: 22px;
	z-index: 1;
	margin: 0 9px 0 0;
}

.show-more-button span.show-more-arrow::before {
	background: linear-gradient(180deg, #FAFAFA 0%, #DBDBDB 100%);
	border-radius: 50%;
	content: '';
	position: absolute;
	left: 1px;
	top: 1px;
	width: 20px;
	height: 20px;
	z-index: 2;
}

.show-more-button span.show-more-arrow::after {
	content: '';
	background: url('../images/icon_advanced_open.svg') center center no-repeat;
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	z-index: 3;
	transition: all ease-in-out .2s;
}

.show-more-button.opened span.show-more-arrow::after {
	transform: rotate(180deg);
}

.resetform {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.resetform-x {
	background: linear-gradient(180deg, #C6C6C6 0%, #FFFFFF 100%);
	border-radius: 50%;
	display: inline-block;
	position: relative;
	width: 22px;
	height: 22px;
	z-index: 1;
	margin: 0 9px 0 0;
}

.resetform-x::before {
	background: linear-gradient(180deg, #FAFAFA 0%, #DBDBDB 100%);
	border-radius: 50%;
	content: '';
	position: absolute;
	left: 1px;
	top: 1px;
	width: 20px;
	height: 20px;
	z-index: 2;
}

.resetform-x::after {
	content: '';
	background: url('../images/icon_clear.svg') center center no-repeat;
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	z-index: 3;
}

.resetform-txt {
	display: inline-block;
	position: relative;
}

.resetform-txt::before {
	border-bottom: 1px dotted #535355;
	content: '';
	width: 100%;
	position: absolute;
	bottom: 1px;
	left: 0;
}

.show-more-fields::before {
	border-bottom: 1px dotted #535355;
	content: '';
	width: 100%;
	position: absolute;
	bottom: 1px;
	left: 0;
}

.hidden-filter-fields {
	display: none;
}

.hidden-filter-flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

.hidden-filter-flex .filter-select:not(.from-to) {
	width: 46%;
}

.hidden-filter-flex .filter-select:first-child {
	width: 100%;
}

.catalog-header {
	display: flex;
	flex-direction: column;
	padding: 0 20px;
	position: relative;
	z-index: 5;
}

.salonform {
	margin: 3px 0 15px 30px;
}

.salonform__select-container {
	overflow: hidden;
	position: relative;
}
.salonform__select-container::after {
	content: '';
	background-color: #535355;
	width: 100%;
	height: 1px;
	position: absolute;
	left: 0;
	bottom: 0;
}

.salonform select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border: none;
	/* border-bottom: 1px dotted currentColor; */
	background: #fff;
	color: #535355;
	font-size: 18px;
	padding: 0;
	margin: 0;
	text-decoration: underline;
}

.salonform select::-ms-expand {
	display: none;
}

.dropdown-salon-menu-block {
	color: #535355;
	font-size: 18px;
	height: 35px;
}

.dropdown-button span {
	border-bottom: 1px dotted currentColor;
	display: flex;
	line-height: normal;
	align-items: center;
	position: relative;
	white-space: nowrap;
}

.dropdown-button svg {
	margin: 12px 0 0 10px;
	width: 6px;
	height: 3px;
}

.dropdown-menu {
	display: none;
	flex-direction: column;
	align-items: flex-start;
}

.dropdown-menu.open {
	display: flex;
}

.dropdown-button {
	cursor: pointer;
	display: flex;
	height: 24px;
}

.dropdown-salon-menu {
	border-top: 1px solid transparent;
	padding-top: 8px;
}

.dropdown-salon-menu-block.open {
	display: flex;
	flex-direction: column;
	position: relative;
	min-width: 185px;
	margin: 0 0 0 -15px;
	transform: translateY(0);
}

.dropdown-salon-menu-block.open .dropdown-salon-menu {
	background-color: #fff;
	border: 1px solid #e5e5e5;
	padding: 8px 14px 13px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

.dropdown-salon-menu-block.open .menu-item {
	border-bottom: 1px dotted currentColor;
	color: #535355;
	display: inline-flex;
	font-size: 14px;
	white-space: nowrap;
	padding: 10px 0 0;
}

@media only screen and (min-width: 1160px) {
	.main-page-form {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.main-page-form .filter-select,
	.main-page-form .filter-input,
	.main-page-form .filter-submit {
		margin: 0;
	}

	.visible-filter-fields {
		width: 100%;
		display: flex;
		flex-direction: row;
		flex: nowrap;
		justify-content: space-between;
	}

	.visible-filter-fields .filter-select,
	.visible-filter-fields .filter-input {
		width: 204px;
	}

	.hidden-filter-flex {
		padding: 10px 0 0;
		justify-content: flex-start;
		gap: 0 20px;
	}

	.hidden-filter-flex .filter-select:first-child,
	.hidden-filter-flex .filter-select:not(.form-to):first-child,
	.hidden-filter-flex .filter-select.from-to,
	.hidden-filter-flex .filter-input.from-to {
		width: 204px;
		align-items: flex-end;
	}

	.hidden-filter-flex .filter-select:not(.from-to) {
		width: 91px;
	}

	.main-page-form label {
		white-space: nowrap;
	}

	.checkbox-block {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		margin: 0;
	}

	.filter-checkbox {
		margin: 23px 30px 0 0;
	}

	.main-filter .filter-checkbox input {
		margin: 0 5px 0 0;
	}

	.form-show-more {
		margin: 16px 0 0;
		display: flex;
		flex-direction: row;
	}

	.show-more-button {
		margin: 0 35px 0 0;
	}

	.filter-submit button[type="submit"] {
		margin: 16px 0 0;
		width: 204px;
	}

	.catalog-header {
		align-items: center;
		flex-direction: row;
		padding: 0;
	}

	.catalog-title {
		padding: 0;
	}

	.dropdown-salon-menu-block {
		margin: 0 0 15px 30px;
	}

	.dropdown-salon-menu-block.open {
		margin: 0 0 15px 15px;
		transform: translateY(3px);
	}
	
	.dropdown-salon-menu-block.open .dropdown-salon-menu {
		padding: 5px 14px 13px;
	}

	.dropdown-salon-menu-block.open .menu-item {
		cursor: pointer;
		transition: all ease-in-out .23s;
	}

	.dropdown-salon-menu-block.open .menu-item:hover {
		border-bottom: 1px dotted transparent;
	}
}