.menu {
	position: relative; 
	width: 894px; 
	height: auto; 
	margin: 0px auto;
	text-align: center;
	border: 0px;
	z-index: 100;
	padding-left: 25px;
}

.menu ul { 
	list-style-type: none;
	margin: 0px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	position: relative;
	display: inline;
	text-align: center;
	margin: 0px auto;
	padding-bottom: 0px;
	padding-left: 18px;
	padding-right: 10px;
	float: left;
}

.menu li.top {
	padding-top: 3px;
	background: url("../images/nav-icon-off.png") no-repeat;
}

.menu li.here {
	padding-top: 3px;
	background: url("../images/nav-icon-on.png") no-repeat;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display: block;
	color: #492E1C;
	height: 20px;
	text-decoration: none;
}

/* style the top level hover */
.menu a:hover { 
	color: #005789;
	text-decoration: underline;
}

.menu :hover > a {
	color: #005789;
	text-decoration: underline;
}

/* style the second level background */
.menu ul.sub a, .menu ul.sub a:visited {
	background: #FAE9B7;
}

/* style the second level hover */
.menu ul.sub a:hover {
	background: #FFFDEC;
	color: #005789;
	text-decoration: none;
}

.menu ul ul.sub li:hover > a {
	color: #005789;
	text-decoration: none;
	background: #FFFDEC;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility: hidden;
	position: absolute;
	height: 0px;
	top: 22px;
	left: 0px; 
	width: 160px;
	margin: 0px;
}

/* position the third level flyout menu */
.menu ul ul ul {
	left: 173px; 
	top: 0px; 
	width: 160px;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background: #FAE9B7; 
	color:#492E1C; 
	height: auto; 
	padding: 6px;
	width: 160px;
	border-left: 1px;
	border-right: 1px;
	border-bottom: 0px;
	border-top: 1px;
	border-color: #492E1C;
	border-style: solid;
	text-align: left;
}

.menu ul ul a.subbottom, .menu ul ul a.subbottom:visited {
	border-bottom: 1px;
	border-color: #492E1C;
	border-style: solid;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	position: absolute; 
	top: 0px; 
	left: 0px; 
	border-collapse: collapse;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible;}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}


