
/*
font-family: Antonio;
font-family: "News Cycle";
font-family: Barlow;
font-family: Lato;
font-family: Nunito;

*?

/*
-------                -------
-------    mobile nav  -------
-------                -------
*/
:root {
  --rep-text: #cd3636;
  --dem-text: #365bcd;
  --rep-bg: #702727;
  --dem-bg: #273971;
  --e-global-typography-text-font-family: Lato, Nunito, Barlow, "News Cycle", Antonio;
  --e-global-typography-secondary-font-family: Lato, Nunito, Barlow, "News Cycle", Antonio;
  --e-global-typography-primary-font-family: Lato, Nunito, Barlow, "News Cycle", Antonio;
}

.test {
  font-family: Antonio;
  font-family: "News Cycle";
  font-family: Barlow;
  font-family: Lato;
  font-family: Nunito;
}



/* 
//
//     elementor overrides 
//
*/

.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
  padding: 0px;
  border: none !important;
  padding-bottom: 100px !important;
}
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100vw;
}
#scorecard-app .legislator-list .card {
  transition: opacity 200ms;
}
#scorecard-app .legislator-list .card:hover {
  transition: opacity 200ms;
}
#scorecard-app .legislator-list .record a {
  font-weight: 600 !important;
}
#scorecard-app .legislator-list .name {
  background: var(--custom-bg) !important;
}
.elementor-widget-container p {
  color: white;
  font-family: Nunito;
}
.elementor-740 .elementor-element-populated {
  padding: 50px !important;
}
.d-large,
#filter-district,
#filter-party,
#filter-chamber,
label[for="filter-district"],
label[for="filter-party"],
label[for="filter-chamber"] {
  display: none !important;
}
.fancy-form {
  display: flex;
  padding-left: 0px;
  padding-right: 0px;
  justify-content: space-evenly;
  padding-top: 15px;
  padding-bottom: 15px;
  background: white;
  border-radius: 16px;
  flex-direction: column;
}
.fancy-form div {
  margin-bottom: 17px;
}
#scorecard-app .legislators-side select {
    width: 100% !important;
    height: 37px !important;
    margin: auto !important;    
    background: transparent;
    padding: 2px 2px 2px 8px !important;        
    color: #262121 !important;
    font-size: 14px !important;
    border: 2px solid rgb(0 0 0 / 14%) !important;
    border-radius: 4px !important;
    box-shadow: 10px 7px 25px -3px rgb(0 0 0 / 17%), -6px 13px 25px -10px rgb(0 0 0 / 15%) !important;
    font-family: Nunito !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}
#scorecard-app .legislators-side input {
    width: 100% !important;
    height: 37px !important;
    margin: auto !important;
    border: 1px solid !important;
    background: transparent !important;
    padding: 2px 2px 2px 8px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    color: #262121 !important;
    font-size: 14px !important;
    border: 2px solid rgb(0 0 0 / 14%) !important;
    font-family: Nunito !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 10px 7px 25px -3px rgb(0 0 0 / 17%), -6px 13px 25px -10px rgb(0 0 0 / 15%) !important;
}
.bt50-search .grid-unit {
  opacity: 0 !important;
  pointer-events: none;
}
#scorecard-app .select {
  border-radius: 10px;
  border: 1px solid transparent;
}
#scorecard-app .legislators-side select {
  width: 100%;
  height: 32px;
  margin: auto;
  border: 1px solid black;
  background: transparent;
  padding: 1px 1px 1px 8px;    
  color: #000000;
  font-family: 'News Cycle';
  font-size: 1.1em;    
  border-radius: 10px;
}
.legislators-filter select option {
  font-family: 'Barlow';
  color: black;
  font-size: 1.2em;
}
#scorecard-app .legislator-list .name h2 {
  font-size: 1.5em;
}














.body {
  font-family: Nunito;
}
.elementor-kit-725 {
  font-family: Nunito;
}
.navbar {
  background: #023150;
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 192;
}

@media (max-width: 700px) {
  .navbar {
    display: block;
    width: 100vw;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
    transition: background 300ms ease;
    background: transparent;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
  }
  .nav-widescreen  {
    display: none;
  }
  .navbar-logo-offset {
    height: 75px;
    padding-right: 23px;
  }

  .navbar .menu-items {
    display: flex;
  }

  .navbar .nav-container li {
    list-style: none;
  }

  .navbar .nav-container a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 0.7rem;
    font-family: 'News Cycle';
    }
  }

  .navbar .nav-container a:hover{
      font-weight: bolder;
  }

  .nav-container {
    display: block;
    position: relative;
    height: 60px;
    --navbar-height: 80px;
    height: var(--navbar-height);
  }

  .nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }

  .nav-container .hamburger-lines {
    display: block;
    height: 21px;
    width: 32px;
    position: absolute;
    top: 26px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-container .hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: #ffebae;
  }

  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 120px;
    height: 100vh;
    width: 100vw;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: left;
    background: linear-gradient(303deg, #030e16 30%, #023150 100%);
  }
  .nav-break {
    border: 2px solid #e6c9c9;
    width: 45vw;
    margin-bottom: 16px;
  }
  .menu-icon {
    display: inline;
    filter: grayscale(75%);
  }

  .navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
  }

  .menu-items[data-open="true"] li {
    animation: fadeInUp 0.4s ease;
    animation-fill-mode: forwards; /* start from 0 opacity/10px */
    animation-delay: var(--delay);
  }

  .navbar-logo {
    position: absolute;
    top: 5px;
    right: 15px;
    height: var(--navbar-height);
    filter: grayscale(30%);
  }
  .navbar-logo img {
    display: block;
    height: 87%;
    width: auto;
    position: relative;
    top: 4px;
    filter: grayscale(50%);
  }

  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
    transform-origin: 13% -32%;
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }

  .nav-container input[type="checkbox"]:checked ~ .navbar-logo{
    display: none;
  }
  .logo {
    display: none;
  }
}

