/* Site Navigation */

#mobileNav {
    margin: 0;
    padding: 9px 5% 29px;
    background: #1c3447;
}

#mobileNav li {
    position: relative; 
    list-style: none;
    margin: 0;
}

#mobileNav li ul {
    margin-left: 0;
}

#mobileNav > li {
    display: block; 
    text-align: right;
}

#mobileNav > li > a, #mobileNav > li > span {
    padding: 8px 0;
    margin: 14px 0 0;
    font-weight: 600;
    font-size: 120%;
    line-height: 100%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

#mobileNav > li > a:hover, #mobileNav > li > a:active {
    color: #87a461;
}

#mobileNav > li > span {
    cursor: default;
}


/* Secondary level */

#mobileNav > li ul { /* Styles for all sub levels */
    display: block;
    position: relative;
    z-index: 2;
    width: auto;
    padding: 0;
    background: transparent;
    text-align: right;
    animation-duration: .25s;
    animation-delay: .2s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}


#mobileNav > li > ul { /* styles specific to secondary level */
    left: 0;
    margin: 0 auto;
    padding: 0 0 3px 0;
}

#mobileNav > li ul a, #mobileNav > li ul span {
    display: inline-block;
    padding: 5px 0;
    font-weight: 300;
    letter-spacing: 1px !important;
    font-size: 91%;
    line-height: 100%;
    color: #fff;
    text-decoration: none;
    transition: all ease-in 100ms;
}

#mobileNav > li ul span {
    color: #fff;
    cursor: default;
}

#mobileNav > li > ul li > a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Tertiary level */
#mobileNav li ul li ul {
    display: none !important;
    left: 225px;
    top: -8px;
    padding: 15px 5px;
    border-left: 1px solid #ddd;
}
