h1 {
  margin-right: 1em;
}

h3 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

label {
  display: block;
  font-size: 0.7em;
  padding: 0.25em 0;
}
label input {
  display: inline-block;
  position: relative;
  top: -0.1em;
  margin-right: 0.75em;
}

svg {
  overflow: visible;
}

.graph_area {
  font-family: "Avenir Next", "Avenir", "Helvetica Neue", "Helvetica", sans-serif;
  background-color: #fafafa;
  border-top: solid 1px #f2f2f2;
  border-bottom: solid 1px #f2f2f2;
  padding: 4em;
  margin: 4em 0;
}

.graph_container {
  max-width: 1400px;
  margin: 0 auto;
}
.graph_container ul {
  list-style: none;
  margin-left: 0;
}
.graph_container figcaption {
  position: relative;
  font-size: 0.8em;
  padding-left: 45px;
  margin-bottom: 1em;
  color: #555;
}

.graph_container .ct-chart {
  margin-bottom: 0;
}

.ct-chart .ct-line {
  stroke-linecap: round;
  stroke-width: 5;
}
.ct-chart .colorful-line-0 .ct-line {
  stroke: #B81111;
}
.ct-chart .colorful-line-1 .ct-line {
  stroke: #F1930F;
}
.ct-chart .colorful-line-2 .ct-line {
  stroke: #11B954;
}
.ct-chart .colorful-line-3 .ct-line {
  stroke: #107EB9;
}
.ct-chart .colorful-line-4 .ct-line {
  stroke: #8422B5;
}
.ct-chart .gray-line .ct-line {
  stroke: #ddd;
}
.ct-chart .gray-line .ct-line {
  stroke-width: 3;
}

.pill-container {
  padding-left: 45px;
}
.pill-container .state-pill {
  padding: 0.2em 1em;
  border-radius: 4em;
  background-color: black;
  color: white;
  margin-right: 0.25em;
}
.pill-container .state-pill:nth-child(1) {
  background-color: #B81111;
}
.pill-container .state-pill:nth-child(2) {
  background-color: #F1930F;
}
.pill-container .state-pill:nth-child(3) {
  background-color: #11B954;
}
.pill-container .state-pill:nth-child(4) {
  background-color: #107EB9;
}
.pill-container .state-pill:nth-child(5) {
  background-color: #8422B5;
}
.pill-container .state-trigger {
  padding: 0.1em 0.45em;
  border-radius: 4em;
  font-weight: 500;
  border: solid black 2px;
  transition: transform 0.2s ease-out;
  cursor: pointer;
}
.pill-container .state-trigger.expanded {
  transform: rotate(45deg);
}
.pill-container div {
  display: inline-block;
}

.metric_buttons {
  display: flex;
  text-align: center;
  padding: 0 10%;
  font-size: 0.9em;
  margin: 0;
}
.metric_buttons li {
  flex: 1;
  border-style: solid;
  border-width: 1px 0 1px 1px;
  border-color: #107EB9;
  color: #107EB9;
  padding: 0.6em 0.8em 0.5em;
  cursor: pointer;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.metric_buttons li span {
  display: inline-block;
  width: 100%;
}
.metric_buttons li.selected {
  background-color: #107EB9;
  color: white;
}
.metric_buttons li:first-of-type {
  border-radius: 3px 0 0 3px;
}
.metric_buttons li:last-of-type {
  border-radius: 0 3px 3px 0;
  border-right-width: 1px;
}

.settings-menu {
  position: relative;
  z-index: 100;
  display: inline-block;
  top: 30px;
  left: 70px;
}
.settings-menu .settings-button {
  position: relative;
  display: inline-block;
  font-size: 0.75em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #107EB9;
  background-color: white;
  background-image: url("imgs/settings_icon_wht.svg");
  border: solid 1px #107EB9;
  padding: 0.5em 1em 0.5em 2.6em;
  border-radius: 0.3em;
  margin-bottom: 0.3em;
  cursor: pointer;
}
.settings-menu .settings-button::before {
  position: absolute;
  display: inline-block;
  content: url("imgs/settings_icon.svg");
  width: 20px;
  left: 0.75em;
}
.settings-menu .settings-button::after {
  content: "settings";
}
.settings-menu .settings-button:hover {
  background-color: #107EB9;
  background-image: none;
  color: white;
}
.settings-menu .settings-button:hover::before {
  content: url("imgs/settings_icon_wht.svg");
}
.settings-menu .settings {
  background-color: white;
  border: solid 1px #eee;
  border-radius: 3px;
  padding: 0.75em 1em;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}
.settings-menu .settings.closed {
  display: none;
}
.settings-menu label {
  padding: 0.5em 0;
  font-size: 0.8em;
  cursor: pointer;
}
.settings-menu input {
  opacity: 0;
}
.settings-menu .toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
  border-radius: 18px;
  background-color: #bbb;
  margin: 0 0.5em -0.25em -1.5em;
  transition: background-color 0.4s ease-out;
}
.settings-menu .toggle::before {
  display: inline-block;
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: white;
  border-radius: 14px;
  top: 2px;
  left: 2px;
  transition: transform 0.15s ease-out;
}
.settings-menu input:checked + .toggle {
  background-color: #107EB9;
}
.settings-menu input:checked + .toggle::before {
  transform: translateX(18px);
}

.state-selector {
  padding: 0 45px;
  overflow: hidden;
  max-height: 0;
  margin: 2em 0 -2em;
}
.state-selector.expanded {
  max-height: 1000vh;
  border-top: solid 1px #eee;
}

.state-checkboxes {
  column-count: 4;
  margin-top: 1em;
}
.state-checkboxes input:disabled {
  visibility: hidden;
}

@media screen and (max-width: 860px) {
  label {
    font-size: 0.85em;
  }

  .graph_area {
    padding: 2.5em;
  }

  .ct-chart .ct-line {
    stroke-width: 4;
  }

  .settings-menu .settings-button::before {
    width: 18px;
  }

  .state-checkboxes {
    column-count: 3;
  }
  .state-checkboxes label {
    padding: 0.5em 0;
  }
}
@media screen and (max-width: 720px) {
  label {
    margin-left: 1.65em;
    text-indent: -1.65em;
  }

  .graph_area {
    padding: 0.75em;
  }

  .metric_buttons {
    padding: 0;
  }
  .metric_buttons li {
    padding: 0.35em 0.8em 0.27em;
  }

  .graph_container .ct-chart {
    margin: 1em -0.25em 0.5em;
  }

  .ct-chart .ct-line {
    stroke-width: 3;
  }

  .settings-menu {
    top: 25px;
    left: 60px;
  }
  .settings-menu .settings-button {
    padding: 13px;
  }
  .settings-menu .settings-button::before {
    top: 4px;
    left: 4px;
  }
  .settings-menu .settings-button::after {
    content: " ";
  }

  .pill-container {
    font-size: 0.9em;
    margin-bottom: 1em;
  }

  .state-selector {
    padding: 0 0.5em 1.5em;
  }

  .state-checkboxes {
    column-count: 2;
  }
}
@media screen and (max-width: 370px) {
  .graph_container figcaption {
    padding-left: 0;
  }

  .pill-container {
    padding-left: 0;
  }
}

/*# sourceMappingURL=article_style.css.map */
