@font-face {
  font-family: "Benton";
  src: url("../Benton Sans/Benton Sans Book.otf");
}

@font-face {
  font-family: "BentonStrong";
  src: url("../Benton Sans/Benton Sans Bold.otf");
}

@font-face {
  font-family: "BentonMedium";
  src: url("../Benton Sans/Benton Sans Medium.otf");
}

:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #000000;
  --muted: #000000;
  --border: #ffffff;
  --accent: #0092a6;
  --accent-light: #99d3db;
  --max: 800px;
  --gutter: 24px;
  --radius: 0;
  --shadow: none;
  --font-sans: "Benton", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text);
  background: var(--bg);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding: 20px 0;
}

.hero {
  padding: 0;
    border-top: 2px solid black;

}

.hero-kicker {
  font-size: 14px;
  font-family: "BentonStrong";
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.6;
  font-family: "BentonStrong";
  max-width: 550px;
}

.subhed {
  width:100%;
  margin: 16px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
  font-family: "Benton";
}

.panel {
  background: var(--panel);
  border: 0;
  border-radius: 0;
  padding: 18px 0;
  margin: 0;
}

.controls {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 4px;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 4px 6px;
  border: 1px solid black;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-family: "BentonMedium";
  line-height: 1;
  border-radius: 0;
  box-shadow: none;
}

button:not(.active) {
  background: #fff;
  color: #000;
}

button:hover {
  border-color: #000;
  box-shadow: inset 0 0 0 1px #000;
}
.legend {
  margin-top:20px;
  display: flex;
  justify-content: flex-start;
  font-size:12px;
}

.legend-item {
  display: flex;
  align-items: left;
  gap: 2px;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  display: inline-block;
  flex: 0 0 auto;
}

.legend-swatch.current {
  background: var(--accent);
}

.chart-wrap {
  width: 100%;
  overflow-x: hidden;
}

svg {
  width: 100%;
  display: block;
  background: #fff;
}

.axis path,
.axis line {
  stroke: #999;
  shape-rendering: crispEdges;
}

.axis text {
  font-family: "Benton";
  font-size: 11px;
  fill: #000;
}

.center-line {
  stroke: #000;
  stroke-width: 1;
}

.bar-yea {
  fill: #111;
}

.bar-no {
  fill: #b3b3b3;
}

.bar-yea.highlight {
  fill: var(--accent);
}

.bar-no.highlight {
  fill: var(--accent-light);
}

.name-label {
  font-size: 12px;
  dominant-baseline: middle;
  fill: var(--text);
  font-family: "Benton";
}

.name-label.highlight {
  fill: var(--accent);
  font-family: "BentonStrong";
}

.year-label {
  font-size: 12px;
  dominant-baseline: middle;
  fill: var(--muted);
  font-family: "BentonMedium";
}

.value-label {
  font-size: 11px;
  fill: var(--text);
  dominant-baseline: middle;
  font-family: "Benton";
}

.voice-label {
  fill: var(--text);
  dominant-baseline: middle;
  font-family: "BentonMedium";
}

.axis-title {
  font-size: 12px;
  fill: var(--muted);
  font-family: "BentonStrong";
  text-transform: none;
  letter-spacing: .04em;
}

.tooltip {
  position: absolute;
  pointer-events: none;
  background: #fff;
  color: #000;
  border: 1px solid black;
  padding: 10px 12px;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.4;
  max-width: 320px;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 120ms ease;
  white-space: normal;
  z-index: 5;
  font-family: "Benton";
  font-weight: 400;
}

.tooltip strong {
  font-family: "BentonStrong";
}
.panelSectionLabel{
  font-familY:"BentonStrong";
  font-size:12px;
  padding-top:10px;
}
.filters-checkboxes {
  gap: 10px;
}

.filters-checkboxes label {
  font-family:"BentonStrong";
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Benton";
  font-size: 12px;
  cursor: pointer;
}

.filters-checkboxes input[type="checkbox"] {
  margin: 0;
}
.filters-checkboxes {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero {
    padding: 0;
    width:100%;
    border-top:2px solid black;
  }
}

@media (max-width: 700px) {
  .controls {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  button {
    width: 50%;
    justify-content: center;
  }

  .chart-wrap {
    overflow-x: auto;
  }

    .filters-checkboxes {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
}
#footnote{
  font-size:12px;
}

#footnote a {
  color: #007194;
  text-decoration: none;
}