* {
  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;
}
.graphic,
.footnotes,
.footer,
h1,
h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}
.footnotes,
.footer,
h1,
h2 {
  max-width: 650px;
}
h1,
h2 {
  text-align: center;
}
.graphic {
  max-width: 850px;
}
.footnotes {
  margin-top: 30px;
}
.map {
  display: none;
  pointer-events: none;
}
.map.active {
  display: block;
}
#election .key-wrap {
  display: none;
}
#election .key-wrap.active {
  display: block;
}
#election #maps {
  z-index: 100;
}
#election #maps rect {
  shape-rendering: crispEdges;
  stroke: black;
  stroke-width: 0.5px;
}
#election #maps text {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0px 0px 10px black;
  fill: white;
  fill-opacity: 1;
  -webkit-font-smoothing: antialiased;
  text-anchor: middle;
  font-weight: normal;
}
#election #maps .map.old rect[winner="dem"] {
  fill: #237bbd;
}
#election #maps .map.old rect[winner="gop"] {
  fill: #d61f21;
}
#election #maps .map.old rect {
  stroke: black;
}
#election #maps .map.old #me rect:nth-child(2) {
  fill: #d61f21;
}
#election #maps .map.old #ne g:nth-child(3) rect {
  fill: #237bbd;
}
#election #maps .map.new_election text#changedVotes {
  font-weight: bold;
}
#election #maps .map.new_election rect {
  fill-opacity: 20%;
  stroke: white;
}
#election #maps .map.new_election rect[winner="dem"] {
  fill: #237bbd;
}
#election #maps .map.new_election rect[winner="gop"] {
  fill: #d61f21;
}
#election #maps .map.new_election text {
  font-weight: normal;
}
#election #maps .map.new_election text[winner="dem"] {
  fill: #237bbd;
  text-shadow: none;
}
#election #maps .map.new_election text[winner="dem"][changeStatus="lost"] {
  fill: black;
  text-shadow: 0px 0px 5px white, 0px 0px 5px white;
}
#election #maps .map.new_election text[winner="dem"][changeStatus="gained"] {
  fill: black;
  text-shadow: 0px 0px 10px white;
}
#election #maps .map.new_election text[winner="dem"][changeStatus="same"] {
  fill: black;
  text-shadow: 0px 0px 10px white;
}
#election #maps .map.new_election text[winner="gop"] {
  fill: #d61f21;
  text-shadow: none;
}
#election #maps .map.new_election text[winner="gop"][changeStatus="lost"] {
  fill: black;
  text-shadow: 0px 0px 10px white;
}
#election #maps .map.new_election text[winner="gop"][changeStatus="gained"] {
  fill: black;
  text-shadow: 0px 0px 10px white;
}
#election #maps .map.new_election text[winner="gop"][changeStatus="same"] {
  fill: black;
  text-shadow: 0px 0px 10px white;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='1'] rect:nth-last-of-type(1) {
  fill-opacity: 0.8;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='1'] rect:nth-last-of-type(1)[winner='dem'] {
  fill: #237bbd;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='1'] rect:nth-last-of-type(1)[winner='gop'] {
  fill: #d61f21;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='2'] rect:nth-last-of-type(1),
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='2'] rect:nth-last-of-type(2) {
  fill-opacity: 0.8;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='2'] rect:nth-last-of-type(1)[winner='dem'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='2'] rect:nth-last-of-type(2)[winner='dem'] {
  fill: #237bbd;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='2'] rect:nth-last-of-type(1)[winner='gop'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='2'] rect:nth-last-of-type(2)[winner='gop'] {
  fill: #d61f21;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(1),
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(2),
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(3) {
  fill-opacity: 0.8;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(1)[winner='dem'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(2)[winner='dem'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(3)[winner='dem'] {
  fill: #237bbd;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(1)[winner='gop'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(2)[winner='gop'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='3'] rect:nth-last-of-type(3)[winner='gop'] {
  fill: #d61f21;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-1'] rect:nth-last-of-type(1) {
  fill-opacity: 1;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-1'] rect:nth-last-of-type(1)[winner='dem'] {
  stroke: #237bbd;
  stroke-width: 2;
  fill: none;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-1'] rect:nth-last-of-type(1)[winner='gop'] {
  stroke: #d61f21;
  stroke-width: 2;
  fill: none;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-2'] rect:nth-last-of-type(1),
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-2'] rect:nth-last-of-type(2) {
  fill-opacity: 1;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-2'] rect:nth-last-of-type(1)[winner='dem'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-2'] rect:nth-last-of-type(2)[winner='dem'] {
  stroke: #237bbd;
  stroke-width: 2;
  fill: none;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-2'] rect:nth-last-of-type(1)[winner='gop'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-2'] rect:nth-last-of-type(2)[winner='gop'] {
  stroke: #d61f21;
  stroke-width: 2;
  fill: none;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(1),
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(2),
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(3) {
  fill-opacity: 1;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(1)[winner='dem'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(2)[winner='dem'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(3)[winner='dem'] {
  stroke: #237bbd;
  stroke-width: 2;
  fill: none;
}
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(1)[winner='gop'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(2)[winner='gop'],
#election #maps .map.new_election g[highlightRect='true'][numberOfStates='-3'] rect:nth-last-of-type(3)[winner='gop'] {
  stroke: #d61f21;
  stroke-width: 2;
  fill: none;
}
#election #maps .map.new_election #me rect:nth-child(2) {
  fill: #d61f21;
}
#election #maps .map.new_election #ne g:nth-child(3) rect {
  fill: #237bbd;
}
#apportionment #maps {
  z-index: 100;
}
#apportionment #maps rect {
  shape-rendering: crispEdges;
  stroke: #ffffff;
  stroke-width: 0.5px;
}
#apportionment #maps text#changedVotes {
  text-shadow: 1px 1px 6px white;
  fill: #303030 !important;
}
#apportionment #maps text {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  stroke: #fff;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.7;
  paint-order: stroke fill;
  -webkit-font-smoothing: antialiased;
  fill: #686868;
  text-anchor: middle;
  font-weight: normal;
  fill-opacity: 1;
}
#apportionment #maps text.votes {
  font-weight: bold;
}
.key-wrap .key {
  margin: 0 0 30px 0;
  padding: 0;
  list-style-type: none;
  width: 100%;
  text-align: center;
}
.key-wrap .key .key-item {
  display: inline-block;
  margin: 0 30px 0 0;
  padding: 0;
  line-height: 15px;
}
.key-wrap .key .key-item:last-child {
  margin-right: 0px;
}
.key-wrap .key .key-item b {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  float: left;
}
.key-wrap .key .key-item b.same-legend:nth-child(1) {
  margin-right: 2px;
  background: #237bbd;
  opacity: 20%;
}
.key-wrap .key .key-item b.same-legend:nth-child(2) {
  background: #d61f21;
  opacity: 20%;
}
.key-wrap .key .key-item b.lost-legend:nth-child(1) {
  margin-right: 2px;
  background: none;
  border: 2px solid #237bbd;
  opacity: 100%;
}
.key-wrap .key .key-item b.lost-legend:nth-child(2) {
  background: none!important;
  border: 2px solid #d61f21;
  opacity: 100%;
}
.key-wrap .key .key-item b.gained-legend {
  opacity: 80%;
}
.key-wrap .key .key-item b.gained-legend:nth-child(1) {
  margin-right: 2px;
  background: #237bbd !important;
}
.key-wrap .key .key-item b.gained-legend:nth-child(2) {
  background: #d61f21 !important;
}
.key-wrap .key .key-item label {
  white-space: nowrap;
  font-size: 12px;
  color: #666;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  text-anchor: middle;
}
.key-wrap.numeric-scale {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  opacity: 100%;
}
.key-wrap.numeric-scale h3 {
  margin-bottom: 5px;
}
.key-wrap.numeric-scale .key .key-item {
  margin: 0 1px 0 0;
  position: relative;
  max-width: 12%;
}
.key-wrap.numeric-scale .key .key-item b {
  width: 45px;
  height: 10px;
  margin-right: 0;
  max-width: 100%;
  opacity: 100%;
}
.key-wrap.numeric-scale .key .key-item label {
  position: absolute;
  bottom: -20px;
  left: 40%;
}
.key-wrap.numeric-scale .key .key-item label.end-label {
  left: auto;
  right: -25%;
}
#charts {
  margin-top: 20px;
  margin-bottom: 20px;
}
#charts #stacked-bar-chart {
  margin-bottom: 0;
  display: none;
  pointer-events: none;
}
#charts #stacked-bar-chart.active {
  display: block;
}
@media screen and (min-width: 501px) {
  #charts #stacked-bar-chart {
    margin-bottom: 11px;
  }
}
#charts #stacked-bar-chart .bar-labels {
  fill: #fff;
  text-anchor: middle;
  -webkit-font-smoothing: antialiased;
}
#charts #stacked-bar-chart.new_election .group {
  fill-opacity: 60%;
}
#charts #stacked-bar-chart.new_election .annotations .candidate {
  opacity: 1;
}
#charts #stacked-bar-chart .annotations line {
  stroke: black;
  stroke-width: 1px;
}
#charts #stacked-bar-chart .annotations .winner-line {
  text-anchor: middle;
  font-size: 13px;
  fill: #787878;
  font-family: 'Knockout 31 4r', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
}
@media screen and (max-width: 500px) {
  #charts #stacked-bar-chart .annotations .winner-line {
    font-size: 11px;
  }
}
#charts #stacked-bar-chart .annotations .candidate {
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-weight: 400;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}
#charts #stacked-bar-chart .annotations .candidate.dem {
  text-anchor: start;
  fill: #237bbd;
}
#charts #stacked-bar-chart .annotations .candidate.gop {
  text-anchor: end;
  fill: #d62021;
}
#charts #stacked-bar-chart .annotations .candidate.new_election {
  font-style: italic;
}
@media screen and (min-width: 501px) {
  #maps text {
    font-size: 11px;
  }
  .annotations .candidate {
    font-size: 18px;
  }
  .bar-labels {
    font-size: 12px;
  }
}
@media screen and (max-width: 500px) {
  #maps text {
    font-size: 15px;
  }
  rect.changed {
    stroke-width: 3px;
  }
  .bar-labels {
    font-size: 11px;
  }
  .annotations .candidate {
    font-size: 16px;
  }
}
table.changed {
  border-collapse: collapse;
  padding: 0;
  width: 100%;
  font-size: 12px;
  color: #666;
  margin-bottom: 22px;
}
table.changed caption {
  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;
  font-size: 14px;
  color: #333;
  text-align: left;
  margin-bottom: 15px;
  border-top: 2px solid #eee;
  padding-top: 22px;
}
table.changed tr.shadedrow {
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
}
table.changed th:first-child,
table.changed td:first-child {
  padding-left: 0;
}
table.changed th:last-child,
table.changed td:last-child {
  padding-right: 0;
}
table.changed th.votes,
table.changed td.votes,
table.changed th.rating,
table.changed td.rating {
  text-align: center;
}
table.changed th {
  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;
  line-height: 1.2;
  text-align: left;
  vertical-align: bottom;
  border-bottom: 2px solid #eee;
  padding: 0 10px 7px 10px;
}
table.changed td {
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  padding: 7px 10px;
}
table.changed td.rating {
  color: #fff;
  width: 30%;
  border-color: #fff;
}
