@media (min-width: 1500px) {
  .page-id-132 #masthead,
  .page-id-452 #masthead {
    height: 650px;
    background-position: top center;
  }
}

@media (max-width: 1500px) {
  #masthead {
    background-size: 110% auto;
  }
}

@media (max-width: 1400px) {
  .inner {
    width: 90%;
  }

  #header .inner {width: 100%;}

  #masthead {
    background-size: 120% auto;
  }


  #navigation .menu-item-146 a,
  #navigation ul li.menu-item-146 a {
    padding: 15px 10px;
  }

  .headersocial {
    margin-left: 20px;
  }

  #masthead {    background-position: 70% 100% !important;}
}

@media (max-width: 1200px) {
  #navigation ul li a {

    font-size: 13px;
  }

  #footer ul li a {font-size:13px !important;}

  
  #navigation .menu-item-146 a,
  .not-front #navigation ul li.menu-item-146 a {
    padding: 15px 15px;
  }

  #masthead {
    background-size: cover;
    background-position: 55% 30%;
}
  .headersocial a {
    margin-right: 5px;
  }

  #mobilenavigation .headersocial a {
    margin-left: 5px;
    margin-right: 5px;
  }
  #mobilenavigation .headersocial {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  #splashleft h2 {
    font-size: 26px;
    line-height: 31px;
  }
}

@media (max-width: 1100px) {
  .meet-div .meet-left {width: 100%;}
  .meet-div .meet-right {width: 100%;}
  .meet-bottom img {
    height: auto;

    object-fit: cover;
  }
  .meet-div .meet-right img {
    border-radius: 0px;
    width: 100%;
    height: auto;
    flex-grow: 1;
    max-width: 500px;
    width: 41%;
    height: 300px;
    object-position: top;
    object-fit: cover;}

  .meet-div{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:20px;
  }

  .meet-div  .meet-content {
    padding-left: 0;
    margin-top: 20px;
    width: 100%;
  }

  .meet-bottom {
    justify-content: space-around;
  }
  #footernavigation ul li a {
    font-size: 15px;
  }

  #footer p.disclaimer {
    font-size: 13px !important;
    max-width: 500px;
    margin: 0 auto;
    width: 90%;
  }

  #footer .footerright a,
  #footer .footerright p {
    font-size: 14px;
  }
  .inner {
    width: 90%;
  }

  .home #masthead  .inner {
    width: 100%;
  }

  #masthead .inner {
    width: 90%;
}

  #footernavigation ul li {
    margin-right: 10px;
  }

  #masthead {
    background-size: cover;
  }

  #logo {
    width: 14%;
  }

  #navigation {
    width: 85%;
  }
  .footerleft, .footerright {    max-width: 200px;}
}

@media (max-width: 1000px) {
  .section .card h4 {
    color: var(--Navy, #0E2D52);
    padding-top: 10px;
    font-size: 22px;
    line-height: 1.2;}
  #footer .footersocial {    display: flex
    ;
        flex-direction: row;
        justify-content: center;
        align-items: center;}
  #footer-btns {display:flex;flex-direction:column;gap:10px;justify-content:center;align-items:center;}

  #footer .footersocial a:last-child {margin-right:0px !important;border-right:none !important;}
  #footer .footer-top #logo {
    margin-left: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-right: auto;}
    #footer .volunteer-li, #footer .donate-li {width:200px; text-align:center !important;border-right:none !important;}
    #footer .volunteer-li a, #footer .donate-li a {font-size:18px !important;padding:10px 5px !important; width: 200px;}
    #footer .volunteer-li {margin-top:25px;margin-bottom:10px;}
    #footer .volunteer-li a {background-color:#0E2D52 !important;color:white !important;border:2px solid #0E2D52 !important;}
    #footer .volunteer-li a:hover{color:#0E2D52 !important;background-color:white !important;border:2px solid #0E2D52 !important;}

    #footer #menu-header-2 li a {font-size:18px !important;}
  #menu-header-2 {gap:20px; padding-bottom:20px;}
  #footer .donate-li, #footer .donate-li a{
    width: 180px;}
  .footer-top {    display: flex
    ;
        flex-direction: column;
        justify-content: center;
        height: fit-content;
        align-items: center;}
        #menu-header-2 {flex-direction: column;justify-content: center;align-items: center;}
        #menu-header-2 li {height: fit-content !important;width: 290px;border-right:none !important;}
        #menu-header-2 li a {border-right:none !important;}

        .footer-nav {    display: flex
            ;
                flex-direction: column;
                justify-content: center;
                height: fit-content;
                align-items: center;}
                
  #footerbottom {flex-direction:column;align-items:flex-start;justify-content: center;}
  #footerbottom * {text-align: center;}
  .footerleft, .footermiddle,.footerright {    width:95%;max-width: 95%;margin: 0 auto;}
