#nav ul ul { /* second-level lists */
	float: none;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	margin: 34px 0 -2px;
	padding: 0;
	background: #8e9eaf;
	line-height: 1em;
	width: 200px;
	font-size: 0.85em;
	border-bottom: 3px solid #2c5b8d;
}
#nav ul ul li {
	float: none;
	display: block;
}
#nav ul ul li a {
	float: none;
	display: block;
	width: 186px;
	height: auto;
	color: #fff;
	background: #518ebb;
	margin: 0;
	padding: 3px 7px;
	border-bottom: 1px solid #699dc1;
	border-top: 1px solid #4c89b6;
	line-height: 1.5em;
}
#nav ul ul li:last-child a {
	float: none;
	display: block;
	width: 186px;
	height: auto;
	color: #f;
	background: #518ebb;
	margin: 0;
	padding: 3px 7px;
	border-bottom: 1px solid #699dc1;
	border-top: 1px solid #4c89b6;
	line-height: 1.5em;
}
#nav ul li:last-child ul {
	width: 124px;
}
#nav ul li:last-child ul li a, #nav ul li:last-child ul li:last-child a {
	width: 110px;
}

#nav ul ul li a:hover {
	color: #fff;
	background: #2c5b8d;
	border-top: 1px solid #2c5b8d;
}
#nav ul ul li:last-child a:hover {
	color: #fff;
	background: #2c5b8d;
	border-top: 1px solid #2c5b8d;
}
#nav ul ul li.current_page_item a {
	color: #fff;
	background: #2c5b8d;
	border-top: 1px solid #2c5b8d;
}

#nav ul li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	left: auto;
}

#nav ul li:hover ul, li.over ul { /* lists nested under hovered list items */
	display: block;
}