
/* copyright ArtProLog 2007 Ursula Bartels */

.menu {
	position:relative;
	z-index: 100;
	line-height: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
}
.menu ul {
	font-weight: bold;
	text-transform: none;
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
}

.menu ul ul {
	color: #717f82;
	font-weight: normal;
	width: 150px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	position: relative;
	list-style-image: none;
}
/* style the links for the top level */
.menu a,
.menu a:link,
.menu a:visited {
	color: #fff;
	height: 24px;
	padding-right: 10px;
	padding-left: 10px;
	text-decoration: none;
	border-right: 1px solid #fff;
	display: block;
}

* html .menu a,
* html .menu a:link,
* html .menu a:visited {
	text-align:center;
	float:left;
}

/* style the second level background */
.menu ul ul a,
.menu ul ul a:link,
.menu ul ul a:visited {
	text-align:left;
	font-size: 0.9em;
	color: #717f82;
	width: 150px;
	height: 20px;
	background-color: #eaeced;
	font-weight: normal;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #FFFFFF;
	border-left-color: #FFFFFF;
}

.menu ul ul a:hover {
	color: #717f82;
	background-color: #fff;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility: hidden;
	position: absolute;
	z-index: 200;
	top: 24px;
	margin-left: -1px;
	height: 0;
}

* html .menu ul ul {
	left: 0;
}

/* position the third level flyout menu */
.menu ul ul ul {
	position: absolute;
	z-index: 200;
	top: 0;
	left: 170px;
}

* html .menu ul ul ul {
	left: 150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
	position:absolute;
	z-index: 200;
	top:0;
	left:-4px;
	font-size:1em;
	line-height: 14px
}

/* style the top level hover */
.menu a:hover {
	color: #fff;
	background:#fe8b04
}

.menu :hover > a {
	color: #717f82;
	background-color:#eaeced
}

.menu ul ul a:hover,
.menu ul ul a:active,
.menu ul ul :hover > a {
	color: #717f82;
	background-color:#fff
}

/* style the top level active */
.menu a.act,
.menu a.act:link,
.menu a.act:visited,
.menu a.act:hover,
.menu a.act:active {
	color: #717f82;
	text-decoration: none;
	background-color: #eaeced;
}
* html .menu a.act,
* html .menu a.act:link,
* html .menu a.act:visited,
* html .menu a.act:hover,
* html .menu a.act:active {
	color: #ffffff;
	text-decoration: none;
	background-color: #fe8b04;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul {
	visibility:visible;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul,
.menu ul :hover ul :hover ul ul {
	visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul,
.menu ul :hover ul :hover ul :hover ul {
	visibility:visible;
}
