/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want!
All you have to do is ensure the script has the correct CSS property name
(like 'visibility' or 'display') that changes to show/hide menus.

If you want to extend this layout, one good resource for UL/LI formatting is:
    http://www.alistapart.com/articles/taminglists/
Alternatively, you can use any other CSS dropdown layout instead. More here:
    http://www.alvit.de/css-showcase/
Consult your favourite CSS reference for customising fonts/borders/etc.

Otherwise, you can just change the #RGB border/background colours where
suitable to customise for your site -- easy :).

*/



/* VERTICAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
	margin: 0;
	padding: 0;
	width: 184px;
	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: 185px;
}
.menulist ul ul {
	left: 180px;
}

/*
 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 {
	width: 184px;
	position: relative;
	border: 0px solid #red;
	margin-bottom: 0px;
	margin-left: 5px;
	font-weight: bold;
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
	display: block;
	padding-right: 2px;
	padding-left: 18px;
	color: #444;
	border-bottom: 1px solid #fff;
	line-height: 26px;
	background: #eee url(/images/bullet-red-mini.gif) 8px 8px no-repeat; 
}
.menulist a#menuleft {
	padding-right: 2px;
	padding-left: 12px;
	border: 0px solid;
	line-height: 29px;
	color: #444;
	background: url(/images/menu-left.gif) no-repeat;
}
.menulist a#menulefte {
	padding-right: 2px;
	padding-left: 12px;
	border: 0px solid;
	line-height: 29px;
	color: #444;
	background: url(/images/menu-left-e.gif) no-repeat;
}
/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	color: #dc0000;
	text-decoration: none;
	background: #ddd url(/images/bullet-red-mini.gif) 8px 8px no-repeat;
}
.menulist a.highlighted {
	color: #dc0000;
	background: #ddd url(/images/bullet-red-mini.gif) 8px 8px no-repeat;
}
.menulist a#menuleft:hover, .menulist a#menuleft.highlighted:hover, .menulist a#menuleft:focus {
	color: #dc0000;
	text-decoration: none;
	background: #e6e6e6 url(/images/bullet-red.gif) 8px 8px no-repeat;
}
.menulist a#menulefte:hover, .menulist a#menulefte.highlighted:hover, .menulist a#menulefte:focus {
	color: #dc0000;
	text-decoration: none;
	background: #e6e6e6 url(/images/bullet-red.gif) 8px 8px no-repeat;
}
.menulist a#menuleft.highlighted {
	color: #dc0000;
	background: #e6e6e6 url(/images/bullet-red.gif) 8px 8px no-repeat;
}
.menulist a#menulefte.highlighted {
	color: #dc0000;
	background: #e6e6e6 url(/images/bullet-red.gif) 8px 8px no-repeat;
}

/* '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 */