/*body { margin: 0; padding: 0; }*/
/*#map { position: absolute; top: 0; bottom: 0; width: 100%; }*/
body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

#map{
    position: relative;
    top: 50px;
    height: 95vh;
    width: 100%;
    background-color: #2d2d2d;
}
/*
a.mapboxgl-ctrl-logo{
    display: none !important;
}
*/
#menu {
background: #fff;
position: absolute;
z-index: 1;
top: 60px;
right: 10px;
border-radius: 3px;
width: 120px;
border: 1px solid rgba(0, 0, 0, 0.4);
font-family: 'Open Sans', sans-serif !important;
}
 
#menu a {
font-size: 13px;
color: #404040;
display: block;
margin: 0;
padding: 0;
padding: 10px;
text-decoration: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
text-align: center;
}
 
#menu a:last-child {
border: none;
}
 
#menu a:hover {
background-color: #f8f8f8;
color: #404040;
}
 
#menu a.active {
background-color: #3887be;
color: #ffffff;
}
 
#menu a.active:hover {
background: #3074a4;
}
h2,
h3 {
  margin: 10px;
  font-size: 1.2em;
}

h3 {
  font-size: 1em;
}
p {
  font-size: 0.85em;
  margin: 10px;
  text-align: left;
}
/**
* Set rules for how the map overlays
* (information box and legend) will be displayed
* on the page. */
.map-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  margin-right: 10px;
  /*
  font-family: Arial, sans-serif !important;
  */
  font: Arial, sans-serif !important;

  overflow: auto;
  border-radius: 3px;
}

#features {
    top: 140px;
    left: 0px;
    height: 150px;
    margin-top: 20px;
    margin-left: 10px;
    width: 260px;
}

#legend {
  padding: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 18px;
  height: 195px;
  margin-bottom: 40px;
  width: 90px;
}

.legend-key {
  display: inline-block;
  border-radius: 20%;
  width: 10px;
  height: 10px;
  margin-right: 5px;
}
/*
#info {
    display: inline-block;
    position: relative;
    width: 220px;
    margin: 10px auto;
    padding: 10px;
    border-radius: 3px;
    font-size: 12px;
    color: #222;
    background: #fff;
    display: flex;
    justify-content: center;
}
#color {
    width: 16px;
    height: 16px;
    border-radius: 25%;
    border: 2px solid black;
}
#text {
    line-height: 16px;
    padding: 2px 0 2px 6px;
}
*/
@media (max-width:824px) {
    .mapboxgl-ctrl-top-left .mapboxgl-ctrl{
        visibility: hidden;
    }
    #menu {
        top: 105px;
    }
}
@media (max-width:512px) {
    .mapboxgl-ctrl-top-left .mapboxgl-ctrl{
        visibility: hidden;
    }
    #legend {
        visibility: hidden;
    }
    #features {
        top: 45px;
    }
    #menu {
        background: #fff;
        position: absolute;
        z-index: 1;
        bottom: 10px !important;
        left: 10px;
        top: auto;
        border-radius: 3px;
        width: 120px;
        border: 1px solid rgba(0, 0, 0, 0.4);
        font-family: 'Open Sans', sans-serif !important;
    }
}