#map_canvas { width:100%; height: 0px;}
#map_enlarge_close { position: absolute; top: 10px; right: 10px; z-index: 500; background: transparent url('/images/bg_close.gif') no-repeat; display: none; width: 17px; height: 17px; }
.map_image { display: block; }
#map_container.no_spin { background: none; }
#mymap, #pickups {
  display: block;
}
#mymap {
  overflow: hidden;
  margin-top: 30px;
  border: none;
  width: auto;
  height: auto;
  background: none;
}
#map_container {
  height: 452px;
  width: auto;
  padding: 0;
  border: 1px solid #ebebeb;
  box-sizing: border-box;
  margin: 0 40px;
}
@media ( max-width : 1023px ){ 
  #map_container {
    margin: 0;
  }
}

/* Styles for d3 map */

path {
  stroke-linejoin: round;
  stroke-linecap: round;
}

path.disable {
  pointer-events: none;
}

.map_background {
  fill: none;
  pointer-events: all;
}

.districts,
.counties {
  fill: #ddd;
  cursor: pointer;
  stroke: #fff;
  stroke-width: .125;
}
.districts :hover,
.counties :hover {
  fill-opacity: 0.5;
}

.districts .active,
.counties .active {
  fill-opacity: 0.5;
}

.districts .safe_gop,
.counties .safe_gop {
  fill: #CC3333;
}
.districts .toss_up,
.counties .toss_up {
  fill: #606060;
}
.districts .safe_dem,
.counties .safe_dem {
  fill: #3333CC;
}
.districts .safe_ind,
.counties .safe_ind {
  fill: #9933cc;
}

.district-boundaries {
  pointer-events: none;
  fill: none;
  stroke: #eee;
  stroke-width: .5px;
}

.states {
  fill: #000;
  fill-opacity: 0;
  cursor: pointer;
  stroke: #fff;
  stroke-width: 2px;
}

.states :hover {
  fill-opacity: 0.2;
}

#map_zoom_out {
  padding: 2px 4px;
  display: none;
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #CCC;
  font: 11px Arial,Helvetica,sans-serif;
  cursor: pointer;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
}
#map_zoom_out:hover {
  background: #ddd;
}

#map_district_squares {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 220px;
}
#map_district_squares a.square {
  border: 1px solid #ccc;
  background: #ccc;
  color: #000;
  padding: 0 3px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
  margin-right: 5px;
  width: 40px;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
}
#map_district_squares a.square.safe_gop {
  background: #ddd;
}
#map_district_squares a.square.likely_gop {
  background: #CC3333;
  color: #fff;
}
#map_district_squares a.square.leans_gop {
  background: #FF9999;
  color: #fff;
}
#map_district_squares a.square.toss_up {
  background: #606060;
  color: #fff;
}
#map_district_squares a.square.leans_dem {
  background: #9999FF;
  color: #fff;
}
#map_district_squares a.square.likely_dem {
  background: #3333CC;
  color: #fff;
}
#map_district_squares a.square.safe_dem {
  background: #ddd;
}

