* {
  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 {
  padding-bottom: 10px;
}
h1,
h2 {
  text-align: center;
}
.footer,
.footnotes {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}
.graphic {
  margin: 0 auto;
}
.y .tick text {
  font-weight: bold;
  font-size: 13px;
  color: #333;
}
.x-axis-label.title {
  font-size: 12px;
  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;
}
.legend-wrapper {
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
}
.legend-wrapper .line {
  margin-top: 5px;
  width: 80px;
  height: 50px;
  background: linear-gradient(90deg, transparent calc(50% - 3px), rgba(51, 51, 51, 0.1) calc(50% - 3px), rgba(51, 51, 51, 0.1) 50%, transparent 5%);
}
.legend-wrapper .circles-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.legend-wrapper .circle-label,
.legend-wrapper .circle-title,
.legend-wrapper .line-title {
  font-size: 12px;
}
.legend-wrapper .circle-item {
  margin: 5px;
}
.legend-wrapper .circle {
  box-shadow: 0 0 3px #333;
  border-radius: 50%;
  opacity: 0.9;
  display: inline-block;
  margin: 4px;
}
.legend-wrapper .circle.circle-1 {
  width: 6px;
  height: 6px;
}
.legend-wrapper .circle.circle-2 {
  width: 15.5px;
  height: 15.5px;
}
.legend-wrapper .circle.circle-3 {
  width: 40px;
  height: 40px;
}
.state-total .total-label {
  color: white;
  padding: 2px;
  border-radius: 2px;
}
.state-total .total-label.won {
  background-color: #217BAE;
}
.state-total .total-label.lost {
  background-color: #C72021;
}
.graphic.multiples {
  display: flex;
  flex: row;
  flex-wrap: wrap;
  justify-content: center;
}
.lines {
  fill: none;
  stroke-width: 2px;
  stroke: #000;
  stroke-opacity: 0.04;
}
.lines .line.highlight {
  stroke-opacity: 1;
}
@media screen and (min-width: 500px) {
  .lines .line {
    cursor: pointer;
  }
  .lines .line:hover {
    stroke-opacity: 0.3;
  }
}
.graphic.total .lines {
  stroke-width: 5px;
  stroke-opacity: 1;
  stroke: #eaeaea;
}
@media screen and (min-width: 500px) {
  .graphic.total .line {
    cursor: not-allowed;
  }
  .graphic.total .line:hover {
    stroke-opacity: 1;
  }
}
.dots {
  fill-opacity: 0;
  stroke-opacity: 0;
}
.dots circle.highlight {
  fill-opacity: 1;
  stroke-opacity: 1;
}
.graphic.total .dots {
  fill-opacity: 1;
}
.value text {
  font-size: 12px;
  font-weight: bold;
  fill: #999;
}
text.axis-label {
  font-size: 11px;
}
text.axis-label.dem {
  fill: #275e90;
}
text.axis-label.gop {
  fill: #c52011;
}
circle {
  pointer-events: none;
}
.annotations {
  font-size: 12px;
  font-weight: bold;
}
.state-title {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-align: center;
  font-size: 20px;
  color: #666;
  margin-bottom: 5px;
  padding-top: 10px;
  margin-top: 20px;
}
.type-title {
  font-weight: bold;
  text-transform: capitalize;
  color: black;
  text-align: left;
  font-size: 15px;
}
.type-counties {
  margin-bottom: 6px;
  font-size: 12px;
  color: #787878;
  text-align: left;
  font-style: italic;
}
.type-total,
.type-shift {
  color: #454545;
  font-size: 12px;
  text-align: left;
}
.type-total .total-label,
.type-shift .total-label {
  font-weight: bold;
}
.type-total .total-label.won,
.type-shift .total-label.won {
  color: #217BAE;
}
.type-total .total-label.lost,
.type-shift .total-label.lost {
  color: #C72021;
}
.type-shift {
  margin-bottom: 6px;
}
.state-total {
  text-align: center;
  margin-bottom: 20px;
}
.sub-wrapper {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  height: 50%;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.sub-wrapper .type-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 30px;
}
@media screen and (max-width: 499px) {
  .sub-wrapper {
    display: block;
    margin-bottom: 0;
  }
  .type-group {
    margin: 0 auto;
  }
  .type-hed {
    display: flex;
    justify-content: center;
  }
  .type-hed .type-title {
    margin-right: 5px;
  }
  .type-hed .type-counties {
    font-size: 14px;
  }
  .type-title,
  .type-shift,
  .type-total,
  .type-counties {
    text-align: center;
  }
}
#line-tooltip {
  padding: 5px;
  border: 1px solid #999;
  max-width: 250px;
  position: absolute;
  z-index: 10;
  pointer-events: none;
}
#line-tooltip .label.main {
  font-weight: bold;
  color: #333;
  font-size: 13px;
}
#line-tooltip table {
  font-size: 11px;
  border-collapse: collapse;
  color: #454545;
}
#line-tooltip table th {
  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;
  font-size: 11px;
  text-align: center;
  vertical-align: bottom;
  max-width: 60px;
  padding: 6px;
}
#line-tooltip table td {
  padding: 3px 5px;
  padding-right: 0px;
  text-align: center;
}
#line-tooltip table td:first-child {
  text-align: right;
}
#line-tooltip table td.dem {
  color: #217BAE;
}
#line-tooltip table td.gop {
  color: #C72021;
}
#line-tooltip table tr:first-child,
#line-tooltip table tr:nth-child(2) {
  border-bottom: 1px solid #eee;
}
#line-tooltip table tr:last-child {
  padding-top: 1px;
}
#line-tooltip table thead {
  border-bottom: 2px solid #eee;
}
.arrow {
  font-size: 14px;
  line-height: 12px;
}
.more-info {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
  display: none;
  text-align: center;
  padding-bottom: 20px;
  font-style: italic;
  padding-left: 20px;
  padding-right: 20px;
}
body.touchscreen .more-info {
  display: block !important;
}
