:root {
  /* Some colors changed for accessibility. */
  --primary: rgb(167, 134, 170);
  --secondary: rgb(134, 170, 167);
  --terciary: rgb(170, 167, 134);
  /* --success: rgba(116, 181, 97, 1); */
  --success: black;
  --info: rgb(225, 233, 214); 
  
  /* --warning: rgb(230, 190, 7); */
  --warning: black;
  /* --danger: rgba(201, 73, 73, 1); */
  --danger: black;
  --light: rgba(235, 235, 235, 1);
  --dark: rgb(90, 60, 90);
}


/* Approximate lightened colors */
:root {
  --warning-light-40: rgb(250, 240, 150); /* lighten($warning,40%) */
  --danger-light-20: rgb(225, 150, 150);  /* lighten($danger,20%) */
  --danger-light-25: rgb(230, 160, 160);  /* lighten($danger,25%) */
  --success-light-30: rgb(170, 210, 160); /* lighten($success,30%) */
  --black-light-20: rgb(50,50,50);        /* lighten(#000,20%) */
}


/*!
 * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/)
 * Copyright 2015 Daniel Cardoso <@DanielCardoso>
 * Licensed under MIT
 */
 /* .la-ball-fall,.la-ball-fall>div{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.la-ball-fall{display:block;font-size:0;color:#000;left:0;right:0;top:0;bottom:0;padding:20px 5px;background:rgba(255,255,255,.8)}.la-ball-fall.la-dark{color:#333}.la-ball-fall>div{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-fall{height:18px}.la-ball-fall>div{width:10px;height:10px;margin:4px;border-radius:100%;opacity:0;-webkit-animation:ball-fall 1s ease-in-out infinite;-moz-animation:ball-fall 1s ease-in-out infinite;-o-animation:ball-fall 1s ease-in-out infinite;animation:ball-fall 1s ease-in-out infinite}.la-ball-fall>div:nth-child(1){-webkit-animation-delay:-200ms;-moz-animation-delay:-200ms;-o-animation-delay:-200ms;animation-delay:-200ms}.la-ball-fall>div:nth-child(2){-webkit-animation-delay:-100ms;-moz-animation-delay:-100ms;-o-animation-delay:-100ms;animation-delay:-100ms}.la-ball-fall>div:nth-child(3){-webkit-animation-delay:0ms;-moz-animation-delay:0ms;-o-animation-delay:0ms;animation-delay:0ms}.la-ball-fall.la-sm{width:26px;height:8px}.la-ball-fall.la-sm>div{width:4px;height:4px;margin:2px}.la-ball-fall.la-2x{width:108px;height:36px}.la-ball-fall.la-2x>div{width:20px;height:20px;margin:8px}.la-ball-fall.la-3x{width:162px;height:54px}.la-ball-fall.la-3x>div{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-fall{0%{opacity:0;-webkit-transform:translateY(-145%);transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}80%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}90%{opacity:.5}100%{opacity:0;-webkit-transform:translateY(145%);transform:translateY(145%)}}@-moz-keyframes ball-fall{0%{opacity:0;-moz-transform:translateY(-145%);transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;-moz-transform:translateY(0);transform:translateY(0)}80%{opacity:1;-moz-transform:translateY(0);transform:translateY(0)}90%{opacity:.5}100%{opacity:0;-moz-transform:translateY(145%);transform:translateY(145%)}}@-o-keyframes ball-fall{0%{opacity:0;-o-transform:translateY(-145%);transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;-o-transform:translateY(0);transform:translateY(0)}80%{opacity:1;-o-transform:translateY(0);transform:translateY(0)}90%{opacity:.5}100%{opacity:0;-o-transform:translateY(145%);transform:translateY(145%)}}@keyframes ball-fall{0%{opacity:0;-webkit-transform:translateY(-145%);-moz-transform:translateY(-145%);-o-transform:translateY(-145%);transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}80%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}90%{opacity:.5}100%{opacity:0;-webkit-transform:translateY(145%);-moz-transform:translateY(145%);-o-transform:translateY(145%);transform:translateY(145%)}}#practiceBallot{margin:0 auto;padding:10px;background-color:#fff;color:#5a3c5a;display:flex;flex-direction:column;justify-content:center;align-items:center}#practiceBallot table.practice-ballot{table-layout:fixed;width:100%}#practiceBallot table.practice-ballot thead th{font-size:1.3em;line-height:1em;text-align:center;font-weight:bold;color:#5a3c5a}#practiceBallot table.practice-ballot tbody tr.warning{background-color:#fdf1bc}#practiceBallot table.practice-ballot tbody td{text-align:center;background-position:center;background-repeat:no-repeat;background-size:60px}#practiceBallot table.practice-ballot tbody td span.write-in-candidate{width:100%;display:block;background:#f8f8f8}#practiceBallot table.practice-ballot tbody td.option{background-image:url("img/oval.svg")}#practiceBallot table.practice-ballot tbody td.option.vote{background-image:url("img/check.svg")}#practiceBallot table.practice-ballot tbody td.name{min-width:200px}#practiceBallot table.practice-ballot tbody td input{width:100%}#practiceBallot table.practice-ballot tbody td.error{background-color:#e09898}#practiceBallot table.practice-ballot tbody td.warning{background-color:#fdf1bc}#practiceBallot table.practice-ballot tbody td.success{background-color:#d0e6c9}#ballotFeedback .warning{color:#e6be07;padding:5px 10px;background-color:#fdf1bc;border:1px solid #e6be07,10%;margin-bottom:5px}#ballotFeedback .error{color:#c94949;padding:5px 10px;background-color:#e6abab;border:1px solid #c94949,10%;margin-bottom:5px}#ballotFeedback .success{color:#74b561;padding:5px 10px;background-color:#e0f4db;border:1px solid #74b561,10%;margin-bottom:5px}#ballotFixes h5{margin-bottom:8px;color:#333}#ballotFixes h5 span.warning{color:#e6be07;background-color:#fdf1bc;padding:5px 7px}#ballotFixes h5 span.error{color:#c94949;background-color:#e6abab;padding:5px 7px}@media(max-width: 576px){#practiceBallot{width:90%}}@media(min-width: 576px)and (max-width: 992px){#practiceBallot{width:85%}}@media(min-width: 992px)and (max-width: 1200px){#practiceBallot{width:75%}}@media(min-width: 1200px){#practiceBallot{width:70%}}.text-xs-left{text-align:left}.text-xs-right{text-align:right}.text-xs-center{text-align:center}.text-xs-justify{text-align:justify}# sourceMappingURL=style.css.map */

