body { margin:0; padding:0; height: 100%; width: 100%; min-width: 768px;}
html {height: 100%; width: 100%; font-family: 'Open Sans', Arial, Helvetica, sans-serif; min-width: 768px;}
#map { position:fixed; top:0; bottom:0; width:100%; display: inline-block; min-width: 768px;}
#scrollZone {  position:absolute; top:0; bottom:0; right:0; display: inline-block; width: 20%; }
.waypoint-padding { margin: 0% 5% 120% 5%; width: 90%; }
h1 { font-size: 2.2rem; }

.mapboxgl-popup {
    max-width: 400px;
    font: 12px/20px 'Open Sans', Arial, Helvetica, sans-serif;
}

#scrollspy-nav {
  position: relative;
  top: 0;
}
.activeNav {
  background-color: blue;
}

#fixed-text-box {
  padding: 1rem;
}

#one-waypoint {
  padding-top: 130%;
}

.active-btn {
  color: black;
}
.map-btn {
  cursor: pointer;
}

.mapboxgl-ctrl-geocoder input[type='text'] {
    font-size: 12px;
    width: 14.5vw !important;
    border: 0;
    background-color: transparent;
    height: 23px !important;
    margin: 0;
    color: rgba(0,0,0,.5);
    padding: 10px 10px 10px 40px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.mapboxgl-ctrl-geocoder {
    font: 15px/20px 'Open Sans', Arial, Helvetica, sans-serif;
    position: relative;
    background-color: white;
    width: 17vw !important;
    min-width: 240px;
    max-width: 360px;
    z-index: 1;
    border-radius: 3px;
}

.map-overlay {
    font: 12px 'Open Sans', Arial, Helvetica, sans-serif;
    position: fixed !important;
    width: 200px;
    margin-top: 230px;
    top: 0;
    left: 0;
    padding: 10px;
}

.countyFly {
  text-align: right;
  color: #9e9e9e;

}

.countyActive {
  color: black !important;
}

#countyTextCont {
  right: 0;
  left: auto;
  margin-top: 400px;
}

.map-overlay .map-overlay-inner {
    background-color: #fff;
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.map-overlay-inner fieldset {
    border: none;
    padding: 0;
    margin: 0 0 10px;
}

.map-overlay-inner fieldset:last-child {
    margin: 0;
}

.map-overlay-inner select {
    width: 100%;
}

.map-overlay-inner label {
    display: block;
    font-weight: bold;
    margin: 0 0 5px;
    font-size: 12px;
}

.map-overlay-inner button {
    display: inline-block;
    width: 36px;
    height: 20px;
    border: none;
    cursor: pointer;
}

.map-overlay-inner button:focus {
    outline: none;
}

.map-overlay-inner button:hover {
    box-shadow:inset 0 0 0 3px rgba(0, 0, 0, 0.10);
}

.map-key-container {
  height: 600px;
  width: 180px;
  background-color: aliceblue;
  top: 9%;
  left: .5%;
  position: relative !important;
  display: block;
}
.map-key-inner {

}
.map-key-gradient {
  height: 300px;
  width: 40px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0c2c84+20,225ea8+25,1d91c0+30,41b6c4+35,7fcdbb+40,c7e9b4+45,ffffcc+64,ffffcc+100 */
  background: #0c2c84; /* Old browsers */
  background: -moz-linear-gradient(top, #0c2c84 20%, #225ea8 25%, #1d91c0 30%, #41b6c4 35%, #7fcdbb 40%, #c7e9b4 45%, #ffffcc 64%, #ffffcc 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #0c2c84 20%,#225ea8 25%,#1d91c0 30%,#41b6c4 35%,#7fcdbb 40%,#c7e9b4 45%,#ffffcc 64%,#ffffcc 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #0c2c84 20%,#225ea8 25%,#1d91c0 30%,#41b6c4 35%,#7fcdbb 40%,#c7e9b4 45%,#ffffcc 64%,#ffffcc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0c2c84', endColorstr='#ffffcc',GradientType=0 ); /* IE6-9 */
}
.map-key-gradient-baplus {
  height: 300px;
  width: 40px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#016450+5,02818a+10,3690c0+15,1d91c0+15,67a9cf+20,a6bddb+25,d0d1e6+30,d0d1e6+100 */
  background: #016450; /* Old browsers */
  background: -moz-linear-gradient(top, #016450 5%, #02818a 10%, #3690c0 15%, #1d91c0 15%, #67a9cf 20%, #a6bddb 25%, #d0d1e6 30%, #d0d1e6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #016450 5%,#02818a 10%,#3690c0 15%,#1d91c0 15%,#67a9cf 20%,#a6bddb 25%,#d0d1e6 30%,#d0d1e6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #016450 5%,#02818a 10%,#3690c0 15%,#1d91c0 15%,#67a9cf 20%,#a6bddb 25%,#d0d1e6 30%,#d0d1e6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#016450', endColorstr='#d0d1e6',GradientType=0 ); /* IE6-9 */
}

.map-key-ticks {
  height: 300px;
  width: 40px;
  display: inline-block;
}
.tick {
  height: 10px;
}
.map-key-gradient {
  display: inline-block;
}

#features {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left:0;
    width: 300px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.8);
}

#keyBoxTitle {
  z-index: 1;
}

#keyBox {
  background: white;
  color: #333333;
  position: fixed;
  z-index: 1;
  top: 410px;
  left: 10px;
  height: 70px;
  border-radius: 3px;
  width: 290px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  font-family: 'Open Sans', sans-serif;
  font-size: 12px; }