ul.map_nav {
  border-bottom: 3px double #CCCCCC;
  border-top: 3px double #CCCCCC;
  font: 10px "Lucida Grande", Tahoma, sans-serif;
  list-style: none outside none;
  margin: 18px 0 8px;
  padding: 0;
  text-transform: uppercase;
}
ul.map_nav li {
  float: left;
  padding: 8px 0 7px;
  text-align: center;
}
ul.map_nav li a {
  display: block;
  text-align: center;
}
ul.map_nav li a.m {
  color: #CC0000;
  font-size: 11px;
  font-weight: normal;
}
ul.map_nav li a.c {
  color: #999999;
  display: block;
  font-size: 9px;
  font-weight: normal;
}
ul.map_nav li a.on {
  font-weight: bold;
}
ul.map_nav li a.c_on {
  color: #666666;
  font-weight: normal;
  letter-spacing: 1px;
}
#map-header {
  border-top: 1px solid #FFFFFF;
  margin: 0;
  padding: 10px 0;
}
#map-header h2 {
  font-size: 26px;
  letter-spacing: 4px;
  margin-bottom: 6px;
  text-align: center;
  text-transform: uppercase;
}
#map-header h2 span {
  font-size: 32px;
  display: inline-block;
}
#map-header p.count {
  color: #999999;
  font-size: 13px;
  font-style: italic;
  font-weight: bold;
  margin: 0;
  text-align: center;
}
#map-header p.count span {
}
#map-header p.links {
  border-bottom: 3px double #CCCCCC;
  border-top: 3px double #CCCCCC;
  font: 12px "Lucida Grande", Tahoma, sans-serif;
  margin-bottom: 5px;
  margin-top: 15px;
  padding: 10px 0;
  text-align: center;
  text-transform: uppercase;
}
#map-header p.links a {
  color: #CC0000;
}
#map-header p.links a.on {
  font-size: 12px;
  font-weight: bold;
}
#map-header h6 {
  font-size: 11;
  letter-spacing: 4px;
  margin-bottom: 6px;
  text-align: center;
  text-transform: uppercase;
}
#map-header h6 span {
  font-size: 14px;
}

#election_day_results .results table.data_table tr.pickup {
  font-weight: bold;
}
#election_day_results .results_container h3 a {
  color:#fff;
  text-decoration:none;
}
#election_day_results {
  font:11px "Times New Roman", Times, serif;
  margin-top: 20px;
}
#election_day_results .Dem {
  color:#0000CC;
}
#election_day_results .GOP {
  color:#CC0000;
}
#election_day_results .Other {
  color:#9933cc;
}
#election_day_results .summary {
  text-align:center;
  position:relative;
  overflow: auto;
}
#election_day_results .summary .processing_div1 {
  position:absolute;
  left:0;
  top:0;
  height:50px;
  display:block;
  text-align:center;
  z-index:20;
  width:100%;
  padding:0;
  border:none;
  float:none;
  margin:0;
  background:none;
}
#election_day_results .summary > div {
  background: none repeat scroll 0 0 #FFFFFF;
  border-bottom: 1px solid #999999;
  border-right: 1px solid #999999;
  border-top: 1px solid #999999;
  float: left;
  margin: 0;
  width:25%;
  box-sizing:border-box;
}
  #election_day_results .summary > div .dropdown {
    display: block;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    background: #f0f0f0;
    border-top: 1px solid #999999;
    float: left;
    font-size: 10px !important;
    box-sizing: border-box;
  }
  #election_day_results .summary > div .dropdown select {
    width: calc(100% - 20px);
    font-size: 10px;
  }

#top_president {
  border-left: 1px solid #999999;
}
#top_president .short {
  display: none;
}
#top_governor .short {
  display: none;
}
#election_day_results .summary div h4 {
  background: none repeat scroll 0 0 #555555;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0;
  padding: 2px 0 3px;
  text-transform: uppercase;
}
#election_day_results .summary div p span {
  background: none repeat scroll 0 0 #FFFFFF;
  display: block;
  float: left;
  font-weight: normal;
  line-height: 1.2;
  padding: 4px 15% 5px 0;
  width: 50%;
  font-size:12px;
  box-sizing:border-box;
}
#election_day_results .summary div p {
  padding:1px 0;
  margin:0;
}
#election_day_results .summary div div p {
  color: #0000CC;
  font-weight: normal;
}
#election_day_results .summary div p span.dem {
  color: #0000CC;
  padding: 4px 0 5px 15%;
}
#election_day_results .summary div p span.dem a {
  color: #0000CC;
}
#election_day_results .summary div p span a.number {
  font-size:15px;
  font-weight:bold;
}
#election_day_results div.stars {
  clear: both;
  color: #666666;
  font-size: 10px;
  letter-spacing: 10px;
  margin: 0 0 -2px;
  padding: 4px 0 0;
  text-align: center;
}
#election_day_results .results table {
  clear: both;
  margin:0;
  text-align:center;
}
#election_day_results .results table.race_table {
  width:100%;
}
#election_day_results .results_container h3 {
  background-color:#666;
  color:#fff;
  font:bold 14px "Times New Roman", Times, serif;
