/* ================================================================ 
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_drop2.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.
=================================================================== */
/* style the outer div to give it width */
.menu
{
	width:800px;
	margin:0px 0px 5px 0px;
	border:0;
	padding:0;
	display:inline;
	float:left;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	margin:0;
	border:0;
	padding:0;
	float:left;
	position:relative;
}
/* style the table so that it takes no part in the layout - required for IE to work */
.menu table
{
	position:absolute;
	top:0;
	left:0;
	margin:0;
	border:0;
	padding:0;
}


/* 1ST LEVEL POSITION */
.menu ul
{
	margin:0;
	border:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	float:left;
}
/* 1ST LEVEL LINKS */
.menu a, .menu a:visited {
	width:121px;
	height:19px;
	margin:0;
	border:1px solid #b1a163;
	padding:5px;

	color:#fff;
	background:url(images/button_a.jpg);

	font-weight:bold;
	text-align:center;
	text-decoration:none;

	float:left;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited
{
	width:121px;
	w\idth:121px;
}
/* 1ST LEVEL HOVER */
.menu a:hover, .menu ul ul a:hover
{
	color:#eeffee;
	background:#0c0 url(images/button_c.jpg);
}
.menu :hover > a, .menu ul ul :hover > a
{
	background:#0c0 url(images/button_c.jpg);
}


/* 2ND LEVEL POSITION */
.menu ul ul
{
	top:31px;
	left:0; 

	margin:0;
	border:0;
	padding:0;
	list-style-type:none;
	float:left;

	visibility:hidden;
	position:absolute;
}
/* 2ND LEVEL LINKS */
.menu ul ul a, .menu ul ul a:visited
{
	width:121px;
	height:19px;
	margin:0;
	border:1px solid #b1a163;
	padding:5px;

	color:#fff;
	background:url(images/button_a.jpg);

	font-weight:bold;
	text-align:center;
	text-decoration:none;

	float:left;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a
{
	width:121px;
	w\idth:121px;
}
/* 2ND LEVEL HOVER */
.menu ul ul a:hover
{
	background:url(images/button_c.jpg);
}
.menu ul ul :hover > a
{
	background:url(images/button_c.jpg);
}
/* 2ND LEVEL LINKS DROP (???) */
.menu ul ul a.drop, .menu ul ul a.drop:visited
{
	width:121px;
	height:19px;
	margin:0;
	border:1px solid #b1a163;
	padding:5px;

	color:#fff;
	background:url(images/button_a.jpg);

	font-weight:bold;
	text-align:center;
	text-decoration:none;

	float:left;
}
/* another hack for IE5.5 */
* html .menu ul ul
{
	top:31px;
	t\op:32px;
}
/* 2ND LEVEL HOVER DROP (???) */
.menu ul ul a.drop:hover
{
	background:url(images/button_c.jpg);
}
.menu ul ul :hover > a.drop
{
	background:url(images/button_c.jpg);
}


/* 3RD LEVEL POSITION */
.menu ul ul ul
{
	left:125px; 
	top:0;
	width:121px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left
{
	left:-125px;
}
/* 3RD LEVEL LINKS */
.menu ul ul ul a, .menu ul ul ul a:visited
{
	background:#5f5f5f;
}
/* 3RD LEVEL HOVER */
.menu ul ul ul a:hover
{
	background:#b2ab9b;
}
.menu ul ul ul :hover > a
{
	background:#b2ab9b;
}


/* LEVEL VISIBILITY */
/* 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;
}
/* 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;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul
{ 
	visibility:visible;
}
