.nunito-sans-font {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1000;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 500;
}

:root {
    --black: #000;
    --white: #fff;
    --blue: #3d4866;
    --orange: #fb5d3a;
    --grey: #ced0d5;
    --inner-width: 80%;
    --max-width: 1400px;
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16.5px;
}

p {
    line-height: 23.5px;
    font-weight: 400;
}

h1 {
    font-size: 3.75em;
}

h2 {
    font-size: 3vw;
}

h3 {
    font-size: 2.25;
}

h4 {
    font-size: 1.75em;
}

.orange-btn {
    padding: 10px 30px;
    background: var(--orange);
    color: var(--white);
    font-size: 1.25em;
    font-weight: 300;
    text-align:center;
}

@media screen and (max-width:650px) {
    h2 {
        font-size: 4.5vw;
    }
}

h3 {
    font-size: 1.75em;
}

a {
    text-decoration: none;
    color: var(--orange);
}

.topheader {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 50px;
}

.top-header-mobile {
    display: none;
}

@media screen and (max-width:900px) {
    .topheader {
        display: none;
    }

    .top-header-mobile {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas: ". .";
    }

    .top-header-mobile a {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        padding: 10px 0;
    }

    #top-mobile-orange {
        background: var(--orange);
    }

    #top-mobile-blue {
        background: var(--blue);
    }
}

.topmenuitem {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-blue {
    padding: 20px 30px;
    color: var(--white);
    background: var(--blue);
}

.top-orange {
    padding: 20px 30px;
    color: var(--white);
    background: var(--orange);
}

.lowernav {
    width: 100%;
    height: auto;
    display: flex;
    padding: 1.5% 0;
    /* position: fixed; */
    position: absolute;
    z-index: 10;
    align-items: center;
    justify-content: center;
    /* margin-top:50px; */
    transition: .5s ease-in-out;
    background: rgba(61, 71, 102, 0);
}

/* The Overlay (background) */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-container {
    width: 85%;
    height: auto;
    min-height: 85%;
}

.overlay-section {
    width: 100%;
    height: auto;
    display: flex;
}

.overlay-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.overlay-inner:nth-of-type(1) {
    justify-content: flex-start;
}

.overlay-inner:nth-of-type(1) img {
    width: 200px;
    height: auto;
}

.overlay-inner:nth-of-type(2) {
    justify-content: flex-end;
}

.overlay-section:nth-of-type(1) {
    grid-area: os1;
    min-height: 50px;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 25px;
    border-bottom: 1px solid var(--orange);
    padding-bottom: 20px;
}

.overlay-section:nth-of-type(2) {
    grid-area: os2;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-inner-wrapper {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}

.overlay-inner-item {
    width: 100%;
    height: auto;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.overlay-inner-item a h3 {
    margin: 0;
    padding: 0;
    float: left;
}

.overlay-inner-item ul li a {
    color: var(--black);
}



/* The navigation links inside the overlay */
/* .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
} */

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
    /* transform: scale(1.5); */
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
}


/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


/* @media screen and (max-width:900px) {
    .lowernav {
        display: none;
    }


} */

.nav-colored {
    background: rgba(61, 71, 102, .85);
}

.nav-transparent {
    background: rgba(255, 255, 255, 0);
}



.lowernavcontainer {
    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-template-areas: ". .";
}

#mobile-logo {
    display: none;
}

.lowernavitem {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}

.lowernavitem:nth-of-type(1) {
    justify-content: flex-start;
}

.lowernavitem:nth-of-type(2) {
    justify-content: flex-end;
}

.lowernavitem:nth-of-type(2) i {
    color: #fff;
    margin-right: 10px;
    font-size: 1.5em;
}

.lowernavitem img {
    width: 200px;
    height: auto;
}

.socialcontainertop {
    margin-right: 5%;
}

@media screen and (max-width:900px) {
    .lowernavitem img {
        width: 75%;
    }
}

.overlayitem:nth-of-type(1) {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlinnercontainer {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-template-areas: ". .";
    gap: 20px;
    padding: 1% 0;
}

.overlayitem:nth-of-type(2) {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width:900px) {
    .menucontainer {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas: ". .";
        gap: 20px;
    }
}

.inneroverlayitem {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}

.inneroverlayitem:nth-of-type(1) img {
    width: 250px;
    height: auto;
}

.inneroverlayitem:nth-of-type(1) {
    justify-content: flex-start;
}

.inneroverlayitem:nth-of-type(2) {
    justify-content: flex-end;
}

#open i {
    font-size: 2em;
    color: var(--blue);
}

#open i:hover {
    cursor: pointer;
}

