body { margin:0; padding:0; }
#map { position:absolute; top:72px; bottom:0; /*top: 10%;*/}

body.nosidebar #markerinfo {
    display: none;
}

body.nosidebar #map {
    right: 0;
    width: 100%;
}

/*div.leaflet-control-attribution.leaflet-control {
  display: none;
}*/

div.leaflet-control-grid.map-tooltip.leaflet-control {
  margin-right: 60px;
}

a:link {
  text-decoration: none;
}

a, a:visited {
  text-decoration: none;
  color: #8BA1A6;
}

/* Styling for  Zoom to US button */
/********************************************/
/********************************************/
span.state-icon-us.state-icon {
  position: absolute;
  top: 71px;
  left: 50px;
  color: #58595b;
  font-size: 30pt;
  z-index: 200;
}

span.state-icon-us.state-icon:hover{
  color: #969a9c;
}

#zoomLabel {
  position: absolute;
  top: 82px;
  left: 95px;
  font-family: 'Lato';
  font-size: 9pt;
  color: #58595b;
  z-index: 201;
}
    
/* Styling for  Header */
/********************************************/
/********************************************/

div#saip-banner {
/*    text-align: center;*/
    position: absolute;
    background-color: #F4F7F8;
    width: 100%;
    height: 72px;
}

div#saip-banner h3{
  position: absolute;
  font-family: 'Lato';
  margin-top: 19px;
  display: inline-block;
  text-align: center;
  width: 100%;
}

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

/* Styling for 'BLOG' button */
/********************************************/
#blog_button{
    color: #8BA1A6;
    display:inline-block;
    font-family: 'Lato', sans-serif;
    font-size:.9em;
    font-weight:normal;
    text-decoration:none;
    text-align: center;
    margin-top: 25px;
    width: 100px;
    float: right;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media only screen and (min-width: 1100px) {
    #blog_button{
        font-size:.9em;
        margin-right: 1%;
        margin-top: 25px;
    }

    body.nosidebar div#saip-banner h3 {
      display: inline-block !important;
      font-family: 'Lato';
      margin-top: 19px;
      display: inline-block;
      text-align: center;
    }

    body.nosidebar #blog_button {
      display: none;
    }
}

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

ul.legend li.legendTitle span a {
  text-decoration: none;
  color: #1B4971;
  font-weight: 700;
}

@media only screen and (min-width: 200px) {

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

  div#saip-banner h3 {
    font-size: .7em;
    left: 10%;
  }

  #blog_button {
    display: none;
  }

  img#logo {
    height: 52%;
  }

  p#instructions {
    display: none;
  }