letter-spacing:3px margin:4px 0 0;
  padding:1px 0;
  text-align:center;
  text-transform:uppercase;
  width:100%;
  margin:0px;
  margin-top:5px;
}
#election_day_results .results div.result {
  border-bottom:1px solid #eee;
}
#election_day_results .results table th {
  padding-left:4px;
  text-align:left;
  background-color:#dedede;
  border-bottom:1px solid #ccc;
  border-top:1px solid #ccc;
}
#election_day_results .results table td {
  word-break: break-all;
}
#election_day_results .results table td:last-child {
  word-break: normal;
}
#election_day_results .results table th.candidate, #election_day_results .results table td.candidate {
  width:34px;
  padding:1px 2px;
}
#election_day_results .results.president table th.candidate, #election_day_results .results table td.candidate {
  width:18%;
}
#election_day_results .results table td.state {
  width:116px;
  text-align:left;
  padding:1px 2px 1px 16px;
  background:#fff url('//www.realclearpolitics.com/asset/img/election/electoral_check.gif') 3px 3px no-repeat;
}
#election_day_results .results table th.state {
  width:116px;
  text-align:left;
  padding:1px 12px 1px 2px;
}
#election_day_results .results table td.percent_in {
  paddding:0px;
}
#election_day_results .results table.data_table tr.winner.GOP td.state {
  background:#fff url('//www.realclearpolitics.com/asset/img/election/electoral_check_gop.gif') 3px 3px no-repeat;
}
#election_day_results .results table.data_table tr.winner.Dem td.state {
  background:#fff url('//www.realclearpolitics.com/asset/img/election/electoral_check_dem.gif') 3px 3px no-repeat;
}
#election_day_results .results table.data_table tr.winner.Other td.state {
  background:#fff url('//www.realclearpolitics.com/asset/img/election/electoral_check_other.gif') 3px 3px no-repeat;
}
#election_day_results .results_container {
  position:relative;
  border:1px solid #ccc;
  border-top:0px;
}
#election_day_results .results table.head_table {
  width: 100%;
}
#election_day_results .results table.head_table th.first {
  width: 110px;
}
#election_day_results .results table.head_table th.second {
  width: 90px;
  text-align: center;
}
#election_day_results .results table.head_table th.third {
  width: 90px;
  text-align: center;
}
#election_day_results .results.senate table.data_table {
  width:100%;
}
#election_day_results .results.senate table.data_table td.state {
  width:120px;
}
#election_day_results .results.senate table.data_table td.candidate {
  width:90px;
  text-align:left;
}
#election_day_results .results.senate table.data_table td.percent_in {
  width:90px;
}
#election_day_results .results.house table.data_table {
  width:100%;
}
#election_day_results .results.house table.data_table td.state {
  width:120px;
}
#election_day_results .results.house table.data_table td.candidate {
  width:90px;
  text-align:left;
}
#election_day_results .results.house table.data_table td.percent_in {
  width:90px;
}
#election_day_results .results.governor table.data_table {
  width:100%;
}
#election_day_results .results.governor table.data_table td.state {
  width:120px;
}
#election_day_results .results.governor table.data_table td.candidate {
  width:90px;
  text-align:left;
}
#election_day_results .results.governor table.data_table td.percent_in {
  width:90px;
}
#election_day_results .results_container h3.legend {
  background-color:#fff;
  color:#ccc;
  margin: 0;
  padding: 2px 0;
  font: normal 14px Arial, Helvetica, sans-serif;
  text-transform: none;
  position:relative;
}
#election_day_results .results_container h3.legend span.dem {
  color: #0000cc;
}
#election_day_results .results_container h3.legend span.gop {
  color: #cc0000;
}
#election_day_results .results_container .processing_div {
  position:absolute;
  left:0;
  top:0;
  height:300px;
  display:block;
  text-align:center;
  z-index:20;
  width:100%;
  padding:40px 0 0 0;
}
#election_day_results .results_container .results .legend a.refresh {
  background:url('/images/icon-reload.png') 0 0 no-repeat;
  color:#fff;
  font-size:11px;
  padding:1px 0px 2px 16px;
  float:right;
  position:absolute;
  right:4px;
  top:-17px;
}
#election_day_results .results_container h3.legend span {
  font-weight:bold;
  font-size:15px;
}
#election_day_results .summary div h4 a {
  color:#fff;
  text-decoration:none;
}
#election_day_results .summary div h4 a.v2 { display: none; }

