@media (min-width: 851px)and (max-width: 1281px){

  ul#mainMenu {
    width: 100%;
    padding: 0 0 0 0;
    margin: 0;
    background: #dff698;
  }

  ul#mainMenu li {
    font-size: 1.2em;
  }
 ul#mainMenu li a{
      font-size: 100%;
  }

}  /* end (min-width: 851px)and (max-width: 1281px) */


@media (min-width: 701px)and (max-width: 851px){
  #header {
   width: 100%;

  }

  ul#mainMenu {
    width: 100%;
    padding: 0;
    margin: 0;
    background: #dff698;
  }
img#VECLogo {
    width: 100%;
    max-width: 140px;
    height: auto;
}

#mainContent .titleBox {
    padding-left: 0;
}
#container #preForm h2 {
    margin-left:0;
    text-align:center;
    font-size: 18px;
}

} /* end (min-width: 701px)and (max-width: 851px) */

@media (max-width: 44em){
  #wrapper {
    background: transparent;
  }

 #subWrapperHome {
  max-width: 98%;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  background-color: transparent;
  position: relative;
}
#subWrapperOther {
  width: 100%;
}

#membershipColumns #homePageImg {
    max-width: 100%;
}
#membershipColumns {
    flex-direction: column;
}
img#homeImg {
  max-width:100%
}
  ul#mainMenu {
    width: 100%;
    padding:0;
    margin: 0;
  }
.highlightCard > ul > li {
    list-style: none;
    position: relative;
    padding-left: .75em;
    text-indent: 0;
}
.highlightCard > ul > li::before {
        content: "\2022";
    position: absolute;
    left: 0;
}

ul.sublist1 {
    padding-left: .5em;
    margin-bottom: .3em;
}
#wrapper {
  flex-direction: column;
  gap: 0;
  text-align: center;
  padding: 0 1em;
}
#header {
  padding: 0 1em;
}
nav.topMenu {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  min-height: 56px;
  gap: 0.6em;
}
img#VECLogoSmall {
  max-height: 70px;
  max-width: 150px;
}

#mainContent .fltlft{
    float:none;
    width:100%
}
#mainContent .fltrt {
    float:none;
    width:100%;
}


#mainContent .contentLeft .areaServed h3 {
    font-size: 1.5em;
    margin-top: 1em;
    padding-bottom: 0;
    font-weight: bold;

}

#mainContent .noCost {
    display:none;
}
#mainContent.twoColSplit, .twoColSplit {
    flex-direction: column;
    align-items: stretch;
    gap: 1em;
}

img#mapImg {
    margin-top: .3em;
    width: 103%;
}
#mainContent .titleBox {
    padding: 0;
    text-align: center;
}
#threeColumns {
    grid-template-columns: 1fr;
}
#threeColumns h3 {
  font-size: 2em;
}
#threeColumns ul {
    padding: 1em;
}

#columnOne, #columnTwo, #columnThree{
    padding: 1em;
    margin: 1em 0;
    border-radius: 36px;
    background:#454a9f;
    color: #fff;
}
#columnTwo {
    background: radial-gradient(at bottom right, #eeffba 10%, #b2d0f4 100%);
    color: #000;
}
#footer  #footerText a p.partnerText {
      display:none;
  }
 nav.topMenu {
    background-color:#dff698;
    text-overflow:ellipsis;
    min-height:50px;
    box-sizing:border-box;}

  #hamburgerBtn {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 14px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    padding: 0;
    cursor: pointer;
    z-index: 10000;
  }

  ul#mainMenu.topNav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    max-width: none;
    margin: 0;
    padding: 6rem 2rem 2rem;
    box-sizing: border-box;
    background-color: rgba(223, 246, 152, 0.93);
    border: none;
    box-shadow: none;
    overflow-y: auto;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  ul#mainMenu.topNav.show-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  ul#mainMenu.topNav li {
    width: 100%;
    text-align: left;
    margin: 0 0 0.5em 0;
    font-size: 1.3em;
  }

  ul#mainMenu.topNav li a {
    display: block;
    padding: 0.4em 0;
  }

  body.menu-open {
    overflow: hidden;
  }
 a.menuLinkContent {
     font-size:100%;
 }
 a.menuLinkContent {
     font-size:100%;
 }
form#contactus fieldset {
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
}

