body {
  background-color: #232531;
  padding: 0;
  margin: 0;
  font-family: "Open sans", sans-serif;
  font-weight: lighter;
}

a:hover,
a:visited,
a:active,
a:focus {
  text-decoration: none;
}

h2,
body {
  color: #cbd8e6;
}

.header {
  background-color: #1d1e2a;
  padding: 1em 0;
  margin-bottom: 1em;
  position: sticky;
  top: 0;
  z-index: 100;
}

footer {
  margin-top: 2rem;
}

.logo {
  display: block;
  float: left;
  margin-right: 2rem;
}

.logo img {
  height: 35px;
  max-width: 100%;
}

.reallyvote-guy img {
  width: 8rem;
}

.contact-us img {
  width: 3rem;
}

a.contact-us path {
  fill: #616773;
}

a.contact-us:hover path {
  fill: #cbd8e6;
}

a.contact-us:hover,
a.change-location:active {
  color: #cbd8e6;
}

.try-premium-area {
  padding: 0 9px;
}

.try-premium-area,
.location,
.dropdown {
  float: right;
}

.location {
  height: 35px;
  display: inline-block;
  padding: 0 9px;
}

.search-icon {
  padding: 0 9px;
}

.location a,
.search-icon a {
  line-height: 35px;
  font-size: 2rem;
}

.tagline {
  float: left;
  display: block;
  color: #656b76;
}

.tagline span {
  line-height: 35px;
  font-size: 1.8rem;
  font-weight: normal;
}

a.change-location,
a.change-location:hover,
a.change-location:visited {
  cursor: pointer;
  color: #cbd7e6;
}

.terms-of-service,
a.contact-us,
a.contact-us:visited,
a.contact-us:active {
  color: #616773;
}

.headline-container {
  border-bottom: 1px solid #565b66;
}

h1 {
  color: #cbd8e6;
  font-size: 3.6rem;
}

.try-premium-wrapper h1 {
  font-size: 3rem;
}

p,
p.not-found-text {
  color: #cbd8e6;
}

.headline {
  color: #cbd8e6;
  font-size: 3.6rem;
}

.headline h1 {
  font-weight: lighter;
}

.contact-us-container {
  margin: 2em 0;
}

.contact-us {
  font-size: 2rem;
}

.by-gps {
  margin: 2rem 0;
  padding: 1rem;
  color: #cbd8e6;
}

a.button-send-gps {
  color: #cbd8e6;
  border: 1px solid #cbd8e6;
  border-radius: 3px;
  padding: 1rem 2rem;
  font-size: 16px;
  transition: background-color 200ms, color 200ms;
}

.button-send-gps:hover,
.button-send-gps:focus {
  background-color: #cdd7e5;
  color: #0a0a15;
}

.button-send-gps:active {
  background-color: #767e87;
}

.button-send-gps span.fa {
  margin-right: 0.5rem;
}

.by-address p,
.by-gps p {
  /* font-size: 2.6rem; */
  margin-bottom: 1em;
}

.by-address {
  padding: 3rem 10rem;
  color: #cbd8e6;
}

input.form-control,
textarea.form-control {
  background-color: transparent;
  border: 1px solid #565b67;
  border-radius: 4px;
  color: #cbd8e6;
  font-size: 16px;
}

.btn-default,
button[type="submit"].btn-block,
button[type="reset"].btn-block {
  color: #1d1e2a;
  font-size: 2em;
  background-color: #cbd8e6;
  border-radius: 3px !important;
  transition: background-color 200ms, color 200ms;
}

.rv-btn-default {
  color: #1d1e2a;
  background-color: #cbd8e6;
  border-radius: 3px !important;
  transition: background-color 200ms, color 200ms;
}

.btn-default:hover,
button[type="submit"].btn-block:hover,
.rv-btn-default:hover {
  background-color: #9ba5b1;
}

.btn-default:active,
button[type="submit"].btn-block:active,
.rv-btn-default:active {
  background-color: #767e87;
}

/* 
ul.time-buttons {
  display: block;
  margin-bottom: 0rem;
  padding: 0;
}

.time-buttons li {
  background-color: #808794;
  float: left;
  list-style-type: none;
  font-size: 1.4em;
  font-weight: bold;
  width: 33%;
  cursor: pointer;
  padding: 1em 1em;
}
 */