div#allLegends{
    display: block;
    height: auto;
    padding-left: 5px;
    padding-right: 5px;
    font: normal 11px 'Lato', sans-serif;
    width: 80px;
    position: absolute;
    right: .2%;
    top: 46%;
    bottom: auto;
  }

  div#legendcontainer.mobileColumbus {
    display: none;
  }

  #legend-ui li {
    list-style-type: none;
    font:9px 'Montserrat', sans-serif;;
  }

  #legend-ui li ul.legend {
    display: inline-block;
    padding-left: 0px;
    margin-left: -35px;
    /*margin-top: -8px;*/
  }

  div#columbusText {
    text-align: center;
    background-color: white;
    padding-bottom: 5px;
  }

  img.columbusBoundary {
    width: 20px;
  }

  span.columbusTitle {
    text-decoration: none;
    /*color: #1B4971;*/
    font-weight: 700;
    margin: 0;
    text-align: center;
  }

  a.columbusLegend {
    display: inline-block;
    position: relative;
    width: 80%;
    border-color: #7AB6CC;;
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
    color: #000;
    background: #3990A3;
    text-decoration: none;
    margin-bottom: 2px;
  }

  a.columbusLegend:hover {
    color: #fff;
  }

  a.columbusLegend:active{
    color: #fff;
  }

  #markerinfo {
    position: absolute;
    top: 64%;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    background: #fff;
    color: #000;
    padding: 2px;
    border-left: 3px solid #fff;
    font-family: 'Lato';
  }

  #markerinfo2 {
    width: 100%;
    margin-top: -20px;
    height: 100%;
  }

  #markerinfo2 iframe#iframe {
      height: 555px;
      width: 100%;
  }

  #markerinfo2 div.cycle {
    /*margin-left: 0%;*/
    text-align: center;
  }

  #markerinfo2 div.cycle a.next{
      color: #3990A3;
      height: 16px;
      display:inline-block;
      font-family:'Lato';
      /*font-size:10px;*/
      font-weight:bold;
      text-decoration:none;
      /*margin-left: 5px;*/
      margin-left: 30%;
  } 

  #markerinfo2 div.cycle a.next1{
      color: #3990A3;
      height: 16px;
      display:inline-block;
      font-family:'Lato';
      /*font-size:10px;*/
      font-weight:bold;
      text-decoration:none;
      /*margin-left: 0%;*/
      margin-left: 40%;
  }    

  #markerinfo2 div.cycle a.prev{
      color: #3990A3;
      height: 16px;
      display:inline-block;
      font-family:'Lato';
      /*font-size:10px;*/
      font-weight:bold;
      text-decoration:none;
      margin-right: 10px;
  }


  /* Sidebar button */
  #sidebarbuttoncontainer {
    background: #3990A3;
    width: 13px;
    padding-left: 2px;
    margin-left: 90%;
    -webkit-border-radius: 3px;
  }

  #sidebarbutton {
      text-decoration: none;
      color: #fff;
      padding left: 4px;
      font-family: 'Lato';
      font-size: large;
      line-height: 20px;
      margin-left:-.5px;
  }

  #island_button {
    display: inline-block;
    position: relative;
    width: 70%;
    border-color: #7AB6CC;;
    border-radius: 3px;
    font-size: 10px;
    text-align: center;
    color: #fff;
    background: #3990A3;
  }

  #island_button:hover {
    color: #000;
  }


  #buttoncontainer.active{
      display: none;
    }


  #buttoncontainer {
      border-radius:3px;
      display:inline-block;  
      position: absolute;
      top: 5px;
      right:25px;
      width: 15%;
  }

  #buttonCloser {
    text-decoration: none;
  }


  #buttoncontainer {
    border-radius:1px;
    display:inline-block;
    color:#000;
    font-family:'Lato';
    font-size:15px;
    font-weight:bold;
    padding:4px;
    text-decoration:none;
    position: absolute;
    margin-right: 5%;
    }   

    body.nosidebar #buttoncontainer {
      left: 35%;
      display: inline-block;
      width: auto;
    }   
}
@media only screen and (min-width: 700px) {
  p#instructions {
    display: block;
    margin-top: -10px;
    font-size: 13px;
    /*margin-left: -10px;*/
    margin-bottom: 2px;
  }

  p#instructions a {
    text-decoration: none;
    color: #1B4971;
    font-weight: 700;
  }

  div#legendcontainer hr {
    display: block;
    margin-left: -11px;
    margin-top: -10px;
  }

  #markerinfo2 div.cycle a.next{
      font-size:18px;
      /*margin-left: 35px;*/
  } 

  #markerinfo2 div.cycle a.next1{
      font-size:18px;
      /*margin-left: 44.5%;*/
  }    

  #markerinfo2 div.cycle a.prev{
      font-size:18px;
  }
  body.nosidebar #buttoncontainer {
    display: inline-block;
    left: 80%;
    width: 200px;
  }  
}
@media only screen and (min-width: 600px) {

  #map {
    width:74%; 
    height: 90%;
  }

  div#saip-banner h3 {
    font-size: 1.17em;
    left: 0;
  }

  #blog_button {
    display: block;
  }

  div#allLegends{
    width: 105px;
    top: auto;
    bottom: 2%;
    right: auto;
    left: .5%;
  }

  div#legendcontainer.mobileColumbus {
    display: block;
  }

  #legendcontainer{
    display: block;
    height: auto;
    padding-right: 0px;
    font: normal 13px/18px 'Lato', sans-serif;
    width: 105px;
    position: relative;
    left: .5%;
    bottom: 5%;
    top: auto;
    background: white;
  }

  #legend-ui li {
    list-style-type: none;
    font:13px/18px 'Montserrat', sans-serif;;
  }

  #markerinfo {
    position: absolute; top: 72px; right: 0; /*top: 10%*/;
    bottom: 0; width: 30%; background:#fff; color: #000;
    padding: 1px;
    border-left: 3px solid #fff;
    font-family: 'Lato';
    height: 90%;
  }

  #markerinfo2 iframe#iframe {
      height: 90%;
      /*width: 95%;*/
      margin-top: 20px;
  }

  #markerinfo2 div.cycle a.next{
      color: #3990A3;
      height: 16px;
      display:inline-block;
      font-family:'Lato';
      font-size:16px;
      font-weight:bold;
      text-decoration:none;
      margin-left: 5px;
  } 

  #markerinfo2 div.cycle a.next1{
      color: #3990A3;
      height: 16px;
      display:inline-block;
      font-family:'Lato';
      font-size:16px;
      font-weight:bold;
      text-decoration:none;
      /*margin-left: 44.5%;*/
  }    

  #markerinfo2 div.cycle a.prev{
      color: #3990A3;
      height: 16px;
      display:inline-block;
      font-family:'Lato';
      font-size:16px;
      font-weight:bold;
      text-decoration:none;
  }


  /* Sidebar button */
  #sidebarbuttoncontainer {
    background: #3990A3;
    width: 13px;
    padding-left: 2px;
    margin-top: 2px;
    margin-left: 90%;
    -webkit-border-radius: 3px;
  }

  #sidebarbutton {
      text-decoration: none;
      color: #fff;
      padding left: 4px;
      font-family: 'Lato';
      font-size: large;
      line-height: 20px;
      margin-left:-.5px;
  }

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

  #island_button:hover {
    color: #000;
  }


  #buttoncontainer.active{
      display: none;
    }


  #buttoncontainer {
      border-radius:3px;
      display:inline-block;  
      position: absolute;
      top: 5px;
      right:25px;
      width: 15%;
  }

  #buttonCloser {
    text-decoration: none;
  }


  #buttoncontainer {
    border-radius:1px;
    display:inline-block;
    color:#000;
    font-family:'Lato';
    font-size:15px;
    font-weight:bold;
    padding:4px;
    text-decoration:none;
    position: absolute;
    margin-right: 5%;
  }

  body.nosidebar div#saip-banner h3 {
    display: none;
  }
}

