/* css */
.region_dropdown.av-new_modal_ {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	background: rgba(000,000, 000, .5);
}

.region_dropdown.av-new_modal_ .town-select {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	border-radius: 6px;
	background: #fff;
	padding: 20px;
	width: 350px;
	height: 180px;
  top: 50%;
  left: 50%;
  margin: -90px 0 0 -175px;
	position: fixed;
}
.region_dropdown.av-new_modal_ .town-select.av-country {
	height: 236px;
	margin: -118px 0 0 -175px;
}
.region_dropdown.av-new_modal_ .town-select.av-country_third {
	height: 378px;
	margin: -189px 0 0 -175px;
}
.region_dropdown.av-new_modal_ .town-select div.close {
	width: 100%;
	text-align: right;
}
.region_dropdown.av-new_modal_ .town-select div.close button {
	border: none;
	background: transparent;
	cursor: pointer;
}
.region_dropdown.av-new_modal_ .town-select p {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 19px;
	text-align: center;
	color: #404040;
	margin-bottom: 30px;
}
.region_dropdown.av-new_modal_ .town-select p span {
	color: #247DE2;
	font-size: inherit;
	line-height: inherit;
}
.region_dropdown.av-new_modal_ .town-select .city-select_wrapp,
.region_dropdown.av-new_modal_ .town-select .country-select_wrapp,
.region_dropdown.av-new_modal_ .town-select .town-select_wrapp {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: center;
	margin-bottom: 20px;
}
.region_dropdown.av-new_modal_ .town-select .town-select_wrapp a.town-close {
	min-width: 107px;
	background: #247DE2;
	border-radius: 5px;
	color: #fff;
	padding: 7px 5px 6px;
}
.region_dropdown.av-new_modal_ .town-select .town-select_wrapp a.town-open {
	min-width: 107px;
	background: #FFFFFF;
	color: #247DE2;
	border: 1px solid #247DE2;
	box-sizing: border-box;
	border-radius: 5px;
	padding: 7px 5px 6px;
}

.region_dropdown.av-new_modal_ .town-select .country-select_wrapp a {
	min-width: 90px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: center;
	padding: 10px 2px;
	border-radius: 5px;
	font-family: 'Roboto', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	text-align: center;
	color: #000000;
	border: 1px solid #fff;
	transition: all .25s ease-in-out;
}
.region_dropdown.av-new_modal_ .town-select .country-select_wrapp a:first-of-type {
	margin-right: 20px;
}
.region_dropdown.av-new_modal_ .town-select .country-select_wrapp a img {
	margin-bottom: 15px;
}
.region_dropdown.av-new_modal_ .town-select .country-select_wrapp a:hover,
.region_dropdown.av-new_modal_ .town-select .country-select_wrapp a:active,
.region_dropdown.av-new_modal_ .town-select .country-select_wrapp a:focus {
	border: 1px solid #247DE2;
	box-sizing: border-box;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08);
	color: #247DE2;
	transition: all .25s ease-in-out;
}

/*стилизация поиска*/
.region_dropdown.av-new_modal_ fieldset.form-city {
	width: calc( 100% - 56px);
}
.region_dropdown.av-new_modal_ fieldset.form-city .wrap-search.form-group {
	position: relative;
}
.region_dropdown.av-new_modal_ fieldset.form-city input {
	width: 100%;
	border: 1px solid #D2D2D2;
	border-radius: 3px;
}
.region_dropdown.av-new_modal_ fieldset.form-city svg {
	position: absolute;
	top: 8px;
	right: 10px;
}
.region_dropdown.av-new_modal_ fieldset.form-city ul.ajax-search {
	position: absolute;
	text-align: left;
}
.region_dropdown.av-new_modal_ fieldset.form-city ul.ajax-search li {
	font-family: 'Roboto', sans-serif;
	display: block;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	color: #404040;
	cursor: url('cursor.svg'), pointer;
}
.region_dropdown.av-new_modal_ fieldset.form-city ul.ajax-search li a {
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

/*Список рекомендуемых городов*/
.region_dropdown.av-new_modal_ .citys_list_pop {
	padding: 0;
	margin: 10px 0 0;
	display: block;
	text-align-last: left;
	width: 100%;
	list-style-type: none;
}
.region_dropdown.av-new_modal_ .citys_list_pop li {
	margin: 0;
}
.region_dropdown.av-new_modal_ .citys_list_pop li a {
	font-family: 'Roboto', sans-serif;
	display: block;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	color: #404040;
	padding: 7px 30px;
	cursor: url('cursor.svg'), pointer;
	transition: all .25s ease-in-out;
}
.region_dropdown.av-new_modal_ .citys_list_pop li a:hover,
.region_dropdown.av-new_modal_ .citys_list_pop li a:active,
.region_dropdown.av-new_modal_ .citys_list_pop li a:focus {
	background: #F4F4F4;
	border-radius: 2px;
	transition: all .25s ease-in-out;
}
.region_dropdown.av-new_modal_ .citys_list_pop li a.active {
	color: #247DE2;
}
.region_dropdown.av-new_modal_ .citys_list_pop li a.active:after {
	content: '';
	background: url('arrow.svg') no-repeat center center;
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	float: right;
}

@media only screen and (max-width: 576px) {
	.region_dropdown.av-new_modal_ .town-select {
		width: 320px;
		margin: -90px 0 0 -160px;
		padding: 10px;
	}
	.region_dropdown.av-new_modal_ .town-select.av-country {
		width: 320px;
		margin: -118px 0 0 -160px;
		padding: 10px;
	}
	.region_dropdown.av-new_modal_ .town-select.av-country_third {
		padding: 10px;
		width: 320px;
		margin: -189px 0 0 -160px;
	}
}