
:root {
  --menu-width: 300px;
}

.menu_icon_img {
	height: 14px; vertical-align: middle;
}

.menu_icon {
	margin-right: 5px;
}

#div_ad {
	border: 0px solid black;
	position: absolute;
	z-index: 1100;
}

.desktop #div_ad {
	width: var(--menu-width);
	margin-top: 15px;
}

.desktop.closed #div_ad {
	top: 33px;
}

.mobile #div_ad {
	bottom: 0px;
	width: 100%;
}

#interface {
/*	display: flex;
	align-items: center;
*/
	border: 0px solid #888;
	position: relative;
	z-index: 1100;
	margin: 3px;
}

.desktop #interface {
	height: 0px;
}


#btn_menu_call {
	z-index: 1000;

}
.desktop #btn_menu_call {
	position: absolute;
}

#menu_total {
	width: 100%;
	background-color: #ffffff;
	border-radius: 5px;
	overflow: hidden;
}

.desktop.open #menu_search_container {
	width: var(--menu-width);
	border: 0px solid #808080;
	display: inline-block;
	overflow: none;
}

/*
.closed #menu_total {
	width: 35px;
	height: 35px;
	overflow: hidden;
	display: inline-block;
}
	*/

#search_address_input {
	font-size: 16px;
	border: 1px solid #808080;
	outline: none;
	padding-top: 4px;
	padding-bottom: 4px;
	border-radius: 5px;
	width: 100%;
	padding-left: 5px;
}

#search_address_input:focus {
	padding-left: 5px;
	width: 100%;
	background-image: none;
	transition: width 0.1s;
}
#search_address_wrapper {
	position: relative;
	z-index: 10000;
	display: inline-block;
}

.desktop.closed #search_address_wrapper {
	width: calc(var(--menu-width) - 35px);
	position: absolute;
	left: 35px;
}

.desktop.open #search_address_wrapper {
	width: calc(var(--menu-width));
	margin-top: 3px;
}

.mobile.closed #search_address_wrapper {
	width: calc(100% - 35px);
	vertical-align: top;
	margin-left: 3px;
}
.desktop .suggestions-wrapper {
	width: min(calc(100vw - 70px), 600px);
}
.mobile.closed .suggestions-wrapper {
	width: calc(100% - 45px);
}
.mobile.open .suggestions-wrapper {
	width: calc(100% - 12px);
}

.mobile.open #search_address_wrapper {
	height: 0px;
	margin-top: 3px;
	margin-left: 3px;
	border: 0px solid #aaa;
	
}

.mobile.open #search_address_input {
/*	width: 30px; свернутый вид*/
	width: calc(100% - 5px);/* развернутый вид*/
	padding-left: 30px;
}

.mobile.open #search_address_input:focus {
	width: calc(100% - 5px);
	padding-left: 5px;
}

.mobile.open .search_lens {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='20' fill='%23808080' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E");
}

#div_components {
	padding-left: 5px; 
	padding-right: 5px;
	background: #ffffff; 
	position: relative; 
	z-index: 1000;
	box-sizing: content-box;
}

#div_components_scroller {
	scrollbar-width: thin; 
	overflow-x: auto;
	white-space: nowrap; 
	border: 0px solid black;
}

.desktop.closed #div_components {
	position: absolute; 
	left: calc(var(--menu-width) + 5px);
	border-radius: 5px;
	display: inline-block;
	max-width: calc(100% - var(--menu-width) - 20px);
}

.desktop.open #div_components {
	display: inline-block;
	max-width: calc(100% - 320px);
	vertical-align: top;
	border-radius: 5px;
	margin-left: 5px;
}

.mobile #div_components {
	/*
	top: 30px;
	position: absolute; 
	*/
	position: relative;
	border-radius: 5px;
	width: calc(100% - 16px);
	
	margin-left: 3px;
}


@media (max-width: 599px) {
	#button_coordinates {
		width: 30px; height: 30px;
	}

	.search_lens {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='20' fill='%23808080' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E");
	}
	#input_lon, #input_lat{
		width: 80px;
	}
}

@media (min-width: 600px) {
	#input_lon, #input_lat{
		width: 150px;
	}
	#lonlat_container {
		width: 210px;
	}
	#button_coordinates {
		width:55px; height: 55px;
	}
	.search_lens {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='16' fill='%23808080' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E");
	}
}

