* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  color: #231f20;
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  font-size: 19px;
  line-height: 1.42105263;
  padding: 0;
  margin: 0;
}
main {
  display: block;
}
a {
  -webkit-tap-highlight-color: black;
  transition: color 0.15s ease-in-out;
  color: #0777b3;
  text-decoration: none;
  outline: 0 !important;
}
a:hover {
  color: #2b4d70;
}
img,
video,
embed,
object,
iframe {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #231f20;
  margin: 1.42105263 0 0.71052632 0;
}
h1 {
  font-size: 28px;
  line-height: 1.07142857;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 42px;
    line-height: 1.0952381;
    letter-spacing: -1px;
  }
}
h2 {
  font-size: 24px;
  line-height: 1.42105263;
}
h3 {
  font-size: 22px;
  line-height: 1.04545455;
}
h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0.71052632 0 0 0;
}
nav.main-nav {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
  position: relative;
  line-height: 1;
}
nav.main-nav .wrapper {
  max-width: 1020px;
  margin: auto;
  position: relative;
  text-align: center;
}
@media (max-width: 768px) {
  nav.main-nav .wrapper {
    height: 40px;
    padding: 10px;
  }
}
nav.main-nav .logo {
  display: block;
  vertical-align: middle;
}
nav.main-nav .logo img {
  width: 310px;
  height: 70px;
  max-height: 100%;
}
@media (max-width: 768px) {
  nav.main-nav .logo img {
    height: 24px;
    width: auto;
  }
}
nav.main-nav .share {
  position: absolute;
  top: 20px;
  right: 10px;
}
@media (max-width: 768px) {
  nav.main-nav .share {
    top: 10px;
    right: 4px;
    width: auto !important;
  }
}
nav.main-nav .share label {
  background: white !important;
}
@media (max-width: 480px) {
  nav.main-nav .share label span {
    display: none;
  }
  nav.main-nav .share .left {
    margin-left: -275px !important;
  }
}
/*
Shims for Flexbox - should work on Safari and IE10+
*/
.display-flex {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
body {
  width: 640px;
  max-width: 100%;
  margin: auto;
}
main.interactive {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 15px;
}
h1 {
  font-size: 20px;
}
p.chatter {
  font-size: 16px;
}
.row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0 2px;
}
.row.header {
  border-bottom: 1px solid black;
  margin-bottom: 3px;
  background: #333;
  color: white;
}
.row .toggle,
.row .spacer {
  -webkit-flex: 0 0 20px;
  -ms-flex: 0 0 20px;
  flex: 0 0 20px;
}
.row .toggle {
  cursor: pointer;
  text-align: center;
}
.row .name {
  -webkit-flex: 1 0 100px;
  -ms-flex: 1 0 100px;
  flex: 1 0 100px;
}
.row .total {
  -webkit-flex: 1 0 100px;
  -ms-flex: 1 0 100px;
  flex: 1 0 100px;
  text-align: right;
}
.row .external {
  -webkit-flex: 1 0 100px;
  -ms-flex: 1 0 100px;
  flex: 1 0 100px;
  text-align: right;
}
.row .by-week {
  -webkit-flex: 1 0 100px;
  -ms-flex: 1 0 100px;
  flex: 1 0 100px;
  text-align: right;
}
@media (max-width: 480px) {
  .row .by-week {
    display: none;
  }
}
.district {
  background: #F8FFF8;
}
.district .opened {
  display: none;
}
.district .closed {
  display: inline-block;
}
.district > .row {
  cursor: pointer;
}
.district.open {
  background: #C8DDC8;
}
@media (max-width: 480px) {
  .district.open {
    border: none;
  }
}
.district.open .opened {
  display: inline-block;
}
.district.open .closed {
  display: none;
}
.district.open .candidates {
  display: block;
}
.district .candidates {
  display: none;
  border-left: 1px solid #7e838b;
  border-right: 1px solid #7e838b;
}
.district .candidate {
  font-weight: normal;
  border-bottom: 1px solid #e0e0e0;
  background: white;
}
.district .candidate:nth-child(2n) {
  background: #eee;
}
tiny-pie canvas {
  width: 16px;
  height: 16px;
}
weekly-histogram {
  position: relative;
}
weekly-histogram canvas {
  height: 16px;
  width: 100%;
}
weekly-histogram .tooltip {
  position: absolute;
  background: white;
  padding: 8px;
  display: none;
  z-index: 999;
  white-space: pre;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
}
weekly-histogram .tooltip.show {
  display: block;
}
weekly-histogram .tooltip .value {
  font-weight: bold;
}
.source {
  font-size: 13px;
}
.credit {
  float: right;
  font-size: 12px;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .credit {
    float: none;
    display: block;
    text-align: right;
  }
}
