.nav {
    width: 100%;
    position: relative;
    z-index: 3;
    left: -1rem;
    bottom: -1rem;
    background: rgba(162, 163, 162, 0.2);
    height: 45px;
    display: flex;
    align-content: center;
    align-items: center;
}

.nav li {
    display: none;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .nav {
        left: auto;
        bottom: auto;
        height: auto;
        background: none;
        display: block;
        margin-top: 1.5rem;
    }

    .nav li {
        display: block;
    }
}

.nav ul, .nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav a {
    position: relative;
    text-decoration: none;
    color: #272726;
    display: block;
    line-height: 1;
    text-transform: uppercase;
    transition: all ease .3s;
    font-size: 1.7rem;
    z-index: 2;
    padding: .55rem 0;
}

.nav a:after {
    content: "";
    display: block;
    opacity: 0;
    transition: opacity ease 1s;
}

.nav a.hovered:after, .nav a.selected:after, .nav a.selected:hover:after {
    opacity: 1;
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    /* Sidebar width */
    width: 100%;
    background: rgba(56, 117, 18, 1);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 328px 100%, 0 100%);
}

.nav a:hover, .nav a.hovered {
    color: #387512
}

.nav a:hover:after, .nav a.hovered:after {
    opacity: 1;
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    /* Sidebar width */
    background: rgba(56, 117, 18, 0.1);
    z-index: -10;
    transition: opacity ease 0.3s;
    clip-path: polygon(0 0, 100% 0, 329px 100%, 0 100%);
}

.nav li:nth-of-type(1) a:after {
    left: -1.9rem;
}

.nav li:nth-of-type(2) a:after {
    left: -3.1rem;
}

.nav li:nth-of-type(3) a:after {
    left: -4.3rem;
}

.nav li:nth-of-type(4) a:after {
    left: -5.5rem;
}

.nav li:nth-of-type(5) a:after {
    left: -6.7rem;
}

.nav li:nth-of-type(6) a:after {
    left: -7.9rem;
}

.nav li:nth-of-type(7) a:after {
    left: -8.1rem;
}

.nav li:nth-of-type(8) a:after {
    left: -10rem;
}

.nav a.selected {
    font-weight: 800;
    color: #fff;
}

.nav a:hover:before {
    opacity: 1;
}

.nav .phone.li81926 {
    display: block !important;
}

.nav .phone.li81926 a {
    line-height: 1;
    color: #387512;
    padding: 1rem;
    font-weight: 600;
}

@media (min-width: 360px) {
    .nav .phone.li81926 a {
        color: #387512;
        letter-spacing: .4rem;
    }
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .nav .phone.li81926 a {
        margin: 2rem 0;
        margin-top: 1.5rem;
        padding: 0;
    }
}

.nav .phone.li81926 a:hover {
    background: none;
}

.nav .phone.li81926 a:after {
    display: none;
}

/* Nav Level 2 */
.nav ul ul {
    display: none;
}

/* SUB NAV */
.sub-nav {
    position: relative;
    height: 65px;
    align-items: center;
    padding-right: 1rem;
    box-sizing: border-box;
    font-family: ibm-plex-sans, sans-serif;
    display: none;
}

.sub-nav:after {
    z-index: -1;
    content: "";
    position: absolute;
    left: -100vw;
    top: 0;
    width: 200vw;
    height: 100%;
    background: rgba(56, 117, 18, 0.90);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .sub-nav {
        display: flex;
    }
}

.sub-nav ul, .sub-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-nav li {
    width: 100%;
}

.sub-nav .ul1 {
    overflow: hidden;
    overflow: auto;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    width: 100%;
    display: flex;
}

.sub-nav .ul1 > li {
    display: flex;
}

.sub-nav .ul1::-webkit-scrollbar-track {
    background-color: transparent;
}

.sub-nav .ul1::-webkit-scrollbar {
    background-color: transparent;
}

.sub-nav .ul1::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
}

.sub-nav .l1 a {
    display: none;
}

.sub-nav span .aw, .sub-nav span .lc, .sub-nav span .rc {
    display: none;
}

.sub-nav .ul2 {
    display: flex;
    flex-wrap: nowrap;
    align-items: start;
    gap: .5rem;
    justify-content: space-between;
}

.sub-nav .ul2 > li {
    display: flex;
    align-items: center;
    height: 100%;
    width: min-content;
}

.sub-nav .ul2 li span {
    flex-grow: 1;
}