.time-buttons .selected {
  background-color: #1D1E2A;
  border-radius: 0.25rem;
}

.time-buttons li a,
.time-buttons li a:visited,
.time-buttons li a:active {
  color: #6A7785;
}

.time-buttons li:not(.selected) a:hover {
  background-color: rgba(106, 119, 133, 0.5);
}

.time-buttons li.selected a,
.time-buttons li.selected a:hover,
.time-buttons li.selected a:visited,
.time-buttons li.selected a:active {
  color: #CCD7E6;
}

.time-section {
  border-bottom: 1px solid #565b67;
  margin-bottom: 2rem;
}

.time-section > div {
  font-size: 2rem;
  padding: 1em 0;
  border-top: 1px solid #565b67;
}

.time-section > div .office {
  margin-bottom: 0.5em;
  color: #cbd8e6;
  font-weight: normal;
  position: relative;
}

.time-section > div .office > .district {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.time-section > div > li {
  margin-bottom: 0.5em;
}

.office-date,
.end-date {
  float: right;
  color: #cbd8e6;
}

.politician-ids {
  float: right;
}

a.politician-link,
a.politician-link:hover,
a.politician-link:visited,
a.politician-link:active {
  color: #cbd8e6;
}

li.D,
li.R,
li.C,
li.G,
li.I,
li.L,
li.S,
li.M,
.time-section li {
  list-style-type: none;
}

.D {
  color: #7fcdee;
}

.R {
  color: #eb6760;
}

.X {
  color: #f4d200;
}

.C,
.G,
.I,
.L,
.S,
.M {
  color: #d086db;
}

.office.D {
  color: #7fcdee !important;
}

.office.R {
  color: #eb6760 !important;
}

.office.C,
.office.G,
.office.I,
.office.L,
.office.S,
.office.M {
  color: #d086db !important;
}

li.D span.default,
li.R span.default,
li.C span.default,
li.G span.default,
li.I span.default,
li.L span.default,
li.S span.default,
li.M span.default {
  color: #cbd8e6;
  font-weight: normal;
}

.legend {
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
}

.filter-container ul {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0 1rem 0;
}

.legend li,
.filter-container ul li {
  display: inline-block;
}

.legend .controls-toggle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  width: 32px;
  height: 32px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.legend .controls-toggle svg {
  transition: transform 700ms;
}

.legend .controls-toggle svg.open {
  transform: rotate(90deg);
}

.filter-container ul li {
  margin: 0 1.5rem 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid #cbd8e6;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 0;
  background-color: #cbd8e6;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #62c375 !important;
}

input:focus + .slider {
  box-shadow: 0 0 1px #62c375;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(32px);
}

input:not(:checked) + .slider:hover::before {
  -webkit-transform: translateX(4px);
  -ms-transform: translateX(4px);
  transform: translateX(4px);
}

input:not(:checked) + .slider:hover {
  background-color: #62c37569;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.politician-ids {
  display: none;
}

.modal-header {
  border-bottom: 0;
}

.modal-content {
  background-color: #232531;
  color: #fff;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  min-height: 100%;
}

.close {
  color: #cbd8e6;
  font-weight: normal;
  text-shadow: none;
  opacity: 1;
  filter: 1;
  transition: color 200ms;
}

button.close:focus,
button.close:hover {
  opacity: 1;
  color: #9ba5b1;
}

.controls,
.controls a {
  color: #707782;
  font-size: 1.8rem;
}

.controls .compare,
.controls .district-search {
  border-left: 1px solid #565b67;
}

.controls .filters {
  cursor: pointer;
  padding: 0;
}

a.filters-toggle,
a.back-to-pick {
  display: block;
  width: 100%;
}

.controls .compare > * {
  display: inline-block;
  vertical-align: middle;
}

.compare-toggle {
  line-height: 0;
}

.switch {
  margin-bottom: 0;
}

li .fa.fa-circle,
li .fa.fa-circle-o {
  font-size: 1.6rem;
}

.select-politician {
  float: right;
  display: none;
}

.select-politician label,
.filter-container .filter-checkbox-container label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 3rem;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  color: #cbd8e6;
  height: 2rem;
  margin-bottom: 0;
}

