/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk#menus/dd_valid.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#menu ul {
    /* remove the list style and spaces*/
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: inline;
    /* position absolute so that z-index can be defined */
    /*position: absolute;*/
	position:relative;
    /* center the menu, depend on the width of you menu*/
    left: 0px;
    top: 0px;
    /* should be higher than #box */
    z-index: 100;
}

#menu #box {
    /* position absolute so that z-index can be defined and able to move this item using javascript */
    position: absolute;
    left: 0;
    top: 0;
    /* should be lower than the list menu */
    z-index: 50;
    background: url(images/menu-selected-bg.gif) no-repeat bottom center;
    height: 42px;
}


/* common styling */
#menu {
    position: relative;
    width: 100%;
    height: 42px;
	z-index: 100;
	color: #fff;
	top: 0px !important;
	top: -20px;
}

/* main menu - 0 level */
#menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
#menu ul li {
	float: left;
	position: relative;
	margin: 0;
}
/* 1st level */
#menu ul li ul {
	display: none;
	background-color: #00b151;
	width: 300px;
	padding-bottom: 10px;
	background: url(images/dropdown-menu-bg.png) repeat-x bottom center #00bd3f;
	border: 1px solid black;
	border-width: 0 1px 1px 1px;
	-moz-border-radius-bottomleft: 12px;
	-webkit-border-bottom-left-radius: 12px;
	-moz-border-radius-bottomright: 12px;
	-webkit-border-bottom-right-radius: 12px;
}
/* 2nd level menu ul */
#menu ul li ul li ul {
	background: url(images/dropdown-menu-lv2.png) repeat-x bottom center #009731;
	width: 380px;
}

/* main menu - 0 level */
#menu ul li a, #menu ul li a:visited {
	margin: 0 15px;
	border: none;
	overflow: hidden;
	color: #fff;
	line-height: 42px;
	text-decoration: none;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
}
/* 1st level menu link */
#menu ul li ul a, #menu ul li ul a:visited {
	width: 280px;
	margin: 0;
	padding: 0 10px;
	text-align: left;
	line-height: 24px;
	overflow: hidden;
	border: none;
	font-weight: normal;
	font-size: 12px;
}
/* 2nd level menu link */
#menu ul li ul li ul a, #menu ul li ul li ul a:visited {
	display: block;
	text-decoration: none;
	width: 360px;
	height: 24px;
	text-align: left;
	color: #fff;
	border: none;
	line-height: 24px;
	overflow: hidden;
}

/* specific to non IE browsers */
#menu ul li:hover ul {
	color: #fff;
	display: block;
	position: absolute;
	top: 42px;
	left: 0;
}
/* link containg next level */
#menu ul li:hover ul li a.hide {
	background: url(images/dropdown-next-level.png) no-repeat right center;
}
#menu ul li:hover ul li:hover a.hide {
	background: url(images/dropdown-next-level.png) no-repeat right center #009731;
}
#menu ul li:hover ul li ul {
	display: none;
	color: #fff;
}
#menu ul li:hover ul li a {
	display:block;
}
#menu ul li:hover ul li a:hover {
	/*background:#01853d;*/
	background: #007a36;
	color: #fff;
}
#menu ul li:hover ul li:hover ul {
	display: block;
	position: absolute;
	left: 300px;
	top: 0;
	color: #fff;
}

