/* mid width 1600px */
@media (min-width: 1600px) {
  .meet-featured-image {
    height: 600px !important;
    background-size: cover !important;
    aspect-ratio: unset !important;
    background-position: center 20% !important;
  }
  .layer1,
  .layer2 {
    max-width: 1500px;
    left: 10%;
  }
}

@media (max-width: 1400px) {
  .header-top .menu-wrap .email-top {
    padding: 9px 25px 4px !important;
  }
  .hero-left h1 {
    color: #061951;
    line-height: 1;
    font-size: 40px;
    text-align: left;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 20px;
  }
  .inner {
    width: 85%;
  }
  .meet-boxes.inner {
    width: 90%;
  }
  .donate-btn a {
    height: auto;
  }
}
@media (max-width: 1317px) {
  header .menu-wrap {
    /* padding-left: 20px; */
    margin-top: -11px;
  }
}
@media (max-width: 1300px) {
  .donate-small-left {
    width: 49%;
  }
  .hero-left h1 {
    font-size: 35px;
  }

  .hero-left {
    width: 55%;
  }
  .layer1 {
    left: 60%;

    max-width: 42%;
  }
}

@media (max-width: 1125px) {
  .layer1 {
    left: 57%;

    max-width: 48%;
  }
  #menu-header {
    text-align: center;
  }
  .header-top #menu-header a {
    font-size: 17px;
  }

  .hero-left {
    width: 50%;
  }
}

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

@media (max-width: 1060px) {
  .donate-small-left {
    width: 100%;
    margin-right: 0px !important;
    margin-bottom: 7px;
  }
  .donate-small .donate-buttons {
    width: 100%;
  }

  #donate-box-small .container {
    gap: 10px;
  }
  .tk-donation-buttons .donate-btn {
    width: 98%;
  }
}
@media (max-width: 1069px) {
  .donate-small .donate-buttons {
    max-width: 600px;
    margin: 0 auto;
  }
  .donate-small .donate-text {
    margin: 0 auto;
    text-align: center;
  }
  header .menu-wrap {
    padding-left: 20px;
    margin-top: -11px;
  }
}
@media (max-width: 1020px) {
  .home .hero-section .container {
    display: flex;
    flex-direction: row;
    width: 90%;
    margin-bottom: 70px;
  }
  .home .hero-section {
    padding-top: 40px;
  }

  .home .hero-left {
    left: unset;
  }

  img.nick-cutout {
    width: 340px;
  }

  .takeover-top,
  .takeover-bottom {
    flex-direction: column;
  }
  .takeover-left {
    background: #253353;
  }
  .takeover-left img {
    width: 100%;
    max-height: 300px;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  .takeover-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
  }

  .takeover-inner {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }

  .takeover-bottom {
    padding: 30px;
  }
}

