/*
Shims for Flexbox - should work on Safari and IE10+
*/
.display-flex {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
body {
  color: #231f20;
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  font-size: 19px;
  line-height: 1.42105263;
  padding: 0;
  margin: 0;
}
main {
  display: block;
}
a {
  color: #0777b3;
  text-decoration: none;
  outline: 0 !important;
}
a:hover {
  color: #2b4d70;
}
a img {
  border: none;
}
img,
video,
embed,
object,
iframe {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #231f20;
  margin: 1.42105263 0 0.71052632 0;
}
h1 {
  font-size: 28px;
  line-height: 1.07142857;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 42px;
    line-height: 1.0952381;
    letter-spacing: -1px;
  }
}
h2 {
  font-size: 24px;
  line-height: 1.42105263;
}
h3 {
  font-size: 22px;
  line-height: 1.04545455;
}
h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0.71052632 0 0 0;
}
nav.main-nav {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
  position: relative;
  line-height: 1;
}
nav.main-nav .wrapper {
  max-width: 1020px;
  margin: auto;
  position: relative;
  padding: 10px;
}
@media (max-width: 480px) {
  nav.main-nav .wrapper {
    padding: 6px;
  }
}
nav.main-nav .logo {
  display: block;
  vertical-align: middle;
}
nav.main-nav .logo img {
  height: 24px;
  max-height: 100%;
}
@media (max-width: 480px) {
  nav.main-nav .logo img {
    height: 18px;
  }
}
nav.main-nav .share.top {
  position: absolute;
  top: 10px;
  right: 10px;
}
@media (max-width: 768px) {
  nav.main-nav .share.top {
    right: 4px;
    width: auto !important;
  }
}
nav.main-nav .share.top label {
  background: white !important;
}
@media (max-width: 480px) {
  nav.main-nav .share.top {
    top: 6px;
  }
  nav.main-nav .share.top label span {
    display: none;
  }
  nav.main-nav .share.top .left {
    margin-left: -275px !important;
  }
}
.show-comments {
  border: 1px solid #0777b3;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 15px;
  color: #0777b3;
  cursor: pointer;
  margin: 20px 0;
}
.thin-div {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 15px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  margin: auto;
  max-width: 900px;
}
.thin-div .center {
  position: relative;
  top: 15px;
  margin: auto;
  width: 105px;
  text-align: center;
  font-size: 20px;
  background: white;
}
.dont-miss {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: auto;
  margin-top: 15px;
  max-width: 900px;
  font-size: 17px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
}
.dont-miss .story {
  -webkit-flex: 0 0 25%;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
}
@media (max-width: 480px) {
  .dont-miss .story {
    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
  }
}
.dont-miss .padded {
  padding: 10px;
}
.dont-miss img {
  width: 100%;
}
.dont-miss a {
  color: #424648;
  transition: color .1s linear;
}
.dont-miss a:hover {
  color: #0777b3;
}
footer.nav-bottom {
  background: black;
  opacity: 0.95;
  padding: 8px 8px 4px 8px;
  position: relative;
  z-index: 99;
}
footer.nav-bottom .logo {
  float: left;
  margin-right: 10px;
}
footer.nav-bottom .logo img {
  margin-top: 5px;
  height: 20px;
}
footer.nav-bottom::after {
  clear: both;
  content: " ";
  display: block;
}
footer.nav-bottom .share.bottom {
  float: right;
  margin-top: 2px;
}
footer.nav-bottom .share.bottom label {
  background: black !important;
  color: white !important;
}
svg-map {
  display: none;
}
svg-map[ready] {
  display: block;
}
svg {
  display: block;
}
.ad {
  text-align: center;
  display: block;
}
.ad #adtopright {
  white-space: nowrap;
}
.ad #adtopright > img,
.ad #adtopright > div,
.ad #adtopright > a {
  display: inline-block;
}
.ad #adtopright div {
  float: none !important;
}
div.content {
  max-width: 1024px;
  margin: 10px auto;
  overflow: auto;
  padding: 0 16px;
}
@media (max-width: 480px) {
  div.content {
    margin: 0 auto;
  }
}
header.hed .section-fronts {
  font-size: 18px;
}
header.hed .section-fronts a {
  font-weight: bold;
}
header.hed h1 {
  margin: 10px 0 0;
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  font-size: 40px;
  display: block;
}
@media (max-width: 480px) {
  header.hed h1 {
    font-size: 24px;
  }
}
header.hed .dateline {
  color: #7E838B;
  font-size: 13px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
}
.elections {
  width: calc(100% -  325px);
  margin: 0 24px 24px 0;
  float: left;
}
.elections .cutline {
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  font-size: 18px;
  margin-top: 0;
}
@media (max-width: 768px) {
  .elections {
    width: 100%;
    float: none;
  }
}
.elections .category {
  display: none;
}
.elections .category.show {
  display: block;
}
.elections .subcategory {
  display: none;
}
.elections .subcategory.show {
  display: block;
}
.rail {
  width: 300px;
  float: left;
  text-align: center;
}
.rail #adright > a,
.rail #adright > div,
.rail #adright > img {
  display: block;
}
@media (max-width: 768px) {
  .rail {
    float: none;
    width: 100%;
  }
}
.key {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
footer.bottom {
  clear: both;
  background: #DDD;
  padding: 24px;
}
.elections .tab-container {
  overflow: hidden;
}
.elections .tab-container .tab {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 14px;
  display: inline-block;
  background: #DDD;
  color: #999;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 3px;
}
@media (max-width: 480px) {
  .elections .tab-container .tab {
    float: left;
    width: calc(50% - 3px);
    margin-left: 3px;
    text-align: center;
  }
}
.elections .tab-container .tab.active {
  background: #666;
  color: white;
}
.elections .tab-container .tab:hover {
  background: #666;
  color: white;
}
.elections .tab-container .tab + .tab {
  margin-left: 3px;
}
.elections h3 {
  margin-bottom: 3px;
  clear: both;
}
.elections .result-block {
  padding: 0 0 4px;
  border-bottom: 1px solid #E0E0E0;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 14px;
}
.elections .map-icon {
  font-size: 12px;
  cursor: pointer;
  color: white;
  text-transform: uppercase;
  background: #999;
  border-radius: 4px;
  padding: 2px 4px;
  margin-right: 4px;
  font-weight: normal;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .elections .map-icon {
    display: none;
  }
}
.elections .map-icon svg-map {
  display: none;
  position: absolute;
  background: white;
  z-index: 999;
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
  padding: 8px;
  text-align: center;
  width: auto;
}
.elections .map-icon svg-map svg {
  height: 240px;
  width: auto;
  margin: auto;
}
.elections .map-icon:hover {
  background: #666;
}
.elections .map-icon:hover svg-map {
  display: block;
}
.elections .related-story {
  font-size: 12px;
  text-transform: uppercase;
  padding: 2px 2px 2px 2px;
  font-weight: normal;
  white-space: nowrap;
}
.elections .related-story a {
  color: #7E838B;
  text-decoration: none;
}
.elections .related-story a:hover {
  color: #666;
}
.elections .description {
  margin-top: 0;
  font-size: 14px;
  font-style: italic;
}
.elections .results {
  margin: 8px 0 0;
  padding: 0;
  list-style-type: none;
}
.elections .results li {
  overflow: hidden;
  margin-bottom: 4px;
}
.elections .results .candidate {
  width: 40%;
  float: left;
  clear: both;
  padding-right: 4px;
  text-align: right;
  font-weight: bold;
}
@media (max-width: 480px) {
  .elections .results .candidate .party {
    display: none;
  }
}
.elections .results .votes {
  width: 10%;
  float: left;
  text-align: right;
}
.elections .results .votes .numbers {
  padding-right: 4px;
}
@media (max-width: 480px) {
  .elections .results .votes .numbers {
    display: none;
  }
}
.elections .results .bar-container {
  width: 40%;
  float: left;
}
.elections .results .bar {
  height: 20px;
  background: rgba(236, 180, 9, 0.7);
  transition: width 1s ease-in-out 0.5s;
  position: relative;
}
.elections .results .bar .percentage {
  position: absolute;
  top: 1px;
  left: calc(100% + 2px);
}
.elections .results .bar.yes {
  background: #7DAF83;
}
.elections .results .bar.no {
  background: #F68C4E;
}
.pending .elections .results .bar {
  width: 0px !important;
}
.elections .results .bar.R {
  background: #C4161C;
}
.elections .results .bar.D {
  background: #005F9A;
}
.elections .results .bar.I,
.elections .results .bar.NA,
.elections .results .bar.L,
.elections .results .bar.Centralist,
.elections .results .bar.Socialist,
.elections .results .bar.Non-partisan {
  background: #BEBEBE;
}
.elections .map-container {
  text-align: center;
}
.elections .map-container svg-map {
  width: 400px;
  max-width: 100%;
  margin: auto;
}
.elections .map-container svg-map svg {
  min-height: 275px;
  max-height: 300px;
  max-width: 100%;
}
svg-map svg {
  max-width: 100%;
}
svg-map svg .county {
  stroke: #E0E0E0;
  stroke-width: 2px;
}
svg-map svg .active {
  stroke: white;
  stroke-width: 5px;
}
svg-map svg .rep {
  fill: #C4161C;
}
svg-map svg .dem {
  fill: #005F9A;
}
svg-map svg .yes {
  fill: #7DAF83;
}
svg-map svg .no {
  fill: #F68C4E;
}
svg-map svg .tie {
  fill: #7E838B;
}
svg-map svg .district {
  fill: #F68C4E;
  stroke-width: 0px;
}
svg-map svg .null {
  fill: #E0E0E0;
  stroke-width: 0px;
}
svg-map .popup {
  background: white;
  color: black;
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}
svg-map .popup .county {
  text-transform: uppercase;
}
svg-map .popup ul {
  text-align: left;
  margin: 0;
  padding: 0 8px;
  list-style-type: none;
}
