@charset "UTF-8";

html {
	height: 100%;
}

body {
	height: 100%;
	margin: 0;
	padding: 0;
	font: normal 12px 'Corbel', 'Candara' ,'Myriad Pro', 'Gill Sans';
	-webkit-font-feature-settings: 'onum' 1;
	-moz-font-feature-settings: 'onum' 1;
	-ms-font-feature-settings: 'onum' 1;
	font-feature-settings: 'onum' 1;
}

#menus {
	position: absolute;
	width: 100%;
	height: 2.5em;
	margin: 0;
	padding: 0;
	border-bottom: .2em groove #f0f;
	background: #66a;
	color: #fff;
    box-shadow: 0 0 1em 0 rgba(0,0,0,0.5);
	z-index: 3;
}

#canvases {
	position: absolute;
	top: 2.7em;
	bottom: 0;
	width: 100%;
}

/* 
dl.menu-menu
   dt.menu-title
   dd.menu-optinos
      ul
         li
         li
         li
 */

#menus .menu-menu {
	margin: 0;
	padding: 0;
}

#menus .menu-title {
	float: left;
	margin: 0;
	padding: 0 .5em;
	width: 8em;
	border-right: .2em groove #f0f;
	line-height: 2.5em;
	list-style: none;
	background: #336;
	color: #fff;
	font-weight: bold;
	text-align: center;
}

#menus .menu-options {
	float: left;
	margin: 0;
	padding: 0;
	color: #eee;
}

#menus ul {
	float: left;
	margin: 0;
	padding: 0;
    list-style: none;
}

#menus li {
	float: left;
	margin: 0;
	padding: 0 .5em;
	border-right: .2em groove #f0f;
	line-height: 2.5em;
	list-style: none;
	cursor: default;

	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#menus li.menu-group {
	margin: 0;
	padding: 0;
	border: 0;
}

#menus li.disabled {
	color: #999;
	cursor: default;
}

#menus li.enabled {
	padding: 0 .3em;
	border: .3em inset #66a;
	border-right-color: #f0f;
	line-height: 1.9em;
	background: #448;
	color: #0f0;
}

#menus li.hover {
	background: #eee;
	color: #66a;
}

#menus li input.fail {
	background: #f00;
	color: #ccc;
}

/* 
#menus li.set {
	xborder-style: inset;
	background: #448;
	color: #0f0;
}
 */


#menus li a {
	display: block;
	margin: 0 -.5em;
	padding: 0 .5em;
	color: #fff;
	text-decoration: none;
}

#menus li a:hover {
	background: #a0a;
}








#menus li.title {
	width: 8em;
	background: #336;
	color: #fff;
	font-weight: bold;
	text-align: center;
}

/* 
#menus #menu_options_highlighter,
#menus #menu_options_location {
	xpadding: 0 .2em;
	xline-height: 1.5em;
	xborder: .3em solid #66a;
}

#menus #menu_options_highlighter:hover,
#menus #menu_options_location:hover {
	xborder-color: #a0a;
	xbackground: #a0a;
}
 */

/* 
#menu_search, 
#menu_line, 
#menu_options,
#menu_share,
#menu_share_read,
#menu_merge,
#menu_circles,
 */
#map_save_link {
	display: none;
}

#menu_main_line {
	width: 14em;
}

#menu_main_length {
	width: 8.75em;
}

#menu_main_length:hover {
	background: #a0a;
}

#menu_options_import_load {
	position: absolute;
	left: -9999px;
	height: 0px;
	overflow: hidden;
}

#menu_search_location {
	width: 30em;
}

#menu_main_method,
#menu_LINE_merge_method {
	width: 8em;
}


/* 
#menu-lines-name:active,
#menu-lines-name:focus,
#menu_CIRC_name:active,
#menu_CIRC_name:focus {
	border: none;
	background: #339;
}

#menu_line_name,
#menu_CIRC_name,
#menu-lines-name {
	width: 20em;
}

#menu_merge_target {
	font-weight: bold;
}

#menu_CIRC_size {
	width: 4em;
	text-align: right;
}
 */

#menus input.number {
	width: 4em;
	text-align: right;
}

#menus input.text {
	width: 20em;
}

#menus span.text {
	font-weight: bold;
}

#menus input[type="password"],
#menus input[type="text"] {
	border: none;
	line-height: 1.5em;
	border-bottom: .1em solid #f0f;
	background: inherit;
	color: #fff;
	font-weight: bold;
}

#menus input[type="password"]:active,
#menus input[type="text"]:active,
#menus input[type="password"]:focus,
#menus input[type="text"]:focus {
	border: none;
	background: #339;
}

