/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
	margin: 0;
	padding:0;
	width:960px;
	line-height:25px;
	list-style: none;
	font-size:12px;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	
 
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
	display: none;
	position: absolute;
	top: 7px;
	margin-top: 20px; /* I'm using ems and px to allow people to zoom their font */
	left: 0;
	width: 300px;
	background:url(../images/bg4.png) no-repeat bottom;
	padding-bottom:20px;
	
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
	top: -1px; margin-top: 0;
	left: 148px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
	float: left;
	display: block;
	position: relative;
	margin-right: -1px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
	float: none;
	margin: 0;
	margin-bottom: -1px;
	background-image:none;
}
.menulist ul li a{
	background-image:none;
	margin:0 5px 0 5px;
	border-top:1px solid #aeaeae;
	padding:10px;
	text-decoration:none;
	font-size:12px;
	line-height:14px;
	
}
.menulist ul li a:hover{
	background-image:none;
	background-color:#aeaeae;
	color:#fff;
	text-decoration:none;
	
}

.menulist ul>li:last-child {
	margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
	display: block;
	text-decoration: none;
	color:#ffffff;
	padding-top: 0;
	padding-right: 32px;
	padding-bottom: 0;
	padding-left: 32px;

 }

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	color:#ffffff;
	text-decoration:underline;
}
.menulist a.highlighted {
	color:#ffffff;
	text-decoration:underline;
}
.menulist a .subind {
	display: none;
}
.menulist ul a .subind {
	display: block;
	float: right;
}
.menulist a {
	float: left;
}
.menulist ul a {
	float: none;
}
.menulist a {
	float: none;
}

*:first-child+html .menulist ul li {
	float: left;
	width: 100%;
}

* html .menulist ul li {
	float: left;
	height: 1%;
}
* html .menulist ul a {
	height: 1%;
}
/* End Hacks */
