#wrapper, svg, select {
  font-family: Source Sans Pro, system-ui, -apple-system, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Oxygen, Fira Sans, Droid Sans, Helvetica Neue;
}

#wrapper h1,
#wrapper h2 {
  font-size: 2.3rem;
}

.y.axis text {
  text-anchor: end;
}

.y.axis#yAxisLine text,
.y.axis#ueY text {
  text-anchor: end;
}

.statep {
  margin: 5vh 0 10vh;
}

.chart {
  min-height: 70vh;
}

h3 {
  margin-left: 10%;
  width: 80%;
  display: inline;
}

#selectWrapper {
  display: inline;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-width: 0;
  display: inline;
  font-weight: bold;
  font-size: 1.3em;
  color: #e62790;
  border-bottom: #e62790 solid 2px;
  cursor: pointer;
  padding-right: 0.8em;
  padding-left: 0.1em;
}

.ts-rich-text option {
  color: #e62790;
}

#selectWrapper:after {
  content: '';
  position: relative;
  right: 0.3em;
  top: 0.45em;
  width: 0;
  height: 0;
  border-left: 0.2em solid transparent;
  border-right: 0.2em solid transparent;
  border-top: 0.3em solid #e62790;
}

#content h3 {
  width: 80%;
  margin-left: 10%;
  max-width: 750px;
  margin: 0 auto;
}

.chart h2 {
  margin-left: 10%;
  width: 80%;
}

.legend {
  width: 100%;
  height: 20px;
  margin: 10px;
}

.legend .header {
  width: 50%;
  margin-left: 23%;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #2e2925;
  font-size: .7125rem;
  font-weight: 600;
}

.color {
  width: 50%;
  float: left;
  height: 10px;
  background: white;
  margin-top: 8px;
  background: -webkit-gradient(linear, left top, right top, from(#d3d3d3), color-stop(25%, #00660d), to(#20659d));
  background: linear-gradient(90deg, #d3d3d3 0%, #00660d 25%, #20659d 100%);
}

#maps svg {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: 500px;
  clear: both;
}

#wrapper svg#tsa {
  overflow: visible;
}

#stateSelector.overlay {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  min-height: 40vh;
  padding-bottom: 2vh;
  width: 500px;
  left: calc(50% - 250px);
  top: 30vh;
  border: 2px solid #00347b;
}

#stateSelector h1,
#stateSelector p {
  display: none;
}

.switch:after {
  content: "";
  position: absolute;
  right: 0.1em;
  top: 1em;
  width: 0;
  height: 0;
  border-left: 0.2em solid transparent;
  border-right: 0.2em solid transparent;
  border-top: 0.3em solid #e62790;
}

#xaxis text {
  font-weight: bold;
}

#xaxis path,
#xAxisLine path {
  fill: none;
  stroke: none;
  display: inline;
}

#xaxis line,
#xAxisLine line {
  fill: none;
}

#yrate {
  text-anchor: end;
}

#wrapperS .lines path {
  fill: none;
  stroke: #e62790;
  stroke-width: 1;
}

.axis path {
  display: none;
}

text {
  fill: #616161;
  font-size: 18px;
}

#labels text {
  font-size: 16px;
  font-weight: bold;
}

.axis line {
  stroke: #e6e6e6;
}

#sec1 h2 {
  font-weight: normal;
  font-size: 1.8rem;
}

#end {
  min-height: 80vh;
}

.mapHolder {
  margin-top: 24px;
}

#tooltip,
#sources {
  display: none;
  position: fixed;
  background: #fff;
  --background: white;
  --shadow-color: rgba(0, 0, 0, 0.05);
  --shadow-depth: 5px;
  position: fixed;
  pointer-events: none;
  z-index: 10;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom-width: 0;
  -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
          box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#sources.active {
  display: block;
}

#tooltip.show {
  opacity: 1;
}

#tooltip.tooltip-large {
  max-width: initial;
  width: 340px;
}

#tooltip div.tooltip-arrow {
  --arrow-size: 8px;
  position: absolute;
  left: calc(-1 * var(--arrow-size));
  border-left: var(--arrow-size) solid transparent;
  border-right: var(--arrow-size) solid transparent;
  width: 0;
  height: 0;
}

#tooltip div.tooltip-arrow.tooltip-shadow {
  --shadow-arrow-size: calc(var(--arrow-size) + var(--shadow-depth));
  position: absolute;
  border-left: var(--shadow-arrow-size) solid transparent;
  border-right: var(--shadow-arrow-size) solid transparent;
  left: calc(var(--shadow-depth) - var(--shadow-arrow-size));
}

#tooltip.above div.tooltip-content {
  bottom: 7px;
}

#tooltip.above div.tooltip-arrow {
  bottom: -7px;
  border-top: var(--arrow-size) solid var(--background);
}

#tooltip.above div.tooltip-arrow.tooltip-shadow {
  border-top: var(--shadow-arrow-size) solid var(--shadow-color);
  bottom: calc(-1 * var(--shadow-depth));
  left: calc(-1 * var(--shadow-depth));
}

#tooltip.below div.tooltip-content {
  top: 7px;
}

#tooltip.below div.tooltip-arrow {
  border-bottom: var(--arrow-size) solid var(--background);
  top: -7px;
}

#tooltip.below div.tooltip-arrow.tooltip-shadow {
  border-bottom: var(--shadow-arrow-size) solid var(--shadow-color);
  left: calc(var(--shadow-depth) - var(--shadow-arrow-size));
}

