/*
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;
  touch-action: manipulation;
}
main {
  display: block;
}
main.interactive {
  padding: 20px 10px;
  margin: 20px auto;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
}
a {
  color: #0777b3;
  text-decoration: none;
}
a:visited {
  color: #7e838b;
}
a:hover,
a:focus {
  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;
}
.byline {
  font-size: 19px;
  margin-bottom: 0;
}
.staff-position {
  font-style: italic;
  font-size: 15px;
  margin-top: 0;
}
.publish-date {
  font-size: 16px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  color: #7e838b;
}
.graphic-hed {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}
.graphic-chatter {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: normal;
  text-align: center;
}
.data-source,
.art-credit,
.caption {
  color: #7e838b;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 14px;
}
.data-source {
  font-style: italic;
}
@media (min-width: 480px) {
  .data-source {
    float: left;
  }
}
@media (min-width: 480px) {
  .art-credit {
    float: right;
  }
}
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;
  z-index: 999;
}
nav.main-nav .wrapper {
  max-width: 1020px;
  margin: auto;
  position: relative;
  padding: 10px;
}
nav.main-nav .logo {
  display: inline-block;
  vertical-align: middle;
  width: 160px;
}
nav.main-nav .logo img {
  height: 24px;
  max-height: 100%;
}
.share-bar {
  display: inline-block;
  position: absolute;
  right: 0;
  vertical-align: middle;
}
.share-icon {
  margin-left: 3px;
  margin-right: 3px;
  width: 30px;
}
.share-icon:hover .changes-color {
  fill: #231f20;
}
.ad {
  text-align: center;
  margin: 16px auto;
}
.ad.pending::before {
  display: block;
  content: "";
  background: #e0e0e0;
}
.ad.pending[data-type="banner"],
.ad.pending[data-type="bannerBottom"] {
  max-width: 728px;
}
.ad.pending[data-type="banner"]::before,
.ad.pending[data-type="bannerBottom"]::before {
  padding-bottom: 12.36263736%;
}
@media (max-width: 480px) {
  .ad.pending[data-type="banner"]::before,
  .ad.pending[data-type="bannerBottom"]::before {
    padding-bottom: 16.66666667%;
  }
}
.ad.pending[data-type="tall"] {
  max-width: 300px;
}
.ad.pending[data-type="tall"]::before {
  padding-bottom: 200%;
}
.ad.pending[data-type="square"] {
  max-width: 300px;
}
.ad.pending[data-type="square"]::before {
  padding-bottom: 83.33333333%;
}
.marketing {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  margin: 20px 5px;
  padding: 10px;
  text-align: center;
  width: calc(100% - 10px);
}
.marketing--footer {
  border: 1px solid #e0e0e0;
  max-width: 630px;
}
@media (min-width: 640px) {
  .marketing--footer {
    margin: 20px auto;
  }
  .marketing--footer span {
    white-space: pre;
  }
}
.marketing--sidebar {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  max-width: 350px;
}
@media (max-width: 500px) {
  .marketing--sidebar {
    margin: auto;
  }
}
.marketing__text {
  margin: 5px auto;
}
.marketing__body {
  font-size: 18px;
  line-height: 21px;
}
.marketing__button {
  background: #0777b3;
  border-radius: 3px;
  color: white;
  display: inline-block;
  font-size: 19px;
  font-weight: bold;
  margin-top: 3px;
  padding: 5px 20px;
}
.marketing__button:hover {
  color: #fff;
  background: #2b4d70;
}
.marketing__button:visited {
  color: #fff;
}
.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;
}
.dont-miss .small {
  font-weight: bold;
  font-size: 15px;
}
.project-credits {
  padding-top: 10px;
  max-width: 900px;
  margin: 10px auto;
}
@media (min-width: 768px) {
  .project-credits {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 35px;
  }
}
.project-credit {
  flex-basis: 50%;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.2;
  margin: 3px 0;
  padding: 0 10px;
}
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;
}
.interactive {
  max-width: 960px;
}
h1 {
  margin: 0;
  text-align: center;
}
@media (max-width: 480px) {
  h1 {
    font-size: 22px;
  }
}
@media (min-width: 480px) {
  h1 {
    font-size: 28px;
  }
}
.note {
  color: #666;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 0.8em;
  font-style: italic;
  margin: 0;
}
.note--timestamp {
  margin-bottom: 15px;
  text-align: center;
}
@media (min-width: 768px) {
  .flexbox {
    display: flex;
  }
}
@media (max-width: 768px) {
  #map {
    margin-left: auto;
    margin-right: auto;
    max-width: 450px;
    width: 100%;
  }
}
@media (min-width: 768px) {
  #map {
    width: 45%;
  }
}
#tooltip {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 15px;
  line-height: 15px;
  padding: 3px 5px;
  position: absolute;
}
#tooltip.hidden {
  display: none;
}
#tooltip.shown {
  display: block;
}
.instructions {
  font-size: 16px;
  margin: 0 0 5px;
  text-align: center;
}
.county {
  cursor: pointer;
}
.county:hover {
  fill-opacity: 70%;
  stroke: #424648;
  stroke-width: 4px;
}
@media (max-width: 768px) {
  .results-container {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .results-container {
    padding-left: 15px;
    width: 55%;
  }
}
#statewide-results {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}
h2 {
  font-size: 20px;
  margin: 0;
}
.candidates {
  font-size: 15px;
  margin-top: 5px;
  padding-left: 0;
}
@media (max-width: 768px) {
  .candidates {
    column-count: 2;
    column-width: 50%;
  }
}
@media (min-width: 768px) {
  .candidates {
    column-count: 3;
    column-width: 33.33%;
  }
}
.candidate {
  margin: 0;
}
.dropout {
  color: #7e838b;
}
.color-block {
  border-radius: 12px;
  display: inline-block;
  height: 12px;
  margin-right: 6px;
  width: 12px;
}
.color-block.Sanders {
  background-color: #58b7b4;
}
.color-block.Warren {
  background-color: #c45555;
}
.color-block.Biden {
  background-color: #4995c4;
}
.color-block.Bloomberg {
  background-color: #cc5c3e;
}
.color-block.Gabbard {
  background-color: #d3b537;
}
.color-block.Uncommitted {
  background-color: #e0e0e0;
}
.dropout .color-block {
  background-color: #e0e0e0;
}
label {
  color: #7e838b;
  font-size: 16px;
}
.selector {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border: none;
  border-radius: 3px;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%237E838B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
  color: #231f20;
  cursor: pointer;
  font-size: 20px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-left: -4px;
  margin-top: 10px;
  padding: .1em 1.4em .1em 0;
}
.selector::-ms-expand {
  display: none;
}
.selector option {
  font-size: 14px;
  font-weight: normal;
}
.selector:hover {
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230777B3%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  color: #0777b3;
}
.selector:hover option {
  color: #231f20;
}
#county-results.hidden {
  display: none;
}
#county-results.shown {
  display: block;
}
.caption::after {
  clear: both;
  content: "";
  display: block;
}
.data-source,
.art-credit {
  margin: 10px 0 0 0;
}
.widget {
  margin: auto;
  max-width: 970px;
  width: 100%;
}
.widget__banner {
  background-position: 50% -24px;
  background-size: 80px 45px;
  background-repeat: repeat-x;
  background-image: radial-gradient(ellipse 80px 45px, #FFF 0px, #FFF 10px, #C23 10px, #C23 20px, #FFF 20px, #FFF 30px, #0777b3 30px, #0777b3 40px, #FFF 40px);
  height: 25px;
}
.widget__hed {
  font-size: 22px;
  margin: 4px auto;
}
.widget__note {
  margin: 4px auto;
  text-align: center;
}
.widget__candidates {
  display: flex;
}
.widget__candidate {
  border-radius: 5px;
  flex: 1;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #e0e0e0;
}
.widget__candidate:first-child {
  margin-left: 0;
}
.widget__candidate:last-child {
  margin-right: 0;
}
.widget__candidate-name,
.widget__candidate-percentage {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
}
.widget__candidate-name {
  font-size: 22px;
  line-height: 24px;
  margin-top: 10px;
  margin-bottom: 0;
}
.widget__candidate-percentage {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 8px;
}
.widget__small-text {
  font-size: 20px;
}
.widget__data-source {
  float: right;
  margin-top: 0;
}
.widget__link {
  clear: both;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  margin: 10px auto 0;
  text-align: center;
}
.widget__link a {
  border: 1px solid #0777b3;
  border-radius: 5px;
  padding: 2px 12px;
}
.widget__link:hover a {
  background-color: #0777b3;
  color: #fff;
}
main.interactive--delegates {
  padding-top: 10px;
  padding-bottom: 10px;
}
.chart-outer {
  position: relative;
}
.chart-inner {
  position: relative;
}
.chart__g {
  position: absolute;
  width: 100%;
}
.chart__bar {
  background-color: #0777b3;
  position: absolute;
}
.graphic-text {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
}
.graphic-text--small {
  font-size: 0.8em;
}
.names {
  float: left;
  margin: 0;
  padding-right: 5px;
  text-align: right;
}
.numbers {
  margin-top: 0;
  margin-bottom: 0;
  position: absolute;
}
.delegates__caption:after {
  clear: both;
  content: "";
  display: block;
}
