/* ================================================================ 
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/final_drop.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 {
	width:679px; 
	font-size:10px; /*0.85em*/
	position:relative;
	top: 23px;
	/* z-index:100; */
	text-align: center;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}
.menu ul ul {
	width:165px; /*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;
	width:165px; /*150*/
	position:relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none; 
	color:#000; /*fff*/
	width:165px; /*139*/
	/*height:25px;*/ /* 30px */ 
	/* border:1px solid #fcf08c;  */
	border-width:1px 1px 0 0; 
	/* background:#fcf08c; /*758279*/
	/*padding-left:5px; */
	line-height:30px; /*29*/
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width:165px; /*150*/
	w\idth:165px; /*139*/
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
/* background:#e1cf63 url(../../graphics/drop.gif) bottom right no-repeat; /*d4d8bd*/
	color:#000000;
	border-color:#666666;
	border-width:thin;
	border-style:solid;
	background-color:#E5E9EE;
	text-align:left;
	background-image:url(../img/arrow_header_menu.gif);
	background-repeat:no-repeat;
	background-position:right center;

}

/* style the second level hover */
.menu ul ul a.drop:hover{
/* background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat; */
	color: #000000;
	text-decoration:underline;
	background-image:url(../img/arrow_header_menu.gif);
	z-index: 99;
	/* background-image:none; */
}

.menu ul ul :hover > a.drop {
	/* background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat; */
}

/* style the second level background */
.menu ul ul a.non_drop, .menu ul ul a.non_drop:visited {
	border-color:#666666;
	border-width:thin;
	border-style:solid;
	background-color:#E5E9EE;
	text-align:left;
	/*background-image:url(../img/arrow_header_menu.gif);*/
	background-repeat:no-repeat;
	background-position:right center;
/* background:#cccccc url(../../graphics/drop.gif) bottom right no-repeat; /*d4d8bd  e1cf63*/

}

/* style the second level hover */
.menu ul ul a.non_drop:hover{
	text-decoration:underline;
	color: #000000;
}


/* style the second level background */
.menu ul ul a.non_drop_sub, .menu ul ul a.non_drop_sub:visited {
	border-color:#666666;
	border-width:thin;
	border-style:solid;
	background-color:#E5E9EE;
	text-align:left;
	background-image:url(../img/arrow_header_menu_sub.gif);
	background-repeat:no-repeat;
	background-position:left center;
	text-indent:20px;
	width: 250px;
	/* background:#cccccc url(../../graphics/drop.gif) bottom right no-repeat; /*d4d8bd  e1cf63*/
}

/* style the second level hover */
.menu ul ul a.non_drop_sub:hover{
	text-decoration:underline;
	color: #000000;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#e2dfa8;
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background:#b2ab9b;
}


/* 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:31px;
	left:0; 
	width:165px; /*150*/
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top:30px;
	t\op:31px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left:165px;  /*150*/
	top:0;
	width:165px; /*150*/
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left:-165px; /*-150*/
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#e1cf63; /*d4d8bd*/
	color:#000; 
	height:auto; 
	line-height:1em; 
	padding:5px 5px;  /*5 10*/
	width:155px /*129*/
}

/* yet another hack for IE5.5 */
* html .menu ul ul a{
	width:165px; /*150*/
	w\idth:165px; /*129*/
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	/* color:#fff; 
	background:#efdc74; /*949e7c*/
}
.menu :hover > a, .menu ul ul :hover > a {
	/* color:#fff;
	background:#efdc74; /*949e7c*/
}

/* style the top level hover */
.menu a.er:hover, .menu ul ul a.er:hover{
	/* color:#fff; 
	background:#efdc74; /*949e7c*/
	background-image:url(../img/er_h.gif);
	background-position:center top;
	background-repeat:no-repeat;
}
.menu :hover > a.er, .menu ul ul :hover > a.er {
	/* color:#fff;
	background:#efdc74; /*949e7c*/
	/* background-image:url(../img/er_h.gif); */
	background-position:center top;
	background-repeat:no-repeat;
}

/* style the top level hover */
.menu a.wd:hover, .menu ul ul a.wd:hover{
	/* color:#fff; 
	background:#efdc74; /*949e7c*/
	/* background-image:url(../img/wd_h.gif); */
	background-position:center top;
	background-repeat:no-repeat;
}
.menu :hover > a.wd, .menu ul ul :hover > a.wd {
	/* color:#fff;
	background:#efdc74; /*949e7c*/
	/* background-image:url(../img/wd_h.gif); */
	background-position:center top;
	background-repeat:no-repeat;
}

/* style the top level hover */
.menu a.df:hover, .menu ul ul a.df:hover{
	/* color:#fff; 
	background:#efdc74; /*949e7c*/
	/* background-image:url(../img/df_h.gif); */
	background-position:center top;
	background-repeat:no-repeat;
}
.menu :hover > a.df, .menu ul ul :hover > a.df {
	/* color:#fff;
	background:#efdc74; /*949e7c*/
	/* background-image:url(../img/df_h.gif); */
	background-position:center top;
	background-repeat:no-repeat;
}

/* style the top level hover */
.menu a.ld:hover, .menu ul ul a.ld:hover{
	/* color:#fff; 
	background:#efdc74; /*949e7c*/
	/* background-image:url(../img/ld_h.gif); */
	background-position:center top;
	background-repeat:no-repeat;
}
.menu :hover > a.ld, .menu ul ul :hover > a.ld {
	/* color:#fff;
	background:#efdc74; /*949e7c*/
	/* background-image:url(../img/ld_h.gif); */
	background-position:center top;
	background-repeat:no-repeat;
}

.menu img{
	border:none;
}

.menu ul.ul_first_drop{
	color:#000000;
	margin-left:20px;
	margin-top: -5px;
	z-index: 100;
}

/* 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{
	visibility:hidden;
}

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