#tooltip div.tooltip-title,
.race {
  font-weight: bold;
  font-size: 15px;
  text-align: left;
  margin-bottom: 5px;
  color: #2e2925;
}

#tooltip div.tooltip-subtitle,
.category {
  font-size: 12px;
  color: #969696;
  letter-spacing: 2px;
  text-align: left;
  font-weight: 600;
  margin-bottom: 5px;
}

#tooltip div.tooltip-value,
.tooltip .value {
  color: #2e2925;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 5px;
}

.ts-rich-text {
  clear: both;
}

#tooltip div.tooltip-value span {
  text-align: left;
  font-size: 16px;
  font-weight: normal;
}

.legend {
  width: 100%;
  height: 50px;
  margin-bottom: 20px;
}

.legend .header {
  width: 50%;
  margin-left: 23%;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #2e2925;
  font-size: .7125rem;
  font-weight: 600;
}

.lines path {
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke: #e62790;
  opacity: 1;
  -webkit-transition: 240ms all ease-in-out;
  transition: 240ms all ease-in-out;
}

.lines path.inactive {
  opacity: 0.19;
  stroke-linecap: round;
  stroke-width: 2;
  stroke: #999999;
}

.lines path.inactive.over,
.lines path.over {
  opacity: 1;
  stroke-linecap: round;
  stroke-width: 3px;
  stroke: #00347b;
}

.tooltip,
circle {
  -webkit-transition: 250ms opacity ease-in;
  transition: 250ms opacity ease-in;
  opacity: 1;
  fill: #00347b;
}

circle.hide,
.tooltip.hide {
  opacity: 0;
}

.tooltip rect {
  fill: #fff;
  stroke: #adadad;
  -webkit-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.7));
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.7));
}

.tooltip text {
  text-anchor: start;
  font-size: 12px;
}

#legend {
  float: right;
  margin-right: 10%;
}

#legend div {
  float: left;
  margin: 0 2%;
  font-weight: bold;
}

.header {
  font-weight: bold;
  font-size: 18px;
  text-anchor: middle;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
}

.back {
  fill-opacity: 0;
}

.back.odd {
  fill-opacity: 0.1;
}

@media (max-width: 768px) {
  text {
    font-size: 14px;
  }
  #tooltip div.tooltip-title,
  .race {
    font-weight: bold;
    font-size: 13px;
    text-align: left;
    margin-bottom: 5px;
    color: #2e2925;
  }
  #tooltip div.tooltip-subtitle,
  .category {
    font-size: 11px;
    color: #969696;
    letter-spacing: 1.5px;
    text-align: left;
    font-weight: 600;
    margin-bottom: 5px;
  }
  #tooltip div.tooltip-value,
  .tooltip .value {
    color: #2e2925;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 5px;
  }
  .header {
    font-size: 16px;
  }
}

@media only screen and (min-width: 400px) and (max-width: 640px) {
  text {
    font-size: 12px;
  }
  .header {
    font-size: 14px;
  }
  .lines path {
    stroke-width: 2.5px;
  }
  #maps svg text {
    font-size: 1rem;
  }
  #maps svg {
    height: 350px;
  }
  .legend {
    margin-top: 0px;
  }
}

@media only screen and (max-width: 400px) {
  text {
    font-size: 10px;
  }
  .header {
    font-size: 12px;
  }
}

@media only screen and (max-width: 736px) {
  .note {
    background-color: #fff;
    margin-top: 3vh;
    width: 100%;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 736px) {
  text {
    font-size: 11px;
  }
  #tooltip div.tooltip-value,
  .tooltip .value {
    font-size: 12px;
  }
  #maps svg {
    height: 280px;
  }
  #selectWrapper:after {
    content: '';
    position: absolute;
    right: 20%;
    top: 1.9rem;
  }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
  text {
    font-size: 11px;
  }
  #maps svg text {
    font-size: 24px;
  }
  #tooltip div.tooltip-value,
  .tooltip .value {
    font-size: 12px;
  }
}

#maps {
  width: 80%;
  max-width: 750px;
  margin: 0 auto;
}

#maps svg {
  overflow: visible;
}

.cartogram-label, .cartogram g text.cartogram-label {
  text-anchor: middle;
  dominant-baseline: middle;
  font-weight: bold;
  font-size: 18px;
}

#yAxisLine text {
  text-anchor: middle;
  dominant-baseline: middle;
}

text.label {
  text-anchor: end;
  font-size: 12px;
}

.cartogram-hex polygon,
.cartogram-hex text {
  cursor: pointer;
}

.cartogram-hex polygon {
  fill: #d3d3d3;
}

.cartogram-hex .inner-polygon {
  stroke: #ffffff;
  stroke-width: 2px;
}

.cartogram-hex .inner-polygon.active {
  stroke: #000000;
  stroke-width: 2px;
}

.cartogram-hex .outer-polygon {
  stroke-width: 0px;
}

.label {
  width: 23%;
  float: left;
}

.label.right {
  text-align: left;
  padding-left: 2%;
}

.label.left {
  text-align: right;
  padding-right: 2%;
}

.loading {
  background: url(https://usafactscms.azureedge.net/static/images/usafacts-loading--small.gif) no-repeat center;
  pointer-events: none;
}

.loading::before {
  content: none;
}
/*# sourceMappingURL=style.css.map */