/*
 * Media queries
 */
/*
 * Fonts
 */
/*
 * Colors
 */
.sr-only {
  opacity: 0;
  position: absolute;
  left: -1000px;
  clip: inset(0, 0, 0, 0);
  width: 1px;
  height: 1px;
}
:root {
  --foreground: #333;
  --secondary: #787878;
  --background: white;
  --shaded: #efefef;
  --outline: var(--background);
  --accent: var(--secondary);
  --accent-fade: rgba(136, 136, 136, 0.3);
  --dem: #217BAE;
  --gop: #C72021;
  --dem-fade: rgba(33, 123, 174, 0.3);
  --gop-fade: rgba(199, 32, 33, 0.3);
  --link: #217BAE;
  --link-secondary: var(--foreground);
  --font-size: 14px;
  --side-margin: 15px;
  --divider: #999;
  --divider-minor: #dadada;
  --background-faded: rgba(255, 255, 255, 0);
}
@media (min-width: 691px) {
  :root {
    --side-margin: 20px;
  }
}
body.dark {
  --foreground: white;
  --secondary: #aaa;
  --background: #333;
  --shaded: #222;
  --outline: var(--background);
  --link: var(--foreground);
  --link-secondary: #ccc;
  --divider: #787878;
  --divider-minor: #555;
  --background-faded: rgba(51, 15, 51, 0);
  --dem-fade: rgba(33, 123, 174, 0.4);
}
body.social {
  --font-size: 17px;
}
html,
body {
  background: transparent;
  color: var(--foreground);
}
[hidden] {
  display: none !important;
}
* {
  -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: 14px/1.4 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}