.select-politician label {
  padding-left: 0;
  width: 2rem;
  margin-right: 0;
}

.select-politician label:before,
.filter-container .filter-checkbox-container label:before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  position: absolute;
  left: 0;
  top: 1px;
  background-color: transparent;
  border: 2px solid #969eab;
}

.select-politician label:before {
  margin-right: 0;
}

.select-politician label:before,
.filter-container label:before {
  border-radius: 0.4rem;
}

.select-politician input[type="checkbox"]:checked + label:before,
.filter-container input[type="checkbox"]:checked + label:before {
  color: #3bc274;
  font-size: 2.5rem;
  line-height: 1.3rem;
  border: 2px solid #3bc274;
}

.filter-container input[type="checkbox"] + label:before {
  margin-top: 1px;
}

.filter-container input[type="checkbox"]:checked + label:before {
  margin-top: -2px;
}

input[type="checkbox"] {
  display: none;
}

.fa-check:before {
  content: "\f00c" !important;
}

.filter-container > div > ul {
  border-top: 1px solid #565b67;
}

.filter-text {
  font-family: "Open sans", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
}

.no-select {
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.ready-to-compare {
  background-color: #282936;
  display: none;
  position: fixed;
  bottom: 0;
  padding: 2rem;
  width: 100%;
}

.ready-to-compare button.compare-button {
  border-radius: 3rem;
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
}

a.issue {
  color: #cbd7e6;
  font-size: 2rem;
}

.issue-container {
  padding: 0.5rem 0;
}

.modal-body > .container {
  border-top: 1px solid #595c66;
  /* padding-top: 3rem; */
}

.modal-header {
  padding: 4rem 2rem 2rem 2rem;
}

h3.current-issue,
a.change-issue {
  color: #cbd7e6;
  padding: 1rem 0;
}

h3.current-issue {
  margin: 0;
}

.issue-selector > div {
  border-top: 1px solid #565b67;
}

.scorecard {
  padding: 1rem 0;
  border-bottom: 1px solid #565b67;
  font-size: 2rem;
}

.scorecard .office {
  margin-bottom: 0.5em;
  color: #cbd8e6;
  font-weight: normal;
}

.scorecard .politician-name {
  color: #cbd8e6;
}

.scorecard .current-issue {
  color: #cbd8e6;
  font-size: 1.4rem;
}

.progress {
  height: 1.3rem;
  margin: 1rem 0;
  overflow: hidden;
  background-color: #565a67;
  border-radius: 0;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.scorecard-indicators > div > div {
  border-top: 1px solid #565b67;
  padding: 3rem 1.5rem 2rem;
}

.scorecard-indicators .indicator {
  float: left;
  margin-right: 1.5rem;
}

.scorecard-indicators .indicator.banning {
  color: #dc3d35;
}

.scorecard-indicators .indicator.regulating {
  color: #d2c829;
}

.scorecard-indicators .indicator.neither {
  color: #25b75a;
}

.change-issue-container {
  display: inline-block;
  vertical-align: middle;
}

a.change-issue {
  position: relative;
  display: inline-block;
  font-size: 1.85rem;
}

.progress-bar-danger {
  background-color: #dc3d35;
}

.progress-bar-warning {
  background-color: #d2c829;
}

.progress-bar-success {
  background-color: #5eb95b;
}

.location-section .modal-body > .container {
  padding-top: 0;
}

.location-section .list-group-item {
  background-color: transparent;
  border: none;
  padding: 4px 15px;
}

.location-section .text-default {
  color: #cbd8e6;
}

.location-section .text-default:hover {
  opacity: 0.8;
}

.location-section .remove-button {
  color: #43454e;
  font-size: 2rem;
  font-weight: 600;
  background-color: #cbd8e6;
  border-radius: 50%;
  padding: 0.3rem 0.5rem;
  line-height: 2rem;
  vertical-align: middle;
  text-align: center;
  transition: background-color 200ms, color 200ms;
}

.location-section .remove-button:hover {
  background-color: #9ba5b1;
}

.modal-title {
  font-size: 1.3rem;
  text-wrap: auto;
  text-align: left;
  line-height: 2rem;
  float: left;
}

.back-to-top {
  background: none;
  margin: 0;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 100;
  display: none;
  text-decoration: none;
  color: #616773;
}

.back-to-top:hover {
  color: #cbd8e6;
}

.back-to-top i {
  font-size: 4.5rem;
}

.pulse {
  animation-name: pulse;
  -webkit-animation-name: pulse;

  animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;

  animation-iteration-count: 5;
  -webkit-animation-iteration-count: 5;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(0.95);
    opacity: 0.7;
  }

  50% {
    -webkit-transform: scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0.95);
    opacity: 0.7;
  }
}

