/* 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_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:32px; position:relative; z-index:100; margin: 0; padding: 15px 0 0 0; clear: both; width: 900px; font-size: 1.3em; font-weight: bold;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:901px; w\idth:900px;}
/* 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:14em;}
/* 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:auto;position:relative;}
/* style the links for the top level */
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:auto;}

.menu a, .menu a:visited {margin: 0; padding: 0 0 0 12px; color: #333; background: url('../images/nav-bg.gif') #ccc no-repeat left top; display: block; border: none; text-decoration: none; width: auto;}
.menu a span {padding: 8px 10px 8px 0; background: url('../images/nav-bg.gif') #ccc no-repeat right top; display: block; white-space: nowrap; text-decoration: none;}
.menu a:hover {background: url('../images/nav-bg.gif') no-repeat 0 -41px; text-decoration: none; cursor: default;}
.menu a:hover span {background: url('../images/nav-bg.gif') no-repeat 100% -41px; text-decoration: none; color: #450F70; cursor: default;}
.menu a.active {background: url('../images/nav-bg.gif') no-repeat 0 -41px; color: #9454D1; cursor: default; text-decoration: none;}
.menu a.active span {background: url('../images/nav-bg.gif') no-repeat 100% -41px; color: #450F70; cursor: default; text-decoration: 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:38px;left:0; width:14em;}
/* another hack for IE5.5 */
* html .menu ul ul {top:38px;t\op:39px;}


/* 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, .menu ul ul a:visited {width: 14em; background-color: #5A3775; color: #eee; height:auto; line-height:1em; padding:5px 10px; background-image: none;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:14em;w\idth:14em;}
.menu li ul li a:hover, .menu li ul li a:visited:hover, .menu li ul li a:focus {background-color: #C4B2D6; color: #333; background-image: none;}


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