* {
  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;
}
.footer,
.footnotes {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}
@media screen and (min-width: 730px) {
  #g-_ai2html-graphic-small,
  #g-_ai2html-graphic-medium {
    display: none;
  }
}
@media screen and (max-width: 729px) and (min-width: 400px) {
  #g-_ai2html-graphic-small,
  #g-_ai2html-graphic-wide {
    display: none;
  }
}
@media screen and (max-width: 399px) {
  #g-_ai2html-graphic-medium,
  #g-_ai2html-graphic-wide {
    display: none;
  }
}
.graphic,
h1,
h2 {
  text-align: center;
}
.top-wrapper::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
.top-wrapper .map-toggle,
.top-wrapper .legend {
  display: inline-block;
}
.footnotes,
.footer {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}
.map-toggle {
  margin-right: 2.5%;
  padding-left: 5px;
}
@media screen and (max-width: 500px) {
  .map-toggle {
    margin-bottom: 15px;
  }
}
a.toggle-btn {
  box-sizing: border-box;
  display: inline-block;
  width: 100px;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 2px;
  color: #aaa;
  margin-left: -5px;
  opacity: 0.5;
  transition: all 200ms ease-in;
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-weight: 400;
}
a.toggle-btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
a.toggle-btn:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
a.toggle-btn:hover {
  color: #999;
  opacity: 1;
}
a.toggle-btn.active {
  background: #efefef;
  border-color: #ddd;
  color: #666;
  font-weight: bold;
  cursor: pointer;
  opacity: 1;
}
@media screen and (max-width: 500px) {
  a.toggle-btn {
    font-size: 1.2em;
  }
  a.toggle-btn img {
    display: none;
  }
}
.party-labels {
  font-size: 11px;
  color: #aaa;
}
.party-labels .dem {
  padding-right: 7px;
}
.party-labels .rep {
  padding-left: 9px;
}
.legend {
  /*display: inline-block;*/
  margin: -5px 0 11px 2.5%;
}
.legend #legend-year {
  font-family: 'Gotham SSm', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-weight: 400;
  font-size: 2em;
  color: #999;
}
.legend h3 {
  margin-bottom: 0px;
}
.legend ul.key {
  padding: 3px 0 0;
  margin: 0;
  list-style-type: none;
}
.legend ul.key .key-item {
  display: inline-block;
  line-height: 15px;
  position: relative;
  border-right: 1px solid #ccc;
  padding: 0 0 6px;
  margin: 0px 0px 0 -4px;
}
.legend ul.key .key-item.item-5 {
  border-right: 2px solid #333;
  margin-right: 0;
}
.legend ul.key .key-item:last-child {
  border-right: none;
}
.legend ul.key .key-item b {
  display: inline-block;
  width: 15px;
  height: 7px;
  margin-right: 0;
}
.legend ul.key .key-item b.bin1 {
  background: #275e90;
  width: 25px;
}
.legend ul.key .key-item b.bin2 {
  background: #498dcb;
  width: 100px;
}
.legend ul.key .key-item b.bin3 {
  background: #adcdeb;
  width: 50px;
}
.legend ul.key .key-item b.bin4 {
  background: #c6def5;
  width: 12px;
}
.legend ul.key .key-item b.bin5 {
  background: #e3f0fc;
  width: 4px;
}
.legend ul.key .key-item b.bin6 {
  background: #ffedeb;
  width: 4px;
}
.legend ul.key .key-item b.bin7 {
  background: #fcd8d4;
  width: 12px;
}
.legend ul.key .key-item b.bin8 {
  background: #f8b1ab;
  width: 40px;
}
.legend ul.key .key-item b.bin9 {
  background: #f05b4e;
  width: 100px;
}
.legend ul.key .key-item b.bin10 {
  background: #cc1000;
  width: 25px;
}
.legend ul.key .key-item label {
  white-space: nowrap;
  font-size: 12px;
  color: #666;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  bottom: -17px;
  left: -15px;
  text-align: center;
  width: 30px;
}
.img-wrapper {
  position: relative;
  max-width: 1223px;
  margin: 0 auto;
}
.img-wrapper img {
  padding: 0;
  margin: 0;
  max-width: 100%;
}
.img-wrapper img.map-2016 {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 200ms ease-out;
  opacity: 1;
}
.img-wrapper img.map-2016.hidden {
  opacity: 0;
}
.mobile-only {
  display: none;
}
@media (max-width: 390px) {
  b {
    display: inline-block;
    width: 15px;
    height: 7px;
    margin-right: 0;
    width: 30px !important;
  }
  b.bin1 {
    background: #275e90;
    width: 25px;
  }
  b.bin2 {
    background: #498dcb;
    width: 100px;
  }
  b.bin3 {
    background: #adcdeb;
    width: 50px;
  }
  b.bin4 {
    background: #c6def5;
    width: 12px;
  }
  b.bin5 {
    background: #e3f0fc;
    width: 4px;
  }
  b.bin6 {
    background: #ffedeb;
    width: 4px;
  }
  b.bin7 {
    background: #fcd8d4;
    width: 12px;
  }
  b.bin8 {
    background: #f8b1ab;
    width: 40px;
  }
  b.bin9 {
    background: #f05b4e;
    width: 100px;
  }
  b.bin10 {
    background: #cc1000;
    width: 25px;
  }
  .mobile-only {
    display: block;
  }
}