@media (min-width: 991px) {

  .headline-container {
    padding: 8rem 0;
  }

  .reallyvote-guy {
    padding-bottom: 0;
  }

  .reallyvote-guy img {
    width: 12rem;
  }

  .scorecard-container > div > div {
    padding: 0;
  }

  .scorecard-indicators > div > div {
    padding: 4rem 0 1rem;
  }

  .issue-selector > div {
    padding: 1rem 0;
  }

  /* Aligns footer icons to bottom */
  .col-md-6.text-center.contact-us-container {
    min-height: 140px;
  }

  .icon-wrap {
    position: absolute;
    bottom: 0;
    left: 39%;
  }

  /* Aligns footer icons to bottom */
}

@media (min-width: 1200px) {
  /* Aligns footer icons to bottom */
  .col-md-6.text-center.contact-us-container {
    min-height: 140px;
  }

  .icon-wrap {
    position: absolute;
    bottom: 0;
    left: 42%;
  }

  /* Aligns footer icons to bottom */
}

@media (max-width: 991px) {
  
  .headline-container {
    padding: 4rem 0;
  }

  .logo img {
    height: 30px;
  }

  .location {
    height: 30px;
    line-height: 35px;
  }

  .try-premium-upgrade {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .tagline span,
  .location a {
    line-height: 30px;
  }

  .headline h1 {
    font-size: 2.4rem;
  }

  .by-address {
    padding: 1rem;
  }

  .container {
    padding-right: 0.8em;
    padding-left: 0.8em;
  }

  .controls {
    font-size: 1.2rem;
  }

  .controls a {
    font-size: 1.5rem;
  }

  .controls .compare {
    text-align: center;
  }

  .switch {
    width: 40px;
    height: 18px;
  }
  
  .slider:before {
    height: 16px;
    width: 16px;
  }

  .compare-text {
    font-size: 1rem;
  }

  h3.current-issue {
    font-size: 1.9rem;
  }

  a.change-issue {
    font-size: 1.5rem;
  }

  h3.current-issue,
  a.change-issue {
    padding: 1.6rem 0;
  }

  a.back-to-pick {
    padding: 1.85rem 1.15rem;
  }

  .location a,
  .search-icon a {
    font-size: 1.8rem;
  }

  .filter-container ul {
    text-align: left;
  }

  .filter-container .filter-checkbox-container label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 2.4rem;
    margin-right: 0.5rem;
    font-size: 1.5rem;
    color: #cbd8e6;
    height: 2rem;
    margin-bottom: 0;
  }

  .filter-container .filter-checkbox-container label:before {
    content: "";
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 0;
    position: absolute;
    left: 0;
    top: 1px;
    background-color: transparent;
    border: 2px solid #969eab;
  }

  .filter-container label:before {
    border-radius: 0.4rem;
  }

  .filter-container input[type="checkbox"]:checked + label:before {
    color: #3bc274;
    font-size: 2rem;
    line-height: 1.3rem;
    border: 2px solid #3bc274;
  }

  button[type="submit"].btn-block,
  button[type="reset"].btn-block {
    font-size: 1.6em;
  }

  #dashboard-tab-content {
    padding: 1rem 0;
  }

  .rv-dashboard .politician-container > div {
    padding: 0;
  }
}

@media (max-width: 768px) {
}

img.bookmark-icon {
  width: 100px;
}

