/* navigation */
/* ================================================================ 
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-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu { height:35px; position:relative; z-index:100; float:left;}
.menu a:hover { text-decoration: none;}

/* hack to correct IE5.5 faulty box model */
* html .menu {width:730px; w\idth:730px;}
/* 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:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;position:relative; border-right:solid 1px #b2b2b2;}
.menu li li { width: 149px; padding: 0; }
/* style the links for the top level */
.menu a {display:block;text-decoration:none; color:#000; height:35px; margin:0px;padding:0 12px 0 12px; line-height:35px;}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a {width:149px; w\idth:128px;}
* html .menu ul li a { width: 100px; }

/* borders */
.menu ul ul ul { border-top: 1px solid #b2b2b2; }
.menu ul ul a { border-left: 1px solid #b2b2b2; border-right: 1px solid #b2b2b2; border-bottom: 1px solid #b2b2b2; }

.menu li.last a, .menu li.last li.last a { border-bottom-color: #b2b2b2; }
.menu li.last li a { border-bottom-color: #cacac8; }


/* style the second level background */
.menu ul ul a.drop {background:#fafafa url(../img/arrow.gif) no-repeat 135px 9px;
	padding-right: 20px; }
* html .menu ul ul a.drop { width: 117px; w\idth:118px; }
/* style the second level hover */
.menu ul ul a.drop:hover{background:#aaaaaa url(../img/arrow-w.gif) no-repeat 135px 9px;}
.menu ul ul :hover > a.drop { color: #000; background:#aaaaaa url(../img/arrow-w.gif) no-repeat 135px 9px; }
/* style the third level background */
.menu ul ul ul a {background:#fafafa;}
/* style the third level hover */
.menu ul ul ul a:hover {background-color:#aaaaaa; background-image: none; }


/* 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:35px;left:0; width:151px; }
/* another hack for IE5.5 */
* html .menu ul ul {top:35px;}

/* position the third level flyout menu */
.menu ul ul ul{top:-1px; width:149px; left:148px; }

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* 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; border-collapse:collapse;}

/* style the second level links */
.menu ul ul a { background:#fafafa; color:#000; height:auto; 
line-height:15px; padding:5px 10px; width:auto;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a {width:150px;w\idth:128px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:#83070d; background:#aaaaaa; }
.menu :hover > a {color:#83070d; background:url(../img/menu/nav-back-over.gif) repeat-x #aaaaaa; }
.menu ul ul :hover > a { color: #83070d; }
.menu ul ul ul :hover > a { background: #aaaaaa; color: #83070d; }

/* 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;}
.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;}
.menu ul :hover ul :hover ul :hover ul { visibility: visible; }

.menu ul a.active { background: url(../img/menu/nav-back-over.gif) repeat-x; color: #83070d;}