body{
  margin:0;
  background-color: #222729;
  -webkit-overflow-scrolling: touch;
}

#map {
  position: fixed;
  top: 4em;
  height: 574px;
  width:100%;
  background-color: #222729;
  -webkit-transition: top .3s linear;
  transition: top .3s linear;
  -webkit-overflow-scrolling: touch;
}

#downarrow{
width: 100px;
height: 120px;
z-index: 10;
position: absolute;
bottom: 0;
margin-left: 90%;
background-image: url(../img/downarrow.png);
margin-bottom: 5%;
background-position: 50% 50%;
background-repeat: no-repeat;
}

.labels {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 0.75rem;
  font-weight: 200;
  fill:#000;
}

#map-d3{
    z-index:2;
    position:relative;
    top: -20px;
    background-color: #222729;
    margin: 0 auto;
    width:40%;
}

#map-copy {
  position: absolute;
  /* top:270px; */
  z-index: 5;
  color:#fff;
  width:350px;
  padding:25px;
  background-color: rgba(34,39,41,0.7);
  height:600px;
}

h3 {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 1.6rem;
  margin-bottom: 0px;
}

h5 {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: .85rem !important;
  margin-bottom: 0;
  margin-top: 10px;
  font-weight: 600;
}

h4 {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 1.1rem;
  margin-bottom: 0px;
  color:#505050;
  font-weight: 600!important;
}

p {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 1rem;
  line-height: 1.25rem;
  margin-top:10px;
  font-weight: 200;
}

.definition {
  float:left;
  width: 25%;
  padding-right:3%;
  padding-top: 2%;
}


#map h3, #charts h3 {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 1.4rem;
  margin-bottom: 0px;
  font-weight: 600;
  line-height: 2rem;
}
 #charts h3 {
  margin-top: 20px;
 }

 b{
  font-weight:600;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
 }


#map p {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 1.1rem;
  line-height: 1.7rem;
  margin-top:10px;
  margin-bottom:20px;
  font-weight: 200;
}

.leaflet-control-geosearch {
  top:380px;
  margin-left:25px!important;
  position:absolute !important;
  z-index:3000 !important;
}

#leaflet-control-geosearch-qry {
  width:300px;
  height:40px;
  border:none;
  border-bottom:2px solid #AAA;
  background-color: rgba(120,120,120,0);
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-weight: 200;
  font-size: 1.5rem;
  font-style:normal;
  color:#fff;
  padding-left: 0px;
}

#charts {
  position: absolute;
  top: 730px;
  width:100%;
  background-color: #FFF;
  -webkit-box-shadow: 0px -2px 12px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow:    0px -2px 12px 0px rgba(0, 0, 0, 0.2);
  box-shadow:         0px -2px 12px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.axis text {
  font: 10px sans-serif;
}

.axis line {
  fill: none;
  stroke: #808080;
  shape-rendering: crispEdges;
}

.axis path{
  fill: none;
  stroke:none;
}


#sites {

}

#balance {

}

#table {

}

.bottom {
  width:50%;
  margin: 0 auto;
  max-width: 960px
}

#outer-fix{
  position:fixed;
  width:100%;
  background-color: #222729;
  z-index:3;
  height:550px;
}

.leaflet-shadow-pane {
  display:none;
}

.leaflet-objects-pane {
stroke-opacity:0;
}

.leaflet-zoom-animated path{
stroke-opacity:0;
fill-opacity:.8;

}


.leaflet-clickable path{
  fill:#FFF;
}
#results-text{
	margin-top:100px;

}

#results-text p{
  font-size: 20px !important;
  line-height: 24px !important;
}

.resultsmiles{

	font-size: 24px;
	font-weight: normal;
}

.leaflet-popup-content, .leaflet-popup-content-wrapper{
  background-color: #000 !important;
  margin:10px!important;
  color:#FFF;
  font-weight: 200;
  font-size: 1em !important;
  box-shadow:none !important;
  border-radius: 0 !important;

}

.leaflet-popup-tip{
  display: none
}

.popupname{
  font-family: Helvetica;
  font-weight: normal;
  line-height: 1.4em !important;
  font-size: 1em !important;
}

/*.popupsite{
  font-weight: normal !important;
}
*/
.popupcat{
  font-family: Helvetica;
  font-weight: normal;
  font-size: 1em !important;

}

.related-link{
color: #000 !important;
/*font-size: 1rem;*/
/*font-weight: 600;*/
text-decoration: none;
}

.leaflet-popup-content {
  padding: 0 !important;
  margin: 0;
  line-height: 1em !important;
  width:125px !important;
}

.leaflet-popup-content p{
  margin: 0 !important;
}

.leaflet-map-pane{
  opacity:0;
}


.leaflet-popup-content-wrapper{
 border-radius: 0;
 box-shadow: none;
}

.d3name{
  font-size: 1em;
  fill:#FFF;
}

p.instruction{
width: 200px;
font-size: .65rem !important;
color: #808080;
position: absolute;
left: 0;
text-transform: uppercase;
}

