/* VERTICAL FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0;
	padding: 0;
	width: 150px;
	list-style: none;
}

/*
 Submenus (<ul> tags) are hidden and absolutely positioned across from their parent.
 They don't *have* to touch their parent menus, but is' a good idea as CSS-only fallback
 mode requires menus to touch/overlap (when JS is disabled in the browser).
*/
.menulist ul {
	display: none;
	position: absolute;
	top: 0px;
	left: 150px;
}

/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menulist li {
	position: relative;
	background: #FED;
	margin-bottom: -1px;
}
.menulist ul>li:last-child {
	margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
	font-weight: bold;
	display: block;
	padding: 5px;
	color: #990000;
	background-color: #CCCCCC;
	text-decoration: none;
}
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	color: #FFFFFF;
	background-color: #000000;
	text-decoration: none;
}
.menulist a.highlighted {
	color: #FFFFFF;
	background-color: #000000;
}

.menulist ul li a {
	font-size: 11px;
	display: block;
	padding: 5px;
	color: #000000;
	background-color: #CCCCCC;
	border-left: 3px solid #000000;
	border-right: 1px solid #666666;
}
.menulist ul li a:hover, .menulist ul li a.highlighted:hover, .menulist ul li a:focus {
	color: #000000;
	background-color: #EFEFEF;
	text-decoration: none;
}
/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist a .subind {
	float: right;
}

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*+html .menulist li {
	float: left;
	height: 1%;
}
*+html .menulist a {
	height: 1%;
}
* html .menulist li {
	float: left;
	height: 1%;
}

* html .menulist a {
	height: 1%;
}
/* End Hacks */
