/* ================================================================
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.
==absolute================================================================= */
/* style the outer div to give it width */
.menu {
width:700px;
font-size:11px;
height: 0px;
}
/* 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:140px;
}
/* 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:140px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:11px;
text-decoration:none;
color:#fff;
width:129px;
height:20px;
border:1px solid #FFFFFF;
border-width: 0px 0px 1px 1px;
background:#000000;

padding-left:10px;
line-height:19px;

-moz-opacity: .8;
opacity: .8;
filter: alpha(opacity=80);
}

/* style the second level background */
.menu ul ul li.HasSubPage > a, .menu ul ul li.HasSubPage > a:visited {
background-image: url(../img/drop.gif);
background-position: bottom right;
background-repeat: no-repeat;
}
/* style the second level hover */
.menu ul ul li.HasSubPage > a:hover{
background-image: url(../img/drop.gif);
background-position: bottom right;
background-repeat: no-repeat;
}
.menu ul ul :hover > li.HasSubPage a {
background-image: url(../img/drop.gif);
background-position: bottom right;
background-repeat: no-repeat;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#000000;
}
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#000000;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#333333;
}
.menu ul ul ul :hover > a {
background:#333333;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
/*visibility:hidden;*/
display:none;
position:absolute;
height:0;
top:21px;
left:0;
width:140px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:140px;
top:0;
width:140px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-140px;
}

/* 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;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#000000;
color:#FFFFFF;
height:auto;
line-height:1em;
padding:5px 10px;
width:119px
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#FFFFFF;
background:#333333;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#FFFFFF;
background:#333333;
}

/* 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;*/
display: block;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
/*visibility:hidden;*/
display:none;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
/*visibility:hidden;*/
display:none;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
/*visibility:visible;*/
display: block;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
/*visibility:visible;*/
display: block;
}