@media ( max-width : 1114px ){ 

  #top_president .long,
  #top_governor .long {
    display: none;
  }
  #top_president .short,
  #top_governor .short {
    display: inline;
  }
}

@media ( max-width : 1023px ){ 
  #election_day_results .summary div p span.gop {
    padding-right: 5%;
  }
  #election_day_results .summary div p span.dem {
    padding-left: 5%;
  }
}

@media ( max-width : 985px ){ 
  #election_day_results .summary > div {
    width:50%;
  }
  #election_day_results .summary #top_house {
    border-left: 1px solid #999999;
  }
}


@media ( max-width : 479px ){ 
  #map_container {
      display: block;
  }
}




#alpha {
  font-size: 14px;
}
#map-legend table {
  width: 158px;
}
.reporting_units {
  overflow: auto;
  margin-bottom: 40px;
}
.reporting_unit {
  margin-top: 40px;
  font: 12px "Lucida Grande",Tahoma,sans-serif;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}
.reporting_unit:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.reporting_unit.total {
  margin-top: 0;
  margin-bottom: 20px;
  border-top: none;
  padding-top: 0;
}
.reporting_unit .header .title {
  font-size: 20px;
  padding-right: 10px;
}
.reporting_unit .header .reporting {
  color: #999;
}
.reporting_unit .candidate tr td {
  padding-top: 10px;
}
.reporting_unit .candidate .affiliation {
  text-align: center;
  padding-right: 5px;
}
.reporting_unit .candidate .affiliation .bubble {
  background: #9933cc;
  color: #fff;
  padding: 0 5px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  width: 50px;
  display: inline-block;
}
.reporting_unit .candidate .affiliation .bubble.gop {
  background: #cc0000;
}
.reporting_unit .candidate .affiliation .bubble.dem {
  background: #0000cc;
}
.reporting_unit .candidate .affiliation .winner {
  margin-right: 10px;
  width: 16px;
  display: inline-block;
  vertical-align: bottom;
}
.reporting_unit .candidate .name {
  padding-right: 10px;
  max-width: 130px;
}
.reporting_unit .candidate .percentage {
  padding-right: 5px;
}
.reporting_unit .candidate .bar {
  padding-right: 5px;
}
.reporting_unit .candidate .bar .bar_container {
  width: 260px;
  display: inline-block;
  background: #ccc;
  height: 10px;
  border: 1px solid #ccc;
}
.reporting_unit .candidate .bar .bar_inner {
  display: block;
  background: #9933cc;
  height: 10px;
}
.reporting_unit .candidate .bar .bar_inner.gop {
  background: #cc0000;
}
.reporting_unit .candidate .bar .bar_inner.dem {
  background: #0000cc;
}
.reporting_unit .candidate .votes {
  text-align: right;
  /*width: 64px;*/
}

.reporting_unit .hold,
.reporting_unit .pickup {
  background: #9933cc;
  color: #fff;
  padding: 2px 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-left: 10px;
}
.reporting_unit .hold.gop,
.reporting_unit .pickup.gop {
  background: #cc0000;
  color: #fff;
}
.reporting_unit .hold.dem,
.reporting_unit .pickup.dem {
  background: #0000cc;
  color: #fff;
}

.reporting_unit.popup {
  padding: 10px 20px 20px;
}
.reporting_unit.popup .bar .bar_container {
  width: 140px;
}
.reporting_unit.popup .candidate .name {
  max-width: 125px;
}