#close {
    font-size: 1.5em;
    color: #F9563B;
}

.title {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.title a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.title h2 {
    color: #F9563B;
}

.title i {
    color: #414c69;
    margin-right: 5px;
}

.menuarea {
    border-left: 2px solid #F9563B;
    padding-left: 10px;
}

.menuarea ul li a {
    color: #3d4766;
    transition: .25s ease-in-out;
}

@media screen and (max-width:900px) {
    .menuarea ul li {
        margin-bottom: 7px;
    }
}

.menuarea ul li:hover a {
    color: #F9563B;
}

.menucontainer {
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.overlaymenu {
    width: 100%;
    height: auto;
    min-height: 200px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.overlaymenu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.overlaymenu ul li {
    list-style-type: none;
}

.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 1);
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: 10px 10px 50px #F9563B;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.overlay-content {
    position: relative;
    top: 10%;
    /* 25% from the top */
    width: 100%;
    /* 100% width */
    text-align: center;
    /* Centered text/links */
    /*margin-top:50px;*/
}

.overlay-content .nav {
    text-align: left;
    padding-left: 0;
    margin: 0;
}

.overlay-content .nav li {
    list-style-type: none;
}

.mobile-nav {
    display: none;
}

/*@media screen and (max-width:900px) {*/
/*    .mobile-nav {*/
/*        display: flex;*/
/*        flex-direction: column;*/
/*        background: green;*/
/*    }*/

/*    .mobile-nav-item:nth-of-type(1) {*/
/*        min-height: 50px;*/
/*        display: grid;*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*        grid-template-rows: auto;*/
/*        grid-template-areas: ". .";*/
/*    }*/

/*    .mobile-nav-btn {*/
/*        display: flex;*/
/*        align-items: center;*/
/*        justify-content: center;*/
/*        padding: 15px 30px;*/
/*        color: var(--white);*/
/*    }*/

/*    #mobile-orange-btn {*/
/*        background: var(--orange);*/
/*    }*/

/*    #mobile-blue-btn {*/
/*        background: var(--blue);*/
/*    }*/

/*    .mobile-nav-item:nth-of-type(2) {*/
/*        width: 100%;*/
/*        height: auto;*/
/*        display: grid;*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*        grid-template-rows: auto;*/
/*        grid-template-areas: ". .";*/
/*        background: var(--white);*/
/*        min-height: 50px;*/
/*        padding: 2.5% 0;*/
/*    }*/

/*    .mobile-nav-item:nth-of-type(2) img {*/
/*        width: 150px;*/
/*        height: auto;*/
/*    }*/

/*    .mobile-nav-lower-item {*/
/*        display: flex;*/
/*        align-items: center;*/
/*        justify-content: center;*/
/*    }*/
/*}*/


.overlay-mobile {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    /* Black fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/opacity */
    overflow-x: hidden;
    /* Disable horizontal scroll */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content-mobile {
    position: relative;
    top: 25%;
    /* 25% from the top */
    width: 100%;
    /* 100% width */
    text-align: center;
    /* Centered text/links */
    margin-top: 30px;
    /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay-mobile a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    /* Display block instead of inline */
    transition: 0.3s;
    /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay-mobile a:hover,
.overlay-mobile a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
/* .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
} */

/* **************
  nav styles end
  **************  */
.header-image {
    display: block;
    position: relative;
    min-height: 50vh;
}

.header-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-90%, -30%);
    line-height: 1em;
    color: var(--white);
    font-weight: 200;
    text-transform: uppercase;
}

.header-image-mobile {
    display: none;
}

@media screen and (max-width:900px) {
    .header-image {
        display: none;
    }

    .header-image-mobile {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }
}

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

.header-image h1 span {
    font-weight: 800;
}

.mobileheaderimage {
    display: none;
}

.header-image img {
    width: 100%;
    height: auto;
}

@media screen and (max-width:900px) {
    .mobileheaderimage {
        display: block;
    }

    .mobileheaderimage img {
        width: 100%;
        height: auto;
        margin-top: 50px;
    }

    .headerimage {
        display: none;
    }

    #excel-landing-mobile img {
        margin-top: 0 !important;
    }
}

