html, body {
height: 100%;
}body {
  background-color:white;
  width:100%;
  height:100%;
  margin:0px;
  overflow:hidden;
  min-width:300px;
}
canvas {
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;         /* Firefox */
  image-rendering: -o-crisp-edges;           /* Opera */
  image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
  image-rendering: crips-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}
img {
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;         /* Firefox */
  image-rendering: -o-crisp-edges;           /* Opera */
  image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
  image-rendering: crips-edges;
  image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}
context {
  webkitImageSmoothingEnabled: false;
  mozImageSmoothingEnabled: false;
  imageSmoothingEnabled: false;
}
.ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 9px;
  padding-right:30px;
  border-radius: 5px;
  border: 1px solid #cccccc;
  bottom: 30px;
  left: -50px;
  min-width: 45px;
  cursor:default;
  //max-width: 280px;
}
.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: 5px;
  left: 53px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 2px;
  left: 53px;
  margin-left: -11px;
  padding-right:10px;
}
.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 1px;
  right: 1px;
  cursor:default;
}
.ol-popup-closer:after {
  content: "☒";
  color: black;
  font-weight:100;
}
:root {
  --control-bg:#707070;
  --control-button-color:#1f3d73;
  --control-button-color-hover:#2c66ab;
}

.ol-control button:hover {
  background-color:var(--control-button-color-hover);
}
.ol-control button {
  background-color:var(--control-button-color);
}
.selectors {
  z-index:1000;
  position:absolute;
  right:0px;
  top:3em;
  width:22em;
  font-family:monospace;
  font-weight:900;
  font-size:1em;
  color:white;
  background-color:transparent;
  cursor:default;
  margin: 3px 0px 3px 3px;
  vertical-align:middle;
}
.one_sel {
  position:relative;
  min-height:30px;
  background-color:var(--control-bg);//#707070;
  margin:.5em 0px .5em 0px;
  padding:3px 0px 3px 6px;
  border-radius: 8px 0px 0px 8px;
  min-height:2.2em;
  font-family: Verdana,monospace;
  font-weight:900;
  line-height:1.6em;
}
.ol-selector-mm {
  text-decoration:none;
  background-color:var(--control-button-color);
  display:block;
  margin:1px;
  padding:0px;
  color:white;
  font-size:1.25em;
  font-weight: 700;
  text-align:center;
  height:1.375em;
  width:1.375em;
  border:none;
  top:.25em;
  right:.25em;
  //vertical-align:middle;
  position:absolute;
}
.ol-selector-mm:hover {
  background-color:var(--control-button-color-hover);
}
.ol-selector-options {
  font-weight: 400;
  padding-left: .5em;
  font-size: 1.4em;
}
.ol-selector-labelspan {
  vertical-align: middle;  
}
.ol-selector-label {
  margin: 3px 0 3px 3px;
  display: inline;
  font-size: 1.5em;
}
.ol-selector-label-arrow {
  border:none;
  display:inline;
  background-color:var(--control-bg);
  color:var(--control-button-color);
  width:1em;
  height:1.5em;
  padding:.1em;
  font-size:1.5em;
}
.ol-selector-label-arrow:hover {
  color:var(--control-button-color-hover);
}
#map {
  image-rendering:-moz-crisp-edges;
  cursor:url(crosshairs.png) 16 16,crosshair;
  top:0px;
  width:100%;
  height:100%;
  position:relative;
}
#footer {
  bottom:0px;
  position:fixed;
  width:100%;
  height:34px;
  background-color:black;
  color:white;
  overflow:hidden;
  display:inline-block;
  font-weight:900;
  font-size:smaller;
  max-height:34px;
}
#legend {
  top:2px;
  float:right;
  display:inline-block;
  vertical-align:middle;
  text-align:center
  min-height:30px;
  line-height:30px;
  overflow:hidden;
  position:relative;
  min-width: 670px;
  background-color:black;
  z-index:700;
}
.ol-prefixscale {
  left: 0px;
  bottom: 0px;
  color: black;
  font-size: 10pt;
  font-weight: bold;
}
.ol-prefixscale-WBracket {
  width: 254px;
  height: 6px;
  border: solid 4px white;
  border-top: none;
  text-align: center;
  margin-bottom: -1px;
}
.ol-prefixscale-BBracket {
 border: solid 2px black;
 border-top: none;
 margin-left: -3px;
 margin-right: -3px;
 margin-top: 2px;
 position: absolute;
 left: 4px;
 width: 256px;
 height: 5px;
 color:white;
}
.ol-prefixscale-Pix2Net {
  text-align: center;
  margin-top: 1px;
  right: 5px;
  //width: 90px;
  //margin-left: auto;
  //margin-right: 5px;
  color:white;
  
}
#ol-netlocator {
    top:.5em;
    right:20px;
    width:12em;
    height:1em;
    position:absolute;
    z-index:1000;
    font-size:1em;
    padding:0px;
    vertical-alignment:middle;
}
#link-container {
  width:70%;
  height: 4em;
  background-color:var(--control-bg);
  position:fixed;
  right:30px;
  bottom:39px;
  z-index:1500;
  display:block;
  //border: 1px solid blue;
  min-width:700px;
  overflow:hidden;
  visibility:hidden;
  color:white;
  opacity:1;
}
#link-button {
  font-size:10pt;
  font-weight:bold;
  right:30px;
  bottom:39px;
  color:white;
  background-color:var(--control-button-color);
  position:absolute;
  z-index:2000;
  border-radius:4px;
}
#link-button:hover {
  background-color:var(--control-button-color-hover);
}
#link-explain{
  font-size:10pt;
  font-weight:bold;
  margin-top:2px;
  margin-left:1em;
}
#link-text{
  font-size:15pt;
  margin-top:5px;
  margin-left: 2em;
  left:0px;
  width:70%;
}
#link-container-closer {
  font-weight:100;
  position:absolute;
  cursor:default;
  top:2px;
  right:2px;
  width:1.1em;
  height:1em;
  z-index:2000;
  //color:blue;
  color:rgba(0,60,136,1);
  padding:0;
  font-size:100%;
}
#geomap {
    position:absolute;
    bottom:80px;
    left:30px;
    width:260px;
    height:128px;
    visibility:hidden; //initially
}