.footermiddle {max-width:330px;margin-top:15px}
.footerright *{text-align:center !important;}
.footerright {order:2 !important;margin-top:15px}
.footerleft {order:1 !important;}
.footermiddle {order:3 !important;}
 .footerbottom span {    font-size: 12px;}
  .takeoverleft,
  .takeoverright {
    width: 100%;
  }

  .takeoverleft {
    margin-bottom: 20px;
  }

  #takeovercontent h1 {
    font-size: 32px;
    line-height: 37px;
    margin-bottom: 10px;
  }

  .headersocial {
    margin-left: 9px;
  }

  .headersocial svg {
    width: 20px;
    height: auto;
  }
}

@media (max-width: 900px) {
  #logo img {

    margin-top: -26px;}
  .issuerow a.buttontoggle {

    top: 11px;} 
  .not-front #masthead {    padding-top: 90px !important}
  .page-id-70 #masthead {    padding-top: 68px !important}
  .supportus .donatebuttons a {
    width: calc(32% - 9px);
    margin-bottom: 10px;
}
.not-front #masthead h1 {
 
  padding-bottom: 25px;}

.supportus .donatebuttons a{
  background: #dc1e34cd;
  color: white;
}

.supportus .donatebuttons a:hover{
  background: transparent;
  color: white;
}
.supportus {margin-top:0px;}

.supportus h3 {text-align: center;}
  label.at-text.error small.error,