#map_dialogue {
	z-index: 2;
	position: absolute;
	top: 2.5em;
	border: .2em groove #f0f;
	border-right: none;
	background: #66a;
	color: #fff;
}

.map_dialogue_button {
	background: #339;
	font-weight: bold;
}

.map_dialogue_button a:hover {
	background: #f00;
}




#menus li a.disabled {
	color: #999;
}

#menus li a.disabled:hover {
	background: inherit;
}



.okay {
	background: #339;
	background: #487848;
	background: #577a72;
	font-weight: bold;
}

.cancel {
	background: #339;
	background: #c8464b;
	background: #d2414d;
	background: #8b5891;
	font-weight: bold;
}





















#canvases .viewport {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	border: 0 groove #f0f;
}

#canvases #canvases_messages {
	position: absolute;
	top: 1em;
	bottom: 1em;
	left: 1em;
	overflow: hidden;
	pointer-events: none;
}

#canvases .close-button {
	display: block;
	margin: .75em .75em 0 0;
	padding: 0 .25em;
	border: .1em solid #fff;
	background: #f00;
	color: #fff;
	font-size: .8em;
	text-decoration: none;
	cursor: pointer;
}

#canvases .close-button:hover {
	border-color: #f00;
	background: #fff;
	color: #f00;
}



#canvases_streetview {
	z-index: 0;
}

#canvases_map {
	z-index: 1;
}

#canvases_messages {
	z-index: 2;
}




.distance_marker {
	padding: 0 .25em;
	border-width: .1em;
	border-radius: .5em;
	border-style: solid;
	font: normal 1em 'Gill Sans';
}


.message {
	position: relative;
	width: 22em;
	margin-bottom: 1em;
	padding: .5em;
	border: .2em groove #f0f;
	background: #66a;
	color: #fff;	
	pointer-events: auto;
}

.message .message-text {
	width: 20em;
	margin: 0;
}

.message .message-close {
	position: absolute;
	right: .3125em;
	top: .4375em;
	margin: 0;
	padding: 0 .25em;
	border: .1em solid #fff;
	background: #f00;
	color: #fff;
	font-size: .8em;
	text-decoration: none;
	cursor: pointer;
}

.message .message-close:hover {
	border-color: #f00;
	background: #fff;
	color: #f00;
}

.message .message-export {
	width: 100%;
	height: 2.4em;
}




.context {
	position: absolute;
	display: block;
	border: 1px solid #666;
	background: #fff;
	color: #000;
}
        
.context ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.context li {
	margin: 0;
	padding: .25em .5em;
	white-space: nowrap;
	cursor: pointer;
}

.context li:hover {
	background: #ccc;
}





/* 
#menus .menu-drop .show {
	display: block;
}

 */
#menus .menu-drop>span {
	font-weight: bold;
}

#menus .menu-drop>span:after {
	content: ' \25bc';
	position: relative;
	top: -1em;
	font-weight: bold;
	font-size: .5em;
}

#menus .menu-drop ul {
	overflow: auto;
	float: none;
    min-width: 12em;
}

#menus .menu-drop li {
	float: none;
	margin: 0;
	padding: 0 1.5em ;
	line-height: 2em;
	white-space: nowrap;
	border-right-width: 0;
}

#menus .menu-drop li.hover {
	background: #336;
	color: #fff;
}

#menus .menu-drop li:hover {
	background: #336;
	color: #fff;
}

#menus .show {
	background: #eee;
	color: #66a;
}

#menus .show .menu-drop-menu {
	display: block;
	background: #eee;
}

#menus .menu-drop-menu {
	display: none;
	position: absolute;
	margin-left: -.5em;
	border-right: .2em groove #f0f;
    box-shadow: 0 1em 2em 0 rgba(0,0,0,0.5);
}

#menus .menu-drop .selected {
	clear: both;
	position: relative;
	left: -1em;
	margin-right: -1em;
	font-weight: bold;
}

#menus .menu-drop .selected:before {
	content: '\2713';
	float: left;
	width: 1em;
	font-weight: normal;
}

#menus .menu-drop .scrollup:before,
#menus .menu-drop .scrolldn:after {
	position: absolute;
	width: 100%;
	display: block;
	background: inherit;
	line-height: 3em;
	font-weight: bold;
	font-size: .5em;
	text-align: center;
}

#menus .menu-drop .scrollup:before {
	content: ' \25b2';
	top: 0;
	background: linear-gradient(rgba(238,238,238,1), rgba(238,238,238,1), rgba(238,238,238,0));
}

#menus .menu-drop .scrolldn:after {
	content: ' \25bc';
	bottom: 0;
	background: linear-gradient(rgba(238,238,238,0), rgba(238,238,238,1) 50%);
}