.nav-container input[type="checkbox"]:checked ~ .menu-items li {
  animation: fadeInUp 0.4s ease forwards;
  animation-delay: var(--delay);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





/*
-------                -------
-------    home        -------
-------                -------
*/
section.top {
  width: 100vw;
  height: 100vh;
  /*background: url(../images/bg2.webp) no-repeat;*/
  overflow: hidden;
  background-size: cover;
  background-position: 45% -4%;
}
.l {
  text-align: left;
}
.r {
  text-align: right;
}
.top-content {
  position: absolute;
  bottom: 29vh;
  width: clamp(60vw, 70vw, 72vw);
  right: 5vw;
}
#background-video {
  position: absolute; /* Position the video inside the section */
  top: 0;
  left: 0;
  width: 100%; /* Ensure the video covers the full width of the section */
  height: 100%; /* Ensure the video covers the full height of the section */
  object-fit: cover; /* Make the video cover the entire section (like background-size: cover) */
  object-position: 45% -4%; /* Position the video similarly to background-position */
  z-index: -1; /* Position video behind content */
  pointer-events: none; /* Ensure the video doesn’t interfere with content interaction */
}
.top-content h1 {
  font-size: 4rem;
  position: relative;
  background: linear-gradient(135deg, var(--orange-accent), var(--purple-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Skranji-reg';
  letter-spacing: 2px;
  position: relative;
  text-align: right;
  line-height: 4rem;
  -webkit-text-stroke: 3px hsl(0deg 0% 0% / 86%);
}
.top-content .h1-widescreen {
  display: none;
}
@media (max-width: 450px) {
  .top-content h1 {
    font-size: 3.5rem;
  }
}
@media (max-width: 600px) {
  .mid .fancy-card-icon {
    position: absolute;
  }
  .h3-with-icon {
    margin-left: 80px;
  }
}
.top-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  text-align: right;
  bottom: -119px;
}
.top-links a {
  padding: 15px 20px 15px 20px;
  background: #ffff46;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 21px;
  color: #493609;
  font-family: 'Skranji-reg';
  letter-spacing: 2px;
}
.top-down-arrow {
  position: absolute;
  bottom: 4vh;
  left: 50%; /* Move it to the horizontal center */
  transform: translateX(-50%); /* Offset the element's width by 50% to perfectly center */
  font-size: 2em;
  text-shadow: 0px 12px 0px hsl(96.36deg 25.3% 41.68% / 43%);
}

#mid-home {
  position: absolute;
  top: -82px;
}
section.bottom {
  padding-bottom: 250px;
  background: linear-gradient(0deg, #ffeac5 0%, #ffcd63 100%);
  position: relative;
}
.home-gallery {
  margin-top: 50px;
}
.videoWrapper {
  padding-top: 100px;
}
.mid-down-arrow {
  position: absolute;
  bottom: 4vh;
  left: 50%; /* Move it to the horizontal center */
  transform: translateX(-50%); /* Offset the element's width by 50% to perfectly center */
  font-size: 2em;
  text-shadow: 0px 12px 0px hsl(96.36deg 25.3% 41.68% / 43%);
}
#bot-home {
  position: absolute;
  top: 0px;
}
section.bottom .fancy-card {
  padding-top: 118px;
}
section.bottom .fancy-card-icon {
  position: absolute;
}


/*
-------                -------
-------    youtube     -------
-------                -------
*/
/* Wrapper for the video */
.videoWrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Maintain 16:9 aspect ratio */
  overflow: hidden;
}