img,
svg {
  max-width: 100%;
}
h1 {
  font-size: 20px;
  color: #333;
  font-weight: 700;
}
a,
a:visited {
  color: #4774CC;
}
a:hover,
a:active,
a:focus {
  color: #bccae5;
}
img:not([alt]) {
  outline: 3px solid red;
}
[aria-hidden] img:not([alt]),
[role="img"] img:not([alt]) {
  outline: none;
}
h4 {
  font-size: 0.9rem;
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #767676;
  font-weight: 500;
  line-height: 1.4;
}
/* NPR standard partials */
google-ad .message {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  display: flex;
  padding: 12px 4px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--secondary);
}
nav.elections {
  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;
  margin: 0;
  font-size: 13.5px;
}
nav.elections .results-logo {
  display: flex;
}
@media (max-width: 690px) {
  nav.elections .results-logo {
    padding-right: 16px;
  }
}
nav.elections .results-logo hr {
  margin: 0 20px;
  border: none;
  border-left: 1px solid #ccc;
}
@media (max-width: 690px) {
  nav.elections .results-logo hr {
    margin: 0 16px;
    display: none;
  }
}
nav.elections .results-logo .elections-logo {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  font-weight: bold;
  text-transform: none;
  color: #000;
  font-size: 18px;
  white-space: nowrap;
  line-height: 1;
  margin-top: 1px;
  letter-spacing: 0.01em;
}
nav.elections .results-logo img {
  height: 15px;
  display: block;
  margin-right: 20px;
}
@media (min-width: 691px) {
  nav.elections .results-logo img {
    height: 20px;
  }
}
nav.elections .results-logo .short {
  display: none;
}
@media (max-width: 980px) {
  nav.elections .results-logo .short {
    display: block;
  }
  nav.elections .results-logo .full {
    display: none;
  }
}
nav.elections .row {
  display: flex;
  padding: 0 var(--side-margin);
  justify-content: space-between;
  position: relative;
}
.embedded nav.elections {
  display: none;
}
nav.elections > hr {
  margin: 0;
  display: block;
  position: absolute;
  width: 100%;
  height: 5px;
  background: white;
  background-image: linear-gradient(to right, #C72021, #217BAE);
  border: none;
}
nav.elections ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: center;
  display: flex;
  width: 100%;
  height: 44px;
}
nav.elections ul.secondary {
  flex: 1;
  justify-content: flex-end;
}
nav.elections ul > li {
  margin: 0;
  padding: 0 var(--side-margin) 0 0;
  line-height: 1;
}
nav.elections img {
  display: block;
  height: 15px;
  width: auto;
}
@media (min-width: 691px) {
  nav.elections img {
    height: 18px;
  }
}
nav.elections a,
nav.elections a:link,
nav.elections a:visited {
  color: #454545;
  text-decoration: none;
}
nav.elections a:hover,
nav.elections a:active {
  opacity: 0.6;
}
nav.elections .election {
  border-left: 1px solid #ccc;
  padding-left: var(--side-margin);
}
nav.elections .donate {
  padding-right: 0;
}
nav.elections .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.elections .donate:hover {
  opacity: 0.6;
}
@media (max-width: 690px) {
  nav.elections li {
    display: none;
  }
  nav.elections li.npr,
  nav.elections li.election,
  nav.elections li.donate {
    display: block;
  }
}
.ad-wrap {
  animation: fadeIn 2s;
  -webkit-animation: fadeIn 2s;
  -moz-animation: fadeIn 2s;
  -o-animation: fadeIn 2s;
  visibility: hidden;
}
.ad-wrap.visible {
  visibility: visible;
}
.ad-wrap.hidden {
  display: none;
}
.ad-config-wrap {
  width: 100%;
  display: table;
}
.ad-config {
  clear: both;
  text-align: center;
  margin-bottom: 30px;
  overflow: hidden;
  transition: 500ms ease;
  display: table-cell !important;
  flex-direction: column;
  vertical-align: middle;
  height: 250px;
}
.ad-config > div {
  animation: fadeIn 2s;
  -webkit-animation: fadeIn 2s;
  -moz-animation: fadeIn 2s;
  -o-animation: fadeIn 2s;
}
.ad-config.hidden {
  display: none !important;
}
.ad-header {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 12px;
  content: "Sponsor message";
  display: block;
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  color: #555;
  padding: 15px;
}
.ad-footer {
  padding-top: 25px;
  content: "";
  display: block;
  border-bottom: 1px solid #fff;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
footer {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  background: #222;
  color: white;
  padding: 40px 15px;
  position: relative;
  z-index: 999;
  justify-content: flex-start;
}
footer.mega-nav {
  background: #454545;
}
body.embedded footer {
  display: none;
}
footer h3 {
  margin: 0 0 6px 0;
  text-transform: uppercase;
  font-size: 1.1em;
  color: #fff;
}
footer h3.state-hed {
  border-top: 1px solid #999;
  padding-top: 33px;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
footer a,
footer a:link,
footer a:visited {
  color: white;
  text-decoration: none;
}
footer a:hover,
footer a:link:hover,
footer a:visited:hover {
  color: #aaa;
}
footer .constrained {
  max-width: 980px;
  margin: auto;
}
footer .npr {
  margin-top: 44px;
}
footer .npr ul {
  border-top: 1px solid #555;
  color: #888;
  font-size: 0.8rem;
  padding-top: 11px;
}
footer .npr ul li {
  display: inline-block;
  margin: 0 22px 3px 0;
  padding: 0;
  text-indent: 0;
  white-space: nowrap;
}
@media (min-width: 691px) {
  footer .npr ul li {
    display: inline-block;
  }
}
footer .state-nav {
  column-count: 5;
  margin: 20px 0 0 0;
}
@media (max-width: 800px) {
  footer .state-nav {
    column-count: 3;
  }
}
@media (max-width: 690px) {
  footer .state-nav {
    column-count: 2;
  }
}
@media (max-width: 450px) {
  footer .state-nav {
    font-size: 0.9em;
  }
}
footer .state-nav a {
  line-height: 1.8;
}
footer .more-2026 {
  column-count: 3;
  margin: 20px 0 33px 0;
}
@media (max-width: 690px) {
  footer .more-2026 {
    column-count: 1;
  }
}
@media (max-width: 768px) {
  footer .more-2026 {
    column-count: 2;
  }
}
@media (max-width: 450px) {
  footer .more-2026 {
    font-size: 0.9em;
  }
}
footer .more-2026 a {
  line-height: 1.8;
}
footer .credits {
  font-size: 0.9em;
  color: #ccc;
}
footer .credits p.credit-text {
  margin: 0;
}
@media (max-width: 690px) {
  footer .credits p.credit-text {
    margin: 0 0 2px 0;
  }
}
footer .credits p {
  line-height: 1.6;
}
:root {
  font-size: 16px;
}
[tabindex="-1"]:focus {
  outline: none;
}
main {
  max-width: 980px;
  margin: auto;
  padding-top: 24px;
  padding-bottom: 24px;
  min-height: 600px;
}
.embedded main {
  min-height: unset;
}
main .side-ad {
  display: none;
}
@media (max-width: 1010px) {
  main {
    max-width: 1010px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
[disabled] a,
[disabled] a:hover,
[disabled] a:focus {
  color: var(--secondary) !important;
  text-decoration: none;
  cursor: default;
}
.show-counties[disabled],
h2[disabled] {
  display: none;
}
header {
  padding-bottom: 16px;
}
header .state-icon {
  float: left;
  margin-right: 14px;
  max-width: 75px;
  height: 60px;
  opacity: 0.4;
}
@media (max-width: 450px) {
  header .state-icon {
    max-width: 55px;
  }
}
header h2 {
  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;
  margin: 0;
  color: var(--secondary);
  font-size: 0.85rem;
}
header h2 a,
header h2 a:link,
header h2 a:visited {
  color: var(--secondary);
  text-decoration: none;
}
header h2 a:hover,
header h2 a:active {
  color: var(--link);
}
header h1 {
  margin: 0;
  font-size: 2rem;
  color: #333;
  font-weight: bold;
}
@media (max-width: 690px) {
  header h1 {
    font-size: 1.8rem;
  }
}
@media (max-width: 450px) {
  header h1 {
    font-size: 1.5rem;
  }
}
.mobile-calendar-wrapper {
  display: none;
}
@media (max-width: 690px) {
  .mobile-calendar-wrapper {
    display: block;
  }
}
.select-label {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 0.8rem;
  margin-bottom: 8px;
  margin-right: 6px;
  display: inline-block;
  text-transform: uppercase;
}
.outer-mobile-calendar {
  padding: 6px 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
}
.mobile-calendar {
  border: none;
  font-size: 14px;
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  background: transparent;
  width: 100%;
}
.mobile-calendar:hover {
  cursor: pointer;
}
nav.race-calendar {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
}
@media (max-width: 690px) {
  nav.race-calendar {
    display: none;
  }
}
nav.race-calendar a {
  text-decoration: none;
}
nav.race-calendar ul {
  padding: 0 0 8px;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  border-bottom: 2px solid #EEE;
}
nav.race-calendar li {
  display: block;
  padding: 10px 20px;
  border-right: 2px solid #EEE;
  border-top: 2px solid transparent;
  line-height: 1.5em;
}
nav.race-calendar li:last-child {
  border-right: none;
}
nav.race-calendar .office {
  display: block;
  font-weight: bold;
  /*color: var(--foreground);*/
}
nav.race-calendar .parties {
  display: block;
}
nav.race-calendar .date {
  display: block;
  color: #AAA;
  font-size: 12px;
}
nav.race-calendar .active {
  border-top: 2px solid #CCC;
}
.chatter {
  font-family: 'NPRSerif', Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
  font-kerning: normal;
  letter-spacing: 0.02em;
  font-size: 16px;
  line-height: 1.5em;
  border-bottom: 2px solid #ccc;
  margin-bottom: 22px;
  padding-bottom: 22px;
}
.chatter:empty {
  display: none;
}
.module .chatter {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 1em;
  font-style: italic;
  color: #787878;
  border-bottom: none;
  padding-bottom: 0;
}
a.general-link,
a.general-link:visited {
  font-style: italic;
  display: block;
  border: 1px solid #ffdb6f;
  background: #fff5d5;
  padding: 20px;
  font-weight: bold;
  text-decoration: none;
}
a.general-link:focus,
a.general-link:visited:focus,
a.general-link:hover,
a.general-link:visited:hover {
  text-decoration: underline;
}
hr {
  border-bottom: 2px solid #ccc;
  margin: 22px 0;
}
h3.latest-results {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  font-size: 1em;
  margin: 22px 0;
  color: #787878;
  font-weight: normal;
}
body.filtered h3.latest-results {
  display: none;
}
hr {
  border: 1px solid #EEE;
}
.module {
  padding-bottom: 20px;
}
.module pre {
  padding: 30px;
  background: #EEE;
}
.module h2 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-weight: bold;
  margin: 22px 0;
  font-size: 1.3em;
}
.module h2 + house-primary .chatter {
  margin-top: -15px;
}
.module h2 + president-primary .chatter {
  margin-top: -15px;
}
.module.hidden {
  display: none;
}
.module:focus {
  outline: none;
}
.module .no-results {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
}
body.counties .full-results {
  display: none !important;
}
president-results .source-line,
results-table .source-line {
  display: none;
}
.page-timestamp {
  font-size: 12px;
  font-style: italic;
  color: var(--secondary);
}
