/* mid width 1600px */
@media (min-width: 1600px) {
  .layer1,
  .layer2 {
    max-width: 1500px;
    left: 10%;
  }
}
@media (min-width: 1248px) {
.header-top .header-logo {
width: 190px;}
.header-left {margin-left:-5px;}
}

@media (max-width: 1248px) {
  .box-1 .meet-photo img {
    object-position: 56% center;
  }
  .donate-btn a {
    height: auto;
  }
}

@media (max-width: 1125px) {
  #menu-header {
    text-align: center;
  }
  .header-top #menu-header a {
    font-size: 15px;
  }

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

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

@media (max-width: 1060px) {
  .tk-donation-buttons .donate-btn {
    width: 98%;
  }
}

@media (max-width: 1020px) {
  img.nick-cutout {
    width: 340px;
  }
.takeover-left iframe {    width: 100%;}
  .takeover-text {
    padding-left: 0px;padding-top:20px;
}
.takeover-right h1 {padding-bottom:0px}
.takeover-top {
  padding: 20px 20px 0px;}
  .takeover-top {
    padding: 20px 20px 0px;}

  .takeover-bottom{padding-left:0; padding-right:0;}
  .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) {

  .mobile-footer {
    display: block;}
  .social-icons.mobile-footer {
    margin-top: 15px;
    margin-bottom: 30px;
  }
  .desktop-footer {
    display: none;
  }
  .meet-boxes .meet-content {
    padding: 40px 35px 40px;
  }
  .meet-content {
    padding: 40px 65px 60px;
  }
  .why-running {
    padding: 40px 0 20px;
  }
  .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-links {
    flex-direction: column-reverse;
    gap: 30px;
  }
  footer .menu-wrap {
    flex-direction: column;
    max-width: 220px;
    width: 100%;
    margin: 0 auto 30px;
  }

  .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;
      padding: 20px 0px 30px 0px;
    gap: 20px;
  }
  footer div,
  footer a {
    margin: 0 auto;
  }

  .footer-contact p {
    text-align: center;
  }

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

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

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

  .meet-image {
    width: 100%;
  }

  .meet-image img {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 20px;
  }

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

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

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

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

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

  .endorsement-card {
    width: 45%;
  }

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

  .donation-section h2 {
    text-align: center;
  }
  .meet-box {
    flex-direction: column;
  }

  .meet-photo {
    max-width: unset;
    width: 100%;
  }
  .meet-photo img {
    max-height: 500px;
    object-position: 0% 3%;
  }

  .box-1 .meet-photo img {

    border-top-right-radius: 20px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  
  .box-3 .meet-photo img {

    border-top-right-radius: 20px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }
}

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

@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;
  }

  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;
  }

  .meet-section .container {
    margin-top: -135px;
  }
  .home .takeover-inner {
    width: 95%;
    margin-top: 0px;
  }
}

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

@media screen and (max-width: 768px) {
  .header-top #menu-header a {
    display: inline-block;

    font-size: 14px;
    margin: 0px 0px 0px 10px;
  }

  .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;
  }

  .hero-section h1 {
    font-size: 42px;
    margin-bottom: 10px;
  }

  .meet-content h2,
  h2.why-title,
  .donation-section h2,
  .featured-endorsements h2,
  .endorsement-organizations h2,
  .all-endorsements h2 {
    font-size: 35px;
  }
}

@media (max-width: 700px) {
  #takeover .donate-btn {padding: 15px 24px;}
  .takeover-closed .hero-mobile img {display: flex;}
  .page-id-145 .at-title {font-size: 19px;}

  .page-id-145 .at-form-submit .at-submit {

    margin-top:0px !important;}

  .why-running .container {
    gap: 30px;
  }
  .meet-boxes .meet-content {
    padding: 30px 25px 20px;
  }
  .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: 80px 5px 20px;
  }

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

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

  .donation-section .donation-buttons a {
    min-width: 100%;
  }
  .hamburger {
    display: inline-block !important;
    position: relative;
    right: 0px;
    top: 25px;
  }

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

  .mobile-nav li {
    list-style: none;
  }
  .mobile-nav {
    display: none; /* Hide it initially */
    position: fixed;
    max-height: 0;
    height: 100vh;
    z-index: 1000;
    padding-bottom: 30px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: #253353;
    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 {
    display: none;
  }

  .at-row.EmailAddress {
    margin-top: 0px;
  }
  .home .hero-section {
    background-image: unset;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: unset;
    margin: -10px 0;
  }

  .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;
  }

  .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;
    padding-top: 0px;
  }

  .endorsement-list {
    gap: 20px;
  }

  .page-template-default .basic-page-wrapper {
    margin-top: 0px;
  }
  .privacy-policy .second-hero,
  .second-hero {
    min-height: 350px;
  }
  .home .hero-section {
    background-position: center;
    background: #9eccfa !important;
  }
  .meet-content h3 {
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 2.5px;
    text-transform: uppercase;
  }
  .page-template-default .basic-inner {
    padding: 20px 30px;
  }
  .page-template-404-php .basic-page-wrapper {
    min-height: 600px;
  
    padding-top: 110px;
    padding-bottom: 90px;
  }
}

@media (max-width: 650px) {
  .takeover-right h1 {
    font-size: 26px;
    max-width: 290px;
}
  .tk-logo-container {
    margin-bottom: 100px;
}
  .takeover-right h1{
    padding-bottom:20px;}
  .why-running {
    padding: 40px 0 10px;
  }
  .meet-section .container {
    margin-top: -175px;
  }

  .takeover-disclaimer {
    margin: 10px auto 0px;
  }

  .box-2 {
    margin-bottom: -220px;
  }
  .meet-content {
    padding: 40px 20px;
  }
  .takeover-bottom {
    padding: 5px 20px 30px;
  }
  .takeover-text {
    padding: 20px 30px 0 30px;
  }
}

@media (max-width: 533px) {
  .meet-bottom {
    margin-top: 5px;
  }

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

  .endorsement-item,
  .endorsement-card {
    width: 100%;
    align-items: center;
  }

  .endorsement-details {
    text-align: center;
  }
  .event-form h2 {
    text-align: center;
  }
}

@media (max-width: 500px) {

    .tk-donation-buttons .donate-btn {
      width: 45% !important
    }
  
  /* #takeover #home-link {display: none;} */
  .home .takeover-inner {
    width: 85%;}
  #home-link {
    margin-top: 0px;
  }
  .takeover-inner {
    margin-bottom: 25px;}
    #home-link {
  
      width: 80%;
      min-width: fit-content;}

    .takeover-container .header-logo {
      left: -8px;
      top: 20px;
      width: 120px;
  }
    .tk-logo-container {
      margin-top: 10px;
      padding-bottom: 0px;
      margin-bottom: 80px;
  }

  .meet-boxes .meet-content {
    padding: 30px 20px 20px;
  }
  .second-hero h1 {
    font-size: 40px !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  .takeover-text {
    padding: 10px 0px 0 0px;
}
  .takeover-bottom {
    padding: 5px 20px 5px;
  }
  .takeover-right h1 {
    padding-bottom: 10px;
}
  .privacy-policy .second-hero,
  .second-hero {
    min-height: 330px;
  }
}

@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;
  }
  .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;
  }

  #takeover #closebtn {
    position: absolute;
    top: 20px;
    right: 15px;
  }
}

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

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