[v-if] { display: none; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html,
body {
  height: calc(100% - 28px);
}
#container {
  width: 100%;
  height: 100%;
  margin: 55px 0 0 0;
  padding: 0;
}
header {
  background: url(gfx/background-tessellations.png) no-repeat 0 0 #10428c;
  padding-left: 10px;
  padding-top: 0px;
  padding-bottom: 7px;
  position: absolute;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 55px;
}
header p:before {
  content: '';
  width: 37px;
  height: 2px;
  background: #f9c000;
  display: block;
  margin-bottom: 5px;
}
header img {
  float: left;
  margin: 0;
  padding: 0;
}
header p {
  color: #ffffff;
  font-family: Georgia, Times New Roman, serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 9px;
  line-height: 1;
  margin-top: 10px;
  margin-left: 70px;
}
header h1 {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, arial, sans-serif;
  font-weight: 300;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  margin-left: 70px;
  transition: all 0.2s ease;
}
header a {
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  color: #ffffff;
}
header a:hover {
  color: #f9c000;
}
#results {
  width: 100%;
  height: 100%;
  position: relative;
}
#mapkey {
  background: rgba(255,255,255,0.8);
  padding: 20px 15px 0px 15px;
  overflow: hidden;
  z-index: 9999;
  position: absolute;
  display: block;
  top: 20px;
  left: 17px;
  border: 1px solid rgba(0,0,0,0.2);
  border-left: 3px solid #f9c000;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  color: #333333;
  border-radius: 4px;
  width: 432px;
}
#results h2 {
  margin: 10px 0 20px 0;
  color: #333333;
  font: 300 14px "Open Sans", Helvetica, Arial, sans-serif;
  line-height: 24px;
  font-size: 18px;
}
#results .select-container select {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: #ffffff;
  border: none;
  font-size: 14px;
  height: 35px;
  padding: 5px; /* If you add too much padding here, the options won't show in IE */
  border-radius: 4px;
  border: 1px solid #bbbbbb;
}
#results #legend {
  margin: 15px 0 15px 0;
  padding: 0;
  font: 300 14px "Open Sans", Helvetica, Arial, sans-serif;
  line-height: 24px;
}
#results #legend h3 {
  font-weight: 300;
  margin-top: 0px;
  margin-bottom: 5px;
  padding-top: 0px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-family: Georgia, Times New Roman, serif;
}
#results #legend ul {
  list-style-type: none;
  overflow: hidden;
  margin-bottom: 0;
}
#results #legend li {
  padding: 5px;
  line-height: 1.3;
  font-weight: 400;
  width: 33%;
  float: left;
  font-size: 12px;
}
#results #legend li span.id {
  background: #e4e4e4;
  text-align: center;
  width: 15px;
  height: 15px;
  display: inline-block;
  border-radius: 100%;
  font-size: 11px;
  margin-right: 10px;
}
#results #legend li:nth-of-type(1) span.id {
  background: #673091;
  color: #ffffff;
}
#results #legend li:nth-of-type(2) span.id {
  background: #416ebf;
  color: #ffffff;
}
#results #legend li:nth-of-type(3) span.id {
  background: #43c1c3;
  color: #ffffff;
}
#results #legend li:nth-of-type(4) span.id {
  background: #79AA38;
  color: #ffffff;
}
#results #legend li:nth-of-type(5) span.id {
  background: #D8A600;
  color: #ffffff;
}
#results #legend li:nth-of-type(6) span.id {
  background: #eb66c4;
  color: #ffffff;
}
#results #legend li:nth-of-type(7) span.id {
  background: #ff7e00;
  color: #ffffff;
}
#results #legend li:nth-of-type(8) span.id {
  background: #ea4b24;
  color: #ffffff;
}
#results #legend li:nth-of-type(9) span.id {
  background: #666666;
  color: #ffffff;
}
#results #legend li span.value {
  display: inline-block;
}

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


@media only screen and (max-width: 480px) {
  html, body {
    background: #10428c;
    height: calc(100% - 24px);
    margin-top: 24px;
  }
  #container {
    margin-top: 0;
  }
  header {
    position: absolute;
    padding-left: 0px;
    height: 48px;
  }
  header p {
    margin-top: 6px;
    margin-left: 60px;
    margin-bottom: 2px;
  }
  header h1 {
    font-size: 16px;
    margin-left: 60px;
  }
  #map {
    height: calc(100% - 235px);
    order: 1;
    margin-top: 0;
    position: static;
  }
  #mapkey {
    width: 100%;
    position: static;
    top: auto;
    left: 0;
    border: none;
    border-left: 3px solid #f9c000;
    padding: 10px;
    border-radius: 0;
    background: #ffffff;
    padding-top: 20px;
    height: 235px;
    position: absolute;
    bottom: 0;
  }
  #mapkey h2 {
    margin: 5px 0 10px 0;
  }
  #mapkey #legend h3 {
    border-top: none;
    padding: 0;
  }
  #results #legend {
    margin-top: 0;
  }
  #results .select-container select {
    margin-bottom: 14px;
    box-shadow: none;
  }
}

@media only screen and (max-width: 415px) {
    height: 100%;
  }

  @media only screen and (max-width: 360px) {
    #results #legend li {
      width: 50%;
    }
    #map {
      height: calc(100% - 255px);
    }
    #mapkey {
      height: 255px;
    }
  }
