body { margin:0; padding:0; font-family: Arial, Helvetica, sans-serif; color: #333;}
#map { position:absolute; top:40px; right:0; bottom:0; left:400px;}
#sidebar {
	position: absolute;
	top: 40px;
	background: #fff;
	width: 400px;
	height: calc(100% - 40px);
	z-index:401;
	overflow: auto;
	box-shadow: 2px 0 2px rgba(0,0,0,0.1);
}
#toggle {
	position: absolute;
	top: 60px;
	left: 400px;
	z-index:401;
	width: 20px;
	height: 40px;
	background: rgba(255,255,255,0.9);
	border-left: 1px solid #ccc;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
	cursor: pointer;
	text-align:center;
	line-height: 40px;
}
#toggle:hover {
	background: #f5f5f5;
}
.titlebar {
	height: 39px;
	width: 100%;
	z-index:401;
	background: #f5f5f5;
	border-bottom: 1px solid #ccc;
}
.titlebar .title {
	padding-left: 16px;
	font-size: 20px;
	line-height: 40px;
}
input[type="checkbox"] {
	margin-right: 8px;
	cursor: pointer;
}
button {
	cursor: pointer;
}
#layerBox {
	padding: 16px;
	line-height: 2;
}
#layerBox label {
	cursor: pointer;
	font-size: 14px;
	display: block;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
g > path {
	-webkit-animation: fadein 700ms;
	animation: fadein 700ms;
}
@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}
.tooltip .tooltiptext {
	display: none;
	position: absolute;
	white-space: nowrap;
	background-color: #333;
	font-size: 12px;
	color: #fff;
	padding: 6px;
	border-radius: 2px;
	line-height: normal;
	top: 50%;
	left: 100%;
	margin-left: 8px;
	transform: translateY(-50%);
}
.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	margin-top: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent #333 transparent transparent;
}
.tooltip:hover .tooltiptext {
	display:block;
}