a.bookmark-us {
  color: #616773;
  font-size: 2rem;
}

.no-upcoming-elections h2 {
  color: #cbd8e6;
}

.no-upcoming-elections p {
  color: #cbd8e6;
}

.no-padding {
  padding: 0 !important;
  margin: 0 !important;
}

.user-authentication-container {
  border: 1px solid #595c65;
  padding: 2rem;
  border-top: transparent;
  border-radius: 0 0 4px 4px;
  background-color: #313341;
}

.reallyvote-guy {
  margin-bottom: 2rem;
}

.nav-tabs {
  border-bottom: 1px solid #595c65;
}

.nav-tabs > li > a {
  margin-right: -1px;
  border: 1px solid #595c65;
  border-radius: 3px 3px 0 0;
  color: #ced8e5;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  background-color: transparent;
  border: 1px solid #595c65;
  border-bottom-color: #313341;
  color: #ced8e5;
}

.man-container {
  border: 1px solid grey;
  border-radius: 100%;
  padding: 3rem;
  text-align: center;
  width: 15rem;
  display: block;
  position: relative;
  margin: 2rem auto;
}

.man-container img {
  max-width: 15rem;
}

.user-greeting {
  font-size: 2.6rem;
  margin-bottom: 1em;
  color: #cbd8e6;
}

#dashboard-tabs {
  border-bottom: none;
  display: block;
  margin: 0 auto;
  min-height: 6rem;
}

#dashboard-tabs li {
  margin: 0 0.5rem 0 0;
  text-align: center;
}

#dashboard-tabs li > a,
#dashboard-tab-content {
  display: inline-block;
  padding: 2rem;
  border-radius: 3px;
  border: none;
}

#dashboard-tabs li.active > a {
  background-color: #1d1e2a;
  color: #CCD7E6;
}

#dashboard-tab-content {
  width: 100%;
}

.add-button {
  padding: 1rem 2rem;
  border: 1px solid #cdd7e5;
  border-radius: 3px;
  color: #cdd7e5;
}

a.add-button.add-coordinate-button:focus,
a.add-button.add-coordinate-button:visited {
  color: #cdd7e5;
}

a.add-button.add-coordinate-button:active,
a.add-button.add-coordinate-button:hover {
  background: #cdd7e5;
  color: #333742;
}

.tab-content-header-row {
  border-bottom: 2px solid #4a4d56;
  padding-bottom: 2.5rem;
}

.log-in-link {
  color: #cbd7e6;
  line-height: 35px;
  font-size: 2rem;
}

.log-in-link:hover,
.log-in-link:active,
.log-in-link:visited {
  color: #cbd7e6;
  cursor: pointer;
}

.dropdown-link {
  color: #cbd7e6;
  line-height: 35px;
  font-size: 2rem;
}

.dropdown-link:hover,
.dropdown-link:active,
.dropdown-link:visited {
  color: #cbd7e6;
  cursor: pointer;
}

.user-authentication-tabs-container > li > a {
  color: #616773;
}

.user-authentication-tabs-container > li.active > a {
  background-color: #313341 !important;
}

.user-authentication-tabs-container > li > a:hover {
  color: black;
}

.p-2em {
  padding-top: 2em;
  min-height: calc(100vh - 460px);
}

/*Remember me checkbox*/

.checkbox-container label.checkbox_label_content,
.filter-container .filter-checkbox-container label.checkbox_label_content {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 3rem;
  margin-right: 0.5rem;
  font-size: 1.5rem;
  color: #cbd8e6;
  height: 2rem;
  margin-bottom: -0.3rem;
}

.checkbox-container label.checkbox_label_content:before,
.filter-container
  .filter-checkbox-container
  label.checkbox_label_content:before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  position: absolute;
  left: 0;
  top: 1px;
  background-color: transparent;
  border: 2px solid #969eab;
}

.checkbox-container label.checkbox_label_content:before {
  margin-right: 0;
}

.checkbox-container
  input[type="checkbox"][disabled]
  + label.checkbox_label_content:before {
  border-color: #6e6d6d;
  cursor: not-allowed;
}

