/* Mobile Nav */
#nav ul#navmenu li, #mobile-menu .navicon {
    display: none;
}

#menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-sizing: border-box;
    height: 4rem;
    width: 4rem;
    margin: 0 2rem;
    padding: .5rem;
    background: var(--green);
}

#menu-button svg {
    height: 4rem;
    width: 4rem;
}

/* Larger than tablet */
@media (min-width: 1000px) {
    #menu-button {
        display: none;
    }

    #nav ul#navmenu li {
        display: block;
    }
}

/* MAIN NAV */
#nav ul#navmenu {
    margin: 0;
    border: 0 none;
    padding: 0;
    text-align: center;
    list-style: none;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

#nav ul#navmenu li {
    margin: 0;
    border: 0 none;
    padding: 0;
    list-style: none;
    position: relative;
}

#nav ul#navmenu ul {
    margin: 0;
    border: 0 none;
    padding: 0;
    list-style: none;
    display: none;
    position: absolute;
    left: 0;
}

#nav ul#navmenu ul li {
    width: 202px;
}

/* Root Menu */
#nav ul#navmenu a {
    padding: 0.25rem 0.5rem;
    display: block;
    text-align: left;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    height: auto !important;
    transition: all 0.3s ease;
}

.stuck #nav ul#navmenu a {
    color: var(--dark);
    /* #25201e */
}

/* Root Menu Hover Persistence */
#nav ul#navmenu a:hover, #nav ul#navmenu li:hover a {
    background: var(--green);
    color: var(--light);
}

.stuck #nav ul#navmenu a:hover, .stuck #nav ul#navmenu li:hover a {
    background: var(--green);
    color: var(--light);
}

/* Selected */
#nav ul#navmenu a.selected {
    background: var(--green);
    color: var(--light);
}

.stuck #nav ul#navmenu a.selected {
    background: var(--green);
    color: var(--light);
}

.stuck #nav ul#navmenu a.selected:after {
    content: "";
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    width: 100%;
    height: 100%;
    background: var(--darkgreen);
    z-index: -1;
}

#nav ul#navmenu li:last-of-type {
    display: block;
}

#nav ul#navmenu li:last-of-type a {
    font-weight: 800;
    text-align: center;
    padding: 0.25rem 1rem;
    position: relative;
    display: block;
    border-radius: 10rem;
    border: 2px solid #fff;
    white-space: nowrap;
    font-size: 1.2rem;
}

@media (min-width: 800px) {
    #nav ul#navmenu li:last-of-type a {
        margin-left: 2rem;
        padding: 0.25rem 2rem;
        font-size: 1.6rem;
    }
}

#nav ul#navmenu li:last-of-type a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stuck #nav ul#navmenu li:last-of-type a {
    border: 2px solid var(--dark);
}

.stuck #nav ul#navmenu li:last-of-type a:hover {
    background: rgba(37, 32, 30, 0.1);
    color: var(--dark);
}

/* 2nd Menu */
#nav ul#navmenu li:hover li a {
    float: none;
    text-transform: capitalize;
    padding-left: 10px;
    border: 0 !important;
    color: #fff;
    display: none;
}

#nav ul#navmenu li li {
    border: 0 !important;
}

/* 2nd Menu Hover Persistence */
#nav ul#navmenu li:hover li a:hover, #nav ul#navmenu li:hover li:hover a {
    color: #ffdf61;
}

/* 3rd Menu */
#nav ul#navmenu li:hover li:hover li a {
    display: none;
    visibility: hidden;
}

/* 3rd Menu Hover Persistence */
#nav ul#navmenu li:hover li:hover li a:hover, #nav ul#navmenu li:hover li:hover li:hover a {
    display: none;
    visibility: hidden;
}

/* 4th Menu */
#nav ul#navmenu li:hover li:hover li:hover li a {
    display: none;
    visibility: hidden;
}

/* 4th Menu Hover */
#nav ul#navmenu li:hover li:hover li:hover li a:hover {
    display: none;
    visibility: hidden;
}

#nav ul#navmenu ul ul, #nav ul#navmenu ul ul ul {
    display: none;
    position: absolute;
    top: 0;
    border: 0;
    left: 202px;
}

/* Do Not Move - Must Come Before display:block for Gecko */
#nav ul#navmenu li:hover ul ul, #nav ul#navmenu li:hover ul ul ul {
    display: none;
}

#nav ul#navmenu li:hover ul, #nav ul#navmenu ul li:hover ul, #nav ul#navmenu ul ul li:hover ul {
    display: block;
}

/* SUB NAV */
.subnav-wrap {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin: 2rem 0;
    overflow: hidden;
}

.subnav-wrap .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 10rem 1rem;
    box-sizing: content-box;
}

.sub-nav {
    position: relative;
    padding: 2rem 4rem;
    box-sizing: border-box;
}

.sub-nav ul, .sub-nav li {
    margin: 0;
    border: 0 none;
    padding: 0;
    list-style: none;
}

.sub-nav li:before {
    display: none;
}

.sub-nav a {
    text-decoration: none;
    display: block;
    padding: 0.25rem 2rem;
    border-top: 3px solid transparent;
}

.sub-nav .l1 a {
    display: none;
}

.sub-nav .ul2 {
    display: flex;
    gap: 1rem;
    /* Converted from gap:1rem */
}

.sub-nav .l2 a {
    display: block;
    position: relative;
}

.sub-nav a:hover {
    border-top: 3px solid #c1252e;
}

.sub-nav .l2 a.selected {
    border-top: 3px solid #c1252e;
}

.sub-nav .ul3 li a {
    padding: 5px 20px;
    line-height: 1;
    font-size: 1.4rem;
    padding-left: 30px;
}

.sub-nav .ul3 li a:hover, .sub-nav .ul3 li a.selected {
    background: #9f9369;
    color: #fff;
}

.sub-nav .l4 a {
    display: none;
}

/* FOOTER NAV */
.section.footer-wrap .footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0.6;
}

.section.footer-wrap .footer-nav ul#navmenu {
    display: flex;
    gap: 1rem;
    /* Converted from gap:1rem */
}

.section.footer-wrap .footer-nav ul#navmenu a {
    color: #fff;
}
