ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}
ul a {
		color: #fff;
		border-bottom: none;
}
ul li {
}
ul li a {
	padding: 0 20px;
	display: block;
}

ul li a:hover {
	background: #3d5466;
}

li { /* all list items */
	float: left;
	position: relative;
}

li ul { /* second-level lists */
	display: none;
	position: absolute;
	top: 40px;
	left: 0;
	background: #a5bfd0;
}
li ul li {
	border-top: 1px solid #5d7a8c;
	width: 100%;
	height: 25px;
	line-height: 25px;
}

li ul li a {
	padding-right: 10px;
	padding-left: 10px;
	display: block;
	color: #3d5466;
}
li ul li a:hover {
	background: #bbb;
	color: #333;
}

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;
}

li:hover ul, li.over ul { /* lists nested under hovered list items */
	display: block;
}

