body {
	font-family: trebuchet, arial, helvetica, serif;
	font-size: 60%;
	padding: 2em;
	margin: 0;
}

a {
	text-decoration: none;
	padding: 3px 3px;

}

a:link {
	color: #680;
}

a:visited {
	color: #680;
}

a:active {
	color: #00E;
}

a:hover {
	color: #720;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav li li a {
	font-weight: normal;
	color: #680;
}

#nav li li a:hover {
	color: white;
	background-color: #690;
}

#nav li a:hover {
	color: white;
	background-color: #680;
}

li {
	position: relative;
	width: 10em;
	text-align: left;
	color: #680;
	cursor: default;
	background-color: white;
	border: 1px solid white;
	border-width: 1px;
	z-index:2
}

li#first {
	border-left-width: 1em;
}

li#last {
	border-right-width: 1em;
}

#nav a {
	display: block;
	font-weight: bold;
	color: #680;
	text-decoration: none;
}

#nav li { /* all list items */
	float: left;
	border: solid 1px #7d6340;
	width: 111; /* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level lists */
	position: absolute;
	top: 100%;
	left: 0;
	font-weight: normal;
	padding: 0.5em 0 1em 0;
	width: 120;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

li>ul {
	top: auto;
	left: auto;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0.25em 0;
}

#nav li ul ul li { /* third-and-above-level lists */
	z-index: 5;
	width: 200
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: 0;
	top: 90%;
}


#nav li li:hover ul, #nav li li li:hover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: 99.5%;
	top: 10%;
}