#legend-ui {
    list-style: none;
}

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

#legend-ui li ul.legend span.keycolor {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}


/*Legend Colors*/
/********************************************/

#legend-ui li ul.legend li.legendTitle span.keycolor {
    width: 0px;
    margin-left: -15px;
}

#legend-ui li ul.legend li.zerotoTen span.keycolor {
    background-color:#b7d8e4;
}
#legend-ui li ul.legend li.tentoTwenty span.keycolor {
    background-color:#7ab6cc;
}
#legend-ui li ul.legend li.twentytoThirty span.keycolor {
    background-color:#3990a3;
}
#legend-ui li ul.legend li.thirtytoFourty span.keycolor {
    background-color:#296371;
}
#legend-ui li ul.legend li.fourtyPlus span.keycolor {
    background-color:#224a58;
}
        
body.nosidebar #map .leaflet-control-container .leaflet-top {
    left: 10px;
}

        /*Styling for popup*/
.popup {
    text-align: center;
}


/* Styling for layer definition popups*/
.popup{
    position:relative;
    width:200px;
    margin-left: 265px;
    margin-top: 120px;
    font-family: 'Lato';
    font-size:13px;
    padding:10px;
    background-color:#F3F8F8;
    border:2px solid #FFF;
    z-index:100000000000000000;
    }
    

div.leaflet-popup-content-wrapper {
    overflow: auto;
}

div#saip-banner div.subheading {
    position: relative;
    top: 44px;
    text-align: center;
    font-family: Lato;
    font-size: 16px;
    width: 80%;
    margin-left: 10%;
    margin-top: 0px;
}
@media only screen and (max-width: 747px) {
    div#saip-banner div.subheading {
      font-size: .8em;
      left: 10%;
    }
}

