/*------------------------------------*\
	#Menu Layout
\*------------------------------------*/

#menu-link {
    display: none;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
#nav,
#nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1;
    float: left;
    width: 100%;
}
#nav a {
    display: block;
    text-decoration: none;
}
#nav li {
    float: left;
    list-style: none;
}
#nav li li {
    float: none;
}
#nav li ul {
    position: absolute;
    z-index: 9999;
    width: 250px;
    height: auto;
    left: -9999px;
}
#nav li ul ul {
    margin: -35px 0 0 250px;
}
#nav li:hover ul ul,
#nav li:hover ul ul ul,
#nav li:hover ul ul ul ul{
    left: -9999px;
}
#nav li:hover ul,
#nav li li:hover ul,
#nav li li li:hover ul,
#nav li li li li:hover ul {
    left: auto;
}

/*------------------------------------*\
	#Menu Styling
\*------------------------------------*/

#nav-wrap {
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
    box-shadow: 0 3px 0 #609340, 0 1px 0 rgba(255,255,255,.5) inset;
    margin-bottom: 3px;
    background: #00374e;
}
#nav-container {
    padding-left: 0;
    padding-right: 0;
}
#nav-wrap a {
    color: #fff;
    text-shadow: 0 1px 0 #000;
    padding: 10px;
}
#nav-wrap a:hover {
    color: #609340;
}
#nav > li {
    /*width: 14%;*/
    text-align: center;
    padding: 0 25px;
}
#nav > li > a {
    font-weight: bold;
    padding: 18px 0;
    position: relative;
    text-transform: uppercase;
}
/*#nav > li > a:before,
#nav > li > a:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}*/
/*#nav > li > a:before {
    border-right: 1px solid rgba(255,255,255,.25);
    right: -2px;
}
#nav > li > a:after {
    border-right: 1px solid #000;
}*/
#nav > li:last-child {
    border-right: none;
    box-shadow: none;
}
#nav > li:hover > a {
    color: #609340;
}
#nav li ul {
    border: solid 1px #000;
    border-top: none;
}
#nav li li {
    text-align: left;
    border-top: solid 1px #fff;
    border-top: solid 1px rgba(255,255,255,.15);
    background: #002535;
    background: rgba(0,37,53,.98);
}

/*------------------------------------*\
	#Media Queries
\*------------------------------------*/

@media screen and (max-width: 767px) {
    #menu-link {
        display: block;
    }
    #nav {
        display: none;
        width: 100%;
    }
    #nav.active {
        display: block;
    }
    #nav ul {
        float: none;
    }
    #nav a {
        font-size: inherit;
        padding: 10px 20px;
    }
    #nav li {
        width: 100%;
        text-align: left;
    }
    #nav li ul {
        position: static;
        display: none;
        width: 100%;
        border: none;
    }
    #nav li ul ul {
        margin: 0;
    }
    #nav li:hover > ul {
        display: block;
    }
    #nav > li,
    #nav > li:last-child {
        border-right: none;
        border-top: solid 1px #000;
        box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
    }
    #nav > li > a {
        padding: 10px;
    }
    #nav > li > a:before,
    #nav > li > a:after {
        content: none;
    }
}