/*

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 :).

*/



/* HORIZONTAL FREESTYLE MENU LAYOUT */


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

.menulistMenuRootH {text-transform: uppercase;}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulistMenuRootH ul {
	display: none;
	position: absolute;
	top: 3em; 
	left: -20px;
	margin-top: 13px; /* I'm using ems and px to allow people to zoom their font */
	width: 170px;
	text-transform: none;
}

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

/*
 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.
*/
.menulistMenuRootH li {
	float: left;
	display: block;
	position: relative;
	background: #2e8467;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulistMenuRootH ul li {
	float: none;
	margin-right: 0;
	margin-bottom: -1px;
	background: #2e8467;
	border-bottom: 2px solid #fff;
	width: 100%;
}

.menulistMenuRootH ul li:last-child {
	border-bottom: none;
	margin-bottom: -3px;
}

/* Links inside the menu */
.menulistMenuRootH ul a {
	display: block;
	padding: 1px;
	margin-top: 2px;
	color: #fff;
	text-decoration:  none;
	text-align: left;
	line-height: 2em;
}

.menulistMenuRootH ul ul li {float: left; clear: left; width: 180px; background: #2e8467;}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulistMenuRootH a:hover, .menulistMenuRootH a.highlighted:hover, .menulistMenuRootH a:focus {
	color: #fff;
	background-color: #2e8467;

}
.menulistMenuRootH a.highlighted {
	color: #fff;
	background-color: #2e8467;
}

/*
 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:
    .menulistMenuRootH a#xyz {
      background-image: url(out.gif);
    }
    .menulistMenuRootH a#xyz:hover, .menulistMenuRootH a.highlighted#xyz, .menulistMenuRootH a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulistMenuRootH a .subind {
	display: none;
}

.menulistMenuRootH ul a .subind {
	display: block;
	float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulistMenuRootH a {
	float: left;
}
.menulistMenuRootH ul a {
	float: none;
}
/* \*/
.menulistMenuRootH a {
	float: none;
}
/* */
/* End Hacks */