.checkbox-container
  input[type="checkbox"][disabled]
  + label
  + label.checkbox_text {
  color: #6e6d6d;
  cursor: not-allowed;
}

.checkbox-container label.checkbox_label_content:before,
.filter-container label.checkbox_label_content:before {
  border-radius: 0.4rem;
}

.checkbox-container
  input[type="checkbox"]:checked
  + label.checkbox_label_content:before,
.filter-container
  input[type="checkbox"]:checked
  + label.checkbox_label_content:before {
  color: #3bc274;
  font-size: 2.5rem;
  line-height: 1.3rem;
  border: 2px solid #3bc274;
}

.filter-container input[type="checkbox"] + label.checkbox_label_content:before {
  margin-top: 1px;
}

.filter-container
  input[type="checkbox"]:checked
  + label.checkbox_label_content:before {
  margin-top: -2px;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

label.checkbox_text {
  color: #ced8e5;
  padding: 0;
}

.coordinate-container {
  padding: 2rem 2rem;
  color: #c3cdda;
  border-bottom: 2px solid #4a4d56;
}

.coordinate-container:last-of-type {
  border-bottom: none;
}

.politician-container {
  font-size: 2rem;
}

.map {
  border: 1px solid #4a4d56;
}

/* Autocomplete Styles */
.autocomplete-suggestions {
  border: 1px solid #565b67;
  border-radius: 0 0 0.25rem 0.25rem;
  background: #343741;
  overflow: auto;
  color: #cbd8e6;
  font-weight: lighter;
}

.autocomplete-suggestion {
  padding: 10px 12px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.autocomplete-selected {
  background: #1f2127;
}

.autocomplete-selected.disabled {
  background: none;
}

.autocomplete-suggestions strong {
  font-weight: bolder;
  color: #fff;
}

.autocomplete-suggestions .disabled strong {
  font-weight: bolder;
  color: gray;
}

.autocomplete-group {
  padding: 2px 5px;
}

.autocomplete-group strong {
  display: block;
  border-bottom: 1px solid #000;
}

.autocomplete-suggestion span.fa.fa-circle {
  margin-right: 0.6rem;
}

.autocomplete-suggestion.disabled {
  pointer-events: none;
  color: gray;
}

.autocomplete-no-suggestion {
  padding: 8px;
}

.input-group.custom-search-form {
  width: 100%;
}

.input-group.custom-search-form span.fa.fa-search {
  color: #819393;
  position: absolute;
  margin: 0.6rem 0.8rem;
  font-size: 2.2rem;
  display: -webkit-box;
}

.popover-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.more-button,
.edit-button,
.remove-button,
.alerts-button {
  border: 1px solid #d5d5d6;
  border-radius: 3px;
  color: #d5d5d6;
  padding: .5rem;
  text-align: center;
}

.more-button:hover,
.edit-button:hover,
.remove-button:hover,
.alerts-button:hover {
  background-color: #d5d5d6;
  color: #1E1D1D !important;
  cursor: pointer;
}

.controls-container {
  float: right;
}

/* Dropdown Menu */
.dropdown-area .btn:focus,
.btn:active {
  outline: none !important;
  box-shadow: none;
}

.dropdown-area .dropdown.open {
  width: 42px;
}

.dropdown-area .navbar-toggle.dropdown-toggle {
  display: block;
}

.dropdown-area .dropdown-toggle {
  margin: 0;
  background: none;
  border: none;
  text-transform: uppercase;
  outline: 0;
}

.dropdown-area .dropdown.open {
  border: none;
  border-radius: 0.25rem 0.25rem 0 0;
  background: #cbd8e5;
}

.dropdown-area .dropdown.open .dropdown-toggle {
  background: none;
}

.dropdown-area .dropdown-menu {
  background: #cbd8e5;
  border: none;
  border-radius: 0.25rem 0 0.25rem 0.25rem;
  box-shadow: none;
  text-align: center;
  margin: 0;
  padding: 0;
  min-width: 200px;
  left: -158px;
}

.dropdown-area .dropdown-menu a:first-of-type {
  border-top: none;
}

.dropdown-area .dropdown-menu a {
  width: 100%;
  display: block;
  border-top: 2px solid #b7c0cb;
  color: #1d1e2a;
}

.dropdown-area .dropdown-menu a:hover {
  background: #f5faff;
}

.dropdown-area .dropdown-menu li {
  display: inline-block;
  min-width: 100px;
  padding: 10px 0;
  transition: all 0.25s ease-in-out;
}

.dropdown-area .navbar-toggle .icon-bar {
  background-color: #cbd7e6;
}

.dropdown-area .open .navbar-toggle .icon-bar {
  background-color: #333;
}

/* Menu icon change */
.dropdown-area .bar1,
.dropdown-area .bar2,
.dropdown-area .bar3 {
  transition: 0.4s;
}

/* Rotate first bar */
.dropdown-area .dropdown.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-4px, 4px);
}

