/* ================================================================ 
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:84px; 
/*font-size: 0.85em; */
position:relative;
z-index:100;

}
/* 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:84px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:right;
width:84px;
position:relative;
top: -2px;
}
*:first-child+html .menu li {
top: 0px;
}


/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size: 11px; /* original setting was  11px */
text-decoration:none; 
color:#fff; 
width:84px; 
height: 84px;  
/*border:1px solid #a5b5d4; 
border-width:2px 0px 2px 2px;*/ 
background:#002469 url(images/but_home_off.jpg) bottom right no-repeat; 
padding: 0px 0px; 
text-align: center;
/*line-height: 19px; */
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:84px;
w\idth:84px;
}
* html .menu li {
top: 0px;
}

/* style the second level background 
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#d4d8bd url(../../graphics/drop.gif) bottom right no-repeat;
text-align: left;
}*/
/* style the second level hover 
.menu ul ul a.drop:hover{
background:#000000 url(../../graphics/drop.gif) bottom right no-repeat;

}
.menu ul ul :hover > a.drop {
background:#000000 url(../../graphics/drop.gif) bottom right no-repeat;
}*/
/* style the third level background 
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#000000;
text-align: left;
}*/
/* style the third level hover 
.menu ul ul ul a:hover {
background:#000000;
}
*/

/* 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: 20px;

/* Use this top style to position the dropdown menu from the top of the main menu. Don't forget the IE hack below */
top:86px;
left:0; 
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:84px;
t\op:84px;
}

/* position the third level flyout menu 
.menu ul ul ul{
left:124px; 
top:0;
width:113px;
}*/
/* position the third level flyout menu for a left flyout 
.menu ul ul ul.left {
left:-124px;
}*/

/* 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: #0082C5;  /* original color 8ba0c7*/
color: #FFFFFF; 
/*  
line-height: 14px; 
height: 20px;*/
border:1px solid #0082C5;
border-width:1px 1px 1px 1px;
height: 18px;
padding:2px 0px 0px 7px; 
width:75px;
text-align: left;
}

/* yet another hack for IE5.5 */

* html .menu ul ul a{
width: 75px;
w\idth: 75px;
}


/* --------------------------------- style the top level hover --------------------------------- */
.menu a:hover {
color:#fff; 
background: url(images/but_home_on.jpg) bottom right no-repeat;

}
.menu :hover > a {
color:#fff;
background: url(images/but_home_on.jpg) bottom right no-repeat;
}

/* ------------------------------  style the second level hover -------------------------------- */
.menu ul ul a:hover{
color:#fff; 
background:#059AE7;
/*border:1px solid #FFF;
border-width:1px 1px 1px 1px;*/
}
.menu ul ul :hover > a {
color:#fff;
background:#059AE7;
/*border:1px solid #FFF;
border-width:1px 1px 1px 1px;*/
}


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



