
/* ----------------- wrapper div ----------------- */ 
#dynamicmenu {
	position:relative;
	margin:0;
	padding:0;
	width:956px;
	height:55px;
	text-align:center;
	clear:both;
	z-index:5;
}






/* ----------------- main links ----------------- */ 
#dynamicmenu ul {
	font-size:16px;
	line-height:55px;
	font-weight:normal;
	color:#000;
	text-decoration:none;
	text-align:center;
	margin: 0;
	padding: 0;
}
#dynamicmenu ul li {
	margin: 0;
	padding: 0 0 18px;
	display: inline;
	/*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... */
}

#dynamicmenu ul li:hover {
	z-index: 5;	/* ...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 */
	margin-top:0;
	padding-top:0;
}
#dynamicmenu ul a {
	padding:0 10px;
	text-decoration: none;
	color: #000;
	display: inline-block;
	position: relative;
	font-weight:bold;
	line-height:55px;
	background:url(../images/bg-nav-arrow-black.png) right 13px no-repeat;
}
#dynamicmenu ul li a:hover, #dynamicmenu ul li:hover>a {
	color:#9e1c20;
	background:url(../images/bg-nav-over.png) 0 0 repeat-x;
	display: inline-block;
	line-height:55px;
}





/* ----------------- level 2 links ----------------- */ 
#dynamicmenu ul ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 5;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
}
#dynamicmenu ul ul {
	width:140px;
	position:absolute;
	border:1px solid #aaa;
	font:normal 13px Helvetica;
	line-height:18px;
	margin:0;
	padding:0 !important;
	display: block;
	text-align:left;
	background:#eee;
	z-index:5;
}
#dynamicmenu ul li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	/* 1st level go below their parent item */
	margin:0;
	padding:0;
}

#dynamicmenu ul ul li {
	font:normal 13px Helvetica;
	line-height:15px;
	color:#fff;
	text-decoration:none;
	text-align:left;
	background:none;
	margin:0;
	padding:0;
}
#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:130px;
	display:block; 
	color:#333;
	text-indent:0;
	margin:0;
	padding:5px;
	font-size:12px;
	line-height:15px;
	text-align:left;
	background-image:none;
}
#dynamicmenu ul ul a:hover, #dynamicmenu ul ul li:hover>a {
	background:#9e1c20;
	color:#fff;
	font-size:12px;
	line-height:15px;
	margin:0;
	border-bottom: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 --  */