/* Fade out the second bar */
.dropdown-area .dropdown.open .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.dropdown-area .dropdown.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-4px, -5px);
}

.set-location-button-container {
  margin: 3rem 0 1rem;
}

.coordinate-container.selected,
.coordinate-container.selected p {
  background-color: #ced8e5;
  color: #0a0a15;
}

.coordinate-container.selected button.btn {
  color: #cbd8e6;
  background-color: #1d1e2a;
}

.try-premium-wrapper section {
  padding: 4rem 0;
}

.try-premium-wrapper span.sub-heading {
  color: #a1a7ad;
}

.sub-heading {
  font-size: 2.4rem;
}

.try-premium-wrapper section.premium-features {
  background: white;
}

.try-premium-wrapper section.premium-features p {
  margin: 2rem 0;
  font-size: 2rem;
}

.form-group label {
  color: #cbd7e6;
}

.form-group label.checkbox_text {
  color: #cbd8e6;
}

#edit-profile-container {
  padding: 2rem 0;
}

#edit-profile-container h1 {
  margin-bottom: 2rem;
}

#login-form p a,
#login-form p a:hover,
#login-form p a:visited,
#login-form p a:active {
  color: #cbd7e6;
}

.rv-dashboard .politician-container {
  min-height: 98px;
}

.politician-container > div > li {
  margin-top: 1rem;
}

.rv-dashboard .controls-container > div > a > div {
  margin-top: -1rem;
}

#paymentModal div.modal-body .pricing {
  padding: 1rem 0;
  font-size: 2.5rem;
  text-align: center;
}

.billing section.heading {
  margin-bottom: 4rem;
}

.billing section {
  margin-bottom: 2rem;
}

.billing a.change-plan-button {
  margin: 0 2rem;
}

.pac-container {
  z-index: 100000000 !important;
}

/* Sortable table columns */
a.sort {
  color: #cdd7e5;
}

.clear {
  clear: both;
}

.rv-dashboard .modal select {
  margin-right: 1rem;
}

.district-office-browse-controls {
  padding: 2rem 0;
}

.district-link {
  padding: 0.6rem;
  text-align: center;
  display: block;
}

a.district-link,
a.district-link:visited,
a.district-link:active {
  color: #fff;
}

.district-office-details-back.slick-prev {
  top: 3.9rem;
  display: block;
  width: 40px;
  height: 40px;
  left: 0;
  position: relative;
}

.district-office-details-back.slick-prev:before {
  font-size: 40px;
  line-height: 40px;
}

#dashboard-tab-content {
  padding: 2rem 0;
}

.green-checkbox label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-size: 1.5rem;
  color: #cbd8e6;
  height: 2rem;
  margin-bottom: 0;
  padding-left: 0;
  width: 2rem;
  margin-right: 0;
}

.green-checkbox label:before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  position: absolute;
  margin-right: 0;
  left: 0;
  top: 1px;
  background-color: transparent;
  border: 2px solid #969eab;
  border-radius: 0.4rem;
}

.green-checkbox input[type="checkbox"]:checked + label:before {
  color: #3bc274;
  font-size: 2.5rem;
  line-height: 1.3rem;
  border: 2px solid #3bc274;
}

.green {
  color: #3bc274;
}

.dashboard-alert.alert.alert-dismissible {
  border: 1px solid #d5d5d6;
}

.cart-contents-table thead th,
.cart-contents-table tfoot th,
.cart-contents-table tfoot td {
  color: #232530;
}