@media (max-width: 1000px) {
  .meet-featured-image .title-bar-inner {
    gap: 10px;
  }

  .meet-featured-image {
    width: 100%;
    background-size: 130% !important;
    background-position: 31% 28% !important;
  }
  .meet-featured-image h1 {
    font-size: 32px;
  }
  .meet-featured-image svg {
    margin-left: -10px;
    transform: scale(0.8);
  }
  #menu-header-2 {
    gap: 25px;
  }
  .homepage-section.donate-large {
    padding: 0px 20px !important;
  }
  #meet-page .meet-box {
    flex-direction: column;
  }

  #meet-page .meet-photos {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  #meet-page .meet-photo-wrap {
    flex: 1 1 calc(48% - 1rem);
    /* 2 per row */
  }
  .volunteer-page-content {
    flex-direction: column;
  }
  .volunteer-page-content .volunteer-left {
    width: 100%;
    position: relative;
  }
  .volunteer-page-content .volunteer-right,
  .volunteer-right img {
    width: 100%;
    position: relative;
  }
  .volunteer-right {
    display: flex;
  }

  .why-section .container {
    flex-direction: row;
    gap: 0px;
  }
  .why-section .why-text {
    flex: unset;
  }

  #meet-section .container > div {
    width: 100%;
  }
  #meet-section .container img {
    max-height: 450px;
    margin-bottom: 15px;
  }

  #meet-section .container {
    gap: 20px;
  }

  .why-section .why-photo img {
    width: 100%;
    max-height: 400px;
    max-width: unset;

    height: auto;

    object-fit: cover;
    object-position: center 10%;
  }

  .why-section .why-photo {
    width: 100%;
    max-width: unset;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  #priorities-section .container {
    padding-bottom: 20px;
  }

  #why-section img.star-motif,
  #meet-section img.star-motif {
    left: 50%;
    top: unset;
    transform: translateX(-50%) translateY(50%);
    bottom: 7px !important;
    right: unset;

    width: 40px !important;
    filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.1));
  }

  .meet-content p {
    text-align: center;
  }

  .homepage-section {
    padding: 40px 5% !important;
  }
  .meet-section .meet-content {
    padding: 5px 0;
    display: flex;
    flex: unset;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding-top: 5px;
  }
  .donate-large .donate-photo {
    left: -2% !important;
  }
  #priorities-section::before {
    opacity: 0.3 !important;
    /* filter: brightness(.92); */
    /* transform: rotate(20deg); */
    background-size: 1500px !important;
    background-position: -20px 100px;
    overflow: visible;
  }

  .footer-disclaimer {
    margin: 0 auto;
  }
  .desktop-address {
    display: none;
  }
  .mobile-address {
    display: block;
  }
  .meet-boxes .meet-content {
    padding: 40px 35px 20px;
  }
  .meet-content {
    padding: 40px 65px 60px;
  }
  .why-running {
    padding: 40px 0 60px;
  }
  .box-2 {
    margin-bottom: -190px;
  }
  .meet-section {
    padding-bottom: 20px;
  }
  .pre-title {
    padding-bottom: 20px;
  }
  .box-2 .meet-content {
    padding: 50px 0px 0px;
  }
  .meet-content h2 {
    margin-bottom: 15px;
  }
  .why-text img {
    margin: 0 auto !important;
    display: flex !important;
    width: 40px;
    height: auto;
  }
  .menu-wrap .donate-footer-btn {
    margin-right: 0;
  }
  .why-text p {
    padding-left: 0px;
  }
  .why-text {
    margin-top: 30px;
  }

  footer .social-icons a:last-of-type {
    margin-right: auto;
  }
  .footer-logo {
    padding-left: 0;
    margin-left: auto;
  }
  .footer-links {
    justify-content: center;
    align-items: center;
  }

  .footer-content .donate-footer-btn {
    margin-top: 20px;
  }

  .footer-links p {
    padding-right: 0px;
  }
  .footer-address {
    padding-left: 0px;
    width: 100%;
  }

  #menu-header-2 {
    flex-direction: column;
    align-items: center;
  }
  footer .social-icons a {
    font-size: 23px;
    margin: 10px 15px 3px 15px !important;
  }

  .footer-links {
    flex-direction: column-reverse;
    gap: 30px;
  }
  footer .menu-wrap {
    flex-direction: column !important;
    max-width: 280px;
    width: 100%;
    justify-content: center !important;
    margin: 10px auto 0px;
  }

  .footer-bottom {
    border-top: unset;
    padding-top: 0px;
  }
  .footer-address p {
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: center;
  }
  .footer-links p {
    margin: 0 auto;
  }
  footer .social-icons a {
    width: fit-content;
    margin-top: 15px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  footer div,
  footer a {
    margin: 0 auto;
  }

  .why-title {
    text-align: center;
  }

  .meet-section .container,
  .why-running .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .meet-image {
    width: 100%;
  }

  .meet-image img,
  .why-image img {
    max-height: 500px;
    object-position: 0% 20%;
  }

  .why-text h2 {
    padding-top: 0px;
  }

  .video-section {
    margin-bottom: 10px;
  }

  #why-section {
    padding-top: 20px !important;
  }

  .container {
    width: 90%;
  }
  .why-text h3 {
    margin-top: 20px;
  }

  .why-text,
  .why-image {
    width: 100%;
  }

  .donation-buttons {
    flex-wrap: wrap;
  }

  .endorsement-list-images {
    flex-direction: column;
  }

  .endorsement-card {
    width: 100%;
  }

  .donation-section {
    min-height: fit-content;
    padding-bottom: 110px;
    background-position: top;
  }

  .donation-section h2 {
    text-align: center;
  }
  .meet-box {
    flex-direction: column;
  }
  .meet-section .meet-photo {
    max-width: unset;
    max-height: 400px;
  }

  .meet-photo {
    max-width: unset;
    width: 100%;
  }
  .meet-photo img {
    max-height: 500px;
    object-position: 0% 3%;
  }
  .hero-section h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .hero-left {
    width: 47% !important;
  }

  .layer1 {
    left: 50%;
    position: absolute !important;
    background-position: bottom right;
    align-self: flex-end;
    max-width: 54%;
  }
}

