#navbar {
	padding:5px 0;
    border-top: 5px solid #3A483C;
    border-bottom: 5px solid #3A483C
}

#nav {
	position:relative;
	line-height:1.0;
	font-size:.95em;
	zoom:1;
	z-index:99;
}

#nav * {
	list-style:none;
}

.nav li {
	float:left;
	position:relative;
	margin-right: 10px;
}

.nav li:hover {
	visibility:inherit;/* fixes IE7 'sticky bug' */
}


/*Default State, Top Nav*/
#nav a,
#nav a:visited {
	padding:7px 14px 9px 14px;
	text-decoration:none;
	color:#44140D;
	display:block;
	position:relative;
	font-size: 16px;
}

#nav a,
#nav li {
	border-radius: 3px;
}

#nav .children a,
#nav .children li {
	border-radius: 0;
}

/*Hover State, Top Nav*/

#nav li:hover,
#nav a:focus, #nav a:hover,
#nav a:active,
#nav .current-cat .children a:hover,
#nav .current-cat .children,
#nav li li {
	background:#C8D2C8;
	outline:0;
	color: #3A483C;
}

#nab li ul a {
    color: #fff !important;
}

/*Active State, Top Nav*/
#nav .current-cat a,
#nav .current-cat a:visited,
#nav .current_page_item a,
#nav .current_page_item a:visited {
	padding:6px 14px 8px 14px;
	background-color:#C8D2C8;
	color: #3A483C;
}

#nav-secondary a.sf-with-ul:after,
#nav a.sf-with-ul:after {
	display:block;
	content:'';
	position:absolute;
	top:45%;
	right:10px;
	border:4px solid transparent;
	border-top-color:#fa1;
}

#nav-secondary ul a.sf-with-ul:after,
#nav ul a.sf-with-ul:after {
	top:40%;
	border:4px solid transparent;
	border-left-color:#fa1;
}

#nav a.sf-with-ul,
#nav a.sf-with-ul:visited {
	padding-right:25px;
	min-width:1px;/* trigger IE7 hasLayout so spans position accurately */
}




/* ---------- @ Flyout -----------*/

#nav a a,
#nav li li {
	border-radius: 0;
}

.nav ul {
	position:absolute;
	top:-999em;
	width:13em;/* left offset of submenus need to match (see below) */
}
#nav > ul {
	margin-top: -6px;
}

.nav ul li {
	width:100%;
	z-index:99;
	position:relative;
}

.nav li:hover ul,
.nav li.sfHover ul{
	left:0;
	top:2em;/* match top ul list item height */
	z-index:99;
}

ul.nav li:hover li ul,
ul.nav li.sfHover li ul{
	top:-999em;
}

ul.nav li li:hover ul,
ul.nav li li.sfHover ul{
	left:13em;
	top:0;
}

.nav .children .children {
	margin-top: 0;
}

.nav .children a:hover {
	background: #286e9e;
}

ul.sub-menu {
    -webkit-box-shadow:  0px 0px 2px 0px #bababa;
    box-shadow:  0px 0px 2px 0px #bababa; 
}

/*Mobile Stuff*/

#nav-mobile-cats, #nav-mobile-pages {
	display: none;
}



#nav-secondary {
	padding:0 20px;
	position:relative;
}

#nav-secondary a {
	font-size:0.75em;
	text-transform:uppercase;
	padding:8px 10px;
	display:block;
}

#nav-secondary li {
	list-style-type:none;
	float:left;
	padding:0;
}

#nav-secondary .sub-menu {
	display:none;
	z-index:999;
}

#nav-secondary a.sf-with-ul,
#nav-secondary a.sf-with-ul:visited {
	padding-right:25px;
	min-width:1px;/* trigger IE7 hasLayout so spans position accurately */
}


#nav #menu-item-20.current_page_item a {
	padding:6px 14px 8px 14px;
	background-color:#fff;
	color: #44140D;
}
