/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}
.menulist{	
	width:945px;
	padding-left:15px;
	background:#000;
	height:31px;
	position:absolute;
	left:0;
	bottom:0;
	}
/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em; margin-top: 18px; /* I'm using ems and px to allow people to zoom their font */
 left: 1px;
 width: 226px;
 z-index:9999;
}
/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: -1px; margin-top: 0!important;*margin-top: 1px!important;margin-top: 1px;
 left: 224px;
 width:160px;
 background:#766a62;
}
.menulist ul .last ul{
	margin-top:50px;
	}
/*
 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;
 margin-right: -1px;
 height:22px;
}
.menulist .last{
	border:0;
	}
/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin: 0;
 margin-bottom: -1px;
 border:0;
 width:224px;
}
.menulist ul ul li{
	width:160px;
	}
	
.menulist ul .last{
	border:0;
	}
.menulist ul ul .last a{
	padding-top:3px!important;
	padding-top:4px;
	}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding:0 24px;
 color: #fff;
 text-decoration: none;
 
 	text-align:center;
	float:left;
	padding:0 24px;
	line-height:31px;
	font-weight:bold;
	color:#fff;
	height:31px;
}
.menulist ul a{
padding:0px 0 0px 25px;
width:194px;

margin-top:1px;
background:#000000;

 	text-align:left;
	float:left;
	line-height:31px;
	font-weight:bold;
	color:#fff;
	height:31px;
	}
.menulist ul ul a{
	padding:4px 0 4px 20px;
	width:140px;
	}
.menulist .selected li a{
	color:#c8c8c8;
	}
/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover,.menulist .selected a, .menulist a.highlighted:hover, .menulist a:focus {
 color:#914653;
 text-decoration:none;
}
.menulist li.selected a,.menulist li.selected a:hover{
	color:#458987;
	background:url(../images/bg_selected.png) repeat-x;
	text-decoration:none;	
	}
.menulist li.selected ul li a
{
	color:#fff;
	background:#000000;
}
.menulist li.selected ul li a:hover
{
	color:#914653;
	background:#000000;
}
.menulist a.highlighted {
 color: #584f48;
}
.menulist ul a:hover, .menulist ul a.highlighted:hover, .menulist ul a:focus {
 color:#914653;
}
.menulist ul a.highlighted {
 color: #ff6319;
 background:#746961;
}
/*
 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);
    }
*/

/* 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 */