.at-row label.StateProvince small.error,
.at label.at-text.error {
padding-left:0px !important;
  margin-bottom: 10px !important;

}
  #splashleft {
    padding: 10vh 0 10px;
}
  #takeovercon.youtubecon {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0.3)), url('/wp-content/themes/blueprintinteractive/images/404-back.png') !important;
    background-position: right;
  }

  #takeover #closebtn {

    background: rgba(0, 0, 0, .5);}
  .home .mobile-hero-image {
    display: block;
    border-radius: 0px;
    width: 100%;}
  .page-id-132 .whitesection,
  .page-id-452 .whitesection {
    padding-top: 20px;
  }
  .altrow .card .frame-container {
    max-height: 450px;
  }
  .page-id-132 #masthead .herocontent,
  .page-id-452 #masthead .herocontent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  .page-id-132 #masthead .herocontent *,
  .page-id-452 #masthead .herocontent * {
    text-align: center !important;
    margin-bottom: 0px;
  }
  #logo svg {
    max-width: 100px;
  }
  #header {
    padding: 10px 0;
  }
  #splashright {
    width: 60%;
  }
  #masthead {
    margin-top: 0px;
  }
  .large_button {
    max-width: 95%;
  }

  #splashleft{
    width: 30%;
  }
  #splashleft img {margin: 0 auto;}
  #splashleft h2 {text-align: center;}
 

  .quote.section {
    padding: 10px 0 50px 0;
  }
  .contentleft,
  .contentright {
    width: 100%;
  }

  .whitesection {
    padding-bottom: 0px;
  }
  .contentleft {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .altrow .card {
    width: 100%;
  }

  .quotecontent .bars {
    width: 10%;
  }

  .quote.section h2 {
    width: 80%;
  }

  h2,
  .section h2,
  .quote.section h2 {
    font-size: 34px;
    line-height: 44px;
  }

  .smallbars {
    width: 3%;
  }

  .altrow .card {
    margin-bottom: 10px;
  }

  .donatebuttons {
    max-width: 100%;
    margin: 0 auto 10px;
  }

  .donatebuttons a {
    width: 100%;
    margin-bottom:10px;
  }

  #takeoverleft {
    width: 100%;
  }

  #takeoverright {
    width: 100%;
  }

  .callout p {
    width: 100%;
  }

  .numbergrid {
    width: 100%;
    display: block;
  }

  .numberitem {
    padding: 0;
  }

  .altrow .card img {
    margin-bottom: 20px;
  }

  .supportus.section .inner {
    width:85%;
  }

  .twocolrow .colleft,
  .twocolrow .colright {
    width: 100%;
  }

  .orangesection.largequote .bars {
    width: 7%;
  }

  .orangesection.largequote h2 {
    font-size: 28px;
    line-height: 34px;
    width: 82%;
  }

  .subheader {
    width: 100%;
  }

  .issues {
    display: block;
  }

  .issueitem {
    margin-bottom: 20px;
    padding: 25px 15px;
    display: block;
  }

  .issueitem h5 {
    top: 0;
    transform: none;
    font-size: 15px;
    line-height: 20px;
  }

  #titlebar h1 {
    font-size: 32px;
    line-height: 37px;
  }

  .callout p {
    font-size: 25px;
    line-height: 30px;
  }

  .subheader {
    min-width: 0;
  }

  #footerlogo {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  #footernavigation {
    margin-bottom: 30px;
    float:none;
  }

  #footer .footerright p {
    text-align: center;
  }

  #footernavigation {
    width: 100%;
    text-align: center;
  }

  #footertop {
    margin-bottom: 20px;
  }

  .footerleft,
  .footerright,
  #footer p.disclaimer,
  .footersocial {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    text-align: center;
  }

  .footersocial {
    margin-left: 0;
    border: none;
  }

  #footer p.disclaimer {
    padding: 10px 5px;
  }

  .footerright {
    margin-bottom: 0;
  }

  #footernavigation ul li {
    margin-right: 0;
    display: block;
    margin-bottom: 10px;
    margin-left: 0px;
  }

  #footernavigation ul li:last-child {
    margin-bottom: 0;
    margin-top: 20px;
  }

  #footerlogo {
    margin-bottom: 40px;
  }

  .callout p {
    text-align: left;
  }

  .mobileonly {
    display: block !important;
  }

  .desktoponly {
    display: none !important;
  }

  .pagenotfound h1 {
    font-size: 175px;
    line-height: 180px;
  }

  .pagenotfound h2 {
    font-size: 25px;
    line-height: 30px;
  }

  #pagenotfoundbtn {
    font-size: 18px;
    line-height: 24px;
    padding: 20px 45px;
  }

  #tkleft {
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0;
  }

  #tkright {
    width: 100%;
  }

  body.home.takeover-open {
    /* height:auto !important;
	    overflow:visible !important; */
    margin-top: 0 !important;
  }

  body.page-id-451.takeover-open {
    /* height:auto !important;
	    overflow:visible !important; */
    margin-top: 0 !important;
  }

  #takeover {
    height: 100%;
  }

  .takeover-closed #takeover {
    display: none;
    height: 0;
    margin-top: 0 !important;
  }

  .home #masthead {
    background: #004B6C;

    margin-top: 20px;
    padding: 30px 0 0px;
  }

  .home #masthead {
    background-image: none !important;
  }

  .home #masthead {
    margin-top: 0px;
    height: fit-content;
  }


  /* .not-front #masthead {
    min-height: fit-content;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 90%;
    height: 90px;
    border-radius: 30px;
    margin-top: 20px;
  } */

  /* .not-front #masthead .herocontent h1 {
    margin-top: 0px;
    margin-bottom: 0px;
  } */
  #mastheadcontent {
    width: 100%;
    top: 0;

    transform: none;
    max-width: 100%;
  }

  .at label.at-text input {
    font-size: 14px !important;
    letter-spacing: 0.6px !important;
  }

  .card .smallbars {
    left: -25%;
  }

  #masthead h1 {
    font-size: 44px;
    line-height: 50px;
  }

  #masthead p {
    font-size: 12px !important;
    line-height: 20px;
  }

  .supportus.section h3 {
    font-size: 30px;
    line-height: 35px;
    text-align: center;

  }

  .supportus.section .inner {
    max-width: 500px;
  }

  .orangesection + .whitesection {
    padding-top: 50px;
  }

  .issuerow {
    padding: 20px;
  }

  .issuerow h2 {
    font-size: 26px;
    line-height: 31px;
    width: 80%;
  }

  .numberitem h5 {
    font-size: 24px;
    line-height: 30px;
  }

  .altrow,
  .altrow.image-left,
  .altrow.image-right {
    flex-direction: column;
   padding: 50px;
  }

  .altrow .card {
    width: 100%;
    margin-bottom: 10px;
  }

  .altrow.image-right .card:first-child,
  .altrow.image-left .card:first-child {
    margin-right: 0;
    margin-left: 0;
  }

  #logo {
    width: 40%;
  }



  #header #logo {width:150px;margin-top:10px;}

  #footerbottom {
    text-align: center;
  }

  #footer p.disclaimer {
    width: 100%;
  }

  .footermiddle {
    width: 100%;
  }

  #footeraddress {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .mobile-hero-image { 
    display: block;
    width: 90%;
    border-radius: 0px;;
    height: auto;
    max-height: 780px;

    margin: 0 auto;
    object-fit: cover;
    object-position: top;
    margin-bottom: 0px;
  }

  .home #masthead {padding-top:0px !important;}

  #masthead .herocontent h1 svg {
    display: none;
  }

  .gallery img {
    width: 100%;
    margin: 0 0 20px 0;
  }

  #masthead .section h1 {
    margin-top: 0px;
  }

  .endorsements_section .endorsementitem {
    width: 50%;
    padding: 0 15px;
    border-left: 1px solid #7944cc;
    margin-bottom: 30px;
  }

  .endorsements_section .endorsementitem:nth-child(4n + 1) {
    border-left: 1px solid #7944cc; /* Reset the desktop rule */
  }

  .endorsements_section .endorsementitem:nth-child(2n + 1) {
    border-left: none; /* Apply border removal to every other item on mobile */
  }

  #mastheadcontent {
    width: 100%;background: rgba(255, 255, 255, 1);
    float: none;
  }

  .supportus {
    height: auto;
    padding: 40px 0;
  }

  .supportus .contentleft {
    display: none;
  }

  .supportus.section .inner {
    top: 0;
    transform: none;
  }

  .frame-container {
    margin: 0;
  }


}

