* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  -webkit-text-size-adjust: none;
}
body {
  background-color: #fff;
  margin: 0;
  padding: 33px 0;
  font: 14px/1.4 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  color: #555;
  touch-action: manipulation;
}
img,
svg {
  max-width: 100%;
}
h1 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  margin: 0 0 22px 0;
  font-size: 20px;
  color: #333;
  font-weight: 600;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
h2 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  letter-spacing: 0.01em;
  font-weight: normal;
  color: #636363;
  font-size: 14px;
  margin: -11px 0 33px 0;
  line-height: 1.6;
}
h3 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  margin: 0 0 15px 0;
  padding-top: 0;
  line-height: 1.2;
  font-size: 12px;
  color: #333;
}
.nowrap {
  white-space: nowrap;
}
.footnotes {
  margin-bottom: 20px;
}
.footnotes h4 {
  margin: 2px 0 7px 0;
  color: #666;
  font-size: 11px;
}
.footnotes p,
.footer p {
  margin: 2px 0 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #808080;
}
.footer p {
  font-style: italic;
}
.footer p em {
  font-style: normal;
}
.footnotes p strong {
  color: #666;
}
a,
a:link,
a:visited {
  color: #4774CC;
  text-decoration: none;
}
a:hover,
a:active {
  color: #bccae5;
}
.graphic-wrapper {
  position: relative;
}
.graphic {
  position: relative;
  margin-bottom: 11px;
}
.graphic::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
.graphic img {
  max-width: 100%;
  height: auto;
}
.key {
  margin: -11px 0 33px 0;
  padding: 0;
  list-style-type: none;
}
.key .key-item {
  display: inline-block;
  margin: 0 18px 0 0;
  padding: 0;
  line-height: 15px;
}
.key .key-item b {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  float: left;
}
.key .key-item label {
  white-space: nowrap;
  font-size: 12px;
  color: #666;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}
svg {
  overflow: hidden;
}
.axis {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 11px;
  -webkit-font-smoothing: antialiased;
  fill: #999;
}
.axis path,
.axis line {
  fill: none;
  stroke: #ccc;
  shape-rendering: crispEdges;
}
.axis.y path {
  display: none;
}
.axis.y .tick line {
  display: none;
}
.grid path {
  display: none;
}
.grid .tick {
  stroke: #eee;
  color: #eee;
  stroke-width: 1px;
  shape-rendering: crispEdges;
}
.grid.y g:first-child line {
  display: none;
}
.zero-line {
  stroke: #666;
  stroke-width: 1px;
  shape-rendering: crispEdges;
}
line,
rect {
  shape-rendering: crispEdges;
}
.bars rect {
  fill: #17807E;
}
.labels {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style-type: none;
  border: none;
}
.labels li {
  position: absolute;
  text-align: right;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
  display: table;
  -webkit-font-smoothing: antialiased;
}
.labels li span {
  display: table-cell;
  vertical-align: middle;
}
.value text {
  font-size: 11px;
  -webkit-font-smoothing: antialiased;
}
.value text.in {
  fill: #fff;
}
.value text.out {
  fill: #636363;
}
body.hp {
  padding-top: 0;
  padding-bottom: 10px;
}
body.childlink {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}
img:not([alt]) {
  outline: 3px solid red;
}
[role="img"] img:not([alt]) {
  outline: none;
}
.sr-only {
  opacity: 0;
  position: absolute;
  left: -1000px;
  clip: inset(0, 0, 0, 0);
  width: 1px;
  height: 1px;
}
body {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}
h1 {
  text-align: center;
  margin-bottom: 11px;
}
.winner-icon {
  display: inline-block;
}
.winner-icon svg {
  margin-bottom: -1px;
  height: 15px;
  width: auto;
}
.stacked-bar-labels {
  height: 30px;
  position: relative;
  width: 100%;
}
.totals {
  bottom: 0;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  position: absolute;
}
#dem-total {
  color: #217BAE;
}
#gop-total {
  color: #C72021;
  right: 0;
}
.annotation-text {
  color: #787878;
  font-size: 13px;
  font-style: italic;
  margin: 0;
  position: absolute;
}
#win-label {
  width: 100%;
  text-align: center;
}
#dem-label {
  position: absolute;
  top: 10px;
  text-align: right;
}
#gop-label {
  left: 53.4%;
  top: 10px;
}
.annotation-line {
  border-right: 1px solid #787878;
  height: 12px;
  position: absolute;
}
#win-line {
  bottom: 0;
  width: 50%;
}
#dem-line,
#gop-line {
  top: 0;
}
#stacked-bar {
  display: flex;
}
.bar {
  text-align: center;
}
#legend {
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
}
.legend-item {
  white-space: nowrap;
}
.legend-square {
  display: inline-block;
  height: 15px;
  position: relative;
  top: 3px;
  width: 15px;
}
.legend-text {
  font-size: 13px;
  margin-right: 8px;
}
.controls {
  --icon-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  margin-top: 15px;
  z-index: 500;
  pointer-events: fill;
}
@media screen and (min-width: 501px) {
  .controls {
    --icon-height: 40px;
  }
}
@media screen and (min-width: 501px) {
  .controls {
    margin-bottom: 0;
  }
}
.controls label {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  background: #f7f7f7;
  border: 1px solid #eee;
  color: #555555;
  font-size: 13px;
  line-height: var(--icon-height);
  margin: 0;
  padding: 0 10px;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}
.controls label:first-of-type {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.controls label:last-of-type {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.controls label + button {
  border-left: none;
}
@media screen and (max-width: 499px) {
  .controls label {
    margin-top: 5px;
  }
  .controls label:nth-of-type(2) {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }
  .controls label:nth-of-type(3) {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
}
.controls input {
  opacity: 0;
  position: absolute;
  left: -1000px;
  clip: inset(0, 0, 0, 0);
  width: 1px;
  height: 1px;
}
.controls input:hover + label,
.controls input:focus + label {
  z-index: 999;
  cursor: pointer;
  background: #bbb;
  border: 1px solid #bbb;
  color: #fff;
}
.controls input:hover + label svg path,
.controls input:focus + label svg path,
.controls input:hover + label svg rect,
.controls input:focus + label svg rect {
  fill: #fff;
}
.controls input:checked + label {
  color: #fff;
  background-color: #555555;
  border-color: #555555;
}
.controls input:checked + label svg path,
.controls input:checked + label svg rect {
  fill: #ccc;
}
.controls svg,
.controls img {
  height: var(--icon-height);
  float: left;
  margin-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.controls svg path,
.controls img path,
.controls svg rect,
.controls img rect {
  fill: #999;
}
.controls svg text,
.controls img text {
  display: none;
}
#cartogram {
  visibility: hidden;
  height: 0;
  width: 100%;
}
#cartogram.active {
  visibility: visible;
}
#geographic-map {
  visibility: hidden;
}
#geographic-map.active {
  visibility: visible;
}
path[data-postal] {
  stroke: #ffffff;
  stroke-width: 1px;
}
.ne-2-label,
.ne-3-label,
.ne-al-a-label,
.ne-al-b-label,
.me-2-label,
.me-al-a-label,
.me-al-b-label {
  display: none;
}
