/* The menu styling */

ul.blue li.title {
		background-color:#B5BDDE;
}

ul.blue li, ul.blue li.sub {
		background-color:#C6CEE7;
}


ul.yellow li.title {
		background-color:#FFC618;
		margin-top: 2px;
}

ul.yellow li, ul.yellow li.sub {
		background-color:#FFDE63;
}


ul.brown li.title {
		background-color:#D6A552;
		margin-top: 2px;
}

ul.brown li, ul.brown li.sub {
		background-color:#E7C68C;
}


ul.lila li.title {
		background-color:#DE8CB5;
		margin-top: 2px;
}

ul.lila li, ul.lila li.sub {
		background-color:#EFB5CE;
}


ul.green li.title {
		background-color:#8CD66B;
		margin-top: 2px;
}

ul.green li, ul.green li.sub {
		background-color:#BDE7A5;
}






/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0;}
.menu {margin:0}
/* for IE7 to position the tables correctly */
.menu {position:relative; float:left;}

/* for IE5.5 and IE6 to position the tables corectly */
* html .menu {position:static;}

/* Set up the size of the list items and float left to place inline */
.menu li {background: url(images/m_li.gif) no-repeat top left; width:165px; height:auto; margin: 0; border-bottom:1px solid #fff;}

/* Give the sub level list item a diffent background color to make it 'stand out'. */
.menu li.sub {background: url(images/m_li_sub.gif) no-repeat top left;}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu table, .menu ul ul table {border-collapse:collapse; width:0; height:0; position:absolute; bottom: auto; top:0; left:0; font-size:1em;}
.menu ul table, .menu ul ul ul table {top:0px; bottom:auto;}

/* Default link styling */
.menu li a {display:block; color:#000; font-family:arial, sans-serif; font-size:12px; line-height:21px; width:130px; text-decoration:none; padding-left:23px; padding-right:12px;}

/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {color:#fff; }

/* For all browsers except IE5.5 and IE6 to keep the hover state through the menu cascade. */
.menu :hover > a {color:#fff; }

.menu a:hover {background: #666 url(images/m_li.gif) no-repeat top left; width:130px; height:auto; margin: 0;}
.menu :hover > a {background: #666 url(images/m_li.gif) no-repeat top left;}

/* Give the link OR list a relative position. Depends on which browser is used */
.menu li.sub:hover,
.menu li.sub a:hover {position:relative;}

/* keep the 'next' level invisible by placing it off screen. */
.menu ul, 
.menu :hover ul ul, 
.menu :hover ul :hover ul ul {position:absolute;left:-9999px; width:165px;}

/* Position the flyout sub levels to the right or left when hovering over the sub level list OR link. */
.menu :hover ul {padding:0px 3px; left:162px; bottom:auto; background:transparent url(transparent.gif); padding-top:0px;}
.menu :hover ul :hover ul {padding:0px 3px; left:162px; top:0; top:0px; bottom:auto;}
.menu :hover ul :hover ul :hover ul {padding:0px 3px; left:162px; bottom:auto; top:0;}

li.title {
		line-height: 36px;
		font: bold 13px Arial, Helvetica, sans-serif;
		color:#003366;
		text-indent: 23px;
		padding-top: 6px;
		background: url(images/m_li_title.gif) no-repeat top left;
}