/* ****************************
WHITE HOMEPAGE SLIDE UP SECTION
**************************** */

.white-slide-up {
    width: 80%;
    height: auto;
    padding: 2.5% 5%;
    background: var(--white);
    text-align: center;
    transform: translateY(-6em);
    box-shadow: 10px 10px 20px var(--blue);
    /* border: 1px solid var(--blue); */
}

@media screen and (max-width:900px) {
    .white-slide-up {
        width: 90%;
        transform: translateY(-1em);
    }
}

.white-slide-up p {
    font-weight: 700;
}

.white-slide-up::before {
    content: "";
    position: absolute;
    width: 100;
    height: 100;
    top: -25;
    left: -25;
    clip-path: polygon(68.5% 68.5%, 75% 25%, 75% 75%, 25% 75%);
    transform: rotate(-180deg);
    background-color: var(--blue);
}

.white-slide-up::after {
    content: "";
    position: absolute;
    width: 100;
    height: 100;
    bottom: -25;
    right: -25;
    clip-path: polygon(68.5% 68.5%, 75% 25%, 75% 75%, 25% 75%);
    background-color: var(--blue);
}

/* ****************************
WHITE HOMEPAGE QUOTE SECTION
**************************** */

.grateful {
    width: 100%;
    height: auto;
    padding: 1% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* min-height: 50vh; */
}

.grateful-item {
    width: 100%;
    height: auto;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grateful-item-wrapper {
    width: var(--inner-width);
    max-width: var(--max-width);
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transform: translateY(-50px);
}

@media screen and (max-width:900px) {
    .grateful-item-wrapper {
        transform: translateY(0);
    }
}

.grateful-item-wrapper h2 {
    color: var(--orange);
    font-weight: 200;
    padding: 0 5%;
    line-height: 1em;
    text-transform: uppercase;
}

.grateful-item-wrapper h2 span {
    font-weight: 800;
}

.grateful-item-wrapper p {
    color: var(--blue);
}

.grateful-item-wrapper p span {
    font-weight: 800;
}

.grateful-item-wrapper i {
    font-size: 5em;
    color: var(--orange);
}

.quote-section:nth-of-type(odd) {
    width: 20%;
    height: auto;
}

/* ******************
HOMEPAGE ICON AREA
****************** */

.icons {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom, var(--white) 20%, var(--grey) 20%, var(--grey) 30%);
    padding-bottom: 5%;
}

@media screen and (max-width:900px){
    .icons{
        background-image: linear-gradient(to bottom, var(--grey) 20%, var(--grey) 20%, var(--grey) 30%);
        padding:5% 0;
    }
}

.icon-wrapper {
    width: var(--inner-width);
    max-width: var(--max-width);
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1em;
    align-items: center;
    justify-content: space-evenly;
}