@media (max-width: 950px) {
  .hero-left {
    width: 80%;
  }
  .home .hero-section {
    background-position: center;
  }
}

@media (max-width: 900px) {
  .home .hero-section {
    background-position: center;
  }
  .home .header-top #menu-header a,
  .home .header-top #menu-header a {
    font-size: 14px !important;
  }
  .second-hero h1 {
    font-size: 56px;
  }

  .meet-subtitle {
    font-size: 27px;
  }
  .header-top #menu-header a {
    padding: 7.5px 10px;
  }
  h2 {
    font-size: 30px;
  }

  .issue-post {
    flex: 1 1 calc(50% - 20px);
  }

  .event-wrapper {
    flex-direction: column;
  }

  .event-image {
    width: 100%;
    height: auto;
    margin-left: 0px;
    border-top-right-radius: 20%;
    border-top-left-radius: 20%;
    border-bottom-right-radius: 20%;
    border-bottom-left-radius: 20%;
  }

  .event-form {
    margin-right: 0px;
  }

  .event-wrapper .ngp-form .at-row.FirstName label,
  .event-wrapper .ngp-form .at-row.EmailAddress label {
    margin-right: 10px;
  }

  .donation-section .container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 830px) {
  .header-top .menu-wrap .donate-top,
  .header-top .menu-wrap .email-top {
    font-size: 15px !important;
    padding: 11px 15px 8px !important;
  }
}

@media (max-width: 800px) {
  .donate-large .donate-photo {
    left: -5% !important;
  }
  h2,
  .why-text h2 {
    font-size: 25px !important;
  }

  .talk-form-section p {
    font-size: 20px;
  }

  #why-section h2 {
    text-align: center;
    justify-content: center;
  }
}

@media screen and (max-width: 876px) {
  .header-right {
    flex-wrap: wrap;
    background: #f6f6fd;
    padding-right: 0px;
  }

  header .menu-wrap .social-links {
    padding-right: 10px;
  }
}

@media screen and (max-width: 830px) {
  header .menu-wrap .social-links {
    background-color: #f6f6fd;
  }
}

