/*
 * Legacy media queries
 */
:root {
  color-scheme: light dark;
  --white-100: hsl(0, 0%, 100%);
  --gray-50: hsl(0, 0%, 95%);
  --gray-100: hsl(0, 0%, 83%);
  --gray-200: hsl(0, 0%, 75%);
  --gray-300: hsl(0, 0%, 63%);
  --gray-400: hsl(0, 0%, 56%);
  --gray-500: hsl(0, 0%, 45%);
  --gray-600: hsl(0, 0%, 34%);
  --gray-700: hsl(0, 0%, 20%);
  --gray-800: hsl(0, 0%, 13%);
  --gray-900: hsl(0, 0%, 7%);
  --black-100: hsl(0, 0%, 0%);
  --fg-primary: #333;
  --fg-secondary: #666;
  --fg-tertiary: #787878;
  --fg-quaternary: #999;
  --fg-inversePrimary: var(--white-100);
  --bg-primary: var(--white-100);
  --bg-secondary: #efefef;
  --bg-tertiary: #ddd;
  --bg-quaternary: #bbb;
  --bg-inversePrimary: #444;
  --border-primary: #ddd;
  --border-secondary: #eee;
  --map-empty: #e1e1e1;
  --map-early: #b8b6b6;
  --accent-dark: #4774CC;
  --accent-light: #bccae5;
  --demDim: #D5E5F2;
  --gopDim: #F8D6D4;
  --indDim: #FFE4AF;
  --noBar: #F1A513;
  --noDim: rgba(241, 165, 19, 0.5);
  --noLight: #fce9c5;
  --yesDim: rgba(70, 159, 75, 0.5);
  --yesBar: #469F4B;
  --yesLight: #b1ddb3;
}
:root .light-mode {
  display: block;
}
:root .dark-mode {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fg-primary: var(--gray-50);
    --fg-secondary: var(--gray-100);
    --fg-tertiary: var(--gray-200);
    --fg-quaternary: var(--gray-300);
    --fg-inversePrimary: var(--gray-800);
    --bg-primary: var(--gray-800);
    --bg-secondary: var(--gray-700);
    --bg-tertiary: var(--gray-600);
    --bg-quaternary: var(--gray-500);
    --bg-inversePrimary: var(--gray-100);
    --border-primary: var(--gray-600);
    --border-secondary: var(--gray-700);
    --map-empty: var(--gray-500);
    --map-early: var(--gray-600);
    --accent-dark: hsl(219, 48%, 70%);
    --demDim: #0f3850;
    --gopDim: #500d0d;
    --indDim: #4d3405;
    --noBar: #F1A513;
    --noDim: rgba(241, 165, 19, 0.5);
    --noLight: #fce9c5;
    --yesDim: rgba(70, 159, 75, 0.5);
    --yesBar: #469F4B;
    --yesLight: #b1ddb3;
  }
  :root:not([data-theme="light"]) .light-mode {
    display: none;
  }
  :root:not([data-theme="light"]) .dark-mode {
    display: block;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root {
  --sans: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --serif: 'NPRSerif', Georgia, "Times New Roman", Times, serif;
  --vh: 1vh;
}
.sr-only {
  opacity: 0;
  position: absolute;
  left: -1000px;
  clip: inset(0, 0, 0, 0);
  width: 1px;
  height: 1px;
}
h1 {
  font-size: 24px;
}
#nav-list {
  width: 100%;
}
#nav-list tr:nth-child(even) {
  background-color: var(--bg-secondary);
}
#nav-list th,
#nav-list td {
  border-bottom: 1px solid var(--border-secondary);
  padding: 5px;
  text-align: left;
}
#nav-list textarea {
  height: 80px;
  width: 80%;
}
#nav-list .state {
  width: 100px;
}
main.embed a.see-full {
  margin: 4px 0;
  text-decoration: none;
}
main.embed .results-header span.state-label {
  display: inline-block !important;
}
main.embed .source_embed {
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--fg-quaternary);
  font-style: italic;
  font-size: 11px;
}
@media (max-width: 450px) {
  main.embed .source_embed {
    margin-top: 0px;
    text-align: left;
    padding-left: 5px;
  }
}
main.embed-bop {
  color: var(--fg-primary);
}
main.embed-bop h2.bop {
  display: none;
}
main.embed-bop .nprone {
  background-color: var(--bg-primary);
  padding: 7px 0;
}
@media (max-width: 450px) {
  main.embed-bop .nprone h2.bop {
    text-align: center;
    margin: 0 0 -3px 0;
    font-size: 13px;
    color: var(--fg-secondary);
    display: block;
  }
}
main.embed-bop .full-link {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
@media (max-width: 300px) {
  main.embed-bop .full-link {
    text-align: left;
    margin-top: 23px;
  }
}
@media (max-width: 300px) {
  main.embed-bop .president .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .container {
  display: flex;
  max-width: 100%;
}
@media (max-width: 800px) {
  main.embed-bop .inline .container {
    padding: 0 5px;
  }
}
@media (max-width: 700px) {
  main.embed-bop .inline .container {
    display: block;
  }
}
main.embed-bop .inline .bar-container {
  height: 20px;
}
main.embed-bop .inline .net-gain-container {
  right: 25px;
  bottom: 8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .net-gain-container {
    right: 0;
  }
}
@media (max-width: 450px) {
  main.embed-bop .inline .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
    bottom: 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main.embed-bop .inline .net-gain-container .gain-label {
    margin-right: 5px;
  }
}
main.embed-bop .inline .house .full-link {
  text-align: center;
}
@media (max-width: 450px) {
  main.embed-bop .inline .house .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .house .net-gain-container {
  left: 25px;
  right: auto;
}
@media (max-width: 700px) {
  main.embed-bop .inline .house .net-gain-container {
    left: 0;
  }
}
@media (max-width: 450px) {
  main.embed-bop .inline .house .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
  }
}
@media (max-width: 450px) {
  main.embed-bop .inline .senate {
    display: flex;
    flex-direction: row;
  }
}
main.embed-bop .inline .full-link {
  text-align: left;
  margin-top: 23px;
}
@media (max-width: 450px) {
  main.embed-bop .inline .full-link {
    text-align: center;
    margin-top: 10px;
  }
}
main.embed-bop .inline .second.divider {
  display: none;
}
main.embed-bop .inline .president .bar-container {
  display: block;
}
main.embed-bop .inline .president .full-link {
  margin-top: 23px;
  text-align: center;
}
@media (max-width: 700px) {
  main.embed-bop .inline .president .full-link {
    margin-top: 10px;
  }
}
main.embed-bop .inline .senate .number-container,
main.embed-bop .inline .house .number-container {
  display: flex;
}
main.embed-bop .inline .link-container {
  flex: 1;
  padding: 0 25px;
  border-right: 1px solid var(--border-primary);
}
main.embed-bop .inline .link-container.house {
  order: 1;
}
main.embed-bop .inline .link-container.president {
  order: 2;
}
main.embed-bop .inline .link-container.senate {
  order: 3;
}
main.embed-bop .inline .link-container h3 {
  margin: 10px 0;
}
main.embed-bop .inline .link-container .label {
  display: none;
}
main.embed-bop .inline .link-container .middle {
  height: 23.8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .link-container {
    border: none;
    padding: 0;
  }
  main.embed-bop .inline .link-container.senate,
  main.embed-bop .inline .link-container.house {
    width: 46%;
    display: inline-block;
  }
  main.embed-bop .inline .link-container.senate {
    float: right;
  }
  main.embed-bop .inline .link-container.president .bar-container {
    height: 14px;
  }
  main.embed-bop .inline .link-container.president .middle {
    top: -2.8px;
    height: 16.8px;
  }
  main.embed-bop .inline .link-container.president h3 {
    margin-top: 0;
  }
}
main.embed-bop .inline .link-container:last-child {
  border-right: 0;
}
main.embed-bop .inline .candidate {
  border: 0 !important;
}
main.embed-bop .inline .source {
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 450px) {
  main.embed-bop .inline .source {
    padding-top: 5px;
    margin-top: 0;
    clear: both;
  }
}
main.embed-bop .dark h3 {
  color: #eee;
}
main.embed-bop .dark .full-link a {
  color: #eee;
}
main.embed-bop .dark .full-link a:hover {
  color: white;
  text-decoration: underline;
}
main.embed-bop .dark .bar-container .middle {
  border-left: 1px solid #eee;
}
main.embed-bop .dark .bar-container .bar.gop {
  background: #df3b3c;
}
main.embed-bop .dark .bar-container .bar.gop path {
  fill: #df3b3c;
}
main.embed-bop .dark .chatter,
main.embed-bop .dark .uncalled {
  color: #ccc;
}
main.embed-bop .dark .net-gain-container .gain-label {
  color: #ccc;
}
main.embed-bop .dark .net-gain-container .net-gain.GOP {
  background: #df3b3c;
}
main.embed-bop .dark .source {
  color: #aaa;
}
main.embed-bop .dark .bar-container {
  background: #777;
}
main.embed-bop .dark .divider {
  border-top: 1px solid #777;
}
main.embed-bop .dark .president .candidate:first-child {
  border-right: 1px solid #777;
}
main.embed-bop .dark .candidate.gop {
  color: #df3b3c;
}
main.embed-bop .dark .candidate.gop path {
  fill: #df3b3c;
}
main.embed-bop .dark.inline .link-container {
  border-right: 1px solid #777;
}
main.embed-bop .dark.inline .link-container:last-child {
  border-right: none;
}
@media (max-width: 700px) {
  main.embed-bop .dark.inline .link-container {
    border: none;
  }
}
@media (max-width: 700px) {
  main.embed-bop .hide-congress .link-container.house,
  main.embed-bop .hide-congress .link-container.senate {
    display: none;
  }
  main.embed-bop .hide-congress .divider,
  main.embed-bop .hide-congress .second.divider {
    display: none;
  }
}
main.embed-bop .only-pres .link-container.house,
main.embed-bop .only-pres .link-container.senate {
  display: none;
}
main.embed-bop .only-pres .divider,
main.embed-bop .only-pres .second.divider {
  display: none;
}
main.embed-bop .president h3 {
  margin-top: 0;
}
main.embed-bop h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
main.embed-bop .chatter {
  text-align: center;
  font-size: 12px;
  color: var(--fg-secondary);
}
@media (max-width: 450px) {
  main.embed-bop .chatter {
    font-size: 11px;
  }
}
main.embed-bop .winner-icon {
  color: var(--fg-primary);
  width: 0.8em;
  display: inline-block;
  margin-left: 0;
}
main.embed-bop a.link-container {
  text-decoration: none;
  color: var(--fg-primary);
  position: relative;
  display: block;
}
main.embed-bop .bop-footer {
  position: relative;
}
main.embed-bop .number-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
main.embed-bop .number-container .candidate {
  flex: 1;
  text-align: center;
  max-width: 90px;
  color: var(--fg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
main.embed-bop .number-container .candidate .name {
  line-height: 1.2em;
  text-transform: uppercase;
}
@media (max-width: 450px) {
  main.embed-bop .number-container .candidate .name {
    font-size: 12px;
  }
}
main.embed-bop .number-container .candidate .votes {
  font-size: 30px;
  font-weight: bold;
}
@media (max-width: 450px) {
  main.embed-bop .number-container .candidate .votes {
    font-size: 20px;
  }
}
main.embed-bop .number-container .dem {
  color: #217BAE;
}
main.embed-bop .number-container .dem path {
  fill: #217BAE;
}
main.embed-bop .number-container .gop {
  color: #C72021;
}
main.embed-bop .number-container .gop path {
  fill: #C72021;
}
main.embed-bop .number-container .other {
  color: #F1A513;
}
main.embed-bop .number-container .other path {
  fill: #F1A513;
}
main.embed-bop .president .chatter {
  margin-top: 10px;
}
main.embed-bop .president .candidate:first-child {
  border-right: 1px solid var(--border-primary);
}
main.embed-bop .bar-container {
  width: 100%;
  height: 26px;
  background: var(--bg-tertiary);
  margin: 5px 0 10px;
  position: relative;
}
main.embed-bop .bar-container .bar {
  height: 100%;
}
main.embed-bop .bar-container .bar.dem {
  background: #217BAE;
  float: left;
}
main.embed-bop .bar-container .bar.dem path {
  fill: #217BAE;
}
main.embed-bop .bar-container .bar.gop {
  background: #C72021;
  float: right;
}
main.embed-bop .bar-container .bar.gop path {
  fill: #C72021;
}
main.embed-bop .bar-container .bar.other {
  background: #F1A513;
}
main.embed-bop .bar-container .bar.other path {
  fill: #F1A513;
}
main.embed-bop .bar-container .middle {
  position: absolute;
  top: 0;
  border-left: 1px solid var(--fg-primary);
  height: 30px;
  width: 1px;
  right: 50%;
}
main.embed-bop .net-gain-container {
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
}
main.embed-bop .net-gain-container .gain-label {
  font-size: 10px;
  color: var(--fg-primary);
  padding-bottom: 1px;
}
main.embed-bop .net-gain-container .net-gain {
  font-size: 11px;
  font-weight: bold;
  background: #9a9a9a;
  color: white;
  display: inline-block;
  padding: 3px 6px;
}
main.embed-bop .net-gain-container .net-gain.Dem {
  background: #217BAE;
}
main.embed-bop .net-gain-container .net-gain.GOP {
  background: #C72021;
}
@media (max-width: 300px) {
  main.embed-bop .net-gain-container .net-gain {
    padding: 1px 4px 2px;
    font-size: 10px;
  }
}
main.embed-bop .divider {
  border-top: 1px solid var(--border-secondary);
  margin: 20px 0 5px;
}
main.embed-bop .source {
  margin-top: 55px;
}
main.embed-bop .footnote {
  font-size: 11px;
  font-style: italic;
  color: var(--fg-quaternary);
  margin-top: 5px;
}
main.embed-homepage .disclaimer {
  text-align: center;
  font-style: italic;
  font-size: 12px;
  color: var(--fg-tertiary);
}
main.embed-homepage .full-link {
  text-align: center;
}
main.embed-homepage .full-link a {
  text-decoration: none;
}
#embed-bop-on-page {
  color: var(--fg-primary);
}
#embed-bop-on-page .full-link {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
@media (max-width: 300px) {
  #embed-bop-on-page .full-link {
    text-align: left;
    margin-top: 23px;
  }
}
@media (max-width: 300px) {
  #embed-bop-on-page .president .full-link {
    text-align: center;
  }
}
#embed-bop-on-page .inline .container {
  display: flex;
  max-width: 100%;
}
@media (max-width: 800px) {
  #embed-bop-on-page .inline .container {
    padding: 0 5px;
  }
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .container {
    display: block;
  }
}
#embed-bop-on-page .inline .bar-container {
  height: 20px;
}
#embed-bop-on-page .inline .net-gain-container {
  right: 25px;
  bottom: 8px;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .net-gain-container {
    right: 0;
  }
}
#embed-bop-on-page .inline .house .full-link {
  text-align: left;
}
@media (max-width: 450px) {
  #embed-bop-on-page .inline .house .full-link {
    text-align: left;
  }
}
#embed-bop-on-page .inline .house .net-gain-container {
  left: 25px;
  right: auto;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .house .net-gain-container {
    left: 0;
  }
}
@media (max-width: 450px) {
  #embed-bop-on-page .inline .house .net-gain-container {
    left: auto;
    right: 0;
  }
}
#embed-bop-on-page .inline .full-link {
  text-align: left;
  margin-top: 23px;
}
#embed-bop-on-page .inline .second.divider {
  display: none;
}
@media (max-width: 450px) {
  #embed-bop-on-page .inline .second.divider {
    display: block;
    margin-top: 15px;
  }
}
#embed-bop-on-page .inline .president .bar-container {
  display: block;
}
#embed-bop-on-page .inline .president .full-link {
  margin-top: 23px;
  text-align: center;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .president .full-link {
    margin-top: 10px;
  }
}
#embed-bop-on-page .inline .senate .number-container,
#embed-bop-on-page .inline .house .number-container {
  display: flex;
}
#embed-bop-on-page .inline .link-container {
  flex: 1;
  padding: 0 25px;
  border-right: 1px solid var(--border-primary);
}
#embed-bop-on-page .inline .link-container.house {
  order: 1;
}
#embed-bop-on-page .inline .link-container.president {
  order: 2;
}
#embed-bop-on-page .inline .link-container.senate {
  order: 3;
}
#embed-bop-on-page .inline .link-container h3 {
  margin: 10px 0;
}
#embed-bop-on-page .inline .link-container .label {
  display: none;
}
#embed-bop-on-page .inline .link-container .middle {
  height: 23.8px;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .link-container {
    border: none;
    padding: 0;
  }
  #embed-bop-on-page .inline .link-container.senate,
  #embed-bop-on-page .inline .link-container.house {
    width: 46%;
    display: inline-block;
  }
  #embed-bop-on-page .inline .link-container.senate {
    float: right;
  }
  #embed-bop-on-page .inline .link-container.president .bar-container {
    height: 14px;
  }
  #embed-bop-on-page .inline .link-container.president .middle {
    top: -2.8px;
    height: 16.8px;
  }
  #embed-bop-on-page .inline .link-container.president h3 {
    margin-top: 0;
  }
}
@media (max-width: 450px) {
  #embed-bop-on-page .inline .link-container.senate,
  #embed-bop-on-page .inline .link-container.house {
    width: 100%;
  }
}
#embed-bop-on-page .inline .link-container:last-child {
  border-right: 0;
}
#embed-bop-on-page .inline .candidate {
  border: 0 !important;
}
#embed-bop-on-page .inline .source {
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 450px) {
  #embed-bop-on-page .inline .source {
    margin-top: 20px;
    text-align: left;
    padding-left: 5px;
  }
}
#embed-bop-on-page .dark h3 {
  color: #eee;
}
#embed-bop-on-page .dark .full-link a {
  color: #eee;
}
#embed-bop-on-page .dark .full-link a:hover {
  color: white;
  text-decoration: underline;
}
#embed-bop-on-page .dark .bar-container .middle {
  border-left: 1px solid #eee;
}
#embed-bop-on-page .dark .bar-container .bar.gop {
  background: #df3b3c;
}
#embed-bop-on-page .dark .bar-container .bar.gop path {
  fill: #df3b3c;
}
#embed-bop-on-page .dark .chatter,
#embed-bop-on-page .dark .uncalled {
  color: #ccc;
}
#embed-bop-on-page .dark .net-gain-container .gain-label {
  color: #ccc;
}
#embed-bop-on-page .dark .net-gain-container .net-gain.GOP {
  background: #df3b3c;
}
#embed-bop-on-page .dark .source {
  color: #aaa;
}
#embed-bop-on-page .dark .bar-container {
  background: #777;
}
#embed-bop-on-page .dark .divider {
  border-top: 1px solid #777;
}
#embed-bop-on-page .dark .president .candidate:first-child {
  border-right: 1px solid #777;
}
#embed-bop-on-page .dark .candidate.gop {
  color: #df3b3c;
}
#embed-bop-on-page .dark .candidate.gop path {
  fill: #df3b3c;
}
#embed-bop-on-page .dark.inline .link-container {
  border-right: 1px solid #777;
}
#embed-bop-on-page .dark.inline .link-container:last-child {
  border-right: none;
}
@media (max-width: 700px) {
  #embed-bop-on-page .dark.inline .link-container {
    border: none;
  }
}
@media (max-width: 700px) {
  #embed-bop-on-page .hide-congress .link-container.house,
  #embed-bop-on-page .hide-congress .link-container.senate {
    display: none;
  }
  #embed-bop-on-page .hide-congress .divider,
  #embed-bop-on-page .hide-congress .second.divider {
    display: none;
  }
}
#embed-bop-on-page .only-pres .link-container.house,
#embed-bop-on-page .only-pres .link-container.senate {
  display: none;
}
#embed-bop-on-page .only-pres .divider,
#embed-bop-on-page .only-pres .second.divider {
  display: none;
}
#embed-bop-on-page .president h3 {
  margin-top: 0;
}
#embed-bop-on-page h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
#embed-bop-on-page .chatter {
  text-align: center;
  font-size: 12px;
  color: var(--fg-secondary);
}
#embed-bop-on-page .winner-icon {
  color: var(--fg-primary);
  width: 0.8em;
  display: inline-block;
  margin-left: 0;
}
#embed-bop-on-page a.link-container {
  text-decoration: none;
  color: var(--fg-primary);
  position: relative;
  display: block;
}
#embed-bop-on-page .number-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#embed-bop-on-page .number-container .candidate {
  flex: 1;
  color: var(--fg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
#embed-bop-on-page .number-container .candidate .name {
  line-height: 1.1em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: -1px;
  text-align: right;
}
@media (max-width: 300px) {
  #embed-bop-on-page .number-container .candidate .name {
    font-size: 10px;
  }
}
#embed-bop-on-page .number-container .candidate .votes {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}
#embed-bop-on-page .number-container .candidate.uncalled .name {
  font-size: 12px;
  text-align: center;
}
#embed-bop-on-page .number-container .candidate.uncalled .votes {
  font-size: 13px;
}
#embed-bop-on-page .number-container .dem {
  color: #217BAE;
}
#embed-bop-on-page .number-container .dem path {
  fill: #217BAE;
}
#embed-bop-on-page .number-container .gop {
  color: #C72021;
}
#embed-bop-on-page .number-container .gop path {
  fill: #C72021;
}
#embed-bop-on-page .number-container .other {
  color: #F1A513;
}
#embed-bop-on-page .number-container .other path {
  fill: #F1A513;
}
#embed-bop-on-page .president .chatter {
  margin-top: 10px;
}
#embed-bop-on-page .president .candidate:first-child {
  border-right: 1px solid var(--border-primary);
}
#embed-bop-on-page .bar-container {
  width: 100%;
  height: 26px;
  background: var(--bg-tertiary);
  margin: 5px 0 10px;
  position: relative;
}
#embed-bop-on-page .bar-container .bar {
  height: 100%;
}
#embed-bop-on-page .bar-container .bar.dem {
  background: #217BAE;
  float: left;
}
#embed-bop-on-page .bar-container .bar.dem path {
  fill: #217BAE;
}
#embed-bop-on-page .bar-container .bar.gop {
  background: #C72021;
  float: right;
}
#embed-bop-on-page .bar-container .bar.gop path {
  fill: #C72021;
}
#embed-bop-on-page .bar-container .bar.other {
  background: #F1A513;
}
#embed-bop-on-page .bar-container .bar.other path {
  fill: #F1A513;
}
#embed-bop-on-page .bar-container .middle {
  position: absolute;
  top: 0;
  border-left: 1px solid var(--fg-primary);
  height: 30px;
  width: 1px;
  right: 50%;
}
#embed-bop-on-page .net-gain-container {
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
}
#embed-bop-on-page .net-gain-container .gain-label {
  font-size: 10px;
  color: var(--fg-primary);
  padding-bottom: 1px;
}
#embed-bop-on-page .net-gain-container .net-gain {
  font-size: 11px;
  font-weight: bold;
  background: #9a9a9a;
  color: white;
  display: inline-block;
  padding: 3px 6px;
}
#embed-bop-on-page .net-gain-container .net-gain.Dem {
  background: #217BAE;
}
#embed-bop-on-page .net-gain-container .net-gain.GOP {
  background: #C72021;
}
@media (max-width: 300px) {
  #embed-bop-on-page .net-gain-container .net-gain {
    padding: 1px 4px 2px;
    font-size: 10px;
  }
}
#embed-bop-on-page .divider {
  border-top: 1px solid var(--border-secondary);
  margin: 20px 0 5px;
}
#embed-bop-on-page .source {
  margin-top: 55px;
}
#embed-bop-on-page .oneEmbed {
  width: 100%;
  display: inline-block;
}
#embed-bop-on-page .twoEmbeds {
  width: 46%;
  display: inline-block;
}
.winner-icon svg {
  width: 1em;
  height: 1em;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
body {
  padding: 0;
  margin: 0;
  touch-action: manipulation;
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  background-color: var(--bg-primary);
}
img,
svg {
  max-width: 100%;
}
.winner-icon path {
  fill: var(--fg-primary);
}
h1 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 20px;
  color: var(--fg-secondary);
}
a,
a:visited {
  color: var(--accent-dark);
}
a:hover,
a:active,
a:focus {
  color: var(--accent-light);
}
img:not([alt]) {
  outline: 3px solid red;
}
[aria-hidden] img:not([alt]),
[role="img"] img:not([alt]) {
  outline: none;
}
/* NPR standard partials */
footer {
  position: relative;
  z-index: 999;
  justify-content: flex-start;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
footer .constrained {
  margin: auto;
}
footer .npr {
  margin-top: 44px;
}
footer .npr a,
footer .npr a:visited {
  color: white;
  text-decoration: none;
}
footer .npr a:hover,
footer .npr a:visited:hover,
footer .npr a:focus,
footer .npr a:visited:focus {
  color: #888;
}
footer .npr ul {
  border-top: 1px solid white;
  font-size: 0.8rem;
  padding-top: 22px;
}
footer .npr ul li {
  display: inline-block;
  margin: 0 22px 3px 0;
  padding: 0;
  text-indent: 0;
  white-space: nowrap;
}
@media (min-width: 651px) {
  footer .npr ul li {
    display: inline-block;
  }
}
h1 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  color: var(--fg-primary);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
nav.results-nav {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  font-size: 13.5px;
  color: var(--fg-primary);
  align-items: center;
  border-bottom: 5px solid;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-image: linear-gradient(to right, #C72021, #217BAE) 100;
}
.embedded nav.results-nav {
  display: none;
}
nav.results-nav .constrained {
  padding: 13px 15px 7px 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
}
@media (max-width: 768px) {
  nav.results-nav {
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  nav.results-nav .label.full {
    display: none;
  }
}
@media (min-width: 769px) {
  nav.results-nav .label.abbrev {
    display: none;
  }
}
nav.results-nav .results-logo {
  display: flex;
  padding-right: 20px;
}
@media (max-width: 650px) {
  nav.results-nav .results-logo {
    padding-right: 16px;
  }
}
nav.results-nav .results-logo hr {
  margin: 0 20px;
  border: none;
  border-left: 1px solid var(--border-primary);
}
@media (max-width: 650px) {
  nav.results-nav .results-logo hr {
    margin: 0 16px;
  }
}
nav.results-nav .results-logo img {
  height: 15px;
}
@media (min-width: 651px) {
  nav.results-nav .results-logo img {
    height: 20px;
  }
}
nav.results-nav .results-logo .short {
  display: none;
}
@media (max-width: 980px) {
  nav.results-nav .results-logo .short {
    display: block;
  }
  nav.results-nav .results-logo .full {
    display: none;
  }
}
nav.results-nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  background: var(--bg-primary);
}
@media (max-width: 980px) {
  nav.results-nav ul {
    flex: 0 0 100%;
  }
}
nav.results-nav .main-menu-item {
  display: block;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}
nav.results-nav .main-menu-item:first-child {
  padding-left: 0;
}
@media ((min-width: 651px)) {
  nav.results-nav .main-menu-item {
    position: relative;
    top: 2px;
  }
}
nav.results-nav button,
nav.results-nav a {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  font-family: inherit;
  text-transform: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: inherit;
  display: block;
}
nav.results-nav button:hover,
nav.results-nav a:hover,
nav.results-nav button:focus,
nav.results-nav a:focus,
nav.results-nav button:active,
nav.results-nav a:active {
  opacity: 0.6;
}
nav.results-nav #main-menu {
  display: flex;
  align-items: center;
}
@media ((max-width: 768px)) {
  nav.results-nav #main-menu.show {
    display: block;
  }
  nav.results-nav #main-menu.state-nav {
    padding: 9px 8px;
  }
}
@media ((max-width: 980px)) {
  nav.results-nav #main-menu {
    padding-top: 12px;
  }
}
nav.results-nav .menu-toggle svg {
  width: 1em;
  height: 1em;
  vertical-align: text-top;
}
nav.results-nav .menu-toggle[aria-controls="main-menu"] {
  display: none;
}
@media (max-width: 768px) {
  nav.results-nav .menu-toggle[aria-controls="main-menu"] {
    display: block;
  }
}
nav.results-nav .menu-toggle[aria-controls="states-menu"] {
  width: 100%;
}
@media (min-width: 451px) {
  nav.results-nav .menu-toggle .label.abbrev {
    display: inline-block;
  }
}
nav.results-nav .menu-contents {
  display: none;
  background: var(--bg-primary);
}
nav.results-nav .menu-contents.show {
  display: block;
}
nav.results-nav .menu-contents.states {
  border: 1px solid var(--border-secondary);
  padding: 6px 8px 2px;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  columns: 3;
  background: var(--bg-primary);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
}
@media (max-width: 650px) {
  nav.results-nav .menu-contents.states {
    border: none;
    position: absolute;
    margin-top: 8px;
    left: 2vw;
    width: 94vw;
    top: 55px;
  }
}
@media (max-width: 450px) {
  nav.results-nav .menu-contents.states {
    columns: 2;
  }
}
nav.results-nav .state-menu-item {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 1em;
  margin-bottom: 2px;
  font-weight: bold;
}
nav.results-nav .donate {
  position: absolute;
  right: 15px;
  top: 9px;
}
nav.results-nav .donate a {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  letter-spacing: 0.01em;
  letter-spacing: 0.05em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  color: white;
  font-weight: normal;
  text-transform: uppercase;
  padding: 4px 8px 4px 24px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMSAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuNSAxMEw0LjcwMjUgOS4yODA2NUMxLjg3IDYuNzM1NyAwIDUuMDU3MjIgMCAyLjk5NzI4QzAgMS4zMTg4IDEuMzMxIDAgMy4wMjUgMEMzLjk4MiAwIDQuOTAwNSAwLjQ0MTQxNyA1LjUgMS4xMzg5NkM2LjA5OTUgMC40NDE0MTcgNy4wMTggMCA3Ljk3NSAwQzkuNjY5IDAgMTEgMS4zMTg4IDExIDIuOTk3MjhDMTEgNS4wNTcyMiA5LjEzIDYuNzM1NyA2LjI5NzUgOS4yODYxTDUuNSAxMFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=);
  background-repeat: no-repeat;
  background-position: 8px center;
  background-color: #C72021;
  white-space: nowrap;
}
nav.results-nav .donate:hover {
  opacity: 0.6;
}
@media (max-width: 450px) {
  nav.results-nav .donate {
    display: none;
  }
}
.bop-wrapper {
  width: 60%;
  display: inline-block;
}
.header {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.board-container {
  width: 100%;
}
.board-container h2 {
  width: 100%;
  margin: 5px 0 5px 0;
  border-top: 2px solid var(--border-primary);
  padding-top: 8px;
  text-transform: uppercase;
  color: var(--fg-secondary);
  font-size: 1.1em;
}
main.embed-bop {
  color: var(--fg-primary);
  max-width: unset;
}
main.embed-bop h2.bop {
  display: none;
}
main.embed-bop .nprone {
  background-color: var(--bg-primary);
  padding: 7px 0;
}
@media (max-width: 450px) {
  main.embed-bop .nprone h2.bop {
    text-align: center;
    margin: 0 0 -3px 0;
    font-size: 13px;
    color: var(--fg-secondary);
    display: block;
  }
}
main.embed-bop .full-link {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
@media (max-width: 300px) {
  main.embed-bop .full-link {
    text-align: left;
    margin-top: 23px;
  }
}
@media (max-width: 300px) {
  main.embed-bop .president .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .container {
  display: flex;
  max-width: 100%;
}
@media (max-width: 800px) {
  main.embed-bop .inline .container {
    padding: 0 5px;
  }
}
@media (max-width: 700px) {
  main.embed-bop .inline .container {
    display: block;
  }
}
main.embed-bop .inline .bar-container {
  height: 20px;
}
main.embed-bop .inline .net-gain-container {
  right: 25px;
  bottom: 8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .net-gain-container {
    right: 0;
  }
}
@media (max-width: 450px) {
  main.embed-bop .inline .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
    bottom: 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main.embed-bop .inline .net-gain-container .gain-label {
    margin-right: 5px;
  }
}
main.embed-bop .inline .house .full-link {
  text-align: center;
}
@media (max-width: 450px) {
  main.embed-bop .inline .house .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .house .net-gain-container {
  left: 25px;
  right: auto;
}
@media (max-width: 700px) {
  main.embed-bop .inline .house .net-gain-container {
    left: 0;
  }
}
@media (max-width: 450px) {
  main.embed-bop .inline .house .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
  }
}
@media (max-width: 450px) {
  main.embed-bop .inline .senate {
    display: flex;
    flex-direction: row;
  }
}
main.embed-bop .inline .full-link {
  text-align: left;
  margin-top: 23px;
}
@media (max-width: 450px) {
  main.embed-bop .inline .full-link {
    text-align: center;
    margin-top: 10px;
  }
}
main.embed-bop .inline .second.divider {
  display: none;
}
main.embed-bop .inline .president .bar-container {
  display: block;
}
main.embed-bop .inline .president .full-link {
  margin-top: 23px;
  text-align: center;
}
@media (max-width: 700px) {
  main.embed-bop .inline .president .full-link {
    margin-top: 10px;
  }
}
main.embed-bop .inline .senate .number-container,
main.embed-bop .inline .house .number-container {
  display: flex;
}
main.embed-bop .inline .link-container {
  flex: 1;
  padding: 0 25px;
  border-right: none;
}
main.embed-bop .inline .link-container.house {
  order: 1;
}
main.embed-bop .inline .link-container.president {
  order: 2;
}
main.embed-bop .inline .link-container.senate {
  order: 3;
}
main.embed-bop .inline .link-container h3 {
  margin: 0px 0;
  margin-bottom: 10px;
}
main.embed-bop .inline .link-container .label {
  display: none;
}
main.embed-bop .inline .link-container .middle {
  height: 23.8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .link-container {
    border: none;
    padding: 0;
  }
  main.embed-bop .inline .link-container.senate,
  main.embed-bop .inline .link-container.house {
    width: 46%;
    display: inline-block;
  }
  main.embed-bop .inline .link-container.senate {
    float: right;
  }
  main.embed-bop .inline .link-container.oneEmbed {
    width: 100%;
  }
  main.embed-bop .inline .link-container.president .bar-container {
    height: 20px;
  }
  main.embed-bop .inline .link-container.president .middle {
    top: -4px;
    height: 28px;
  }
  main.embed-bop .inline .link-container.president h3 {
    margin-top: 0;
  }
}
main.embed-bop .inline .link-container:last-child {
  border-right: 0;
}
main.embed-bop .inline .candidate {
  border: 0 !important;
}
main.embed-bop .inline .source {
  margin-top: 10px;
  text-align: center;
  display: inline-block;
}
@media (max-width: 450px) {
  main.embed-bop .inline .source {
    padding-top: 5px;
    margin-top: 0;
    clear: both;
  }
}
main.embed-bop .container.twoEmbeds {
  display: flex;
}
main.embed-bop .twoEmbeds.president,
main.embed-bop .twoEmbeds.house,
main.embed-bop .twoEmbeds.senate {
  flex: 1 0 auto;
  margin: 10px;
}
main.embed-bop .twoEmbeds.president h3,
main.embed-bop .twoEmbeds.house h3,
main.embed-bop .twoEmbeds.senate h3 {
  margin: 0px;
}
main.embed-bop .twoEmbeds.president .full-link,
main.embed-bop .twoEmbeds.house .full-link,
main.embed-bop .twoEmbeds.senate .full-link {
  margin-top: 23px;
}
main.embed-bop .house.oneEmbed,
main.embed-bop .senate.oneEmbed {
  flex: 1 0 100% !important;
}
#bop-embed-wrapper .source {
  display: block;
  color: var(--fg-quaternary);
  font-style: italic;
  font-size: 11px;
  margin: 30px 0 10px;
  text-align: center;
  clear: both;
}
nav.results-nav {
  display: flex;
  padding: 20px;
  justify-content: center;
}
nav.results-nav button.menu-toggle,
nav.results-nav ul#main-menu,
nav.results-nav .donate {
  display: none;
}
main {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
main h2 {
  text-align: center;
  margin-bottom: 10px;
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}
main h2:nth-child(1) {
  font-size: 18px;
}
main h4 {
  margin: 0 0 5px 0;
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  font-size: 12px;
}
#formContainer #embedType {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-secondary);
}
#formContainer #embedType label {
  white-space: nowrap;
}
#formContainer #stateConfig,
#formContainer #checkboxSection,
#formContainer #presidentOptions {
  padding: 20px 20px 0 20px;
}
#formContainer #checkboxSection label,
#formContainer #presidentOptions label {
  white-space: nowrap;
  display: inline-block;
  padding: 0 5px;
}
.embeds {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-secondary);
}
.embeds > div {
  width: 48%;
}
.embeds > div label {
  display: block;
  font-weight: bold;
  text-align: center;
}
.embeds > div textarea {
  width: 100%;
  height: 120px;
}
side-chain {
  border: 2px dashed var(--border-primary);
}
.preview-theme {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}
.hidden {
  display: none;
}