#key_stop_1 {
  display: inline-block;
  padding-left: 0px;
  margin-top: 5px;
  text-align: center; }

#key_stop_2 {
  display: inline-block;
  padding-left: 20px;
  margin-top: 5px;
  text-align: center; }

#key_stop_3 {
  display: inline-block;
  padding-left: 15px;
  margin-top: 5px;
  text-align: center; }

#key_stop_4 {
  display: inline-block;
  padding-left: 85px;
  margin-top: 5px;
  text-align: center; }

#key_stop_5 {
  display: inline-block;
  padding-left: 85px;
  margin-top: 5px;
  text-align: center; }

#key_stop_6 {
  display: inline-block;
  padding-left: 85px;
  margin-top: 5px;
  text-align: center; }

#key_stop_7 {
  display: inline-block;
  padding-left: 85px;
  margin-top: 5px;
  text-align: center; }

#keyGradient2 {
  background: #333333;
  color: white;
  position: absolute;
  z-index: 1;
  top: 25px;
  left: 10px;
  height: 15px;
  border-radius: 3px;
  width: 230px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#016450+0,02818a+20,3690c0+40,67a9cf+60,a6bddb+80,f6eff7+100 */
  background: #016450; /* Old browsers */
  background: -moz-linear-gradient(left, #016450 0%, #02818a 20%, #3690c0 40%, #67a9cf 60%, #a6bddb 80%, #f6eff7 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #016450 0%,#02818a 20%,#3690c0 40%,#67a9cf 60%,#a6bddb 80%,#f6eff7 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #016450 0%,#02818a 20%,#3690c0 40%,#67a9cf 60%,#a6bddb 80%,#f6eff7 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#016450', endColorstr='#f6eff7',GradientType=1 ); /* IE6-9 */
}

#keyGradient {
  background: #333333;
  color: white;
  position: absolute;
  z-index: 1;
  top: 25px;
  left: 10px;
  height: 15px;
  border-radius: 3px;
  width: 230px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  font-family: 'Open Sans', sans-serif;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0c2c84+0,225ea8+20,1d91c0+40,41b6c4+60,7fcdbb+80,c7e9b4+100 */
background: #0c2c84; /* Old browsers */
background: -moz-linear-gradient(left, #0c2c84 0%, #225ea8 20%, #1d91c0 40%, #41b6c4 60%, #7fcdbb 80%, #c7e9b4 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #0c2c84 0%,#225ea8 20%,#1d91c0 40%,#41b6c4 60%,#7fcdbb 80%,#c7e9b4 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #0c2c84 0%,#225ea8 20%,#1d91c0 40%,#41b6c4 60%,#7fcdbb 80%,#c7e9b4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0c2c84', endColorstr='#c7e9b4',GradientType=1 ); /* IE6-9 */
 }

#homeButton {
  background: white;
  color: #333333;
  position: fixed;
  z-index: 1;
  top: 170px;
  right: 10px;
  border-radius: 3px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.4);
  font-family: 'Open Sans', sans-serif;
}

#homeIcon {
  background-image: url("../img/home_black.png");
  height: 24px;
  width: 24px;
  pointer-events: none;
  background-size: contain;
  margin-left: 3px;
  margin-top: 3px;
}
.nodisplay {
  display: none;
}
.mapboxgl-ctrl.mapboxgl-ctrl-scale {
    margin-top: 500px !important;
}
#keyBoxTitle {
  padding: 5px 0px 0px 10px;
}

#countyBtns {
  right: 0;
  left: auto;
}



select {
  display: block;
}
#schoolDotsLabel {
  color: dimgrey;
}


#heading {
  background-color: #fff;
  box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
  border-radius: 3px;
  margin: 10px;
  z-index: 1;
  font: 1rem 'Open Sans', Arial, Helvetica, sans-serif;
  position: fixed !important;
  width: 500px;
  top: 0;
  left: 0;
  padding: 10px;
}
#hed {
  font-size: 26px;
  font-weight: 300;
  padding-bottom: 10px;
  font-family: 'din-2014', sans-serif;
  line-height: 28px;
}
#dek {
  font-size: 15px !important;
  padding-bottom: 10px;
  color: grey;
}
#blurb {
  font-size: 11px !important;
  width: 100%;
  padding-bottom: 10px;
}


#footerContainer {
  background-color: rgba(255,255,255,1);
  box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 40px;
  z-index: 1;
  bottom: 0;
  position: fixed;
  font-size: 10px;
  margin-left: 10px;
  width: 500px;
}

#note {
  margin-bottom: 5px;
}


.map-overlay .map-overlay-inner {
background-color: #fff;
box-shadow:0 1px 2px rgba(0, 0, 0, 0.10);
border-radius: 3px;
padding: 10px;
margin-bottom: 10px;
z-index: 1;
}

.map-overlay-inner fieldset {
border: none;
padding: 0;
margin: 0 0 10px;
}

.map-overlay-inner fieldset:last-child {
margin: 0;
}

.map-overlay-inner select {
width: 100%;
}

.map-overlay-inner label {
display: block;
font-weight: bold;
margin: 0 0 5px;
}

.map-overlay-inner button {
display: inline-block;
width: 36px;
height: 20px;
border: none;
cursor: pointer;
}

.map-overlay-inner button:focus {
outline: none;
}

.map-overlay-inner button:hover {
box-shadow:inset 0 0 0 3px rgba(0, 0, 0, 0.10);
}