@media screen and (max-width: 768px) {
  meet-page .meet-caption {
    font-size: 13px;
    color: darkslategray;
  }
  #donate-box-small .container {
    gap: 10px !important;
  }
  .homepage-section.donate-large {
    padding: 0px 20px 20px !important;
  }
  .title-bar h1 {
    color: var(--Light-Blue, #f6f6fd);
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -1.06px;
    margin-top: 7px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.56px;
  }
  .donate-small .donate-text {
    text-align: center;

    margin-bottom: 3px;
  }
  .donate-large .donate-text {
    color: #ebeefa !important;
  }
  #donate-box-large .container {
    padding: 20px 0;
  }

  .donate-large {
    background: linear-gradient(270deg, #091b4f, #061645, #061951);
    animation: shiftGradient 7s ease infinite;
    z-index: 1;
  }

  #why-section {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }
  .meet-section .meet-content {
    padding-top: 20px;
  }
  .donate-small .donate-buttons,
  .donate-small-left {
    width: 90%;
  }
  .homepage-section .container {
    width: 95% !important;
    gap: 30px;
  }
  #priorities-section::before {
    top: 30%;
  }
  .donate-large .donate-photo {
    display: none;
  }
  .donate-large .donate-text {
    max-width: 100%;
    text-align: center !important;
  }

  #donate-box-small .disclaimer {
    margin-bottom: 0px;
  }
  .footer-address p,
  .footer-disclaimer,
  .footer-links * {
    font-size: 15px !important;
  }
  .homepage-section .container {
    flex-direction: column !important;
    gap: 0px;
    text-align: center;
  }

  .video-section .video-embed iframe {
    height: 250px;
  }

  .donate-small .donate-buttons {
    justify-content: center;
  }

  .donate-small .donate-buttons .donate-btn {
    flex: 1 1 30%;
    text-align: center;
  }

  .donate-large .donate-content {
    padding-top: 20px;
  }
  .header-top #menu-header a {
    display: inline-block;
    padding: 7.5px 10px;
    font-size: 14px;
  }

  .header-top .menu-wrap .donate-footer-btn {
    font-size: 14px;
  }
  .why-text {
    margin-top: 15px;
  }
  .hero-form {
    padding: 20px 0px !important;
  }

  .meet-bottom {
    display: flex;
  }
  .hero-section {
    min-height: 400px;
    transition: 0.25s ease-in-out;
  }

  .hero-section {
    padding: 140px 0 20px;
  }

  .hero-section h1 {
    text-align: left;
  }

  .hero-form {
    max-width: 100%;
    padding: 20px;
  }

  .hero-form input {
    width: 100%;
  }

  .why-image img,
  .meet-image img {
    width: 100%;
    height: auto;
  }

  .donation-buttons {
    gap: 10px;
  }

  .donate-btn,
  .donate-btn.btn-donate,
  .donation-section .disclaimer {
    width: 100%;
  }

  .footer-links a {
    margin-bottom: 10px;
  }

  footer .social-icons {
    margin-top: 15px;
  }

  .day-plan-item {
    flex-direction: column;
    gap: 20px;
  }

  h3.day-plan-title {
    text-align: center;
  }

  .takeover-right h1 {
    font-size: 35px;
  }

  .tk-donate-text h2 {
    font-size: 30px;
  }
  #home-link span {
    font-size: 16px;
  }

  .day-plan-content {
    width: 100%;
  }

  .donate-all-section {
    flex-direction: column;
  }

  .prospectus-image {
    display: none;
  }

  .prospectus-image.mobile {
    display: block;
    width: 100%;
    height: auto;
    padding: 20px 0;
  }

  .meet-content h2,
  h2.why-title,
  .donation-section h2 {
    font-size: 35px;
  }

  .donate-btn,
  .donate-btn.btn-donate,
  .donation-section .disclaimer {
    width: 40%;
  }

  #donate-box-large .donate-btn {
    width: 30%;
  }
  .donate-large .donate-content {
    padding-bottom: 3px;
    margin-right: 0px !important;
    width: 90% !important;
  }
  .hero-left {
    width: 52% !important;
  }
  .hero-section h1 {
    font-size: 30px;
    margin-bottom: 0px;
  }
  .layer1 {
    left: 55%;
    position: absolute !important;
    background-position: bottom right;
    align-self: flex-end;
    max-width: 58%;
  }
}