.sub-nav .ul2 .l2 a {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0rem 1.5rem;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    transition: all ease .3s;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    clip-path: polygon(12.5px 0, 100% 0%, calc(100% - 12.5px) 100%, 0% 100%);
    min-height: 30px;
    white-space: nowrap;
    margin: 0 auto;
}

/* Larger than desktop */
@media (min-width: 1200px) {
    .sub-nav .ul2 .l2 a {
        font-size: 1.6rem;
    }
}

.sub-nav .ul2 li:hover > span a, .sub-nav .ul2 a.selected, .sub-nav .ul2 a.selected:hover {
    color: rgba(56, 117, 18, 1);
    background: #fff;
}

.sub-nav .ul3:after {
    z-index: -1;
    content: "";
    position: absolute;
    left: -100vw;
    top: 0;
    width: 200vw;
    height: 100%;
    background: rgba(56, 117, 18, 0.90);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.7);
}

.sub-nav .ul3 {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 2rem 0;
    padding-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all ease 0.3s;
    gap: .5rem;
    z-index: -1;
    column-count: 2;
    display: block;
}

.sub-nav ul ul li:hover ul, .sub-nav ul ul ul li:hover ul {
    visibility: visible;
    opacity: 1;
}

.sub-nav .ul3 a {
    background: none;
    min-width: 200px;
    padding: 0.5rem 2rem;
    display: flex;
    align-content: start;
    align-items: start;
    justify-content: start;
    flex-grow: 1;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    text-decoration: none;
    font-weight: 400;
    line-height: 1;
    transition: all ease .3s;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
}

/* Larger than desktop */
@media (min-width: 1200px) {
    .sub-nav .ul3 .l3 a {
        font-size: 1.6rem;
    }
}

.sub-nav .ul3 .l3:hover a, .sub-nav .ul3 a.selected, .sub-nav .ul3 a.selected:hover {
    color: #fff;
    background: none;
}

.sub-nav .ul3 a.selected, .sub-nav .ul3 a.selected:hover {
    font-weight: 700;
}

.sub-nav .ul4 {
    display: none;
}

.sub-nav-wrap2 {
    position: relative;
    z-index: 400;
    width: 100%;
    display: block;
}

.sub-nav-wrap2 ul, .sub-nav-wrap2 li {
    margin: 0;
    border: 0 none;
    padding: 0;
    list-style: none;
    display: block;
}

.sub-nav-wrap2 li:before {
    display: none;
}

.sub-nav-wrap2 a {
    position: relative;
    text-decoration: none;
    font-weight: 400;
    display: block;
    line-height: 1;
    transition: all ease .3s;
    padding: .5rem 1rem;
    padding-left: 0;
    color: #387512;
    opacity: 1;
}

.sub-nav-wrap2 a:hover {
    opacity: 0.7;
}

.sub-nav-wrap2 a.selected {
    opacity: 1;
    font-weight: 600;
}

.sub-nav-wrap2 .l4 a {
    margin-left: 2rem;
}

/* SECTION FOOTER */
.footer-nav {
    position: relative;
    z-index: 300;
    display: none;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .footer-nav {
        display: block;
    }
}

/* Hide Covid Nav on Left */
.footer-nav .li83007 {
    position: relative;
}

.footer-nav .li98695:before {
    content: "\2192";
    font-family: monospace;
    position: absolute;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    left: -20px;
    line-height: 1;
    text-align: center;
    color: #fff;
    border-radius: 10rem;
    background: #d7490a;
    font-weight: 700;
    /* Add animation */
    animation: bounceLeftRight 1.5s ease-in-out infinite;
}

/* Keyframes for bounce left to right */
@keyframes bounceLeftRight {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
        /* Adjust distance for bounce effect */
    }
}

.footer-nav ul, .footer-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

.footer-nav ul {
    display: flex ;
    flex-direction: column ;
    gap:.25rem;
}


.footer-nav li {
    display: flex;
    align-items: center;
}

.footer-nav li a {
    display: block;
    color: #828282;
    font-size: 1.5rem;
    line-height: 1;
    text-transform: capitalize;
    margin-bottom: .25rem;
    text-decoration: none;
    transition: opacity ease 0.3s;
}

.footer-nav li a:hover {
    opacity: 0.7;
}

.footer-nav li a.selected {
    color: #387512;
    opacity: 1;
    font-weight: 600;
}

.footer-nav ul ul {
    display: none;
}