@media ( max-width : 1023px ) { 
  .reporting_unit table.candidate {
    width: 100%;
  }
  .reporting_unit .candidate tr td.affiliation {
    width: 100px;
  }
  .reporting_unit .candidate tr td.name {
    width: 100px;
  }
  .reporting_unit .candidate tr td.percentage {
    width: 50px;
  }
  .reporting_unit .candidate tr td.votes {
    width: 65px;
  }
  .reporting_unit .candidate .bar .bar_container {
    width: 100%;
  }
}
@media ( max-width : 429px ) { 
  .reporting_unit .candidate tr td.bar {
    display: none;
  }
}

#map_county_popup {
  position: absolute;
  z-index: 10000;
  width: inherit;
  height: inherit;
  display: none;
}
#map_county_popup .window {
  background: #fff;
  margin: 60px 40px 0;
}
#map_county_popup .exit {
  position: absolute;
  padding: 10px;
  right: 40px;
  top: 60px;
  cursor: pointer;
}

.state_results_nav {
    margin: 0 0 20px;
    text-align: center;
    font: 12px "Lucida Grande",Tahoma,sans-serif;
    text-transform: uppercase;
}

.starline {
  clear: both;
  letter-spacing: 10px;
  padding-top: 20px;
  text-align: center;
  font: 10px Verdana,Arial,Helvetica,sans-serif;
  color: #666;
}

/* async ad center fix */
#right-wide-skyscraper > * {
  display: inline-block;
}

.county_section {
  margin-top: 40px;
  font: 12px "Lucida Grande",Tahoma,sans-serif;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}
.county_section.total {
  margin-top: 0;
  margin-bottom: 20px;
  border-top: none;
  padding-top: 0;
}
.county_section .header .title {
  font-size: 20px;
  padding-right: 10px;
}
.county_section .header .reporting {
  color: #999;
}
.county_section .candidate tr td {
  padding-top: 10px;
}
.county_section .candidate .affiliation {
  text-align: center;
  padding-right: 5px;
}
.county_section .candidate .affiliation .bubble {
  background: #9933cc;
  color: #fff;
  padding: 0 5px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  width: 40px;
  display: inline-block;
}
.county_section .candidate .affiliation .bubble.gop {
  background: #cc0000;
}
.county_section .candidate .affiliation .bubble.dem {
  background: #0000cc;
}
.county_section .candidate .affiliation .winner {
  margin-right: 10px;
  width: 16px;
  display: inline-block;
  vertical-align: bottom;
}
.county_section .candidate .name {
  padding-right: 10px;
  max-width: 130px;
}
.county_section .candidate .percentage {
  padding-right: 5px;
}
.county_section .candidate .bar {
  padding-right: 5px;
}
.county_section .candidate .bar .bar_container {
  width: 260px;
  display: inline-block;
  background: #ccc;
  height: 10px;
  border: 1px solid #ccc;
}
.county_section .candidate .bar .bar_inner {
  display: block;
  background: #9933cc;
  height: 10px;
}
.county_section .candidate .bar .bar_inner.gop {
  background: #cc0000;
}
.county_section .candidate .bar .bar_inner.dem {
  background: #0000cc;
}
.county_section .candidate .votes {
  text-align: right;
  /*width: 64px;*/
}

.county_section.total .hold {
  background: #9933cc;
  color: #fff;
  padding: 2px 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-left: 10px;
}
.county_section.total .hold.gop {
  background: #cc0000;
}
.county_section.total .hold.dem {
  background: #0000cc;
}

.county_section.popup {
  padding: 10px 20px 20px;
}
.county_section.popup .bar .bar_container {
  width: 140px;
}
.county_section.popup .candidate .name {
  max-width: 125px;
}

@media ( max-width : 549px ) { 
  #map_county_popup .window {
    margin: 10px 10px 0;
  }
  .county_section {
    margin-top: 0;
  }
  #map_county_popup .exit {
    top: 10px;
    right: 10px;
  }
}

@media ( max-width : 449px ) { 
  .county_section.popup .bar .bar_container {
    width: 100%;
  }
  .county_section .candidate tr td.bar {
    width: 30%;
  }
  .county_section.popup .bar .bar_container {
    width: 100%;
  }
  #map_county_popup {
    right: 0px;
  }
  #map_county_popup table.candidate {
    width: 100%;
  }
}