@media (max-width: 800px) {
  .meet-right img:last-child {
    display: none;
  }
  .meet-bottom {
    display: flex;
  }
  .meet-right img:nth-child(n + 2) {
    display: none;
  }
  .meet-div  .meet-image img {
    width: 100%;
  }
  .meet-div .meet-right img {
    width: 100%;
    object-position: top;
    height: auto;
    object-fit: cover;
    min-height: unset;
    border-radius: 0px;
    max-width: unset;
    object-fit: cover;
    border-radius: 0px;
  }
  .meet-div .meet-right {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  }
  .meet-div {
    flex-direction: column-reverse;
  }

  .meet-div > div {
    width: 100% !important;
  }
  #splashleft {
    width: 100%;
  }

  #splashright {
    display: none;
  }



  #splashleft h2 svg {
    width: 80%;
  }

  #tkbuttons a {
    padding: 10px 45px;
  }

  #takeovercon.non-youtubecon #tkbuttons a {
    width: 100%;}
}

@media (max-width: 700px) {
  .page-id-687 .altrow.image-right {    padding-top:0px !important; flex-direction: column !important;
    width: 100%;} 
    .page-id-687 .altrow.image-right.inner {padding-top:0px !important; padding-bottom:0px !important;}
    .page-id-687 .altrow.image-right .content-card {width:90%; margin: 0 auto;}
    .page-id-687 .altrow.image-right .image-card {width:90%; margin: 0}
    .page-id-687 .altrow.image-right .image-card img {    max-height: 240px;
      min-height: unset;
      margin-top: 10px;
      margin-bottom: 10px;
  }
    


  #takeovercon.non-youtubecon .inner #splashleft {
    width: 100%;
    margin: 0 auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}
#splashleft h2 {
  font-size: 31px;}

#takeovercon.non-youtubecon {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0.5)), url('/wp-content/themes/blueprintinteractive/images/404-back.png') !important;
  background-position: center;
}

  .endorsements_section h3 {
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
  }
  .endorsements_section {
    padding-top: 0px;
    padding-bottom: 30px;
  }
  #takeovercontent {
    display: block;
  }
  #masthead h1 {
    font-size: 32px;
    line-height: 37px;
  }

  .home #masthead {
    height: auto;
  }

  .page-id-451 #masthead {
    height: auto;
  }

  #masthead .herocontent h1 {
    font-size: 32px;
    line-height: 37px;
  }

  #masthead .herocontent {
    width: 100%;
    text-align: center;
  }

  .page-id-3 .whitesection {padding-top:40px;}
}

@media (max-width: 600px) {
  .issuerow h2 {
    font-size: 27px !important;}
  .supportus .donatebuttons a {
    width: calc(50% - 10px);

}
  #masthead h1 {
    margin-top: 10px;
  }
  .endorsements_section .endorsementitem {
    width: 100%;
    padding: 0 10px;
    border-left: none;
    margin-bottom: 25px;
    border-bottom: 1px solid #7944cc;
    padding-bottom: 20px;
  }

  .endorsements_section .endorsementitem:last-child {
    border-bottom: none;
  }
  .not-front #masthead .herocontent h1 {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .meet-bottom img {
    flex-grow: 1;
    object-fit: cover;
    max-width: 100% !important;
    width: 100% !important;
    max-height: 350px;
  }
  .meet-div {
    gap: 20px;
  }
  .meet-bottom {
    margin-top: 20px;
  }
}

@media (max-width: 500px) {
  /* #header {    height: 80px;} */
  #mobilenavigation #mobilenavcon {
    display: block;
    text-align: center;
    top: 70px;
    width: 260px;}
}

@media (max-width: 450px) {
  .section ul, .section ol {
   
    margin-left: 30px;}
  .meet-div .meet-right img {
    border-radius: 0px;
    object-fit: cover;
  }
  .meet-div .meet-right {
    gap: 10px;
  }
  .meet-div .meet-left,
  .meet-div .meet-right {
    min-width: unset;
  }
}



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

@media (max-width: 350px) {
  #masthead .herocontent h1 svg {
    display: none;
  }
  #masthead .herocontent h4 {
    text-align: center;
  }
}