.icon-item {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-item i {
    color: var(--white);
    font-size: 3em;
    background: var(--blue);
    border-radius: 500px;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-item h1 {
    color: var(--blue);
    margin: 0;
    padding: 0;
}

@media screen and (max-width:900px){
    .icon-item h1{
        font-size:3em;
    }
}

.icon-item p {
    font-size: 23.5px;
    color: var(--blue);
    margin: 0;
    padding: 0;
    font-weight: 200;
    text-transform: uppercase;
}

.icon-item p span {
    font-weight: 800;
}

.icon-item img {
    width: 100px;
    height: auto;
}

/* ****************************
HOMEPAGE TESTIMONIAL SECTION
**************************** */

.testimonials {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5% 0;
}

.testimonials-wrapper {
    width: var(--inner-width);
    max-width: var(--max-width);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-item {
    width: 100%;
    height: auto;
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonial-item img {
    width: 100%;
    height: auto;
}

.testimonial-item h2 {
    color: var(--orange);
    font-weight: 200;
    padding: 0 5%;
    line-height: 1em;
    text-transform: uppercase;
}

.testimonial-item h2 span {
    font-weight: 800;
}

.testimonial-item i {
    font-size: 3em;
    color: var(--white);
}

.play-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

/* ************************
HOMEPAGE SUPPORT SECTION
************************ */

.support {
    width: 100%;
    height: auto;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/application/files/5117/1294/9066/help-support-nybg.webp');
    background-size: cover;
    background-position: center;
}

.support-container {
    width: var(--inner-width);
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.support-container h2 {
    color: var(--white);
    font-weight: 200;
    padding: 0 5%;
    line-height: 1em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.support-container h2 span {
    font-weight: 800;
}

.support-container p {
    font-weight: bold;
    font-size: 1.25em;
    text-align: center;
}

.support-btn {
    padding: 10px 35px;
    background: var(--white);
    color: var(--orange);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    border-radius: 100px;
}

/* **********************
SITEWIDE FOOTER STYLES
********************** */

footer {
    width: 100%;
    height: auto;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey);
    padding: 2.5% 0;
}


.footer-wrapper {
    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1em;
}

.footer-item {}

.footer-item h4 {
    margin: 0;
    padding: 0;
    color: var(--blue);
}

.footer-item ul {
    padding-left: 0;
}

.footer-item ul li {
    list-style-type: none;
    padding: 5px 0;
}

.footer-item ul li a {
    color: var(--blue);
}

/* ********************
INTERNAL PAGE STYLES
******************** */

.internal-header-image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.internal-header-image img {
    width: 100%;
    height: auto;
}

.internal-header-image-mobile {
    display: none;
}

@media screen and (max-width:900px) {
    .internal-header-image {
        display: none;
    }

    .internal-header-image-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 20vh;
    }

    .internal-header-image-mobile img {
        width: 100%;
        height: auto;
    }
}

.internal-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 5px solid var(--grey);
    padding: 5% 0;
    background: var(--white);
}

.internal-wrapper {
    width: 90%;
    max-width: 1440px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "ii1 ii1 ii1 ii2";
    gap: 1em;
}

@media screen and (max-width:900px) {
    .internal-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: "ii1" "ii2";
    }
}

.internal-item {
    width: 100%;
    height: auto;
    min-height: 300px;
}

.internal-item:nth-of-type(1) {
    grid-area: ii1;
}

.internal-item:nth-of-type(2) {
    grid-area: ii2;
}

.internal-item:nth-of-type(2) ul {
    border-left: 5px solid var(--orange);
    padding-left: 10px;
}

.internal-item:nth-of-type(2) ul li {
    list-style-type: none;
    margin-bottom: 10px;
}

.internal-item:nth-of-type(2) ul li a {
    font-size: 1.25em;
}

.internal-item p {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

.internal-item h2 {
    color: var(--orange);
    font-weight: 200;
}

.internal-item h3 {
    color: var(--blue);
    font-weight: 800;
    margin: 0 0 10px 0;
    padding: 0;
}

.spacer {
    width: 100%;
    height: 100vh;
    background: red;
}

/* **********************************
VIDEO SECTION ON 'OUR IMPACT PAGE'
********************************** */
.video {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video img {
    width: 100%;
    height: auto;
}

.video i {
    font-size: 10vw;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.trustee-outer {
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.trustee-container {
    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
    gap: 1em;
}

@media screen and (max-width:750px) {
    .trustee-outer {
        align-items: center;
        justify-content: center;
    }
}

.trustee-item {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.trustee-item img {
    width: 125px;
    height: auto;
}

.yellow-btn {
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  border: 1px solid #000;
  background: #f8f8f8;
  width: auto;
  max-width: 500px;
  min-width: 300px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.new-header-container{
    width:100%;
    height:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    position:sticky;
    top:0;
    left:0;
    z-index:10;
    background:var(--white);
}

.new-header-wrapper{
    width:100%;
    height:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-template-rows:auto;
    grid-template-areas:"nhi1 nhi2 nhi2 nhi3";
    align-content:center;
}

.new-header-item{
    width:100%;
    height:auto;
    display:flex;
    align-items:center;
    justify-content:center;
}

.new-header-item:nth-of-type(1){
    grid-area:nhi1;
}

.new-header-item:nth-of-type(2){
    grid-area:nhi2;
}
.new-header-item:nth-of-type(3){
    grid-area:nhi3;
}

.new-header-item .nav{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:0;
}

.new-header-item .nav li{
    list-style-type:none;
    margin:0 20px;
}

.new-header-item .nav li ul{
    visibility:hidden;
    position:absolute;
}

.new-header-item .nav li ul li{
    margin-bottom:10px;
}

.new-header-item .nav li:hover ul{
    visibility:visible;
    display:flex;
    flex-direction:column;
    background:var(--white);
    padding:2.5% 0;
    width:350px;
    box-shadow:5px 5px 10px var(--blue);
}

.new-header-item .nav li a{
    font-size:1.25em;
    color:var(--blue);
}

.new-header-item .logo{
    width:150px;
    height:auto;
}

/*.new-header-item ul{*/
/*    width:100%;*/
/*    height:auto;*/
/*    display:flex;*/
/*    flex-direction:row;*/
/*}*/

.new-header-button{
    width:100%;
    height:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--white);
    min-height:50px;
    padding:10px 0;
}

.new-header-button:nth-of-type(1){
    background:var(--blue);
}
.new-header-button:nth-of-type(2){
    background:var(--orange);
}

.mobile-nav{
    display:none;
}

@media screen and (max-width:1085px){
    .mobile-nav{
        width:100%;
        height:auto;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }
    
    .mobile-section{
        width:100%;
        height:auto;
        display:grid;
        grid-template-columns:repeat(2,1fr);
        grid-template-rows:auto;
        grid-template-areas:". .";
    }
    
    
    .mobile-nav-button{
        width:100%;
        height:auto;
        display:flex;
        align-items:center;
        justify-content:center;
        color:var(--white);
        padding:20px 0;
    }
    
    .mobile-nav-button:nth-of-type(1){
        background:var(--blue);
    }
    .mobile-nav-button:nth-of-type(2){
        background:var(--orange);
    }
    
    .mobile-lower-item{
        width:100%;
        height:auto;
        padding:10px 0;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    
    .mobile-lower-item i{
        font-size:2em;
        color:var(--blue);
    }
    
    .mobile-lower-item i:hover{
        cursor:pointer;
    }
    
    .mobile-lower-item img{
        width:150px;
        height:auto;
        margin-left:5%;
    }
    
    .new-header-container{
        display:none;
    }
}

.legcontainer {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 25px;
}

.leginnercontainer {
    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: ".";
    gap: 10px;
}

/* Style the buttons that are used to open and close the accordion panel */
.legaccordion {
    background-color: #3E4766;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legaccordion p{
    color:#fff!important;
    font-weight:bold;
    font-size:1.15em;
}

.legaccordion:after {
    content: '\002B';
    display: inline-block;
    transform: rotate(180deg);
    float: right;
    font-size: 1.5em;
    transition: .4s ease-in-out;
}

.legaccordion.active:after {
    content: '\2212';
}

.active {
    transition: .4s ease-in-out;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/* .active, .accordion:hover {
 background-color: #F9573B;
} */

/* Style the accordion panel. Note: hidden by default */
.legpanel {
    padding: 18px;
    min-height: 50px;
    background-color: white;
    display: none;
    overflow: hidden;
    transition: .4s ease-in-out;
    border:2px solid #3E4766;
    
}

.legpanel p {
    margin-bottom: 10px;
}