/* ================================================================ 
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.
=================================================================== */

.hmenu {width:792px; height:32px; position:relative; z-index:100;border-right:1px solid #000; font-family:arial, sans-serif; left:4px;}

/* hack to correct IE5.5 faulty box model */
* html .hmenu {width:793px; w\idth:792px;}

/* remove all the bullets, borders and padding from the default list styling */
.hmenu ul {padding:0;margin:0;list-style-type:none;}
.hmenu ul ul {width:132px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.hmenu li {float:left;width:132px;position:relative;}

/* style the links for the top level */
.hmenu a, .hmenu a:visited {display:block;font-size:12px;text-decoration:none; color:#fff; width:121px; height:30px; border:1px solid #000; border-width:1px 0 1px 1px; background:#668888; padding-left:10px; line-height:29px; font-weight:bold;}
.hmenu a.top, .hmenu a.top:visited {text-align:center;}

/* a hack so that IE5.5 faulty box model is corrected */
* html .hmenu a, * html .hmenu a:visited {width:132px; w\idth:121px;}

/* style the second level background */
.hmenu ul ul a.drop, .hmenu ul ul a.drop:visited {background:#d4d8bd url(/gfx/grey-arrow.gif) no-repeat 120px center;}

/* style the second level hover */
.hmenu ul ul a.drop:hover{background:#c9ba65 url(/gfx/blue-arrow.gif) no-repeat 120px center;}
.hmenu ul ul :hover > a.drop {background:#c9ba65 url(/gfx/blue-arrow.gif) no-repeat 120px center;}

/* style the third level background */
.hmenu ul ul ul a, .hmenu ul ul ul a:visited {background:#e2dfa8;}

/* style the third level hover */
.hmenu ul ul ul a:hover {background:#b2ab9b;}

/* style the fourth level background */
.hmenu ul ul ul ul a, .hmenu ul ul ul ul a:visited {background:#e2dfa8;}

/* style the fourth level hover */
.hmenu ul ul ul ul a:hover {background:#b2ab9b;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.hmenu ul ul {visibility:hidden;position:absolute;height:0;top:31px;left:0; width:132px;border-top:1px solid #000;}

/* another hack for IE5.5 */
* html .hmenu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.hmenu ul ul ul{left:132px; top:-1px; width:132px;}

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

/* style the table so that it takes no part in the layout - required for IE to work */
.hmenu table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
.hmenu ul ul a, .hmenu ul ul a:visited {background:#d4d8bd; color:#000; height:auto; line-height:1em; padding:5px 10px; width:111px;border-width:0 1px 1px 1px;}

/* yet another hack for IE5.5 */
* html .hmenu ul ul a, * html .hmenu ul ul a:visited {width:150px;w\idth:111px;}

/* style the top level hover */
.hmenu a:hover, .hmenu ul ul a:hover{color:#000; background:#b7d186;}
.hmenu :hover > a, .hmenu ul ul :hover > a {color:#000; background:#b7d186;}

/* make the second level visible when hover on first level list OR link */
.hmenu ul li:hover ul,
.hmenu ul a:hover ul{visibility:visible; }

/* keep the third level hidden when you hover on first level list OR link */
.hmenu ul :hover ul ul{visibility:hidden;}

/* make the third level visible when you hover over second level list OR link */
.hmenu ul :hover ul :hover ul{ visibility:visible;}

/* keep the fourth level hidden when you hover on second level list OR link */
.hmenu ul :hover ul :hover ul ul{visibility:hidden;}

/* make the fourth level visible when you hover over third level list OR link */
.hmenu ul :hover ul :hover ul :hover ul{ visibility:visible;}

/* keep the fifth level hidden when you hover on third level list OR link */
.hmenu ul :hover ul :hover ul :hover ul ul{visibility:hidden;}

/* make the fifth level visible when you hover over fourth level list OR link */
.hmenu ul :hover ul :hover ul :hover ul :hover ul{ visibility:visible;}

