/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
#menu_container {padding:0px; margin:0px; position:relative; height:25px; z-index:100;}

/* Get rid of the margin, padding and bullets in the unordered lists */
#hmenu, #hmenu ul {padding:0px; margin:0px; list-style-type: none;}

/* Set up the link size and color */
#hmenu a, #hmenu a:visited {display:block; width:129px; font-size:12px; font-weight: normal; color:#ffffff; height:25px; line-height:24px; text-decoration:none; text-indent:5px; }

/* Set up the list items */
#hmenu li {float:left; }

/* For Non-IE browsers and IE7 */
#hmenu li:hover {position:relative;}



/* Set up list and link colors */
#hmenu li:hover > a {color:#ffffff;}
#hmenu li a.red_off,
#hmenu li a.red_off:visited
	{ background-color: #6f2629; border-left: 1px solid #933841; border-right: 1px solid #933841; }
#hmenu li a.red_off:hover
	{ background-color: #933841; border-left: 1px solid #933841; border-right: 1px solid #933841; }
	
#hmenu li a.red_on,
#hmenu li a.red_on:visited,
#hmenu li a.red_on:hover
	{ background-color: #933841; border-left: 1px solid #933841; border-right: 1px solid #933841; }
	
#hmenu li ul li a,
#hmenu li ul li a:visited
	{ background-color: #6f90b8; border-top: 1px solid #566f8e; border-left: 1px solid #566f8e; border-right: 1px solid #566f8e;}
#hmenu li ul li a:hover
	{ background-color: #566f8e; border-top: 1px solid #566f8e; border-left: 1px solid #566f8e; border-right: 1px solid #566f8e;}

	
#hmenu li ul li a.enclose,
#hmenu li ul li a.enclose:visited
	{ background-color: #6f90b8; border: 1px solid #566f8e; }
#hmenu li ul li a.enclose:hover
	{ background-color: #566f8e; border: 1px solid #566f8e; }
	
	

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#hmenu li ul {display:none;}

/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#hmenu li:hover > ul {display:block; position:absolute; top:-6px; left:92px; padding:10px 30px 30px 30px;}

/* Position the first sub level beneath the top level liinks */
#hmenu > li:hover > ul {left:-30px; top:15px;}

/* get rid of the table */
#hmenu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #hmenu li a:hover {position:relative; color:#ffffff;}

/* For accessibility of the top level menu when tabbing */
#hmenu li a:active, #hmenu li a:focus {color:#ffffff;}


/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */
* html #hmenu li ul {visibility:hidden; display:block; position:absolute; top:-10px; left:136px; padding:10px 30px 30px 30px; background:transparent url(transparent.gif);}

/* keep the third level+ hidden when you hover on first level link */
#hmenu li a:hover ul ul{visibility:hidden;}

/* keep the fourth level+ hidden when you hover on second level link */
#hmenu li a:hover ul a:hover ul ul{visibility:hidden;}

/* keep the fifth level hidden when you hover on third level link */
#hmenu li a:hover ul a:hover ul a:hover ul ul{visibility:hidden;}

/* keep the sixth level hidden when you hover on fourth level link */
#hmenu li a:hover ul a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}

/* make the second level visible when hover on first level link and position it */
#hmenu li a:hover ul {visibility:visible; left:-30px; top:14px; lef\t:-31px; to\p:15px;}

/* make the third level visible when you hover over second level link and position it and all further levels */
#hmenu li a:hover ul a:hover ul{visibility:visible; top:-6px; left:96px;}

/* make the fourth level visible when you hover over third level link */
#hmenu li a:hover ul a:hover ul a:hover ul {visibility:visible;}


/* If you can see the pattern in the above IE5.5 and IE6 style then you can add as many sub levels as you like */