/* Video container */
.video-responsive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* YouTube iframe */
.video-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/*
-------                -------
-------    gallery     -------
-------                -------
*/
.home-gallery {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.gallery-container {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.home-gallery-pic {
  flex-shrink: 0; /* Prevents images from shrinking */
  width: 80%;    /* Adjust this value to control the size of each image */
  margin-right: 10px;  /* Space between images */
}

.home-gallery-pic img {
  width: 100%;      /* Makes the image fill the container's width */
  height: auto;     /* Maintains aspect ratio */
  object-fit: cover;  /* Ensures the image covers the container while maintaining its aspect ratio */
  border-radius: 25px;
}
.swiper-slide {
  max-height: calc(100vw - 50px);
  max-width: calc(100vw - 50px);
}
.swiper-slide img {
  width: 100%;
  display: block;
  height: auto;
}
.videoWrapper {
  width: 90vw;
}
.text-wide {
  display: none;
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}



/*
-------                -------
-------    desktop     -------
-------                -------
*/
#background-video-widescreen {
    display: none;
  }
#background-video-widescreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: -1;
  pointer-events: none;
}


/*
-------                -------
-------    mid-size    -------
-------    desktop     -------
-------                -------
*/
@media (min-width: 700px) {
  .wrapper {
    background: linear-gradient(180deg, #fff7e6 0%, #ffd589 100%);
  }
  .videoWrapper-wide-screen {
    padding: 5%;
  }
  .videoWrapper {
    width: 100%;
  }
  .main_body {
    max-width: 80vw;
    margin: 0 auto;
  }
  #background-video-widescreen {
    display: block;
    object-fit: cover;
  }
  #background-video {
    display: none;
  }
  .nav-container {
    display: none;
  }
  .nav-widescreen {
    width: 100vw;
    background: linear-gradient(267deg, rgb(15 14 16 / 28%), rgb(17 19 59 / 53%));
    /* box-shadow: 0px 3px 7px 3px black; */
    height: 200px;
  }
  .contact-us-top {
    display: none;
  }
  nav .scrolled {
    background: linear-gradient(267deg, rgb(4 4 4), #023150);
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.4);
    transition: background 348ms ease;
  }
  nav .scrolled .nav-widescreen {
    box-shadow: 0px 3px 7px 3px black;
    background-color: linear-gradient(267deg, rgb(15 14 16), rgb(17 19 59));
  }
  .nav-widescreen a {
    font-family: Antonio;
    color: #ffffff;
    font-size: clamp(0.5rem, 0.9vw + 0.9vh, 2rem);
    text-transform: uppercase;
    position: relative;
    top: 0px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0px 0px 4px black;
  }
  .active-page {
    color: #fec40e !important;
    border: none;
    background: transparent;
  }
  .active-page::after {
    content: "";
    position: absolute;
    bottom: -4px; /* adjust as needed */
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #b9b9ce;
    border-radius: 2px;
  }
  .nav-reserve {
    border: 2px solid #b3b7c5;
    padding: 8px;
    border-radius: 9px;
    background: linear-gradient(309deg, rgb(182 181 125 / 61%), rgb(255 254 212 / 57%));
  }
  .nav-widescreen .navbar-logo {
    position: relative;
    top: 0px;
    right: 0px;
    height: 90%;
    filter: none;
    overflow: hidden;    
  }
  .nav-widescreen .navbar-logo-offset {
    position: relative;
    height: 100%;
  }
  .nav-widescreen .navbar-logo img {
    height: 100%;
    top: 6px;
  }
  .nav-widescreen-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100vw;
    margin: 0 auto;
    height: 100%;
  }
  .mid {
    background: linear-gradient(180deg, #fff7e6 0%, #ffd589 100%);
  }
  .top-content h1 {
    display: none;
  }
  .top-content .h1-widescreen {
    display: block;
    line-height: clamp(5rem, 6rem, 7rem);
    font-size: clamp(4rem, 5rem, 6rem);
  }

}


/*
-------                -------
-------  wide-screen   -------
-------    desktop     -------
-------                -------
*/
@media (min-width: 1200px) {
  .top-content .h1-widescreen {
    display: block;
    line-height: clamp(6rem, 8rem, 9rem);
    font-size: clamp(6rem, 7rem, 8rem);
  }
  .nav-widescreen-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100vw;
    margin: 0 auto;
    height: 100%;
  }
  .nav-widescreen .navbar-logo img {
    height: 100%;
    top: -7px;
  }
  .contact-us-top {
    display: block;
  }
  .swiper-slide {
    max-width: calc(37vw - 50px);
  }
  #background-video-widescreen {
    display: block;
    object-fit: fill;
  }
  .text-wide {
    display: inline;
  }
  .eligibility-image {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 25px 28px -14px black;
  }
  .active-page {
    color: #fec40e !important;
    border: none;
    background: transparent;
  }
  .active-page::after {
    content: "";
    position: absolute;
    bottom: -4px; /* adjust as needed */
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #b9b9ce;
    border-radius: 2px;
  }

  /* jumbotron hero stuff */
  #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay {
    width: 100vw !important;
    max-width: 100vw !important;
    align-items: flex-end !important;
  }
  #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content {
    background: transparent !important;
  }
  #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child {
    background: transparent !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
  }
  #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child div {
    max-width: 518px !important;
  }
  #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content p {
    border-top: 0px !important;  
    background: rgb(0 0 0 / 69%) !important;
    border-radius: 6px !important;
    padding-bottom: 44px !important;
    text-align: right !important;
    font-family: Barlow !important;
  }
  #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content p em {
    color: #bcbcbc !important;
    font-weight: 900 !important;
  }
  .home #scorecard-app h1 {
    font-size: 5rem !important;
    font-family: "Russo One" !important;
    text-shadow: 7px 8px 0px black !important;
  }
  .home #scorecard-app h1 strong {
    font-size: 22.6rem !important;
    line-height: 0.9em !important;
    text-shadow: 7px 8px 0px rgb(0 0 0 / 68%) !important;
  }
  .hero-go-button-container {
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 300ms;
  }
  .hero-go-button-container:hover {
    transform: scale(1.02);
    transition: transform 300ms;
  }
  .hero-go-button {
    width: 200px;
    display: flex;
    background: #5d5d68;
    justify-content: center;
    border-radius: 999px;
    align-items: center;
    position: relative;
  }
  .hero-go-button-text {
    font-size: 1.2em;
    padding: 20px;
    position: relative;
    left: -14px;
    top: -1px;
  }
  .hero-go-button-icon {
    background: white;
    color: black;
    border-radius: 50%;
    height: 48px;
    width: 48px;
    position: absolute;
    right: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
  }


}












