.hp_map_chart_widget {
  margin: 30px 0;
}
.hp_map_chart_widget div {
  box-sizing: border-box;
}
.hp_map_chart_widget a {
  color: inherit;
}
.hp_map_chart_widget h3 {
  background-color: #dc0000;
  padding: 10px 0;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 22px;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}
.hp_map_chart_widget h3 span.letter,
.hp_map_chart_widget h3 span.year {
  font-size: 28px;
}
.hp_map_chart_widget .map_chart_content {
  overflow: hidden;
  border: 1px solid #ccc;
  border-top: none;
  background: #e2e2e2;
  clear:both;
}
  .hp_map_chart_widget .map_chart_content .section {
    border-left: 1px solid #ccc;
  }
  .hp_map_chart_widget .map_chart_content .section:first-child {
    border-left: none;
  }
.hp_map_chart_widget .national_chart {
  float: left;
  width: 50%;
}
.hp_map_chart_widget .electoral_map {
  float: left;
  width: calc(100% / 3);
}
.hp_map_chart_widget .score_line {
  background: #EBEBEB;
  background: -moz-linear-gradient(top, #fbfbfb 0%, #ebebeb 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #fbfbfb 0%,#ebebeb 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #fbfbfb 0%,#ebebeb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbfbfb', endColorstr='#ebebeb',GradientType=0 ); /* IE6-9 */

  border-bottom: 1px solid #ccc;
  padding-top: 4px;
}
.hp_map_chart_widget .title {
  color: #666;
  text-align: center;
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: bold;
  letter-spacing: 3px;
  margin: 0;
}
.hp_map_chart_widget .scores {
  overflow: hidden;
}
  .hp_map_chart_widget .scores > div {
    height: 27px;
    box-sizing: border-box;
  }
  .hp_map_chart_widget .scores > div.bottom {
    line-height: 31px;
  }
  .hp_map_chart_widget .scores > div.middle {
    line-height: 26px;
  }
    .hp_map_chart_widget .scores > div.bottom > a {
      vertical-align: bottom;
    }
    .hp_map_chart_widget .scores > div.middle > a {
      vertical-align: middle;
    }
  .hp_map_chart_widget .scores .dem_name,
  .hp_map_chart_widget .scores .dem_score {
    color: #0000cc;
  }
  .hp_map_chart_widget .scores .gop_name,
  .hp_map_chart_widget .scores .gop_score {
    color: #cc0000;
  }
  .hp_map_chart_widget .scores .dem_name,
  .hp_map_chart_widget .scores .gop_name {
    font-size: 12px;
    font-weight: bold;
  }
  .hp_map_chart_widget .scores .dem_score,
  .hp_map_chart_widget .scores .gop_score {
    font-size: 20px;
    font-weight: bold;
  }
  .hp_map_chart_widget .scores .tossup_score {
    font-size: 14px;
    color: #666;
    font-weight: bold;
  }
    .hp_map_chart_widget .scores .tossup_score a {
      display: block;
      line-height: 32px;
    }
    .hp_map_chart_widget .scores .tossup_score a.score {
      margin-top: -3px;
    }
    .hp_map_chart_widget .scores .tossup_score a.text {
      font-size:10px;
      font-weight: normal;
      margin-top: -5px;
    }

.hp_map_chart_widget .national_chart .scores .dem_name,
.hp_map_chart_widget .national_chart .scores .dem_score {
  float: left;
}
.hp_map_chart_widget .national_chart .scores .dem_score {
  margin: 0 5px 0 10px;
}
.hp_map_chart_widget .national_chart .scores .gop_name,
.hp_map_chart_widget .national_chart .scores .gop_score {
  float: right;
}
.hp_map_chart_widget .national_chart .scores .gop_score {
  margin: 0 10px 0 5px;
}
.hp_map_chart_widget .electoral_map .scores .dem_score,
.hp_map_chart_widget .electoral_map .scores .dem_name,
.hp_map_chart_widget .electoral_map .scores .tossup_score,
.hp_map_chart_widget .electoral_map .scores .gop_name,
.hp_map_chart_widget .electoral_map .scores .gop_score {
  float: left;
}
.hp_map_chart_widget .electoral_map .scores .dem_score {
  width: 22%;
  text-align: right;
}
.hp_map_chart_widget .electoral_map .scores .dem_name {
  width: 18%;
  padding-left: 5px;
}
.hp_map_chart_widget .electoral_map .scores .tossup_score {
  width: 20%;
  text-align: center;
  bottom: 1px;
  position: relative;
}
.hp_map_chart_widget .electoral_map .scores .gop_name {
  width: 18%;
  text-align: right;
  padding-right: 5px;
}
.hp_map_chart_widget .electoral_map .scores .gop_score {
  width: 22%;
}

.hp_map_chart_widget .national_chart .chart {
  position:relative;
  width: 100%;
  padding-top: 67%;
  overflow: hidden;
}
  .hp_map_chart_widget .national_chart .chart img {
    width: calc(100% + 2px);
    display: block;
    position:absolute;
    top:0;left:0;right:0;
    margin: -1px 0 0 -1px;
  }
.hp_map_chart_widget .electoral_map .map {
  position:relative;
  width: 100%;
  padding-top: calc(67% + 20px);
  overflow: hidden;

  background: #e2e2e2;
  /*background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 87%, #f4f4f4 100%); 
  background: -webkit-linear-gradient(top, #ffffff 0%,#ffffff 87%,#f4f4f4 100%); 
  background: linear-gradient(to bottom, #ffffff 0%,#ffffff 87%,#f4f4f4 100%); */
}
  .hp_map_chart_widget .electoral_map .map img {
    width: 100%;
    display: block;
    position:absolute;
    padding-top:10px;
    top: 0;
    background: #fff;
  }
  .hp_map_chart_widget .electoral_map .map select {
    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    font-size: 11px;
  }

/* Scroller not currently used, but preserving styles just in case */

.hp_map_chart_widget .scroller {
    background: #eeeeee;
    overflow: hidden;
    position: relative;
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
}
.hp_map_chart_widget .scroller .title {
  position: absolute;
  width: 40px;
  top: 0;
  left: 0;
  bottom: 0;
  background: #eeeeee url('/images/election_latest_polls_arrow.png') no-repeat center center;
  z-index: 100;
}
.hp_map_chart_widget .scroller .poll_list {
    margin: 0 0 0 40px;
    padding: 0;
    list-style: none;
    float: left;
    /*width: calc(100% - 40px);*/
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    position: relative;
    left: 0;
}
.hp_map_chart_widget .scroller .poll_list > li {
    display: inline-block;
    margin-right: 20px;
}
.hp_map_chart_widget .scroller .poll_list > li > a.alt {
    color: #cc0000;
}

.hp_map_chart_widget .map_ut {
  font-size: 11px;
  display: block;
  text-align: center;
  position:absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
  .hp_map_chart_widget .map_ut a {
    color: #d30015;
  }

@media only screen and ( max-width : 579px ) {
  .hp_map_chart_widget .national_chart {
    width: 100%;
  }
  .hp_map_chart_widget .electoral_map {
    width: 100%;
  }
}