* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  -webkit-text-size-adjust: none;
}
body {
  margin: 0;
  padding: 33px 0;
  font: 14px/1.4 Helvetica, Arial, sans-serif;
  color: #555;
  touch-action: manipulation;
}
img,
svg {
  max-width: 100%;
}
h1 {
  margin: 0 0 33px 0;
  font-size: 20px;
  color: #666;
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.3;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h2 {
  font-weight: normal;
  color: #777;
  font-size: 12px;
  margin: -22px 0 22px 0;
  line-height: 1.6;
}
h3 {
  margin: 0 0 15px 0;
  font-family: 'Knockout 31 4r';
  font-weight: normal;
  text-transform: uppercase;
  padding-top: 0;
  line-height: 1.2;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  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: 11px;
  line-height: 1.7;
  color: #999;
}
.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-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.3;
  color: #666;
  display: table;
  -webkit-font-smoothing: antialiased;
}
.labels li span {
  display: table-cell;
  vertical-align: middle;
}
.value text {
  font-size: 10px;
  -webkit-font-smoothing: antialiased;
}
.value text.in {
  fill: #fff;
}
.value text.out {
  fill: #999;
}
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;
}
.key {
  margin-bottom: 22px;
}
.key .biden b {
  background-color: #237bbd;
}
.key .trump b {
  background-color: #d61f21;
}
.bubble-header {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
  text-align: center;
}
#bubble-graphic .tick text,
#bubble-graphic-key .tick text {
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-weight: 400;
}
#bubble-graphic .state-circle {
  cursor: pointer;
}
#bubble-graphic-key {
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 25px;
}
#bubble-graphic-key .state-circle {
  pointer-events: none;
}
#bubble-graphic-key h3 {
  text-align: center;
  margin-top: 60px;
  margin-bottom: -27px;
}
#bubble-graphic-key .bracket-rect {
  fill: #ccc;
  opacity: 0.4;
}
#bubble-graphic-key .bracket-rect.i1 {
  fill: #fff;
  stroke-width: 2px;
  stroke: #999;
  opacity: 1;
}
#bubble-graphic-key svg {
  width: 100%;
  border-radius: 5px;
  overflow: visible;
}
.state-text {
  text-anchor: middle;
  fill: white;
  font-family: 'Knockout 31 4r', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
  cursor: pointer;
}
.bubble-tooltip {
  position: absolute;
  border: 1px solid #eee;
  background-color: white;
  padding: 8px;
  display: none;
  pointer-events: none;
}
.bubble-tooltip.show {
  display: block;
}
.bubble-tooltip h3 {
  font-size: 11px;
  margin: 0 0 3px 0;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 3px;
}
.bubble-tooltip .tooltip-label {
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-weight: 400;
  font-size: 10px;
  color: #666;
  padding-top: 3px;
}
.bubble-tooltip strong.D {
  color: #237bbd;
}
.bubble-tooltip strong.R {
  color: #d61f21;
}
.chart-text {
  text-anchor: start;
  fill: #666;
  font-size: 13px;
  font-family: 'Knockout 31 4r', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}
.chart-text.higher-text {
  text-anchor: end;
}
h1,
h2 {
  text-align: center;
}
h2 {
  font-style: italic;
}
#map-graphic,
.footer,
.footnotes {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}
#tooltip {
  padding: 5px;
  border: 1px solid #999;
  max-width: 200px;
  width: 150px;
  position: absolute;
  z-index: 10;
}
#tooltip .tooltip-label {
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-weight: 400;
  font-size: 10px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 3px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
}
#tooltip .tooltip-label.second {
  margin-top: 5px;
  font-weight: normal;
  border-bottom: none;
  margin-bottom: 0px;
}
.state-label {
  user-select: none;
  pointer-events: none;
  text-anchor: middle;
  font-family: 'Knockout 31 4r';
  font-size: 12px;
  fill: white;
  display: none;
  -webkit-font-smoothing: antialiased;
}
@media screen and (max-width: 500px) {
  .state-label {
    display: block;
  }
}
.mobile-label {
  user-select: none;
  pointer-events: none;
  display: block;
}
@media screen and (max-width: 500px) {
  .mobile-label {
    display: none;
  }
}
@media screen and (min-width: 501px) {
  .mobile-label {
    font-size: 10px;
  }
}
@media screen and (min-width: 651px) {
  .mobile-label {
    font-size: 8px;
  }
}
#state-name {
  background-color: #C5DFDF;
  border-radius: 3px;
  padding: 3px;
}
.key {
  text-align: center;
}
.swatch {
  width: 48px;
  height: 12px;
  display: inline-block;
  margin-left: -3px;
  color: #777 !important;
}
.swatch span {
  font-size: 12px;
  text-align: left;
  display: block;
  margin-top: 15px;
  margin-left: -8px;
}
[data-winner="D"] {
  fill: #237bbd;
  background-color: #237bbd;
  color: #eee;
}
[data-winner="D"].state-circle {
  stroke: #1d659b;
}
[data-winner="D"]#dose {
  color: white !important;
}
[data-winner="R"] {
  fill: #d61f21;
  background-color: #d61f21;
  color: #eee;
}
[data-winner="R"].state-circle {
  stroke: #b21a1c;
}
[data-winner="R"]#dose {
  color: white !important;
}
@media screen and (min-width: 499px) {
  .state-circle:hover {
    stroke: black !important;
  }
}
@media screen and (max-width: 499px) {
  .tooltip {
    visibility: hidden;
  }
}
.tooltip {
  padding: 5px;
  border: 1px solid #999;
  max-width: 200px;
  height: 100px;
  position: absolute;
  z-index: 10;
  font-size: 10px;
  width: 200px;
  background: #ffffff;
  display: none;
}
.tooltip .tooltip-label {
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-weight: 400;
  font-size: 10px;
  font-weight: bold;
  text-align: left;
  margin-top: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #ccc;
}
.tooltip .tooltip-label h3 {
  margin-bottom: 5px;
}
.tooltip .tooltip-label.number {
  font-weight: normal;
  border-bottom: none;
  margin-bottom: 0px;
  margin-top: 0px;
  line-height: 18px;
}