/* Practice Ballot Container */
#practiceBallot {
  margin: 0 auto;
  padding: 10px;
  background-color: #fff;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Nobile', sans-serif;
  margin-top: -60px;
}

#practiceBallot h4,
#practiceBallot h5 {
  color: var(--dark);
  font-weight: bold;
  font-family: 'Nobile', sans-serif;
}

#practiceBallot h4 {
  font-size: 24px;
}

#practiceBallot small {
  font-size: 80%;
  font-weight: 400;
}


.bbb_text {
  font-family: 'Nobile', sans-serif;
}
  

/* Candidate Intro Section */
section.candidate-intro {
  background-color: var(--light);
  color: var(--dark);
  width: 2000px; 
  
}

section.candidate-intro .candidate-row {
  flex-wrap: nowrap;
}

section.candidate-intro .candidate-row .candidate {
  text-align: center;
  height: 380px;
  font-size: 1em;
  color: #5d3a65 !important;
}

/* Card Styles */
.card {
  break-inside: avoid-column;
}

.bbb_card {
  background-color: transparent;
  border-color: transparent;

}

.bbb_card:hover {
  cursor: pointer;
}

.bbb_card img:hover {
  filter: brightness(1.1); 
}


.bbb_card h4,
.bbb_card h5 {
  font-family: 'Nobile', sans-serif;
  font-weight: 500;
  color: #5d3a65;
}