/* scorecard overrides */
#scorecard-app,
#scorecard-app .legislator-list .info h3,
#scorecard-app thead tr th {
  font-family: Barlow;
}
#scorecard-app a {
  font-family: 'Nunito';
  font-weight: 600;
  font-size: 1em;
}
#scorecard-app h3,
#scorecard-app label,
#scorecard-app input,
#scorecard-app p {
  font-family: Nunito;
}
.bt50-col-1 row-alt a {
  font-weight: 600;
  font-size: 1em;
  font-family: Antonio !important;
  color: #ffffff;
  font-size: clamp(0.5rem, 0.9vw + 0.9vh, 2rem);
  text-transform: uppercase;
  position: relative;
  top: 0px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0px 0px 4px black;
}
.bt50-jumbotron h1 {
  font-family: "News Cycle";
  --foo: 1;  
}
/* hide less-used columns on mobile displays */
.bill-table tr td:nth-child(3),
.bill-table tr th:nth-child(3),
.bill-table tr td:nth-child(4), 
.bill-table tr th:nth-child(4) {
  display: none;
}






/* jumbotron hero stuff */
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay {
  width: 100vw !important;
  max-width: 100vw !important;
  align-items: center !important;
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content {
  background: transparent !important;
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child {
  background: transparent !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column;
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child div {
  max-width: 100%;
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content p {
  border-top: 0px !important;  
  background: rgb(0 0 0 / 69%) !important;
  border-radius: 0px !important;
  padding-bottom: 44px !important;  
  font-family: Barlow !important;
  text-align: center;
  padding-left: 40px !important;
  padding-right: 40px !important;
  padding-top: 40px !important;  
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content p em {
  color: #bcbcbc !important;
  font-weight: 900 !important;
}
.home #scorecard-app h1 {
  font-size: 2.5rem !important;
  font-family: "Russo One" !important;
  text-shadow: 4px 5px 0px rgb(0 0 0 / 48%) !important;
  text-align: left;
  color: #ffc416;
}
.home #scorecard-app h1 strong {
  font-size: 6.6rem !important;
  line-height: 0.9em !important;
  color: white;
}
.hero-go-button-container {
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
  transition: all 300ms;
}
.hero-go-button-container:hover {
  transform: scale(1.02);
  transition: transform 300ms;
}
.hero-go-button {
  width: 100%;
  display: flex;
  background: #5d5d68;
  justify-content: center;
  border-radius: 999px;
  align-items: center;
  position: relative;
}
.hero-go-button-text {
  font-size: 1.2em;
  padding: 20px;
  position: relative;
  left: -14px;
  top: -1px;
}
.hero-go-button-icon {
  background: white;
  color: black;
  border-radius: 50%;
  height: 48px;
  width: 48px;
  position: absolute;
  right: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3em;
}






















.bt50-legislator-detail .legislator-name {
  background: rgb(12 24 30 / 92%) !important;
}
.bt50-legislator-detail .legislator-name h1 {
  font-size: 2.5rem;
}
.bt50-back {
  padding: 9px 23px;
  position: fixed;
  z-index: 900;
  font-family: Antonio;
  color: #ffffff;  
  text-transform: uppercase;
  background: transparent !important;
  left: 78px;
  top: -5px;
  font-size: 2rem;
}
.bt50-back a {
  color: #fff;
  font-weight: 700 !important;
  margin-left: 27px;
  position: relative;
  top: 1px;
}
.bt50-back::after {
  content: "<";
  display: inline;
  position: absolute;
  top: -4px;
  left: 9px;
  font-size: 1.5em;
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child {
  background: linear-gradient(267deg, rgb(4 4 4 / 90%), #023150);
  padding: 0px !important;
}
.elementor-kit-725 h2 {
  font-family: "News Cycle";
}
#scorecard-app .legislator-list .info p {
  font-family: 'Barlow';
  font-weight: 700;
}
#scorecard-app .pure-table td {
  font-family: Lato;
  font-weight: 400;
  font-size: 1.15em;
}
#scorecard-app .scoreset-tab.active .scoreset-name {
  font-family: 'Lato';
  font-weight: 700;
  font-size: 1.25em;
}
#scorecard-app .scoreset-tab .scoreset-name {
  font-family: Lato;
}
#scorecard-app .legislator-list .score .value {
  height: 60px !important;
  width: 68px !important;
  border-radius: 22% !important;
  background: #148472;
  top: -7px !important;
}
.header-top {
  background: var(--custom-bg);
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 84px;
  width: 100%;
  z-index: 6;
  border-radius: 0 16px 0 0;
}
#scorecard-app .legislator-list .header-content h4 {
  font-size: 2rem;
  font-weight: 600;
  font-family: Barlow;
  font-size: 21px;
}
#scorecard-app .legislator-list .header-content p {
  display: none;
}
#scorecard-app .legislator-list .score {
  margin-top: 8px;
}
.rep-bg {
  background: var(--rep-bg);
}
.dem-bg {
  background: var(--dem-bg);
}
.legislator-detail-score span {
    font-family: 'Barlow';
}


















