/* - - - ADxMenu: BASIC styles - - - */

.menu {
	width: 100%;/* VERY IMPORTANT! Set this to appropriate value, either here on down in the design section */
	
}

.menu, .menu ul {	/* remove all list stylings */
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
	
}
.menu ul {margin: 0;}
.menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 50;		/* thus we need to apply explicit z-index here... */
}

.menu li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

.menu ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 11;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
}

.menu li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	left: 100%;	/* and move them to the right of the item */
}

/* -- float.clear --
	force containment of floated LIs inside of UL */
.menu:after, .menu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
.menu, .menu ul {	/* IE7 float clear: */
	min-height: 0;
}
/* -- float.clear.END --  */

/* sticky submenu: it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".menu UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
.menu ul {
	background-image: url(empty.gif);	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	padding: 30px 30px 30px 10px;
	margin: -30px 0 0 -10px;
	/*background: #f00;*/	/* uncomment this if you want to see the "safe" area.
								you can also use to adjust the safe area to your requirement */
}


/* - - - ADxMenu: DESIGN styles - - - */

.menu, .menu ul li {
	color: #000;
}

.menu {
		width: 219px;
		font-size: 85%;
		font-weight: bold;
		background-image: url(/images/sidenav_menu-bk.gif);
		padding-bottom:15px;
		background-repeat: repeat-y;
}

.menu ul {
		width: 200px;
		z-index: 5;
}

.menu a:link, .menu a:visited {/*top level*/
	text-decoration: none;
	color: #000;
	padding: 3px 0px;
	display: block;
	background-color:#e0ebc7;
	width: 198px;
}

.menu .menu_flyout a:link,.menu .menu_flyout a:visited /* top level that has sub menu*/ { 
	background:#e0ebc7 url(/images/line_arrow.gif) no-repeat  185px 50%;
}

.menu li li a:link, .menu li.menu_flyout li a:link,
.menu li li a:visited, .menu li.menu_flyout li a:visited { /*sub menu*/
	
	background-image: none;
	background-color: #e0ebc7;

}

.menu li li.menu_flyout a:link, .menu li li.menu_flyout a:visited /* sub level that has sub-sub menu*/{ 
	background:#e0ebc7 url(/images/line-sub_arrow.gif) no-repeat 185px 50%;
}

.menu li li.menu_flyout li a:link, .menu li li.menu_flyout li a:visited{ /* sub-sub level that has sub-sub menu */
	background-image: none;
}

.menu a:hover, .menu li:hover>a,
.menu a:active, .menu a:focus {/*top level*/
	color:#e0ebc7;
	background-color:#38853f;
	
}

.menu .menu_flyout a:hover, .menu  li.menu_flyout:hover>a,
.menu .menu_flyout a:active, .menu .menu_flyout a:focus/*top level that has sub menu*/ {
	color:#e0ebc7;
	background:#38853f url(/images/lineON_arrow.gif) no-repeat 185px 50%;
} 
.menu li li a:hover, .menu li li:hover>a,
.menu li li a:active,.menu li li a:focus,
.menu li.menu_flyout li a:hover, .menu li.menu_flyout li:hover>a,
.menu li.menu_flyout li a:active, .menu li.menu_flyout li a:focus {/*sub menu*/
	color:#e0ebc7;
	background-image: none;
	background-color: #38853f;
}
.menu li li.menu_flyout a:hover, .menu li li.menu_flyout:hover>a,
.menu li li.menu_flyout a:active,.menu li li.menu_flyout a:focus /* sub level that has sub-sub menu*/{
	color:#e0ebc7;
	background:#38853f url(/images/lineON-sub_arrow.gif) no-repeat 185px 50%;
} 

.menu li li.menu_flyout li a:hover, .menu li li.menu_flyout li:hover> a,
.menu li li.menu_flyout li a:active,.menu li li.menu_flyout li a:focus /* sub level that has sub-sub menu*/{
	color:#e0ebc7;
	background-image: none;
	background-color: #38853f;
} 

.menu li {	/* no borders around top level items */
	border: none;
	margin-left: 15px;
	width: 198px;
}

.menu li li {	/* create borders around each sub level item */
	border: 1px solid #38853f;
	margin-left: 0px;
}

.menu>li + li, .menu ul>li + li {	/* and remove the top border on all but first item in the list */
	border-top: 0;
}

.menu li:hover>ul {	/* inset submenus, to show off overlapping */
	top: 0px;
	left: 98%;
}

/* special colouring for "Main menu:", and for "xx submenu" items in ADxMenu
	placed here to clarify the terminology I use when referencing submenus in posts */
.menu>li:first-child>a:link,.menu>li:first-child>a:visited, 
.menu li + li + li li:first-child>a:link, .menu li + li + li li:first-child>a:visited {

}

/*
The list Arrows    
<span>&#8250;</span>
in the left_nav_flyout.xsl
 */
.menu a:link span, .menu a:visited span{
	color:#38853f;
	font-weight: normal;
	padding:0 10px;
}
.menu a:hover span, .menu a:focus span, .menu a:active span{
	color:#e0ebc7;
}