body {
	padding: 0;
	margin: 0;
}
html, body {
	height: 100%;
	width: 100%;
}

a { text-decoration: none; }

.map {
	height: 100%;
	width: 100%;
}

#title-panel {
	position: absolute;
	top: 4px;
	left: 10px;
	max-width: calc(100% - 72px);
	padding: 0;
	text-shadow: 3px 3px 8px #888;
}
#title {
	font-size: 1.4em;
	margin: 0 36px 0 0;
	pointer-events: auto;
}
#list-panel hr {
	border: 1px solid rgba(208, 208, 208, 0.5);
	margin: 2px 6px;
	padding: 0;
}

#legend {
	border: 0;
	margin: 3px 0;
	padding: 1px;
	font-size: 0.9em;
	display: table;
	text-shadow: none;
	background: rgba(208, 208, 208, 0.5);
}
#legend ul {
	list-style-type: none;
	border: 0;
	margin: 0;
	padding: 2px;
	vertical-align: top;
	display: table;
}
#legend li {
	margin: 0 6px 0 1px;
	display: table-cell;
	font-size: 0.9em;
	float: left;
}
#legend li svg {
	vertical-align: top;
	margin-right: 2px;
}

#range {
	margin: 3px 0;
	padding: 1px;
	font-size: 1em;
}
#range table {
	border: none;
}
#range table th, #range table td {
	border: none;
}
#range input {
	height: 1em;
	vertical-align: middle;
}

#layer_icon {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.0);
	position: absolute;
	right: 8px;
	top: 12px;
	z-index: 10;
}

#list-panel {
	display: none;
	position: absolute;
	top: 12px;
	right: 8px;
	font-size: 0.9em;
	background-color: white;
	border: 2px solid #cccccc;
	border-radius: 8px;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
	-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
	padding: 3px;
	min-width: 220px;
	max-height: calc(100% - 60px);
	overflow-x: hidden;
	overflow-y: scroll;
}
#list-panel .title {
	font-weight: bold;
	margin: 0;
	padding: 1px 3px;
}
#list-panel ul {
	margin: 0;
	padding: 0 0 0 6px;
}
#list-panel li {
	list-style-type: none;
}
#list-panel input {
	margin: 1px;
	width: 1.1em;
	height: 1.1em;
}

#search_icon {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.0);
	position: absolute;
	right: 8px;
	bottom: 36px;
	z-index: 10;
}
#search_window {
	display: none;
	border-radius: 3px;
	font-size: 80%;
	width: 840px;
	height: 180px;
	overflow: auto;
	background-color: rgba(255, 255, 255, 0.9);
	position: absolute;
	bottom: 6px;
	left: auto;
	right: 6px;
	z-index: 15;
}
#search_window div, table {
	margin: 0.2em;
}
#search_window table, td, th {
	border: 1px #2b2b2b solid;
	border-collapse: collapse;
}
#search_window td, th {
	padding: 1px;
	white-space: nowrap;
}
#search_window th {
	background-color: #8af;
}
#search_close_icon {
	margin: 2px;
	padding: 0;
	position: sticky;
	top: 1px;
	right: 2px;
}
#search_close_icon_img {
	float: right;
}

.ol-zoom {
	top: auto;
	bottom: 0.5em;
}

.ol-popup {
	position: absolute;
	bottom: 12px;
	left: -50px;
	background-color: white;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
	-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
	padding: 8px;
	border-radius: 10px;
	border: 1px solid #cccccc;
	min-width: 240px;
	font-size: 8pt;
}
.ol-popup:after, .ol-popup:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.ol-popup:after {
	border-top-color: white;
	border-width: 10px;
	left: 48px;
	margin-left: -10px;
}
.ol-popup:before {
	border-top-color: #cccccc;
	border-width: 11px;
	left: 48px;
	margin-left: -11px;
}
.ol-popup-closer {
	text-decoration: none;
	color: black;
	position: absolute;
	top: 2px;
	right: 8px;
}