.bbb_card h4 {
  font-size: 24px;
  text-transform: none;
}

.bbb_card h5 {
  font-size: 16px;
  text-transform: none;
}

.bbb_card h5.slogan {
  font-size: 16px;
  font-style: italic;
}

.bbb_card a {
  text-decoration: none;
}

.bbb_card a.text-primary h4:hover,
.bbb_card a.text-primary:focus,
.bbb_card a.text-primary h5:hover,
.bbb_card a.text-primary:focus {
  /* Sorry */
  color: #301e34 !important;
}

.bbb_card .candidate h4.bbb_text:hover, .bbb_card .candidate h5 small:hover {
  /* Sorry */
  color: #301e34 !important;
  
}

.bbb_card h4.bbb_text {
  color: var(--dark);
}


/* Background + Link Overrides */
.bg-white,
.card,
.bg-white a,
.card a,
.bg-light a {
  color: transparent; /* was previously commented out */
}

.bg-white a:hover,
.card a:hover,
.bg-light a:hover {
  color: var(--dark);
  text-decoration: none;
}

/* Candidate Lists */
.candidates {
  position: absolute;
  display: flex;
  justify-content: space-between;
  padding: 10px 40px;
  width: 100%;
  overflow: visible;
  z-index: 100;
}

.candidates .left-candidates,
.candidates .right-candidates {
  display: flex;
}

.candidates .left-candidates .candidate {
  padding: 10px;
  margin-right: -40px;
}

.candidates .right-candidates .candidate {
  padding: 10px;
  margin-left: -40px;
}

/* Archive / Info Panels */
section.benton-county-logo {
  border-bottom: 5px solid var(--primary);
}

section.archive-candidate .candidate-info .label,
article.candidate .candidate-info .label {
  white-space: nowrap;
  margin-bottom: 5px;
  font-size: 0.9em;
}

section.archive-candidate .candidate-info .value,
article.candidate .candidate-info .value {
  /* font-weight: 100; */
  margin-bottom: 15px;
}

section.archive-candidate .candidate-info .candidate-image,
article.candidate .candidate-info .candidate-image {
  width: 33% !important;
}

/* Responsive Layout */
@media (max-width: 576px) {
  .candidate-row .candidate { font-size: 0.8em; }
  .candidate-row .candidate img { min-width: 90px; }
  .candidates { margin-top: -85px; }
  .speech-bubble:after { content: unset; }
  section.faqs .card-columns { column-count: 1; }
}

@media (min-width: 576px) and (max-width: 992px) {
  .candidate-row .candidate { font-size: 0.9em; }
  .candidate-row .candidate img { min-width: 110px; }
  .candidates { margin-top: -165px; }
  .speech-bubble:after { content: ' '; }
  section.faqs .card-columns { column-count: 1; }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .candidate-row .candidate { font-size: 1em; }
  .candidate-row .candidate img { min-width: 130px; }
  .candidates { margin-top: -125px; }
  .speech-bubble:after { content: ' '; }
  section.faqs .card-columns { column-count: 2; }
}

@media (min-width: 1200px) {
  .candidate-row .candidate { font-size: 1.2em; }
  .candidate-row .candidate img { min-width: 150px; }
  .candidates { margin-top: -150px; }
  .speech-bubble:after { content: ' '; }
  section.faqs .card-columns { column-count: 2; }
}

/* Modal */
.bbb_modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0; 
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
}

.bbb_modal_header h1 {
  font-size: 50px;
  font-weight: bold;
  font-family: 'Nobile', sans-serif;
}

.modal-content {
  position: relative;
  background: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  min-width: 350px;
}

.modal-content h3 {
   color: var(--dark);
   font-size: 30px;
  font-weight: bold;
  font-family: 'Nobile', sans-serif;
}


.close_modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

#open-modal {
  position: relative;
  z-index: 999;
}

/* Modal body layout */
.bbb_modal .modal-body {
  display: flex;
  flex-direction: row;
  gap: 20px; /* space between columns */
}

