#region_modal_overflow{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.5;
	visibility: hidden;
	z-index: 3000;
}
#region_modal{
	position: fixed;
	width: 70%;
	background-color: #fff;
	opacity: 0;
	visibility:hidden;
	top: 50px;
	left: 0;
	z-index: 4000;
	-moz-transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.cur_region_name, #cur-region-name-select {
	position: relative;
	display: inline-block;
}
.cur_region_name span{
	padding-left: 20px;
	font-size: 14px;
	cursor: pointer;
	color:#1976d2;
	display:inline-block;
}
.cur_region_name span:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 15px;
	height: 15px;
	background: url(/bitrix/components/degres/regional/templates/.default/images/geo.svg) 0 0 no-repeat;
}
.region_modal_title{
	padding:20px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}
.region_select_container ul {
	column-count: 3;
	-moz-column-count: 3;
  	-webkit-column-count: 3;
	list-style: none;
}
.region_select_container ul li {
	padding: 5px 0;
}
.region_select_container ul li a {
	color: #337ab7;
	font-size: 14px;
	cursor: pointer;
}
.region_select_container ul li.active a {
	font-weight: bold;
	cursor: default;
}
.region_select_contaier ul li a:hover, .region_select_contaier ul li a:focus, .region_select_contaier ul li a:visited {
	color:#23527c;
	text-decoration: none;
}

/*Hint*/

#region_location_container {
	position: relative;
}
.header-location-hint {
    opacity:0;
    width: 276px;
    background: #fff;
    position: absolute;
    top: 34px;
    -webkit-box-shadow: 0 1px 6px rgba(0,0,0,.25);
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
    z-index: 100;
    font-size: 12px;
}
.header-location-hint:before {
    width: 15px;
    height: 15px;
    /*left: 137px;*/
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
    -webkit-box-shadow: 0 2px 7px rgba(0,0,0,.4);
    box-shadow: 0 2px 7px rgba(0,0,0,.4);
}
.header-location-hint:after {
    width: 20px;
    height: 20px;
    /*left: 133px;*/
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/*left hint*/
.header-location-hint.left-hint:before {
    left: 15px;
}
.header-location-hint.left-hint:after {
    left: 11px;
}
/*right hint*/
.header-location-hint.right-hint:before {
    right: 15px;
}
.header-location-hint.right-hint:after {
    right: 11px;
}
/*center hint*/
.header-location-hint.center-hint:before {
    left: 137px;
}
.header-location-hint.center-hint:after {
    left: 133px;
}

.header-location-hint:after, .header-location-hint:before {
    position: absolute;
    top: -5px;
    background: #fff;
    content: '';
}
.header-location-hint__container {
    padding: 16px 11px 11px;
    position: relative;
    background: #fff;
}
.header-location-hint p {
    line-height: 1.5;
    margin-bottom: 10px;
    padding: 0;
    color: #000;
}
.header-location-hint strong {
    text-transform: uppercase;
}
.header-location-hint .hint-btn {
    padding: 0 39px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}
.header-panel__location .hint-btn {
    margin: 0;
    height: 30px;
}
.header-location-hint .hint-btn:last-child {
    padding: 0 20px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    margin-left: 10px;
}
a.hint-btn {
    border: 1px solid #337ab7;
    display: inline-block;
    position: relative;
    overflow: visible;
    clear: both;
    padding: 0 30px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    vertical-align: top;
    outline: 0;
    cursor: pointer;
    background-color: #337ab7;
    color: #fff;
    fill: #fff;
    height: 38px;
    font-size: .6875rem;
    line-height: 37px;
}
a.hint-btn:hover, a.hint-btn:focus, a.hint-btn:visited, a.hint-btn:link {
	color:#fff;
	background-color: #2c699e;
	text-decoration: none;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

.region_select_container{
	padding:20px;
	background: #f8f8f8;
	border-top:1px solid #f2f2f2;
    overflow-x: hidden;
    overflow-y: auto;  
}
.clear{
	clear:both;
}
.region_list_title{
	margin-bottom: 10px;
	color: #565656;
	font-weight: bold;
}
#region_modal_close i{
	background: url(/bitrix/components/degres/regional/templates/.default/images/close_icons.png) -1px -46px no-repeat;
	width: 14px;
    height: 14px;
    display: block;
}

#region_modal_close{
    position: absolute;
    right: 20px;
    top:20px;
    cursor: pointer;
}
#region_modal_close:hover{
	background: #1773cf;
}
#region_modal_close:hover i{
	background-position: -30px -46px!important;
}

#region-search-container {
    padding-bottom: 20px;
}
#region-search-container form {
    position: relative;
}

#region-search-container input[type='text'] {
    display: block;
    margin: 0 auto;
    padding: 10px;
    width: 90%;
    background: #fff;
    border: 1px solid #f2f2f2;
}
#region-search-result {
    position: absolute;
    background: #fff;
    z-index: 9999;
    padding: 10px;
    /*border: 1px solid #f2f2f2;*/
    box-shadow: 0 2px 10px rgba(197,197,197,.5);
    margin-top: 2px;
    width: 90%;
    margin: auto;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    left: 0;
    right: 0;
}
#region-search-result a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width:1290px) {
	#region_modal{
		width: 80%;
	}
}
@media screen and (max-width:1130px) {
	#region_modal{
		width: 90%;
	}
}
@media screen and (max-width:1030px) {
	.region_list_container {
	    width: 70%;
	    margin: 0 auto;
	    float: none;
	}
}
@media screen and (max-width:500px) {
	.region_select_container ul {
		column-count: 2;
	}
}