#menu_main ul {
	margin: 0px;
	padding: 0px;
	font-family: Arial, sans-serif;
	font-size: 14px;
}
#menu_main li {
	margin: 0px;
}
/*
#menu_main li:nth-child(odd) {
	background: #e0e0e0;
} 
#menu_main li:nth-child(even) {
	background: #f0f0f0;
} 
*/



.search_lens {
	background-repeat: no-repeat;
	background-position: right;
}
/*
.leaflet-top{
	top: 35px !important;
}
*/
.reverse-element {
	display: inline-block;
	background-color: #ffffff;
	border: 1px solid #b0b0b0;
	color:#606060;
	padding: 2px 7px;
	white-space: nowrap;
	border-radius: 5px;
	margin-right: 3px;
	margin-top: 3px;
	margin-bottom: 3px;
	cursor: pointer;
/*
	transform: skew(-8deg);
	line-height: 30px;

*/
}

.reverse-element:last-child {
	margin-right: 0px;
}

.reverse-element-selected{
	background: #e0ffe0;
}

.btn_menu {
	width: 30px;
	height: 30px;
/*	min-width: 30px;
	min-height: 30px;
	*/
	cursor: pointer;
	display: inline-block;
	vertical-align: top;
}

.btn_menu_img_menu {
	background: url("/resources/images/button_menu.png") #f0f0f0;
	background-size: 100% 100%;
}
.btn_menu_img_back {
	background: no-repeat url("/resources/images/button_back.png") center;
	background-size: 65% 65%;
}


#menu_header_text{
	color: #606060;
	display: inline-block; 
	width: calc(100% - 35px);
	vertical-align: top;
	height: 35px;
	margin: 0px;
	padding: 0px;
	margin-left: 5px;
	border: 0px solid black;
	box-sizing: border-box;
}
.menu_header_text_main {
	line-height: 35px;
	/*font-size: 26px; */
	font-size: 18px;
	font-weight: bold;
	font-family: /*"Excelorate", "Helvetica Neue",*/ Arial, Helvetica, sans-serif; 
}
.menu_header_text_sub {
	line-height: 26px;
	font-size: 16px;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; 
}

@font-face {
  font-family: "Excelorate";
	src: local("Excelorate"),url("/resources/fonts/Excelorate-Font.otf") format("woff");
}

#menu_scroll {
	overflow-y: auto;
	max-height: 150px;
	scrollbar-width: thin;
	margin: 5px;
	margin-top: 0px;
}

.menu_block_header {
	margin: 0px; 
	margin-bottom: 5px; 
	padding: 0px; 
	line-height: 100%; 
	font-size: 20px; 
	font-family: Arial,serif;
}

#div_coordinates_container{
	border: 0px solid black;
	margin: 0px 0px; /* 5px*/
	padding: 0px 0px; /* 5px*/
	border-radius: 5px;
	
	display: inline-block;
}

#input_lon, #input_lat{
	margin-left: 1px;
	margin-right: 0px;
	margin-top: 3px;
	margin-bottom: 3px;
	padding: 2px;
	border-radius: 4px;
	background-color: #ffffff;
	border: 1px solid #a0a0a0;
	font-weight: bold;
	font-size: 14px;
	color: #404040;
}





.ui-autocomplete {
	max-height: 150px;
	overflow-y: auto;
	overflow-x: hidden;
	width: 500px;
	max-width: 500px;
	z-index: 1000000;
	pointer-events: all;
	/*pointer-events: fill;*/
	/*background: red;*/
}

.mobile.open .ui-autocomplete {
	max-width: calc(100vw - 25px);
}

.mobile.closed .ui-autocomplete {
	max-width: calc(100vw - 60px);
}


.ui-menu-item {
	border-bottom:1px solid white;
}

.ui-draggable, .ui-droppable {
	background-position: top;
	z-index:1000000;
}

.ui-autocomplete-loading {
	background: white url("/resources/images/ui-anim_basic_16x16.gif") right center no-repeat;
}

.pointer_standart{
	cursor: standart !important;
}

#menu_main ul li a {
	color: #606060;
	text-decoration: none;
}

#menu_main ul li a:hover {
	font-weight: bolder;
}