.bbb_modal .modal-left,
.bbb_modal .modal-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.bbb_modal .modal-left { flex: 1; }
.bbb_modal .modal-right { flex: 2; justify-content: flex-start; }

.bbb_modal .modal-img {
  max-width: 100%;
  height: auto;
}

/* Header and Background */
header.blog-header {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: luminosity;
}

.rounded-back {
  position: relative;
  color: var(--primary);
}

.rounded-back:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 250px;
  background: url('img/rounded-background.svg') top center no-repeat;
  background-size: contain;
}

/* BBB Header Override */
.bbb_header {
  background-color: #5d3a65 !important;
}


/* Practice Ballot Table */
#practiceBallot table.practice-ballot {
  table-layout: fixed;
  width: 100%;
  min-width: 540px;
}

#practiceBallot table.practice-ballot thead th {
  font-size: 1.3em;
  line-height: 1em;
  text-align: center;
  font-weight: bold;
  color: var(--dark);
}

#practiceBallot .table td {
  padding: .75rem;
  vertical-align: top;
  font-size: 20px;
}

#practiceBallot table.practice-ballot tbody td {
  text-align: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60px;
}

#practiceBallot table.practice-ballot tbody td input {
  width: 100%;
}

#practiceBallot table.practice-ballot tbody td.name {
  min-width: 200px;
}

#practiceBallot table.practice-ballot tbody td span.write-in-candidate {
  width: 100%;
  display: block;
  background: #f8f8f8;
}

/* Ballot option icons */
#practiceBallot table.practice-ballot tbody td.option {
  background-image: url('img/oval.svg');
}
#practiceBallot table.practice-ballot tbody td.option.vote {
  background-image: url('img/check.svg');
}

/* State Colors (Warning, Error, Success) */
#practiceBallot table.practice-ballot tbody tr.warning,
#practiceBallot table.practice-ballot tbody td.warning,
#ballotFeedback .warning,
#ballotFixes h5 span.warning {
  background-color: var(--warning-light-40);
}

#practiceBallot table.practice-ballot tbody td.error,
#ballotFeedback .error,
#ballotFixes h5 span.error {
  background-color: var(--danger-light-25);
}

#practiceBallot table.practice-ballot tbody td.success,
#ballotFeedback .success {
  background-color: var(--success-light-30);
}

/* Ballot Feedback Messages */
#ballotFeedback .warning,
#ballotFeedback .error,
#ballotFeedback .success {
  padding: 5px 10px;
  margin-bottom: 5px;
  border: 1px solid;
}

#ballotFeedback .warning { color: var(--warning); border-color: var(--warning); }
#ballotFeedback .error   { color: var(--danger); border-color: var(--danger); }
#ballotFeedback .success { color: var(--success); border-color: var(--success); background-color: #E0F4DB; }

/* Ballot Fixes */
#ballotFixes h5 {
  margin-bottom: 8px;
  color: var(--black-light-20);
}

#ballotFixes h5 span.warning,
#ballotFixes h5 span.error {
  color: inherit;
  padding: 5px 7px;
}
#ballotFixes h5 span.warning { color: var(--warning); }
#ballotFixes h5 span.error   { color: var(--danger); }

/* Buttons */
.bbb_btn.btn {
  background-color: var(--dark);
}
.bbb_btn.btn:hover {
  background-color: #472c4d;
}
.bbb_btn.btn-primary {
  border-color: var(--dark);
}

.bbb_btn#ballotReset {
  background-color: #d8d8d8;
}
.bbb_btn#ballotReset:hover {
  background-color: #d2d2d2;
}



.bbb_i_voted_sticker  {
  width: 300px;
  
}

#bbb_I_voted_subheading {
    font-family: 'Nobile', sans-serif;
    font-size: 30px;
    color: var(--dark);
    font-weight: bold;
}

.bbb-stickers-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-around;
}
.bbb-stickers-container a img {
  transition: transform 0.2s;
}
.bbb-stickers-containera img:hover {
  transform: scale(1.1);
}