/************************************************************************************/
/************************ DHTML_menu positional stuff *******************************/

.nav_main ul.dhtml_menu, .nav_main ul.dhtml_menu ul { /* remove all list stylings */
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
}
.nav_main ul.dhtml_menu li {
	margin: 0;
	padding: 0;
	border: 0;
	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... */
	list-style: none;
}
.nav_main ul.dhtml_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 */
}
.nav_main ul.dhtml_menu li li {
	float: none;		 /* items of the nested menus are kept on separate lines */
	position:relative !important;
}
.nav_main ul.dhtml_menu 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: 0;		       /* to avoid scrollbars as much as possible */
}
.nav_main ul.dhtml_menu li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	            /* 1st level go below their parent item */
}
.nav_main ul.dhtml_menu li li:hover>ul {	    /* 2nd+ levels go on the right side of the parent item */
	top: 0;
	left: 100%;
}
/* -- float.clear -- force containment of floated LIs inside of UL */
.nav_main ul.dhtml_menu:after, .nav_main ul.dhtml_menu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
.nav_main ul.dhtml_menu, .nav_main ul.dhtml_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 ".nav_main ul.dhtml_menu UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
.nav_main ul.dhtml_menu ul {
	background-image: url(../img/empty.gif);	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	padding: 10px 30px 30px 30px;
	margin: -10px 0 0 -30px;
	/*background: #f00 !important;	/* uncomment this if you want to see the "safe" area. you can also use to adjust the safe area to your requirement */
}
.nav_main ul.dhtml_menu ul ul {
	padding: 30px 30px 30px 10px;
	margin: 0 0 0 -10px;
}
/* -- sticky.submenu.END -- */



/************************************************************************************/
/*************************** DHTML_menu styles **************************************/
/* top level */
.nav_main ul.dhtml_menu {
	list-style: none;
	margin: 0 0 0 8px;
	padding: 0;
}
.nav_main ul.dhtml_menu li {
	float: left;
	display: block;
	margin: 0;
	padding: 0 20px;
}
.nav_main ul.dhtml_menu li a {
	display: block;
	color: #ffffff;
}
.nav_main ul.dhtml_menu li a:hover, .nav_main ul.dhtml_menu li:hover>a {
	color: #c6ec9f;
	text-decoration: none;
}
.nav_main ul.dhtml_menu li a.selected {
	color: #006633;
}

/* nested levels */
.nav_main ul.dhtml_menu li ul {
	width: 180px;
	margin: -10px 0 0 0;
	padding: 10px 0 0 0;
	background: transparent url(../img/dhtml_menu_bg.png) 0 0 no-repeat;
}
* html .nav_main ul.dhtml_menu li ul { background-image: none; } /* cos IE6 can't handle the transparency */
.nav_main ul.dhtml_menu li ul li {
	margin:0;
	padding:0;
	float:none;
	border:none;
	height: auto;
	line-height: 100%;
	font-size: 13px; /* bring back to 12px from the 1.25em (15px) the top level is */
}
.nav_main ul.dhtml_menu li ul li ul {
	margin:0;
	padding:0;
}

.nav_main ul.dhtml_menu li ul li a, .nav_main ul.dhtml_menu li:hover ul li a {
	display: block;
	float:none;
	position: relative;
	border:none;
	padding: 8px;
	height: auto;
	line-height: 100%;
	background: #000 url(../img/dhtml_menu_bg.png) 0 -10px no-repeat;
	border-bottom: 1px solid #444;
	color: #6fbe44;
}
* html .nav_main ul.dhtml_menu li ul li a { background-image: none; } /* cos IE6 can't handle the png transparency */
.nav_main ul.dhtml_menu li ul li a:hover, .nav_main ul.dhtml_menu li ul li:hover>a  {
	color: #FFFFFF;
	background-position: 0 -35px;
}

/* random */
.nav_main ul.dhtml_menu li ul li:hover>ul {	/* inset 2nd+ submenus, to show off overlapping */
	padding:0;
	margin: 3px 0 0 -3px;
}


/********************************************************************************************/
/**************************** Internet Explorer only styles ********************************/

/* Hides from IE5-mac \*/
* html .nav_main a {
	float:left;
}
* html .nav_main ul.dhtml_menu, * html .nav_main ul.dhtml_menu ul {
	zoom: 1;
}
* html .nav_main ul.dhtml_menu li.adxmhover {
	z-index: 10000;
	/*color: #3f9c35;
	background-color: #cfe6cc;*/
}
* html .nav_main ul.dhtml_menu .adxmhoverUL {
	visibility: visible;
}
* html .nav_main ul.dhtml_menu .adxmhoverUL {
	top: 100%;
	left: 0;
}
* html .nav_main ul.dhtml_menu .adxmhoverUL .adxmhoverUL {
	top: 0;
	left: 100%;
}
* html .nav_main ul.dhtml_menu ul a {
	zoom: 1;
}
* html .nav_main ul.dhtml_menu ul li {
	display:inline !important;
}
* html .nav_main ul.dhtml_menu ul li a:link, * html .nav_main ul.dhtml_menu ul li a:visited, * html .nav_main ul.dhtml_menu ul li a:hover {
	text-decoration: none;
	display:inline-block;
	display:block;
}
* html .nav_main ul.dhtml_menu li ul li {
	margin:0;
	padding:0;
}
* html .nav_main ul.dhtml_menu li li {
	width:100%;
	margin:0;
	padding:0;
}
* html .nav_main ul.dhtml_menu ul li a:link, * html .nav_main ul.dhtml_menu ul li a:visited, * html .nav_main ul.dhtml_menu ul li a:hover {
	float:none;
}
* html .nav_main ul.dhtml_menu ul ul {
	padding:0;
}
/* End hide from IE5-mac */
