
/* ================================================================ 
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/simple_vertical_centered.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/* Get rid of the margin, padding and bullets in the unordered lists */
#menu {
	padding:0;
	margin:0 auto;
	list-style-type: none;
	display:table;
}

#menu ul {
	height:52px;
	padding:0;
	margin:0;
	list-style-type: none;
	display:block;
}

/* Hide the sub levels */
#menu li {
	background-image: url(../images/layout/nav_trenner.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	padding-right:3px;
	white-space:nowrap
}

#menu li ul li {
	background-image: none;
	padding-right:0px;
}

/* Hide the sub levels */
#menu li ul {
	display:none;
}

* html #menu li {
	width:50px;
	white-space:nowrap
}

/* Set up the link size, color and borders */
#menu li a,
#menu li a:link,
#menu li a:visited
#menu li a:hover,
#menu li a:active {
	display:block;
	color:#666666;
	font-size:1.3em;
	text-transform:uppercase;
	height:52px;
	line-height:48px;
	text-decoration:none;
	text-align:center;
	padding-left:20px;
	padding-right:20px
}

/* Set up the sub level borders */
#menu li ul li a,
#menu li ul li a:link,
#menu li ul li a:visited,
#menu li ul li a:hover ,
#menu li ul li a:active   {
	color:#FFFFFF;
	text-align:left;
	height:22px;
	line-height:22px;
	width:120px;
	text-transform:none;
	font-size:1em;
	border-top-width: 0;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #113e50;
	border-right-color: #113e50;
	border-bottom-color: #113e50;
	border-left-color: #113e50;
	background-color:#316981
}

* html #menu li ul li a,
* html #menu li ul li a:link,
* html #menu li ul li a:visited,
* html #menu li ul li a:hover,
* html #menu li ul li a:active  {
	font-size:12px;
	background-image: none;
}

#menu li a.enclose,
#menu li a.enclose:visited {
	border-width:1px;
}

/* Set up the list items */
#menu li {
	float:left;
}

#menu li.tc {
	display:table-cell;
}

#menu li.first {
	background-image: url(../images/layout/nav_trenner.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	height:52px;
	width:0px;
}

#menu li.act {
	color:#FFFFFF;
}

#menu li.act div.actwrap1 {
	height:52px;
	display:block;
	color:#FFFFFF;
	background-image: url(../images/layout/nav_act_s.jpg);
	background-repeat:repeat-x;
	background-position: left top;
}

#menu li.act div.actwrap2 {
	color:#FFFFFF;
	background-image: url(../images/layout/nav_act_er.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}

#menu li.act div.actwrap2 a {
	color:#FFFFFF;
	background-image: url(../images/layout/nav_act_el.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

/* For Non-IE browsers and IE7 */
#menu li:hover {
	position:relative;
}

/* Make the hovered list color persist */
#menu li ul li:hover > a {
	color:#fff;
	background-color:#7fa9ba
}

/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#menu li:hover > ul {
	display:block;
	position:absolute;
	top:-1px;
	left:131px;
	width:120px;
	background-color: transparent;
	background-image: url(../images/misc/blank.gif);
	padding-top: 0px;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 30px;
}

#menu li:hover.noact {
	color:#FFFFFF;
}

#menu li:hover.noact div.actwrap1 {
	height:52px;
	display:block;
	color:#FFFFFF;
	background-image: url(../images/layout/nav_act_s.jpg);
	background-repeat:repeat-x;
	background-position: left top;
}

#menu li:hover.noact div.actwrap2 {
	color:#FFFFFF;
	background-image: url(../images/layout/nav_act_er.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}

#menu li:hover.noact div.actwrap2 a {
	color:#FFFFFF;
	background-image: url(../images/layout/nav_act_el.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

/* Position the first sub level beneath the top level liinks */
#menu > li:hover > ul {
	left:-30px;
	top:52px;
}

/* get rid of the table */
#menu table {
	position:absolute;
	border-collapse:collapse;
	top:0;
	left:0;
	z-index:100;
	font-size:1em;
}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #menu li a:hover {
	position:relative;
	background:transparent;
	color:#666;
}

* html #menu li.act a:hover {
	position:relative;
	color:#fff;
	background-color: transparent;
	background-image: url(../images/layout/nav_act_el.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

* html #menu li.act ul li a:hover {
	position:relative;
	background-color:#7fa9ba;
	color:#fff;
	background-image: none;
}

* html #menu li ul li a:hover {
	position:relative;
	background-color:#7fa9ba;
	color:#fff;
}

/* For accessibility of the top level menu when tabbing */
#menu li a:active,
#menu li a:focus {
	background:#transparent;
	color:#fff;
}

/* Set up the pointers for the sub level indication */
#menu li.fly {
}

/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */
* html #menu li ul {
	visibility:hidden;
	display:block;
	position:absolute;
	top:0;
	left:80px;
	padding:0px 30px 30px 30px;
	background-color: transparent;
	background-image: url(../images/misc/blank.gif);
}

/* keep the third level+ hidden when you hover on first level link */
#menu li a:hover ul ul {
	visibility:hidden;
}

/* keep the fourth level+ hidden when you hover on second level link */
#menu li a:hover ul a:hover ul ul {
	visibility:hidden;
}

/* keep the fifth level hidden when you hover on third level link */
#menu li a:hover ul a:hover ul a:hover ul ul {
	visibility:hidden;
}

/* keep the sixth level hidden when you hover on fourth level link */
#menu li a:hover ul a:hover ul a:hover ul a:hover ul ul {
	visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
#menu li a:hover ul {
	visibility:visible;
	left:-30px;
	top:52px;
	lef\t:-31px;
	to\p:52px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
#menu li a:hover ul a:hover ul {
	visibility:visible;
	top:-1px;
	left:88px;
}

/* make the fourth level visible when you hover over third level link */
#menu li a:hover ul a:hover ul a:hover ul {
	visibility:visible;
}

/* make the fifth level visible when you hover over fourth level link */
#menu li a:hover ul a:hover ul a:hover ul a:hover ul {
	visibility:visible;
}

/* make the sixth level visible when you hover over fifth level link */
#menu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul {
	visibility:visible;
}

