html, body {
	overflow: hidden; 
	padding: 0; 
	margin: 0;
	height: 100%; 
	width: 100%; 
	font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */
#header {
	position: absolute;
	left: 50%;
  transform: translateX(-50%);
	z-index: 1000;
	top: 15px;
}
#header h1 { 
	margin: 0; padding: 0; border:0; 
	font-size: 28pt;
	text-align: center;
}
#header #part1 {
	color: rgba(0, 76, 153, 0.8);
	font-weight: 700;
}
#header #part2 {
	color: rgba(153, 51, 152, 0.8);
	font-weight: 700;
}
#header #part3 {
	color: rgba(9,32,62, 0.8);
	font-weight: 300;
}
#header a, #header a:visited {
	text-decoration: none;
}
#header a:hover #part1 {
	color: rgba(0, 76, 153, 0.9);
}
#header a:hover #part2 {
	color: rgba(153, 51, 152, 0.9);
}
#header a:hover #part3 {
	color: rgba(9,32,62, 0.9);
}

/* MAP ATTRIBUTION */
#map-attribution {
	text-align: center;
	font-size: 10px;
	color: rgba(9,32,62, 0.8);
	margin: 5px;
}
#map-attribution a, #map-attribution a:visited {
	color: rgba(9,32,62, 0.8);
}
#map-attribution a:hover {
	color: rgba(9,32,62, 0.9);
}

/* OPENLAYERS STUFF */
a.skiplink {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
a.skiplink:focus {
  clip: auto;
  height: auto;
  width: auto;
  background-color: #fff;
  padding: 0.3em;
}
#map { 
  height: 100%;
}
#map:focus {
  outline: #4A74A8 solid 0.15em;
}
.ol-zoom {
  /* Make sure title doesn't sit over zoom controls */
  z-index: 1001;
  top: 60px;
  left: 15px;
}
.ol-rotate {
  /* Make sure title doesn't sit over rotate controls */
  z-index: 1001;
  top: 15px;
  right: 15px;
}

/* copyright etc. */
.ol-attribution {
  z-index: 1009;
  max-width: calc(100% - 34px);
  bottom: 15px;
  right: 15px;
}
.ol-attribution button  {
  background-color: rgba(0,60,136,.60);
}
.ol-attribution button:hover {
  background-color: rgba(0,60,136,.8);
}
.ol-attribution ul {
  text-align: left;
}
.ol-attribution:not(.ol-collapsed) {
    background: rgba(255,255,255,.9);
}
.ol-control button {
  width: 33px;
  height: 33px;
  font-size: 20px !important;
}

/* scale line */
.ol-scale-line {
  background: rgba(0,60,136,.6);
  bottom: 15px;
  left: 15px;
}

/* mouse position */
.ol-mouse-position {
  top: auto;
  right: 60px;
  bottom: 15px;
  display: block;
  width: 240px;
  padding: 0px 12px;
  color: #fff;
  height: 33px;
  line-height: 33px;
  font-size: 14px;
  text-align: center;
  background-color: rgba(0,60,136,.5);
  border: 3px solid rgba(255,255,255,.7);
  border-radius: 4px;
  z-index: 1001;
  /*white-space: nowrap;*/
}

/* Custom home button, top left */
.ol-home {
  display: block;
  position: fixed;
  width: 39px;
  height: 39px;
  background-color: rgba(255,255,255,.4);
  border-radius: 2px;
  left: 15px;
  top: 15px;
}
.ol-home button {
  width: 33px;
  height: 33px;
  margin-left: 3px;
  margin-top: 3px;
  background-color: rgba(0,60,136,.5);
  border-radius: 2px; 
  border: none;
  padding: 0px;
}
.ol-home button:hover {
  text-decoration: none;
  background-color: rgba(0,60,136,.7);
}
.ol-home button img {
  position: relative;
  top: 1px;
  width: 24px;
  height: 24px;
}

/* DEM Value button, top left */
.ol-depths {
  display: block;
  position: fixed;
  width: 39px;
  height: 39px;
  background-color: rgba(255,255,255,.4);
  border-radius: 2px;
  left: 15px;
  top: 139px;
}
.ol-depths button {
  width: 33px;
  height: 33px;
  margin-left: 3px;
  margin-top: 3px;
  background-color: rgba(0,60,136,.5);
  border-radius: 2px; 
  border: none;
  padding: 0px;
}
.ol-depths button:hover {
  text-decoration: none;
  background-color: rgba(0,60,136,.7);
}
.ol-depths button img {
  position: relative;
  top: 1px;
  width: 24px;
  height: 24px;
}

/* layer switcher */
.layer-switcher {
  top: 15px;
  right: 15px;
  left: auto;
}
.layer-switcher button {
  background-color: rgba(0,60,136,.5);
  background-size: contain;
  background-position: center;
}
.layer-switcher .panel {
  background-color: rgba(0,60,136,.65);
  color: #fff;
}

/* media queries */
@media (max-width: 599px) { 
  #header {
    width: 100%; 
  }
  .ol-zoom {
    display: none;
  }
  .ol-mouse-position {
    width: -webkit-calc(100% - 150px);
    width:    -moz-calc(100% - 150px);
    width:         calc(100% - 150px);
    margin-left: 15px;
    left: 0px;
    bottom: 15px;
  }
  .ol-scale-line {
    bottom: 60px;
  }
  .ol-attribution {
    bottom: 15px !important;
    right: 15px;
  }
  .layer-switcher {
    top: auto;
    bottom: 15px;
    right: 60px;
  }
  .layer-switcher.shown.ol-control {
    position: fixed;
    left: 15px;
    right: 15px;  
    padding: 0px;
    bottom: 86px;
  }
  .layer-switcher button {
    background-color: rgba(0,60,136,.60);
  }
  .ol-home {
    top: 50%;
    margin-top: -19px;
  }
}

@media (max-width: 379px) { 
  .ol-mouse-position {
    font-size: 12px;
  }
}


/* ---------------------------------------------------
    Copyright
----------------------------------------------------- */


#copyright{
  position: absolute;
  display: inline-block;
  right: 0;
  bottom: 0;
  height: auto;
  width: auto;
  transition: left .6s; 
  background:#ffffff;
  font-size: 0.6em;
	
}