
/* ----------------- wrapper div ----------------- */ 
#dynamicmenu {
	position:relative;
	float:right;
	display:inline;
	margin:0 15px 0 0;
	padding:0;
	height:55px;
	text-align:center;
	z-index:100;
	background:url(../images/bg_nav_colors.jpg) bottom left no-repeat;
}


/* ----------------- main links ----------------- */ 
#dynamicmenu ul {
	font:normal 15px Helvetica;
	line-height:20px;
	color:#fff;
	text-decoration:none;
	text-align:center;
	margin:auto;
	list-style:none; 
	display:inline;
	float:left;
	
}
#dynamicmenu ul li {
	margin:0;
	padding: 0;
	border: 0;
	height:55px;
	display: block;
	float: left;	/* move all main list items into one row, by floating them */
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5;		/* thus we need to apply explicit z-index here... */
	border-right:2px solid #000;
}

#dynamicmenu ul 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 *//*
	border-bottom-color:#505050;*/
}
#dynamicmenu ul a {
	display: block;
	padding:25px 15px 8px 15px;
	text-decoration: none;
	color: #fff;
	display: block;
	position: relative;
	background:url(../images/bg_nav.jpg) top left repeat-x;/*
	border-left:1px solid #000;*//*
	border-bottom:2px solid #505050;*/
}
#dynamicmenu ul a:hover, #dynamicmenu ul li:hover>a {
	color:#fff; 
	background:#505050 url(../images/bg_nav_hover.jpg) top left repeat-x;
	border-bottom-color:#505050;
}





/* ----------------- level 2 links ----------------- */ 
#dynamicmenu ul ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 10;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 2px;		/* 		to avoid scrollbars as much as possible */
}
#dynamicmenu ul ul {
	width:160px;
	position:absolute;
	font:normal 13px Helvetica;
	line-height:15px;
	display: block;
	text-align:left;
	background:#505050;
	z-index:100;/*
	border-left:1px solid #000;*/
}
#dynamicmenu ul li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 53px;	/* 1st level go below their parent item */
}

#dynamicmenu ul ul li {
	font-size:13px;
	line-height:15px;
	color:#fff;
	text-decoration:none;
	text-align:left;
	border:none;
	margin:0 1px 1px 1px;
	height:auto;
}
#dynamicmenu ul li li {
	float: none;/* items of the nested menus are kept on separate lines */
}
#dynamicmenu ul li li a {	/* create borders around each item */
	width:143px;
	display:block; 
	color:#fff;
	background:#505050;
	text-indent:0;
	padding:5px 5px 5px 10px;
	font-size:13px;
	line-height:15px;
	text-align:left;
	border:none;
}
#dynamicmenu ul ul a:hover, #dynamicmenu ul ul li:hover>a {
	background:#000;
	color:#fff;
	border:none;
}






/* ----------------- level 3 links ----------------- */ 
#dynamicmenu ul li li:hover>ul {	/* inset 2nd+ submenus, to show off overlapping *//*
	top: 5px;
	left: 90%;*/
	display:none;
	visibility:hidden;
}















/* -- float.clear -- force containment of floated LIs inside of UL */
#dynamicmenu ul:after, #dynamicmenu ul ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
#dynamicmenu ul, #dynamicmenu ul ul {	/* IE7 float clear: */
	min-height: 0;
}
/* -- float.clear.END --  */



















/* Fix for IE5/Mac \*//*/
#dynamicmenu ul a {
	float: left;
}
/* End Fix */

/*]]>*/



/*[if IE]*/

#dynamicmenu ul, #dynamicmenu ul ul {	/* float.clear */
	zoom: 1;
	font:normal 15px Helvetica;
	line-height:20px;
}

#dynamicmenu ul li.adxmhover {
	z-index: 10000;
}




#dynamicmenu ul .adxmhoverUL {	/* li:hover>ul selector */
	visibility: visible;
	top: 53px;
	left: 0;
}

#dynamicmenu ul li li {	/* fix white gap problem */
	float: left;/*
	width: 100%;*/
}
#dynamicmenu ul ul a {	/* fix clickability-area problem */
	zoom: 1;
}


#dynamicmenu ul a:hover, #dynamicmenu ul .adxmhoverA {		/* ul li:hover>a selector */
	color:#fff; 
	background:#505050 url(../images/bg_nav_hover.jpg) top left repeat-x;
	border-bottom:2px solid #505050;
}
#dynamicmenu ul ul a:hover, #dynamicmenu ul ul .adxmhoverA {		/* ul ul li:hover>a selector */
	background:#000;
	color:#fff;
	border:none;
	margin-top:0;
	padding-top:5px;
	border:none;
}



#dynamicmenu ul .adxmhoverUL .adxmhoverUL {	/* 2nd+ levels go on the right side of the parent item *//*
	top: 0;
	left: 100%;*/
	display:none;
	visibility:hidden;
}


/*[endif]*/