html, body {
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#map{
  position:absolute;
  top: 45px;
  bottom:0; 
  width:100%;
 }   

/* Styling for  Header */
/********************************************/
/********************************************/

div#saip-banner {
    position: absolute;
    background-color: #F4F7F8;
    width: 100%;
    height: 45px;
    text-transform: uppercase;
}

div#saip-banner span{
  font-family: 'Lato';
  margin-top: -18px;
  display: inline-block;
  width: 100%;
  text-align: center;
  color: #58595b;
  font-size: 1em;
}

h5#instructions {
  font-family: 'Lato';
  margin-top: -18px;
  display: inline-block;
  width: 100%;
  text-align: center;
  color: #58595b;
}

h3 {
  margin-bottom: 0px;
}

img#logo{
  margin-left: 2.1%;
  margin-top: 11px;
  height: 65%;
}  

/* School District zoom buttons*/

/*ul#sdbuttoncontainer {
  top: 85px;
  float: right;
  padding-right: 30px;
  position: relative;
  list-style: none;
}*/

#sdbuttoncontainer li a{
  font-family: 'Lato', sans-serif;
  font-size:.9em;
  font-weight:normal;
  text-decoration:none;
  text-align: center;
  color: #8BA1A6;
  display: block;
}

/* Styling for LEGEND */
/********************************************/
/********************************************/

#legendcontainer{
      display: block;
      border: 1px solid #3887BE;
      height: auto;
      padding-right: 1%;
      font: normal 13px/18px 'Lato';
      width: 200px;
      position: absolute;
      left: 1%;
      bottom: 2%;
      background: white;
}

p#explore{
  margin-top: 0px;
  padding-left: 5px;
  margin-right: -5px;
  font-family: 'Lato';
  font-size: 1.1em;
  text-align: center;
}

div#legendcontainer hr {
    margin-left: 8px;
    margin-top: -10px;
}

#legend-ui {
    list-style: none;
    padding-left: 2%;
}

div#legendTitle {
    text-align: left;
    margin-left: 2px;
    margin-top: 2px;
    font-weight: bold;
    font-size: 1.1em;
    }

/*ul#legend-ui li {
    list-style: none;
}*/

#legend-ui li ul.legend {
    background: #FFF;
    display: inline-block;
    padding-left: 0px;
    margin-left: -35px;
    margin-top: -2px;
}

#legend-ui li {
    list-style-type: none;
    font:13px/18px 'Lato';
}

#legend-ui li span {
    display: block;
    float: left;
    height: 16px;
    width: 30px;
    margin-right: 5px;
    margin-left: 0;
    border: 1px solid #999;
}

ul#sdbuttoncontainer {
    display: inline-block;
    position: relative;
    padding-left: 4%;
    margin-top: 2px;
    margin-bottom: 5px;
    width: 96%;
}

#twoD_button {
    display: inline-block;
    position: relative;
    margin: 6px auto;
    width: 49%;
    border-color: #7AB6CC;
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    background: #3990A3;
}


#threeD_button {
    display: inline-block;
    position: relative;
    margin: 6px auto;
    width: 49%;
    border-color: #7AB6CC;
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    background: #3990A3;
}

#context_button {
  display: inline-block;
  position: relative;
  margin: 6px auto;
  width: 100%;
  border-color: #7AB6CC;
  border-radius: 3px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background: #3990A3;
}

#context_button_close {
  display: inline-block;
  position: relative;
  margin: 6px auto;
  width: 100%;
  border-color: #7AB6CC;
  border-radius: 3px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background: #3990A3;
}

p#context {
  margin-top: 2px;
}

div#test.popup{
    position: relative;
    float: left;
    width: 184px;
    left: 45px;
    margin-top: 55px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 10px;
    background-color: #F4F7F8;
    border: 2px solid #FFF;
}
    
.cancel{
    display:relative;
    cursor:pointer;
    margin:0;
    float:right;
    height:10px;
    width:14px;
    padding:0 0 5px 0;
    background-color:#fff;
    text-align:center;
    font-weight:bold;
    font-size:11px;
    color:#000;
    border-radius:3px;
    z-index:100000000000000000;
    margin-top: 6px;
    margin-right: -6px;
}

@media (max-width: 500px) {
  h5#instructions{
    display:none;
  }

  h5#mobileInstructions{
    font-family: 'Lato';
    margin-top: -18px;
    display: inline-block !important;
    width: 100%;
    text-align: center;
    color: #58595b;
  }

  #legendcontainer{
    display: none;
  }
}
