/* HORIZONTAL FREESTYLE MENU LAYOUT */
#listMenuRoot:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

#listMenuRoot {display: inline-block;}

/* Hides from IE-mac \*/
* html #listMenuRoot {height: 1%;}
#listMenuRoot {display: block;}
/* End hide from IE-mac */


/* 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.0em; margin-top: 20px; /* I'm using ems and px to allow people to zoom their font */
 left: 0;
 width: 150px;
}

/* 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: transparent;
 border: none;
 margin-right: -1px;
 margin-left:0;
 padding:11px 0;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin: 0;
 margin-bottom: -1px;
 background-color:#E2DDC0;
 border:1px solid #b0a854;
 padding:0;
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a:link,  .menulist a:visited{
 display: block;
 padding: 0 15px;
 color: #474522;
 text-decoration: none;
 border-right:1px solid #5b5a44;
}
/*sub links inside the menu*/
.menulist ul li a:link,  .menulist ul li a:visited{
	border:none;
	padding:2px 4px;
	color:#000;
}
/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #000;
 background-color: transparent;
}
.menulist a.highlighted {
 color: #000;
 background-color: transparent;
}

/* submenu Lit items: 'hover */
.menulist ul li a:hover, .menulist ul li a.highlighted:hover, .menulist ul li a:focus {
 color: #fff;
 background-color: #B0A854;
}
.menulist ul li a.highlighted {
 color: #fff;
 background-color: #B0A854;
}

/* 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: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */

/************
side menu
************/
ul#subnav{
	width:100%;
	font-size:90%;
	text-align:center;

		background:transparent url(../images/gfx/nav-bg-top.jpg) no-repeat left 35px; 
}
ul#subnav li{
	text-align:left;
	margin-left:0;
	list-style:none;
}

ul#subnav li{
	border-bottom:1px dotted #BFBCA7;
	font-weight:normal;
	text-transform:none;
	padding:0.5em;
	margin:0;
}
ul#subnav li.current{
	font-weight:bold;
	text-transform:uppercase;
	padding:0;
}

ul#subnav li a:link, ul#subnav li a:visited{
	text-decoration:none;
	color:#474522;
	padding:10px;
	margin:0;
	background:none;
	text-decoration:none;
}
ul#subnav a:hover{
	color:#000;
}
ul#subnav li.current a:link, ul#subnav li.current a:visited{
	color:#fff; 
	background:#809874 url(../images/gfx/nav-header.jpg) no-repeat left top;
	text-decoration:none;  
	display:block;
	padding:10px 20px;
}