/* line height */
.menu {
	line-height: 22px;	
}

/* remove the bullets, padding and margins from the lists */
.menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

/* make the top level links horizontal and position relative so that we can position the sub level */
.menu ul li {
	float: left;
	position: relative;
	z-index: 100;
}

/* use the table to position the dropdown list */
.menu table {
	position: absolute;
	border-collapse: collapse;
	z-index: 80;
	left: -1px;
	top: 0px;
}
.menu table.nav {
	top: -1px;
}

/* style all the links */
.menu a, .menu :visited {
	display: block;
	color: #5a5658;
	text-decoration: none;
	text-align: left;
	font-size: 12px;
}

/* style the links hover */
.menu ul li ul a:hover {
	text-decoration: underline;
}

.menu div.nav a:hover {
	text-decoration: none;
}

/* style the sub level links */
.menu ul ul li {
	text-align: left;
	width: 200px;
	white-space:nowrap;
	padding: 5px 0px 5px 0px;
	height: 22px;
	border-bottom: 1px solid #eae9ea;
}
.menu ul ul li a {
	padding: 0 10px 0 10px;	
}

/* hide the sub level links */
.menu ul ul {
	visibility: hidden;
	position: absolute;
	top: 37px;
	left: 0px;
	width: 200px;
	height: auto;
	background: #f4f4f4;
	border: 1px solid #eae9ea;
}

/* hide the sub level links */
.menu ul div.nav {
	visibility: hidden;
	position: absolute;
	top: -200px;
	height: 178px;
	width: 330px;
	color: #666e78;
	background: #f4f4f4;
	border: 2px solid #e0e2e4;
	border-bottom: 1px solid #e0e2e4;
	padding: 10px;
	line-height: 20px;
}

.menu ul li a.none {
	cursor: default;
}

/* make the sub level visible on hover list or link */
.menu ul li:hover ul, .menu ul a:hover ul {
	visibility: visible;
}
.menu ul li:hover div, .menu ul a:hover div {
	visibility: visible;
}
/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover { visibility:visible; }
.menu li:hover { position:relative; z-index:200; }