/* transparencyUSA stuff */
#scorecard-app .legislator-list .card {
  margin-bottom: 63px !important; /* to make room for the transparency-parent */
  background-color: #f1e7e7; 
  border: 1px solid #b6b4b4;
  border-radius: 0 16px 0 0px;  
  transition: opacity 300ms;
}
.lowpacity {
  opacity: 0.2;
}
#scorecard-app .legislator-list .card-footer {
  position: relative;
}
.transparency-parent {
  width: 100.65%;
  position: absolute;
  left: -0.8px;
  background-color: rgb(13 46 63 / 100%);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  border-left: 1px solid #c6c6c6;
  border-right: 1px solid #b6b4b4;
  border-bottom: 1px solid #b6b4b4;
}
.transparency-parent p {
  padding-top: 15px;
  font-family: 'Nunito';
  color: white;
  font-weight: 500;
  cursor: pointer;
}
.tusa-title {
  font-size: 1.9em;
  margin-bottom: 40px;
  font-family: 'Antonio';
}
.tusa-title p {
  display: inline;
  font-weight: 700;
  color: var(--e-a-btn-bg-primary-hover);
}
.tusa-year-selector {
  display: flex;
  justify-content: space-around;
  background: black;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}
.year-select {
  font-size: 1.2em;
  border-right: 2px solid #3a3b41;
  flex: 1;
  font-weight: 700;
  padding: 7px;
  transition: all 300ms ease;
  cursor: pointer;
}
.year-select:hover {
  text-shadow: 0px 0px 3px white;
}
.year-selected {
  background: #702727;
}