@media (max-width: 700px) {
  .home .hero-section .container {
    margin-bottom: 20px;
  }
  .meet-desktop {
    display: none !important;
  }
  .meet-mobile {
    display: block !important;
    width: 100%;
    margin-bottom: 20px;
    transition: 0.25s ease-in-out;
  }

  h1.meet-mobile {
    font-size: 0px !important;
  }
  #meet-page .meet-photo-wrap {
    flex: 1 1 100%;
    /* Full width */
  }

  .meet-featured-image {
    margin-bottom: 40px;
  }

  #meet-page .meet-boxes {
    padding: 0;
  }

  #meet-page .meet-boxes.inner {
    width: 80%;
  }

  .meet-boxes .meet-content {
    padding: 30px 25px 20px;
  }
  .hero-left h1 {
    margin-left: 0px !important;
  }

  .home .at-checkbox-title,
  .home .ngp-form .at-legal p {
    color: white !important;
  }
  .page-template-default .basic-page-wrapper {
    padding-top: 40px;
  }
  .at-form-submit {
    margin: 20px auto 0 0 !important;
  }
  .at-form-submit:hover:after {
    transition: 0.5s ease-in-out;
    right: unset;
    left: 85%;
  }
  .hero-section h1 {
    text-align: center;
  }

  .mobile-nav li {
    line-height: 30px !important;
  }

  .mobile-nav {
    padding: 40px 5px 20px;
  }
  .mobile-nav {
    padding: 90px 5px 20px;
  }

  .hero-right {
    display: none;
  }
  .hero-left {
    width: 90%;
    position: relative;
    top: unset;
    right: unset;
    margin: 0 auto;
  }

  .QuestionHtml_650293648 * {
    color: #fff !important;
    text-align: center;
  }

  .at-row.at-row-full.CustomFormFieldQuestion_8826258255947965_CustomFormFieldQuestion_5978768572202911_MappedActivistCodeQuestion_5445491 {
    width: fit-content;
    margin: 0 auto;
  }

  .SmsSubscribeMobilePhone {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  html #wpadminbar {
    margin-top: -46px;
  }

  .priority-grid .priority-card {
    flex: 1 1 100%;
  }

  .donation-section .donation-buttons a {
    min-width: 100%;
  }
  .hamburger {
    display: inline-block !important;
    position: relative;
    right: 20px;
    border-radius: 5px;
    background-color: #061951 !important;

    top: 0px !important;
  }

  .donation-section {
    padding-bottom: 70px;
  }

  .mobile-nav li {
    list-style: none;
  }
  .mobile-nav {
    display: none; /* Hide it initially */
    position: absolute;
    max-height: 0;
    z-index: 1000;
    padding-bottom: 30px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: #061951;
    width: 100%;
    filter: drop-shadow(2px 4px 6px #121f46);
  }

  .header-left .social-icons {
    display: none;
  }

  .nav-mobile {
    flex-direction: column;
    gap: 23px;
  }
  .mobile-nav .social-icons {
    margin-top: 20px;
  }
  .mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  img.header-logo.grayscale {
    filter: invert(1) grayscale(1) brightness(10);
  }

  .at-row.EmailAddress {
    margin-top: 0px;
  }
  .home .hero-section {
    background-image: unset !important;
    background-size: cover;

    background-position: center;
    background-repeat: no-repeat;
    min-height: unset;
    margin-top: -10px;
    border-top: 3px solid #d7263d;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 35px !important;
  }

  .layer1 {
    opacity: 1 !important;
    transform: unset !important;
  }
  .home .hero-section::before {
    background: linear-gradient(
      270deg,
      rgb(25, 38, 82),
      rgb(17, 26, 75),
      #121f4a
    );
    opacity: 1 !important;
    animation: shiftGradient 15s ease infinite !important;
  }
  .hero-left {
    width: 100% !important;
    left: unset !important;
  }

  .hero-left h1 {
    font-size: 35px !important;
    color: white;
  }

  .hero-section {
    padding-top: 0px !important;
  }

  .layer1 {
    display: none;
  }
  .layer2 {
    display: none;
  }
  .hero-section {
    padding: 40px 0 10px 0px;
  }
  .hero-section .container {
    margin: 0 auto 0px auto;
    width: 90%;
  }

  .hero-mobile {
    display: block;
  }

  .hero-mobile img {
    width: 100%;
    height: auto;
  }

  .at-form-submit .at-submit.btn-at.btn-at-primary {
    color: white;
    text-shadow: none !important;
    width: 100%;
    margin: 0 auto;
  }

  .home .at-form-submit .at-submit.btn-at.btn-at-primary {
    margin: -8px auto 10px;
    display: flex;
    max-width: 500px;
    color: white !important;
    background-color: #d7263d !important;
    width: 100%;
    justify-content: center;
    padding: 12px 0 10px !important;
  }

  .home .at-form-submit .at-submit.btn-at.btn-at-primary:hover {
    background-color: white !important;
    color: #d7263d !important;
  }

  .at-form-submit .at-submit.btn-at.btn-at-primary:hover {
    text-shadow: none !important;
    width: 100%;
  }
  .at-form .SmsLegalDisclaimer {
    text-align: center;
    margin: 0px auto;
    width: 90%;
  }
  .at-form-submit.clearfix {
    width: 100%;
  }

  .hero-section {
    min-height: 300px;
  }

  header .menu-wrap {
    display: none;
  }

  .second-hero {
    padding-top: 20px;
  }

  .issue-post {
    flex: 1 1 100%;
  }
  .second-hero h1 {
    width: 100%;
  }

  .takeover-inner {
    margin-bottom: 35px;
  }

  .meet-boxes {
    margin-top: 0px;
  }
}

