.menu { width:640px; height:35px; font-size:0.85em; position: relative; }

/* remove all the bullets, borders and padding from the default list styling */
.menu ul { margin: 0; list-style-type: none; height: 35px;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li { float:left; height: 35px; }


/* style the links for the top level */
.menu a, .menu a:visited { display: block; float: left; text-indent: -1000px; height: 100%; font-size: 1em; text-decoration: none; color: #fff; background: url(../images/menu_back.gif) top left no-repeat; padding:0;}


/* style the sub-level lists */
.menu ul ul { width: 160px; padding: 0; margin: 0; background: green; }

/* style the sub level list items */
.menu ul ul li { display: block; width: 160px; height: auto; line-height: 20px; }

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited { display:block; font-size: 13px; text-decoration: none; text-indent: 0; background:#EEE; color:#000; width:160px;  border-bottom: 1px solid #fff; line-height:1em; padding: 7px 10px 7px 10px;}
* html .menu ul ul a, * html .menu ul ul a:visited  {width:160px;}


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table { position: absolute; left:1px; top:0; width:0; height:0; font-size:1em; z-index:-1;}


/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#b4be9c;}


/* style the level hovers
************************************************/

/* first */
* html .menu a:hover {color:#eb2f23;  position:relative; z-index:100; }
.menu li:hover {position:relative;}
.menu :hover > a {color:#eb2f23; }

/* second */
* html .menu ul ul a:hover{color:#fff;background:#666; position:relative; z-index:110;}
.menu ul ul li:hover {position:relative;}
.menu ul ul :hover > a {color:#fff; background:#666;}

/* third */
* html .menu ul ul ul a:hover {background:#c4ceac; position:relative; z-index:120;}
.menu ul ul ul :hover > a {background:#c4ceac;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul { visibility:hidden; position:absolute; height:0; top:39px; left:0; width:140px; }

/* position the third level flyout menu */
.menu ul ul ul{left:140px; top:0; width:140px;}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{visibility:visible; height:auto; padding-bottom:3em; background:transparent url(images/trans.gif);}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}

/* keep the fourth level hidden when you hover on second level list OR link */
.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{visibility:visible;}


.menu ul li a#mn25 { background-position: -619px 0; width: 160px; }
.menu ul li a#mn2  { background-position: 0px 0; width: 160px; }
.menu ul li a#mn3  { background-position: -160px 0; width: 160px; }
.menu ul li a#mn4  { background-position: -320px 0; width: 160px; }
.menu ul li a#mn75  { background-position: -480px 0; width: 160px; }
.menu ul li a#mn6  { background-position:  -18px 0; width: 160px; }

.menu ul li a#mn25:hover { background-position: 0px -43px; width: 160px; }
.menu ul li a#mn2:hover  { background-position: 0px -43px; width: 160px; }
.menu ul li a#mn3:hover  { background-position: -160px -43px; width: 160px; }
.menu ul li a#mn4:hover  { background-position: -320px -43px; width: 160px; }
.menu ul li a#mn75:hover { background-position: -480px -43px; width: 160px; }
.menu ul li a#mn6:hover  { background-position:  -18px -43px; width: 160px; }

.menu ul li a#mn25a { background-position: -619px -43px; width: 160px; }
.menu ul li a#mn2a  { background-position: 0px -43px; width: 160px; }
.menu ul li a#mn3a  { background-position: -160px -43px; width: 160px; }
.menu ul li a#mn4a  { background-position: -320px -43px; width: 160px; }
.menu ul li a#mn75a  { background-position: -480px -43px; width: 160px; }
.menu ul li a#mn6a  { background-position:  -18px -43px; width: 160px; }


/* Subnavi
************************************************/

#subnavi { 
	width:320px; 
	
}

#subnavi ul { width:320px;  margin: 0; list-style-type: none;}
#subnavi ul li { 
	height: 30px; 
}
#subnavi a, #subnavi a:visited { 
	float: left; 
	display: block; 
	width: 320px; 
	height: 30px; 
	padding: 0; 
	color: #FFF;
	line-height: 30px;
	padding-left: 10px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	background: url(../images/sub_back.gif) no-repeat;
	background-position: 0 0;
}

#subnavi a:hover {
	color:#EEE;
	background-position: 0px -30px;
}

#subnavi .navi_act a {
	color: #eb2f23;
	text-indent: 0px;
	background: url(../images/sub_back.gif) no-repeat;
	background-position: 0px -30px;
}

#subnavi .navi_act .level_2 a {
	color: #fff;
	text-indent: 20px;
}

#subnavi .navi_act .level_2 .navi_act a {
	color: #eb2f23;
}

#subnavi .navi_act a:hover {
	color: #000;
}

#subnavi .level_2 {
	text-indent: 20px;
	background: #404040;
}

#subnavi .level_2 a, #subnavi .level_2 a:visited {
	border-bottom: 1px solid #404040;
	background: #505050;
}

#subnavi .level_2 a:hover {
	color: #eb2f23;
	background: #404040;
}