/* Footer */
.footer-top {
  background-color: #0a3a5a;
  padding-top: 75px;
  padding-bottom: 69px;
  text-align: center;
  font-family: Barlow;
}
.footer-top-items {
  display: flex;
  max-width: 80vw;
  margin: 0 auto;
  flex-direction: column;
}
.footer-break-top {
  width: 85vw;
  height: 2px;
  background: #174b6b;
  margin: 0 auto;
  margin-top: 20px;
}
.footer-break-bottom {
  width: 85vw;
  height: 2px;
  background: #213a49;
  margin: 0 auto;
  margin-top: 20px;
}
.footer-top-items .item {
  flex: 1;
}
.footer-top-items h1,
.footer-bottom-items h1 {
  text-transform: uppercase;
  color: #fec40e;
  font-size: 1.5em;
  line-height: .88;
  font-family: Antonio;
  font-weight: 700;
}
.footer-top-items p {
  margin: 0 0 .6875em;
  color: white;
  font-family: Nunito;
  font-weight: 600;
}
.f-button,
.f-button-alt {
  background-color: #3fa06f;
  border: 0;
  border-radius: 35px;
  color: #fbfbfb;
  cursor: pointer;
  display: inline-block;
  font-family: Lato, Antonio;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all .15s ease;
  transition: all .15s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
.f-button-alt {
  padding: .4875em 1.775em;
}
.donate-top-container {
  --foo: 1;
}
a.nav-donate.f-button:hover {
    color: #365b70;
    background: white;
    text-shadow: none;
    font-weight: 900;
}
.footer-bottom {
  background-color: #023150;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
}
.footer-bottom-items {
  display: flex;
  max-width: 80vw;
  margin: 0 auto;
  flex-direction: column;
  font-family: Barlow;
}

.footer-logo {
  height: 250px;
  width: auto;
}
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-bottom-items p {
  color: white;
  margin: 0 0 .6875em;
  padding: 0.2em;
  font-size: 0.9em;
  line-height: 1.4em;
}
.social-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.social-links a {
  font-size: 1.8rem;
  color: #ffffff;
  transition: color 0.3s;
}
.footer-terms {
  color: #ffffff;
  margin: 0 0 .6875em;
  padding: 0.2em;
  font-size: 0.8em;
  line-height: 0.6em;
  padding-top: 25px;
  font-family: Antonio;
  font-family: "News Cycle";
  font-family: Lato;
}


/* hover effect */
.wave-text {
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  padding: .4875em 1.775em;
}

.wave-text span {
  display: inline-block;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition-delay: calc(var(--i) * 0.05s);
  margin-left: -3px;
}

.wave-text:hover span {
  opacity: 0;
  transform: translateY(50%);
  transition-delay: 0s; /* collapse out instantly */
}

.wave-text:hover span {
  animation: waveIn 0.5s forwards;
  animation-delay: calc(var(--i) * 0.03s + 0.15s);
}

.swal2-html-container {
  overflow: hidden;
}



@keyframes waveIn {
  0% {
    opacity: 0;
    transform: translateY(90%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* about us page */
.elementor-740 .elementor-element.elementor-element-66a8d35 {  
  margin-bottom: 100px;
  background: url(/wp-content/uploads/denver.jpg) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  margin-top: 0px !important;
  filter: grayscale(0.5) !important;
}
.elementor-740 .elementor-container.elementor-column-gap-default {
  width: 75vw;
  margin: 0 auto;  
}
.elementor-column.elementor-col-50, .elementor-column[data-col="50"] {
  background: rgba(94, 9, 9, 0.93);
  border-radius: 4px;
  width: 50%;
}
.elementor-hidden-mobile {
  background: transparent !important;
}
.elementor-column.elementor-col-50.elementor-inner-column.elementor-element.elementor-element-a09f0d5 {
  background: transparent !important;
}
.elementor-740 .elementor-heading-title {  
  color: white !important;
  font-family: "Russo One" !important;
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  border-bottom: 4px solid white;
}


/* prior scorecards page */
.elementor.elementor-812 {
  min-height: 100vh;
  background:#ededf1;
  margin-top: 198px;
}
.elementor-812 {
  width: 75vw;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.elementor-widget-wrap>.elementor-element {
  
}
.wp-singular .navbar {
  background: #023150 !important;
}
.elementor-812 .elementor-element {
  /* width: 75vw !important;
  margin: 0 auto; */
}
.elementor-812 .elementor-element.elementor-element-3d72cd4 .elementor-button,
.elementor-812 .elementor-button-link {
  background-color: #3fa06f !important;
  font-size: 25px !important;
  font-weight: 600;
  fill: var(--e-global-color-6437cb2);
  color: var(--e-global-color-6437cb2);
  border-radius: 999px !important;
  padding-left: 37px !important;
  padding-right: 37px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 141px !important;
  height: 56px !important;
  font-family: 'Antonio' !important;
}
.elementor-widget-wrap {
  align-content: center !important;  
  justify-content: center !important;
}
.elementor-812 .elementor-element.elementor-element-76082fe {
  width: 0%;
}
.elementor-812 .elementor-column.elementor-col-50 {
  background-color: #0a3a5a; 
}
.elementor-812 .elementor-button-info,
.elementor-812 .elementor-align-center.elementor-widget.elementor-widget-button {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
}
.elementor-812 .elementor-element.elementor-element-035df70 > .elementor-container > .elementor-column > .elementor-widget-wrap {    
  display: flex;
  justify-content: center !important;
  align-items: center;
  height: 300px;
  padding: 0px !important;
}
.elementor-812 .elementor-widget-container:hover {
  transform: translateY(-2px);
}
.elementor-812 .elementor-heading-title {    
  font-family: Barlow !important;
  text-transform: uppercase;  
  font-weight: 700;
}


/*768!*/
@media screen and (min-width: 768px) {
    .home .navbar {
      background: transparent !important;
    }
    .home .navbar {
      background: transparent !important;
    }
    .home .navbar.scrolled {
      background: #023150 !important;
    }
    .home #scorecard-app h1 {
      font-size: 2.5rem !important;
      font-family: "Russo One" !important;
      text-shadow: 7px 8px 0px rgb(0 0 0 / 68%) !important;
    }
    .home #scorecard-app h1 strong {
      font-size: 10.6rem !important;
      line-height: 0.9em !important;
    }
    .hero-go-button {
      width: 200px;
      display: flex;
      background: #5d5d68;
      justify-content: center;
      border-radius: 999px;
      align-items: center;
      position: relative;
    }
    #scorecard-app .bt50-jumbotron {
      height: 100vh;      
    }
    #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay {
        width: 100vw !important;
        max-width: 100vw !important;
        align-items: flex-end !important;
    }
    #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child {
        background: transparent !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        flex-direction: row;
        padding: 20px !important;
    }
    .home #scorecard-app h1 {
        font-size: 3.3rem !important;
        font-family: "Russo One" !important;
        text-shadow: 7px 8px 0px black !important;
    }
    .home #scorecard-app h1 strong {
        font-size: 14.6rem !important;
        line-height: 0.9em !important;
    }
    #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child div {
      max-width: 518px !important;
    }
    #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content p {
        border-top: 0px !important;
        background: rgb(0 0 0 / 86%) !important;
        border-radius: 10px !important;
        padding-bottom: 44px !important;
        text-align: right !important;
        font-family: Barlow !important;
        padding-top: 30px !important;
    }
    .fancy-form {
      display: flex;
      padding-left: 92px;
      padding-right: 129px;
      justify-content: space-evenly;
      padding-top: 15px;
      padding-bottom: 15px;
      background: white;
      border-radius: 16px;
      flex-direction: row;
    }    
    .fancy-form div {
      margin-bottom: 0px;
    }
    .fancy-card {
      padding-top: 0px;
      width: 320px;
      font-family: Nunito;
    }
    .fancy-card .card {
      width: 320px;
      border-radius: 50px !important;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0px 14px 22px -17px black !important;
      background: white !important;
      text-align: center;
      max-width: 320px !important;
      opacity: 1.0 !important;
      transition: opacity 300ms;
    }
    .fancy-card .card-header {
      position: relative;
      background: linear-gradient(135deg, #fd0c0c, #b35353, #d24f7d);
      padding: 250px 0 0 0 !important;
      border-bottom-left-radius: 35px;
      border-bottom-right-radius: 35px;
      box-shadow: 0px 1px 12px black;
      top: -86px;
    }
    #scorecard-app .legislators-side select {
        width: 250px !important;
        height: 37px !important;
        margin: auto !important;    
        background: transparent;
        padding: 2px 2px 2px 8px !important;        
        color: #262121 !important;
        font-size: 14px !important;
        border: 2px solid rgb(0 0 0 / 14%) !important;
        border-radius: 4px !important;
        box-shadow: 10px 7px 25px -3px rgb(0 0 0 / 17%), -6px 13px 25px -10px rgb(0 0 0 / 15%) !important;
        font-family: Nunito !important;
        font-weight: 500 !important;
        letter-spacing: 0.3px !important;
    }
    #scorecard-app .legislators-side input {
        width: 250px !important;
        height: 37px !important;
        margin: auto !important;
        border: 1px solid !important;
        background: transparent !important;
        padding: 2px 2px 2px 8px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
        color: #262121 !important;
        font-size: 14px !important;
        border: 2px solid rgb(0 0 0 / 14%) !important;
        font-family: Nunito !important;
        font-weight: 500 !important;
        letter-spacing: 0.3px !important;
        box-shadow: 10px 7px 25px -3px rgb(0 0 0 / 17%), -6px 13px 25px -10px rgb(0 0 0 / 15%) !important;
    }
    .bt50-back {
      padding: 9px 23px;
      position: fixed;
      z-index: 900;
      font-family: Antonio;
      color: #ffffff;
      font-size: clamp(0.5rem, 0.9vw + 0.9vh, 2rem);
      text-transform: uppercase;
      background: transparent !important;
    }
    .bt50-back a {
      color: #fff;
      font-weight: 700 !important;
      margin-left: 27px;
      position: relative;
      top: 1px;
    }
    .bt50-back::after {
      content: "<";
      display: inline;
      position: absolute;
      top: 0px;
      left: 9px;
      font-size: 1.5em;
    }
    .footer-top {
        text-align: left;
    }
    .footer-top-items {
      flex-direction: row;
    }
    .footer-top-items .item {
      --foo: 1;
    }
    .footer-break-top, .footer-break-bottom {
      display: none;
    }
    .footer-top-items h1 {
      --foo: 1;
    }
    .footer-top-items p {
      padding-right: 55px;
    }
    .footer-top-items .f-button {
      --foo: 1;
    }
    .footer-top-items .f-button:hover {
      --foo: 1;
    }
    .footer-bottom {
      text-align: left;
    }
    .footer-bottom-items {
      flex-direction: row;
      align-items: center;
    }
    .footer-bottom-items .item {
      flex: 1;
    }
    .footer-logo {
      justify-self: flex-start;
    }
    .footer-bottom-items h1 {
      text-align: center;
    }
    .footer-terms {
      max-width: 80vw;
      margin: 0 auto;
    }
    .bill-table tr td:nth-child(3),
    .bill-table tr th:nth-child(3),
    .bill-table tr td:nth-child(4), 
    .bill-table tr th:nth-child(4) {
      display: table-cell;
    }
}