#container #preForm h2 {
    text-align:left;
    font-size: 18px;
}
#mainContent .photosLeft {
    width: 100%;
}
#homePageImg .heroTagline{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 88%;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.72);
    color: #dff698;
    text-align: center;
    font-size: clamp(.5rem, 0.5rem + 1.8vw, 2.75rem);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out 1.5s forwards;
}
} /* end (max-width: 44em) */

/* Side-by-side layout (44.01em and up): photo wraps text instead of leaving empty space below a shorter photo */
@media (min-width: 44.01em) {
        .homeImageBlock {
        order: 3;
    }
    #whySection.twoColSplit, #whoSection.twoColSplit {
        display: flow-root;
    }
    #whySection .photoCol, #whoSection .photoCol {
        width: 60%;
        margin-bottom: 1em;
    }
    #whySection .photoCol {
        float: right;
        margin-left: 2em;
    }
    #whoSection .photoCol {
        float: left;
        margin-right: 2em;
    }

}   /* end (min-width: 44.01em) */
/* Tablet-width nav collapse + logo reposition (44.01em-66em) - keeps the full nav from wrapping awkwardly before it's needed */
@media (min-width: 44.01em) and (max-width: 66em) {
    #wrapper {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    #subWrapperHome, #subWrapperOther {
        width: 100%;
    }
    #subWrapperHome {
        max-width: 98%;
    }
        #membershipColumns {
        flex-direction: column;
    }
    #contactSection.twoColSplit {
        flex-direction: column;
        align-items: stretch;
        gap: 1em;
    }
       #header {
        padding: 0 1em;
    }
        nav.topMenu {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        min-height: 88px;
        gap: 0.6em;
    }
    img#VECLogoSmall {
        max-height: 80px;
        max-width: 150px;
    }
        #threeColumns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }
    #threeColumns > :last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.5em);
    }
    #columnOne, #columnTwo, #columnThree {
        max-width: 460px;
    }
    #hamburgerBtn {
        display: inline-block;
        position: absolute;
        top: 10px;
        right: 14px;
        width: 44px;
        height: 44px;
        line-height: 44px;
        text-align: center;
        background: rgba(0, 0, 0, 0.35);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 1.5rem;
        padding: 0;
        cursor: pointer;
        z-index: 10000;
    }
    #homePageImg .heroTagline {
    font-size: clamp(1rem, 0.25rem + 1.8vw, 2.75rem);
        bottom: 32%;
    }

    #mainContent > #homePageImg {
        aspect-ratio: 16 / 7;
        }
    ul#mainMenu.topNav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        max-width: none;
        margin: 0;
        padding: 6rem 2rem 2rem;
        box-sizing: border-box;
        background-color: rgba(223, 246, 152, 0.93);
        border: none;
        box-shadow: none;
        overflow-y: auto;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    }
    ul#mainMenu.topNav.show-menu {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        transition-delay: 0s;
    }
    ul#mainMenu.topNav li {
        width: 100%;
        text-align: left;
        margin: 0 0 0.5em 0;
        font-size: 1.3em;
    }
    ul#mainMenu.topNav li a {
        display: block;
        padding: 0.4em 0;
    }
    body.menu-open {
        overflow: hidden;
    }

}   /* end (min-width: 44.01em) and (max-width: 66em) */

/* Desktop (above tablet breakpoint): split nav flanking a centered logo */
@media (min-width: 66.01em) {
    nav.topMenu {
        justify-content: center;
    }
    #subWrapperHome {
        max-width: 95%;
    }
    #threeColumns {
        max-width: 1320px;
        margin: 0 auto;
    }
      #membershipColumns {
        align-items: stretch;
    }
    #membershipColumns #homePageImg img {
        height: 100%;
        object-fit: cover;
        object-position: 10% center;
    }
    #navLogoLink {
        order: 4;
    }
    ul#mainMenu.topNav {
        display: contents;
    }
    ul#mainMenu.topNav li:nth-child(1) { order: 1; }
    ul#mainMenu.topNav li:nth-child(2) { order: 2; }
    ul#mainMenu.topNav li:nth-child(3) { order: 3; }
    ul#mainMenu.topNav li:nth-child(4) { order: 5; }
    ul#mainMenu.topNav li:nth-child(5) { order: 6; }
    ul#mainMenu.topNav li:nth-child(6) { order: 7; }
}