#graphic {
  width: 100% !important;
}

#graphic h1 {
  margin-top: 30px !important;
}

#graphic p {
  position: relative;
  z-index: 1;
  line-height: 1.5;
  width:100%;
  max-width: 600px;
  margin: 0 auto 1rem;
}
#links{
  text-align: center !important;
}
.audit-map {
  position: relative;
  font-family: "graphik", sans-serif;
  position:relative;
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 10px;
  padding-bottom: 65%;
}
h2.map_title {
  font-size: 1.3em !important;
  margin-bottom: 0 !important;
  position: relative;
}
#graphic .mapInstrux {
  font-family: Graphik, sans-serif;
  text-align: center;
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9em;
  margin-top: 4px;
}
.map_biggest {
  position: relative;  
  margin-top: -50px;
}
.states_map_bigger, .counties_map_bigger {
  position:absolute; 
  left:0px;
  top:0px;
  width:100%;
  height: 670px;
}
.states_map_bigger {
  z-index:2;
  pointer-events: none;
  fill: none !important;
  stroke: red !important;
} 
.counties_map_bigger {
  z-index:1;
}
.states_map path {
  fill: transparent;
  stroke: white;
  stroke-width: 1pt;
}
.counties_map path {
  stroke: white;
  stroke-width: 0.25pt;
}
#landline_tooltip {
  position:absolute;
  background:rgba(255, 255, 255, 0.85);
  z-index:999999;
  font-family: "graphik", sans-serif;
  font-weight:bold;
  font-size:12px;
  padding:5px;
  border-radius:2px;
  box-shadow:0 0 5px #444;
  display:none;
}
#landline_tooltip h2 {
  text-align: left;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size:14px;
}
.tooltip_sub {
  font-size:12px;
  font-weight:normal;
  line-height:14px;
  text-align: left;
  margin-bottom: 5px;
}
#tooltip_main {
  line-height: 100% !important;
  color: #756bb1 !important;
}
.legend {
  position: absolute;
  width:  20%; 
  height: 8%; 
  right:  23%;
  bottom: 5%;
  z-index: 3;
}
.bar {
  width: 100%;
  height: 25%;
}
.labels {
  margin-top: 15px ;
  position: relative;
  font-weight: normal;
  font-size: 90% !important;
  line-height: 100% ;
}
.labelLeft {
  position: absolute;
  text-align: left;
  top:0;
  left:0;
}
.labelRight {
  position: absolute;
  text-align: right;
  top:0;
  right:0;
}

.static-map{
  display: none;
  width: 100%;
}

p.sources {
  font-family: Graphik, sans-serif;
  font-size: 12px;
  line-height: 1.48;
  margin-bottom: 4px !important;
  color: grey;
}
.bottom-stuff {
  margin-bottom: 40px;
}
.search-wrapper0{
  width: 90%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.twitter-typeahead{
  width: 100%;
}
#searchInstrux{
  text-align: left;
  font-size: 12px;
  line-height: 16px;
}
.search-box {
  position: relative;
}
.search-wrapper {
  position: relative;
  width: 100% !important;
}
.close-icon {
  position: absolute;
  right: 1px;
  top: 50%;
  font-size: 30px;
  margin-top: -15px;
  height: 30px;
  line-height: 20px;
  border:1px solid transparent;
  background-color: white;
  display: inline-block;
  outline: 0;
  cursor: pointer;
  color: #777;
}
.search-box:not(:valid) ~ .close-icon {
  display: none;
}


.mobileInfo {
  font-family: "graphik", sans-serif;
  display: none;
  width: 100%;
  padding: 10px;
}

.otherbox{
  width: 100%;
  max-width: 498px;
  margin-left: auto;
  margin-right: auto;
  border-radius:2px;
}

.search-box {
    font-family: Graphik, sans-serif;
    width: 100%;
    height: 35px;
    padding: 10px 10px 9px 35px;
    font-size: 16px;
    background-size: 25px;
    border: 1px solid #ccc;
}

.tt-input{
    background: url("mag_glass.svg") 2% 50% no-repeat #fff;
}

.tt-hint {
    width: 100%;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    outline: none;    
    color: transparent;
}

.tt-menu { 
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    font-family: "graphik", sans-serif;
}

.tt-suggestion {
    width: 100%;
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    font-family: "graphik", sans-serif;
    cursor: pointer;
}

.tt-suggestion:hover { 
    cursor: pointer; 
    color: #fff; 
    background-color: #CFCFCF; 
} 
.tt-suggestion.tt-cursor { 
    color: #fff; 
    background-color: #CFCFCF; 
}


.gradient {
    width: 100%;
    height: 100%;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}
.gradient .domain-min {
    position: absolute;
    left: 0;
}
.gradient .domain-med {
    position: absolute;
}
.gradient .domain-max {
    position: absolute;
    right: 0;
}
.grad-step {
    display: inline-block;
    height: 100%;
    width: 1%;
}





@media (max-width: 840px) {
  .audit-map {
    padding-bottom: 40px;
  }
  .interactive-map {
    display: none;
  }
  .static-map{
    display: block;
  }
  #counties_map_bigger1{
    display: none; 
  }
  #states_map_bigger1{
    display: none; 
  }
  #counties_map_bigger2{
    display: none; 
  }
  #states_map_bigger2{
    display: none; 
  }
  .map_biggest_static{
    display: block;
  }
  .mobileInfo {
    display: block;
  }
  #graphic #resultsHere p {
    line-height: 1.5;
    margin: 8px 18px 0;
  }
  .legend {
    position: relative;
    margin-top: 10px;
    width: 80%;
    left: 10%;
  }
  .bar {
    position: relative;
    width: 100%;
    height: 10px;
  }
}


@media (min-width: 1360px) {
  .audit-map {
    padding-bottom: 780px;
  }
}