
/* ----------------- wrapper div ----------------- */ 
#dynamicmenu {/*
	position:absolute;
	top:183px;
	left:0;*/
	float:left;
	display:inline;
	clear:both;
	margin:0 10px;
	padding:0;
	width:960px;
	height:37px;
	text-align:center;
	z-index:20000;
}






/* ----------------- main links ----------------- */ 
#dynamicmenu ul {
	font-size:15px;
	line-height:37px;
	font-weight:bold;
	color:#fff;
	text-decoration:none;
	text-align:center;
	margin: 0 auto;
	padding: 0;
}
#dynamicmenu ul li {
	margin: 0 -2px;
	padding: 0;
	display: inline-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: 20000;		/* thus we need to apply explicit z-index here... */
}

#dynamicmenu ul li:hover {
	z-index: 20000;	/* ...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 20px;
	text-decoration: none;
	color: #fff;
	display: inline-block;
	position: relative;
	font-weight:bold;
	border-left:1px solid #996c44;
	border-right:1px solid #4c2301;
}
#dynamicmenu ul li a:hover, #dynamicmenu ul li:hover>a {
	color:#fff;
	background:#a4680d url(../images/bg-nav-over.gif) 0 0 repeat-x;
	display: inline-block;
	line-height:37px;
	z-index:20000;
}





/* ----------------- level 2 links ----------------- */ 
#dynamicmenu ul ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 20000;
	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;
	font:normal 13px Helvetica;
	line-height:18px;
	margin:0;
	padding:0 !important;
	display: block;
	text-align:left;
	background:#a4680d;
	z-index:20000;
}
#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:#fff;
	text-indent:0;
	margin:0;
	padding:5px;
	font-size:12px;
	line-height:15px;
	font-weight:normal;
	text-align:left;
	background-image:none;
	border:none;
}
#dynamicmenu ul ul a:hover, #dynamicmenu ul ul li:hover>a {
	background:#7a3901;
	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 --  */



