/* CSS Document */

/* ================================================================ 
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 {
float:left;
width:950px; 
padding-bottom:10px;
background:#CC0000 url(images/RSBS_nav_background.jpg) no-repeat;
text-align:center;
font-size:62.5%;
font-family:Arial bold;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
z-index:1;
text-align:center;
font-size:1.4em;
font-family:Arial bold;

}
.menu ul ul {
width:150px;
font-family:Arial bold;
}

.menu ul ul ul {
width:150px;
font-size:1em;
font-family:Arial bold;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
/* padding adds space between nav buttons*/
.menu li {
float:left;
width:187px;
position:relative;
padding-left:0;
text-align:center;
font-size:1em;
font-family:Arial bold;
}

/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
text-decoration:none; 
color:#fff; 
width:auto; 
height:8px; 
border:solid 1px #000066; 
border-width:1px; 
background:#000066; 
padding-left:10px; 
padding-top:10px;
padding-bottom:8px;
line-height:0px;
text-align:center;
font-size:1.4em;
font-family:Arial bold;


}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:150px;
w\idth:139px;
font-size:1.4em;
font-family:Arial bold;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#333333;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#666666;
}
.menu ul ul :hover > a.drop {
background:#c9ba65;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#6699FF;
}
/* 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;
position:absolute;
height:0;
top:26px;
left:0; 
width:150px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:26px;
t\op:27px;
}

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

*html .menu ul ul ul.left {
position:relative;
left:-300px;
}

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


/* 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:#6699FF; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:167px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:150px;
w\idth:129px;

}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#fff; 
background:#003399;
text-align:center;
font-size:1.4em;
font-family:Arial bold;
}

*html .menu a:hover, .menu ul ul a:hover{
color:#fff; 
background:#003399;
text-align:center;
font-size:1.2em;
font-family:bold Arial;
}

.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:#003399;
}

/* 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;
}

