/* ================================================================ 
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:598px;
	font-size:0.85em;
	position:relative;
	z-index:100;
	background-color: #DCDCDC;
	height: 30px;
}
/* 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:72px;
}
/* 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:72px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none;
	color:#000000;
	width:72px;
	height:30px;
	padding-left:6px;
	line-height:29px;
	background-color: #DCDCDC;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1;
	border-left-width: 0;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #fff;
	border-right-color: #fff;
	border-bottom-color: #fff;
	border-left-color: #fff;
	background-image: url(images/menudivider.gif);
	background-repeat: repeat-y;
	background-position: left top;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:61px;
w\idth:61px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#EFEFEF url(images/menudrop.gif) bottom right no-repeat;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#CCCCCC url(images/menudrop.gif) bottom right no-repeat;
}
.menu ul ul :hover > a.drop {
background:#CCCCCC url(images/menudrop.gif) bottom right no-repeat;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#CCCCCC;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#999999;
}


/* 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:30px;
left:0; 
width:72px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:29px;
t\op:30px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:151px; 
top:0;
width:132px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-152px;
}

/* 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:#EFEFEF; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:131px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:132px;
w\idth:131px;
}


/* style the top level hover */
.menu a:hover {
color:#fff; 
background:#003366;
}
.menu :hover > a {
color:#fff;
background:#003366;
}
.menu ul ul a:hover{
color:#000; 
background:#CCCCCC;
}
.menu ul ul :hover > a {
color:#000;
background:#CCCCCC;
}

/* 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;
}

/* new rules added for different widths of menu */
.menu ul li.verywide, .menu ul li.verywide a {
	width: 120px;
}
*html .menu ul li.verywide, *html .menu ul li.verywide a {
	width: 114px;
}
.menu ul li.wide, .menu ul li.wide a {
	width: 100px;
}
*html .menu ul li.wide, *html .menu ul li.wide a {
	width: 94px;
}
.menu ul li.slightlynarrow, .menu ul li.slightlynarrow a {
	width: 60px;
}
*html .menu ul li.slightlynarrow, *html .menu ul li.slightlynarrow a {
	width: 54px;
}
.menu ul li.narrow, .menu ul li.narrow a {
	width: 50px;
}
*html .menu ul li.narrow, *html .menu ul li.narrow a {
	width: 44px;
}
.menu ul li.verynarrow, .menu ul li.verynarrow a {
	width: 40px;
}
*html .menu ul li.verynarrow, *html .menu ul li.verynarrow a {
	width: 34px;
}

