/* common styling */
/* set up the overall width of the menu div, the font and the margins */

.menu {
	width: 794px;
	height: 41px;
	position:relative;
	z-index:100;
	
}
/* remove the bullets and set the margin and padding to zero for the unordered list */
.menu ul {
	padding:0; 
	margin:0;
	list-style-type: none;
}
/* float the list so that the items are in a line and their position relative so that the drop down list will appear in the right place underneath each list item */
.menu ul li {
	float:left; 
	position:relative;
}
/* style the links to be 104px wide by 30px high with a top and right border 1px solid white. Set the background color and the font size. */
.menu ul li a, .menu ul li a:visited {
	background: url(../../images/nav-sep.gif) 100% 0 no-repeat;
	margin: 0;
	padding: 2px 8px 0 8px;
	display: block;
	height: 41px;
	line-height:41px; 
    font-size:14px;
	text-align: center;
}

.menu ul li.last a{
	background:none;
}

/* make the dropdown ul invisible */
.menu ul li ul {
display: none;
}

/* specific to non IE browsers */
/* set the background and foreground color of the main menu li on hover */
.menu ul li:hover a {
color:#8aa646;
}
/* make the sub menu ul visible and position it beneath the main menu list item */
.menu ul li:hover ul {
display:block; 
position:absolute; 
top:43px; 
left:-1px; 
}

.menu ul li:hover ul li a.hide {background:#e9f0d8 url(../../images/background-subMenu.png) no-repeat; color:#8aa646;}

.menu ul li:hover ul li:hover a.hide {background:#e9f0d8; color:#8aa646;}

.menu ul li:hover ul li ul {display: none;}

.menu ul li:hover ul li:hover ul li a.hide {background:#e9f0d8 url(../../images/background-subMenu.png) no-repeat; color:#8aa646;}

.menu ul li:hover ul li:hover ul li:hover a.hide {background:#e9f0d8; color:#8aa646;}

.menu ul li:hover ul li:hover ul li ul {display: none;}

/* style the background and foreground color of the submenu links */
.menu ul li:hover ul li a {
	display:block; 
	width:160px;
	height: 19px;
	line-height:19px; 
	background:#e9f0d8;
	border-left:#4b6903 solid 1px;
	border-bottom:#8aa646 dotted 1px;
	color: #8aa646;
	font-size:12px;
	font-weight:normal;
	text-align:left;
}
/* style the background and forground colors of the links on hover */
.menu ul li:hover ul li a:hover {
	color:#8aa646;
	border-bottom:#fff dotted 1px;
	border-left:#4b6903 solid 1px;
	background:#d7e2be;
}

.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:177px; top:0;}
.menu ul li:hover ul li:hover ul.left {left:-177px;}
.menu ul li:hover ul li:hover ul li:hover ul {display:block; position:absolute; left:177px; top:0;}
.menu ul li:hover ul li:hover ul li:hover ul.left {left:-177px;}

