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

#map {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0px;
}

.stats-canvas, .stats-label, .warning-label {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 7100;
}

.stats-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 50px;
  height: 20px;
}

.stats-text {
  display: none;
	font-size: 75%;
  padding: 0px 3px 1px 3px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
}

.warning-label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 50px;
  height: 20px;
  background-color: yellow;
  border-radius: 3px;
}

.warning-text {
	font-size: 75%;
  padding: 0px 3px;
}

.ref {
	font-weight: bold;
}

.support-title {
	background-color:black;
	color: white;
	font-weight: bold;
	text-align: center;
	padding-bottom: 0.5ex;
}

.support-footer {
	color: white;
	font-size: 8pt;
	margin-top: 0.2ex;
}

.support-footer-centered {
	color: white;
	font-size: 8pt;
	margin-top: 0.2ex;
	text-align: center;
}

.support-buttons-container {
	display: flex;
	justify-content: center;
}

#support-bars-container {
	background-color:black;
	position: relative;
	padding: 0;
}

#support-bars {
	display: flex;
	justify-content: center;
}

.support-bar {
	float: left;
	height: 9px;
	width: 18px;
	margin: 0 2px 0 2px; /* equal l-r margins for centering words beneath */
	background-color: gray;
}

.support-footer {
  display: flex;
  justify-content: center;
}

.support-footer>div {
  width: 66px;
  text-align: center;
}

.dismiss {
	position: absolute;
	top: 5px;
	right: 5px;
}

#find {
	position: absolute;
	bottom: 0;
	pointer-events: all;
	background-color: #feb;
	padding: 2ex 5ex 40px 5ex;
}

#donations {
	position: absolute;
	overflow: hidden;
	bottom: 0;
	pointer-events: all;
}

#donation-table {
	max-width: 50ex;
	margin: 0 auto 0 auto;
	padding: 2ex 2ex 40px 2ex;
}

#twitter {
	position: absolute;
	bottom: 0;
	text-align: center;
	background-color: #feb;
	padding: 2ex 2ex 40px 2ex;
	pointer-events: all;
}

#gear {
	position: absolute;
	bottom: 0;
	background-color: #feb;
	padding: 2ex 2ex 40px 2ex;
	pointer-events: all;
}

.slider {
	position: relative;
	z-index: 8000;
  user-select: none;
}

.slider-pointer {
	position: absolute;
	bottom: 0;
	z-index:8010;
}

#slider-pointer,#opacity-slider-pointer {
	left: 59px;
}


#age-slider-pointer {
	left: 28px;
}

/*
#information {
  position: absolute;
  max-width: 50ex;
  max-height: 90%;
  bottom: 0;
  overflow-y: auto;
  background-color: #feb;
  margin: 0 auto 0 auto;
  padding: 2ex;
  pointer-events: all;
}
*/
#advanced {
	max-width: 100ex;
	max-height: 90%;
	bottom: 0;
	overflow-y: auto;
	margin: 0 auto 0 auto;
	padding: 2ex;
	pointer-events: all;
}

#advanced a:visited, #advanced a:link {
	color: white;
}

#menu-contact a:visited, #menu-contact a:link {
	color: #ddddff;
}


#reload {
	position: absolute;
	max-width: 50ex;
	bottom: 0;
	background-color: #feb;
	margin: 0 auto 0 auto;
	padding: 2ex 2ex 40px 2ex;
	pointer-events: all;
}

.no-mouse {
	pointer-events: none;
}

button, input, .tip {
	margin-left: 1ex;
	margin-right: 1ex;
}

.menu-list {
	position: absolute;
	top: 0.5em;
	left: 2.5em;
	padding: 0.5ex;
	border-width: 1px;
	border-color: white;
	z-index: 8000;
}

.menu-list-item {
	background-color: rgba(0,60,136,0.5);
  border-radius: 3px;
	padding: 0.5ex;
	width: 100%;
	color: white;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	cursor: pointer;
}

.menu-list-item:last-child { border-bottom-width:0; }

#menu-actions {
  border-radius: 3px;
	top: 0.5em;
	left: 8.5em;
	position: absolute;
	z-index: 8000;
	background-color: rgba(0,60,136,0.65);
	color: white;
}

.menu-action {
	padding: 0.5ex;
	border-width: 1px;
	width: 100%;
}

.form_error {
	color: red;
	text-align: center;
}

#details_box {
	position:absolute;
	background-color: #444;
	border-color: #444;
	border-width: 10px;
	border-style: solid;
	opacity: 0.95;
	top: 10%;
	right: 10%;
	bottom: 10%;
	left:10%;
	z-index: 8010;
}

#details, #about {
	position:absolute;
	background-color: #fff;
	padding: 2px;
	top: 0px;
	right: 0px;
	left:0px;
	bottom:24px;
	overflow: auto;
}

#about {
	margin: 0 auto 0 auto;
	padding: 1em;
	width: 80ex;
}

#about h1, #details h1 {
	text-align: center;
	font-size: 20pt;
}

.details_dismiss {
	position:absolute;
	text-align: right;
	right: 0;
	left: 0;
	bottom: 0;
}

.detail_text {
	font-size: 60%;
}

a { text-decoration: none; }
.details_dismiss { color: #fff }

#call_stack {
	position:absolute;
	float:left;
	text-align: left;
	color: #fff;
	overflow: hidden;
	height: 1em;
	left: 0;
	right: 8ex;
}

#refresh {
	padding: 0 3px 0 3px;
}

#legend {
	bottom: 10px;
	right: 10px;
	margin: 5px;
	width: 70px;
	background-color: #333;
	border-color: #333;
	border-width: 7px;
	border-style: solid;
	opacity: 0.85;
}

#legend_title, #legend-about {
	font-family: sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	margin-bottom: 4px;
}

#legend-about>a:visited, #legend-about>a:link {
	color: white;
}

.legend_item {
	margin: 2px;
	font-family: sans-serif;
	font-size: 9px;
	text-align: right;
  color: #fff;
}

.legend_box {
	float: left;
	height: 1em;
	width: 2em;
	margin-right: 3px;
}

.legend_link {
	cursor: pointer;
}

.blue_link {
	color: blue;
	cursor: pointer;
}

.label {
	white-space: nowrap;
}

.label_text {
	border:2px solid #fe4;
	font-size:10px;
	font-family:sans-serif;
	background-color:#fe4;
	color:black;
}

.tip, .form_tip {
	font-size:9px;
	font-family:sans-serif;
	color:white;
}

.form_tip {
	text-align: right;
	margin-bottom: 1ex;
}

#find_error {
  color: black;
	font-size:11px;
	font-family:sans-serif;
	margin-top: 1px;
	margin-left: 3px;
	background-color: #ffa;
}

#test-response {
	opacity: 0.95;
	background-color:#ffe;
	width: 30ex;
	font-size:14px;
	overflow: auto;
}

.ol-upper-right-container {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
}

.ol-upper-right-container button {
  width:2.25em;
}