/* special scenario for UNDER 768 */
@media screen and (max-width: 768px) {
  /* this is set in the bt-scorecard using element.style */
  #scorecard-app .bt50-jumbotron {
    height: 100vh;
    background: #073c60 !important; /* override bg picture for small screens */
  }
  .tusa-title p {
    display: block;
  }
}

/* special scenario for the HERO HEADER TEXT BETWEEN 768 and 1224 px */
@media only screen and (min-width: 768px) and (max-width: 1224px) {
  #scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child {
      background: transparent !important;
      display: flex !important;
      justify-content: space-between !important;
      align-items: flex-end !important;
      flex-direction: row;
      padding: 20px !important;
      flex-direction: column;
      align-items: flex-start !important;
      justify-content: center !important;
  }

}

















#scorecard-app {
  font-family: Nunito;
}
@media only screen and (min-width: 1200px) {
  #scorecard-app .legislator-list .card {
      max-width: 320px;
  }
}
@media screen and (min-width: 35.5em) {
    #scorecard-app .legislators-container {
      width: 100vw;
      float: none;
      display: flex;
    }
    .pure-g {
      justify-content: space-evenly;
    }
    .pure-u-sm-1-2, .pure-u-sm-12-24 {
        width: calc(320px * 0.9);
        transform: scale(0.9);
    }
    #scorecard-app .rds-container {
      max-width: min(98vw, 1540px) !important;
    }
}
@media screen and (min-width: 48em) {
  .pure-g {
    justify-content: center;  
  }
  .pure-u-md-1-3, .pure-u-md-8-24 {
        width: 340px !important;
    }
}
@media screen and (min-width: 64em) {
    .pure-u-lg-1-4, .pure-u-lg-6-24 {
        width: 100% !important;
    }  
    .pure-u-lg-3-4, .pure-u-lg-18-24 {
        width: 100% !important;
    }
}
@media screen and (min-width: 64em) {
    .pure-u-lg-1-3, .pure-u-lg-8-24 {        
        width: 343px;
    }
}

