/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 margin:0 auto;
 list-style: none;
 line-height:41px;
 font-size:14px;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
	display: none;
	position: absolute;
	top: 1.2em; margin-top: 24px; /* I'm using ems and px to allow people to zoom their font */
	left: -5px;
	width: 200px;
	margin-left:5px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
	top: -1px; margin-top: 0;
	left: 152px;
}

/*
 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;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
	float: none;
	margin: 0;
}
.menulist ul li a{
	background:#eee;
	border-bottom:1px solid #ccc;
	border-top:1px solid #fff;	
	text-decoration:none;
	padding:0 10px;
	margin:0;
}
.menulist ul li a:hover{
	background:#9bc200;
	text-decoration:none;
	color:#fff;
	font-weight:bold;
}

.menulist ul>li:last-child {
	margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
	padding:0 34px 0 0;
	background:url(../images/menuBtn.png) no-repeat right top;
	display: block;
	color:#333;
	text-decoration: none;
	margin:0 3px 1px 0;
	line-height:41px;
	font-size:14px;
 }
.menulist a span{
	background:url(../images/menuBtn.png) no-repeat left top;
	height:41px;
	float:left;
	display:block;
	padding-left:24px;
	text-decoration:none
}	
.menulist a:hover span{
	background:url(../images/menuBtn.png) no-repeat left bottom;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover{
	color:#333;
	background:url(../images/menuBtn.png) no-repeat right bottom;
	text-decoration:none;
}
.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 */