.mainmenu {
	position:relative;
	font-family:arial, sans-serif;
	margin-left: 65px;
	width: 900px;
}
/* hack to correct IE5.5 faulty box model */
* html .mainmenu {

}
/* remove all the bullets, borders and padding from the default list styling */
.mainmenu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

.mainmenu ul ul {
	width:130px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.mainmenu li {
	float:left;
	width:130px;
	position:relative;
}
/* style the links for the top level */
.mainmenu a, .mainmenu a:visited {
	display:block;
	font-size:12px;
	text-decoration:none;
	color:#CCCCCC;
	width:110px;
	height:20px;
	line-height:20px;
	font-weight:bold;
	text-align: center;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .mainmenu a, * html .mainmenu a:visited {
	width:100px;
	w\idth:100px;
}
/* style the second level background */
.mainmenu ul ul a.drop, .mainmenu ul ul a.drop:visited {
        background-image: url(/fileadmin/images/static/arrowdbl.jpg);
	background-repeat: no-repeat;
	background-position: 90px center;
width: 130px;	
}
/* style the second level hover */
.mainmenu ul ul a.drop:hover {
	background-color: #C0c0c0;
}
.mainmenu ul ul :hover > a.drop {
	background-color: #C0c0c0;
        background-image: url(/fileadmin/images/static/arrowdbl2.jpg);
	background-repeat: no-repeat;
	background-position: 90px center;	
}
/* style the third level background */
.mainmenu ul ul ul a, .mainmenu ul ul ul a:visited {

}
/* style the third level hover */
.mainmenu ul ul ul a:hover {

}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.mainmenu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:20px;
	left:0;
	width:110px;
}
/* another hack for IE5.5 */
* html .mainmenu ul ul {
	top:20px;
	t\op:26px;
}
/* position the third level flyout menu */
.mainmenu ul ul ul {
	left:110px;
	top:-1px;
	width:110px;
}
/* position the third level flyout menu for a left flyout */
.mainmenu ul ul ul.left {
	left:-110px;
}
/* style the table so that it takes no ppart in the layout - required for IE to work */
.mainmenu table {
	position:absolute;
	top:0;
	left:0;
	border-collapse:collapse;
	;
}
/* style the second level links */
.mainmenu ul ul a, .mainmenu ul ul a:visited {
	color:#CCCCCC;
	height:auto;
	line-height:1em;
	padding:5px 10px;
	width:auto;
	background-color: #C6000D;
        border: 1px solid #808080;
	text-align: left;

}
/* yet another hack for IE5.5 */
* html .mainmenu ul ul a, * html .mainmenu ul ul a:visited {
	width:110px;
	w\idth:110px;
}
/* style the top level hover */
.mainmenu a:hover, .mainmenu ul ul a:hover {
	color:#000;
	background:#C0C0C0;
}
.mainmenu :hover > a, .mainmenu ul ul :hover > a {
	color:#000;
	background:#C0C0C0;
}
/* make the second level visible when hover on first level list OR link */
.mainmenu ul li:hover ul, .mainmenu ul a:hover ul {
	visibility:visible;
	background-color: #C6000D;

}
/* keep the third level hidden when you hover on first level list OR link */
.mainmenu ul :hover ul ul {
	visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.mainmenu ul :hover ul :hover ul {
	visibility:visible;
}

.mainmenu li.activenavitab a {
	color: #FFFFFF;
	background-color: #C0C0C0;
}