.key-note{
  font-style: italic;
  color:#808080;
  font-size: .75rem!important;
}
/*#table{
  display:none;
}*/
#state-hover{
  width:170px;
  padding-bottom: 8px;
  background-color: #000;
  position:absolute;
  display:none;
}
.state-name-map{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px;
  fill:#666;
}

.state-name-map-below{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px;
  fill:#666;
  stroke:#333;
  stroke-width:3px;
}

.hover-label{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px !important;
  float:left!important;
  position:absolute;
  font-weight: normal!important;
  margin-left: 10px !important;
  margin-top: -9px !important;
  color:#AAA;
}

.hover-number{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px !important;
  position:absolute;
  font-weight: normal!important;
  right: 5px;
  margin-top: -17px !important;
  color:#AAA;
}

.hover-bar{
  padding-bottom: 1px;
}

.bar{
  margin-left: 72px !important;
  margin-right: 1px;
  margin-top:5px;
  margin-bottom:5px;

}
#state-name{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px !important;
  font-weight: normal!important;
  margin-left: 10px !important;
  line-height: 10px !important;
  line-height: 12px !important;
  margin-top: 10px;
  color:#AAA;
}

.labels-stroke {
  fill:#000;
  stroke:#FFF;
  stroke-width:3;
  stroke-linejoin: round;
  stroke-opacity:.8;
}

.labels-fill {
  fill:#000;
}

#mb-launch-bt{
  display:none;
  background-color: rgb(49, 97, 126);
  margin: auto;
  padding:1rem;
}

.bt-text{
  font-family: helvetica;
  font-weight: bold;
  text-align: center;
  font-size: 18px !important;
  color:#FFF;
}

#results-text{
z-index: 5;
position: absolute;
top: 330px;
left: 24px;
width: 300px;
color:#FFF;
}

#results-div{
  display:block;
}

.d3name{
  font-size: 1em;
  fill:#FFF;
}

#state-hover{
  width:170px;
  padding-bottom: 8px;
  background-color: #000;
  position:absolute;
  display:none;
}
.state-name-map{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 9px;
  fill:#808080;
}

.state-name-map-below{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 9px;
  fill:#666;
  stroke:#333;
  stroke-width:3px;
}

.hover-label{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px !important;
  float:left!important;
  position:absolute;
  font-weight: normal!important;
  margin-left: 10px !important;
  margin-top: -9px !important;
  color:#AAA;
}

.hover-number{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px !important;
  position:absolute;
  font-weight: normal!important;
  right: 5px;
  margin-top: -17px !important;
  color:#AAA;
}

.hover-bar{
  padding-bottom: 1px;
}

.bar{
  margin-left: 72px !important;
  margin-right: 1px;
  margin-top:5px;
  margin-bottom:5px;

}
#state-name{
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 11px !important;
  font-weight: normal!important;
  margin-left: 10px !important;
  line-height: 10px !important;
  line-height: 12px !important;
  margin-top: 10px;
  color:#AAA;
}

.labels-stroke {
  fill:#000;
  stroke:#FFF;
  stroke-width:4;
  stroke-linejoin: round;
  stroke-opacity:.85;
}

.labels-fill {
  fill:#000;
}

.axis text{
  fill:#999;
}

#sites-table{
  position:relative;
  float:left;
  margin-left: 300px
}

.table-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 0.7rem;
  fill:#000;
}

.table-label-stroke {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  font-size: 0.7rem;
  fill:#000;
  stroke:#FFF;
  stroke-width:4;
  stroke-linejoin: round;
}

.site-evolution {
  float:left;
  width:400px;
}

.site {
  height:18px;
  border-bottom: solid #DDD 1px;
  clear: both;
}

.side-copy {
  float:left;
  width:280px;
  margin-right: 20px;
}

#table p, .side-copy p {
  font-size: .9rem
}

#table-head {
  width:540px;
}

#sites-annotation {
  position: relative;
  float:left;
}

#ngg-sites-chart {
  float:left;
  width: 600px;
}

#ngg-balance-chart {
  float:left;
  width: 600px;
}

.bottom {
  margin: 0 auto;
  width: 900px;
  clear:both;
  background-color: #FFF;
}

#sa-deleted, #sa-completed, #sa-active, #sa-proposed {
  position:absolute;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

#sa-deleted {
  top:10px;
}

#sa-completed {
  top:375px;
}

#sa-active {
  top:1165px;
}

#sa-proposed {
  top:1690px;
}

#sites-axis{
  position:absolute;
  margin-left: 300px;
  background-color: #FFF;
}

#sites-table{
  position:relative;
  float:left;
  margin-left: 300px
}

#table {
  position:relative;
}

.bottom-head {
  width:720px;
}

#dot-balance, #dot-congress{
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 6px;
}

#dot-balance {
  background-color: #808080;
}

#dot-congress {
  background-color: #E3E8EB;
}