.cart-section .js-code-form .form-group .input-group input {
  width: auto;
  margin-right: 1rem;
}

button.try-premium-cta {
  font-family: "Open sans", sans-serif;
}

.bb {
  border-bottom: 1px solid white;
}

.bt {
  border-top: 1px solid white;
}

.bv-tagline {
  color: #656b76;
  font-size: 1rem;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.gap-4 {
  gap: 4px;
}

.gap-8 {
  gap: 8px;
}

.btn:focus {
  outline: none !important;
}

.spinning {
  animation: spin 1s infinite linear;
}

@keyframes spin {
  from {
    transform: scale(1) rotate(0deg);
  }

  to {
    transform: scale(1) rotate(360deg);
  }
}

.form-error > ul {
  padding-inline-start: 0;
}

.form-error > ul > li {
  color: rgb(249 62 62);
}

.form-error > ul > li::marker {
  content: "";
}

.italic {
  font-style: italic;
}

.fos_user_resetting_reset {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.fos_user_resetting_reset > div {
  width: 100%;
  max-width: 520px;
  padding: 16px 32px;
  border: 1px solid gray;
  border-radius: 16px;
}

.fos_user_resetting_reset > div > h3 {
  text-align: center;
  margin: 0;
}

.fos_user_resetting_reset input {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
  margin: 0;
  font: inherit;
  font-family: inherit;
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  line-height: 1.42857143;
  background-image: none;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  background-color: transparent;
  border: 1px solid #565b67;
  border-radius: 4px;
  color: #cbd8e6;
  font-size: 16px;
  margin-top: 4px;
}

.fos_user_resetting_reset div:nth-child(2) {
  margin-top: 16px;
}

.fos_user_resetting_reset .form-group {
  margin-top: 16px;
  margin-bottom: 0;
}

.fos_user_resetting_reset .form-group button[type="submit"] {
  font-size: 24px;
}

.location-section .list-group-item {
  padding: 0;
}

.location-options .btn-link {
  padding: 0 1rem;
}

.outline-btn {
  border: 1px solid #cdd7e5;
  border-radius: 3px;
  color: #cdd7e5;
  padding: 1rem 3rem;
  text-align: center;
  display: inline-block;
  transition: background-color 200ms, color 200ms;
}

.outline-btn:hover,
.outline-btn:focus {
  background-color: #cdd7e5;
  color: #0a0a15;
}

.outline-btn:active {
  background-color: #767e87;
}

.favorite-link {
  background: none;
  color: #cbd8e6;
  border: none;
  padding: 0;
  font-size: 2rem;
}

.favorite-link:hover {
  opacity: 0.8;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.justify-end {
  justify-content: flex-end;
}

.set-precinct-link,
.set-precinct-link:visited,
.set-precinct-link:focus {
  color: #cbd8e6;
}
.set-precinct-link:hover {
  color: #9ba5b1; 
}
.set-precinct-link:active {
  color: #767e87; 
}


#toast-container > div {
  opacity: 1 !important;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100) !important;
  filter: alpha(opacity=100) !important;
}

.dots-loader {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px; /* Space between dots */
  position: absolute;
  top: 14px;
  right: 8px;
}

.dots-loader div {
  width: 8px;
  height: 8px;
  background: #09f; /* Adjust the color as needed */
  border-radius: 50%;
  animation: pulse 0.8s infinite ease-in-out;
}

/* Colors for each dot */
.dots-loader div:nth-child(1) {
  background: #7fcdee;
}

.dots-loader div:nth-child(2) {
  background: #eb6760;
  animation-delay: 0.2s;
}

.dots-loader div:nth-child(3) {
  background: #d086db;
  animation-delay: 0.4s;
}

.green {
  color: #82e59d;
}

@keyframes pulse {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Loading screen styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #232531;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.loading-messages {
  color: #cbd8e6;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  min-height: 3rem;
}

.loading-progress {
  width: 80%;
  max-width: 400px;
  height: 4px;
  background-color: #565b67;
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress-bar {
  width: 0%;
  height: 100%;
  background-color: #3bc274;
  transition: width 0.3s ease;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}