/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
	
	margin: 0;
	padding: 0;
	list-style: none;
	
}

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

/* 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;
	background: none;
	margin-right: -1px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */


.menulist ul>li>ul>li {
	padding-left:10px;
	padding-top:7px;
	margin-bottom: 10px; /* Mozilla fix */
	text-align:left;
	/*background: #D6D6D6;*/
}
/* Links inside the menu */
.menulist a {

	display: block;
	padding: 0px;	
	color: #FFFFFF;
	left:10px;
	font-weight:bold;
	height:25px;
	text-decoration: none;
	text-align:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:13px;
	font-weight:bold;
	
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist ul li a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	color: #FFF;
	font-weight:bold;
	padding:0px;	
	left:10px;
	height:25px;
}
.menulist a.highlighted { 
	/*color: #FFF;
	background-repeat:repeat-x;*/
	height:25px;
	font-weight:bold;
}

/* Only style submenu indicators within submenus. */
.menulist a .subind {
 	display: none;
}
.menulist ul a .subind {
	display: block;
	float: right;
	
}
/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
	float: left;
}
.menulist ul a {
	float: none;
	
}
/* \*/
.menulist a {
	float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
\*/
*:first-child+html .menulist ul li {
	float: left;
	width: 100%;
}

* html .menulist ul li {
	float: left;
	height: 25px;
}
* html .menulist ul a {
	height: 25px;
}
/* End Hacks */
#last { margin:0px; padding:0px; border:none; width:auto; position:relative;  height:15px;}
.corner_left { position:absolute; left:1px; top:0px;}
.corner_right { position:absolute;top:0px;  left:152px;}
.middle { position:absolute; left:9px; height: 10px; width: 145px; top:0px;}

.corner_top_left { position:absolute; left:1px; top:2px;}
.corner_top_right { position:absolute; left:152px; top:2px;}
.middle_top { position:absolute; left:9px; height: 10px; width: 145px; top:2px;}