p.key-balance {
  font-size: .75rem;
  margin-bottom:0;
  margin-top:0;
  color:#505050;
  font-weight: 400;
}

.bottom-head p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin-bottom:0;
}

#key {
  height: 185px;
  background-color: #E5E5E6;
}

.definition p {
  font-size: .75rem !important;
  line-height: 1.2rem !important;
  margin-top: 5px !important;
}

p.credits{
  font-size: .75rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 2rem;
}


@media screen and (max-width: 1024px) {
  #map-d3{
    width:100%;
    margin-left: 27% !important;
  }

  #d3-us{
    width:700px;
  }

  .leaflet-control-geosearch{
    top:275px;
  }


  #charts{
    top:600px;
  }

  .bottom{
    width: 100%;
  }

  #map{
    position:relative;
    top: 0;
   height: 500px;
  }

  #map-copy{
    position:absolute;
  /*  top:0;*/
  }

  #outer-fix{
    position:relative;
  }

  #table{
    display:none;
  }

}

@media screen and (max-width: 768px) {

/*  #outer-fix{
  position:relative;
  }

  #map-d3{
  top:22%;
  }

  #map-copy{
  width:100%;
  background-color: transparent;
  top:60px;
  }

  #results-text{
  top: 15px;
  width: 100%;
  margin-top: 0;

  }

  #results-div{
  top:0;
  position:absolute;
  background-color: rgba(34,39,41,0.7);
  width:100%;
  z-index: 5;
  height: 50px;
  display:none;
  }






  #outer-fix{
  height:490px;
  }



  .leaflet-control-zoom{
    display:none;
  }

  */

}

@media screen and (max-width: 480px) {
  #map-d3{
  top:57%;
  margin-left:0 !important;
  }

  #map-d3 {
padding: 10px;
background-image: url(../img/mobilemap.png);
width: 300px;
height: 190px;
}


#d3-us{
  display:none;
}

  #names{
    display:none;
  }

  #map-copy{
    height:400px;
  }
#map{
  top:0 !important;
}
  #outer-fix{
  position:relative;
  }


  #map-copy{
  width:100%;
  background-color: transparent;
  top:60px;
  }

  #results-text{
  top: 15px;
  width: 100%;
  margin-top: 0;

  }

  #results-div{
  top:0;
  position:absolute;
  background-color: rgba(34,39,41,0.7);
  width:100%;
  z-index: 5;
  height: 50px;
  display:none;
  }


  #charts{
    display:none;
  }

  #mb-launch-bt{
  display:block;
  margin-top: 60px;
  }

#mb-launch-bt{
display: block;
/* margin-left: 10%; */
z-index: 3;
position: absolute;
margin-top: 20%;
color: #FFF;
width: 50%;
text-align: center;
font-size: 1.2rem;
/* line-height: 0rem; */
margin-left: 25%;
/* margin-right: auto; */
padding: 0.4rem 1rem;
border-radius: 3px;
  }

  #outer-fix{
  height:490px;
  }

  #results-div{
  top:54px;
  position:absolute;
  background-color: rgba(34,39,41,0.7);
  width:100%;
  z-index: 5;
height: 80px;
  }

    #leaflet-control-geosearch-qry{
    margin-top: 50%;
    width: 250px;
    display: none;
    background-color: rgba(34,39,41,0.7);
    padding: 10px;
  }

  #results-text{
  top: 15px;
  width: 80%;
  margin-top: 0;
  }

  #map-copy{
    height:300px;
  }

}

@media screen and (max-width: 414px){

#mb-launch-bt{
  display:block;
  margin-top: 20%;
  }

    #map-d3 {
top: 66%;
padding: 10px;
background-image: url(../img/mobilemap.png);
width: 300px;
height: 190px;
}


#map{
  height:667px;
}

p{
  font-size: 1rem;
}

#map h3{
  font-size: 1.2rem;
line-height: 1.4rem;
margin-top: -10px;
}

#downarrow{
  display:none;
}

.bt-text{
  line-height: 1rem;
}

#leaflet-control-geosearch-qry{
  margin-top: 100%;
}

}

@media screen and (max-width: 320px){

  #map-d3 {
top: 34%;
padding: 10px;
background-image: url(../img/mobilemap.png);
width: 300px;
height: 190px;
}


#mb-launch-bt{
display: block;
bottom: 280px;
width: 60%;
margin-left: 20%;
background-color: rgba(49, 97, 126,0.6);
}

#map{
  height:600px;
}

#outer-fix{
  height:100%;
}

p{
  font-size: 1rem;
}

#map-copy{
  padding: 15px;
  height:200px;
}

#map p {
font-family: 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
font-size: .8rem;
line-height: 1.1rem;
margin-top: 10px;
margin-bottom: 20px;
font-weight: 200;
}

#map h3{
  font-size: 1.2rem;
line-height: 1.4rem;
margin-top: -10px;
}

#downarrow{
  display:none;
}

#leaflet-control-geosearch-qry {
margin-top: 60%;

}

}