.test-card-container {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fancy-card {
  padding-top: 0px;
  width: 100%;
  font-family: Nunito;
}
.fancy-card .card {
  width: 100%;
  border-radius: 50px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0px 14px 22px -17px black !important;
  background: white !important;
  text-align: center;
  max-width: 320px !important;
  opacity: 1.0 !important;
  transition: opacity 300ms;
}
#scorecard-app .rds-container {
  max-width: min(90vw, 1540px) !important;
  margin: 0 auto !important;  
}

.fancy-card .card-header {
  position: relative;
  background: linear-gradient(135deg, #fd0c0c, #b35353, #d24f7d);
  padding: 210px 0 0 0 !important;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  box-shadow: 0px 1px 12px black;
  top: -86px;
}

.fancy-card .profile-pic {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 1px 11px 20px 3px rgb(0 0 0 / 46%);
}

.fancy-card .wave {
  position: relative;
  top: 56px;
}

.fancy-card .card-body {
  padding: 20px 20px 30px;
}
.fancy-card .card-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #f3f3f3, #e0e0e0);
  color: #595252 !important;
  font-size: 1.2em !important;  
  letter-spacing: 0.4px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-align: center;
  margin-bottom: 10px;
  min-height: 40px;
}
.fancy-card .card-btn i {
  padding-right: 15px;
  font-size: 1.3em;
  color: grey;
  position: relative;
  top: 3px;
}
.card-btn:hover {
  background: linear-gradient(135deg, #e5e5e5, #d5d5d5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.36);
  transform: translateY(-1px);
  text-decoration: none !important;
}
#scorecard-app a:hover {
  text-decoration: none;
}
.card-btn:active {
  background: linear-gradient(135deg, #d0d0d0, #c0c0c0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}

.fancy-card .score-bar-title {
  position: relative;
  top: -29px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  color: #9097a0 !important;
  text-transform: uppercase;
  font-family: 'Nunito';
}
.fancy-card .score-bar-container {
  width: 80%;
  height: 30px;
  margin: -25px auto 20px;
  border-radius: 999px;
  background-color: #e0e0e0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.fancy-card .score-bar-fill {
  height: 100%;
  position: relative;
  border-radius: inherit;
  overflow: hidden;
}

/* The score label */
.fancy-card .score-label {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  font-family: Barlow, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  cursor: context-menu;
}

.fancy-card .name {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: #54595f !important;
  text-transform: uppercase;
  font-family: 'Nunito';
}

.fancy-card .username {
  font-size: 13px;
  color: #777;
  border: 1px solid #dbd0d0;
  padding: 5px 5px 4px 5px;
  width: 63px;
  margin: 0 auto 16px auto;
  border-radius: 17px;
}

.fancy-card .icons {
  /* margin-bottom: 20px; */
}

.fancy-card .icons i {
  /* margin: 0 8px;
  font-size: 16px;
  color: #333;
  transition: color 0.2s ease; */
}

.fancy-card .icons i:hover {
  /* color: #7c4fd2; */
}

.fancy-card .description {
  font-size: 13px;
  color: #666;
  margin: 0 20px 10px;
}

.fancy-card .footer {
  font-size: 12px;
  color: #aaa;
  display: flex;
  flex-direction: column;
}
.hidden-body {
  opacity: 0.1;
  transition: opacity 500ms;
}