@media (max-width: 650px) {
  .hero-left h1 {
    font-size: 26px !important;
    color: white;
    line-height: 1.2;
    margin-bottom: 0px;
  }
  .takeover-disclaimer {
    margin: 10px auto 0px;
  }
  .meet-content {
    padding: 40px 20px;
  }
  .takeover-bottom {
    padding: 5px 20px 30px;
  }
  .takeover-text {
    padding: 20px 30px 0 30px;
  }

  .news-logo {
    max-width: 120px;
  }

  .scrolling-banner-carousel {
    width: 95vw;
  }
}

@media (max-width: 533px) {
  .issuecon ul {
    padding-left: 20px;
  }
  .donate-small .donate-buttons .donate-btn {
    flex: 1 1 40%;
  }
  .page-template-page-priorities .container {
    width: 100%;
  }
  .issuerow a.buttontoggle {
    transform: scale(0.8);
    position: absolute;
    top: 27px;
    right: 28px;
    width: 50px;
    transition: 0.5s ease-in-out;
  }
  .basic-page-wrapper p,
  p,
  .basic-page-wrapper ul,
  ul .basic-page-wrapper li,
  li,
  .basic-page-wrapper em,
  em,
  .basic-page-wrapper span,
  span {
    font-size: 16px;
  }
  .video-section h2 svg {
    width: 50%;
  }
  .meet-bottom {
    margin-top: 5px;
  }

  .endorsement-list {
    flex-direction: column;
  }

  .endorsement-item {
    width: 100%;
  }
  .event-form h2 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .takeover-left img {
    max-height: 240px;
  }
  .error-message {
    float: unset;
  }

  img.error-image {
    width: 100%;
  }
}

@media (max-width: 450px) {
  .at-row > [class^="at-"] {
    margin: 0 auto !important;
  }
  .volunteer-left p,
  .volunteer-left h2 {
    text-align: center;
  }
  .at-form-submit:hover:after {
    left: 75%;
  }

  .second-hero h1 {
    font-size: 40px;
  }

  .tk-donation-buttons .donate-btn {
    width: 100%;
  }

  .prospectus-image {
    display: block;
    width: 100%;
    padding: 0 20px;
  }

  .prospectus-image.mobile {
    display: none;
  }
  .tk-logo-container {
    margin-top: 10px;
    padding-bottom: 20px;
  }
  #takeover #closebtn {
    position: absolute;
    top: 30px;
    right: 15px;
  }
}

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

@media (max-width: 370px) {
  .donate-large .donate-content {
    padding-bottom: 10px;
  }
}
