/* ================================================================
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 associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */

.menu {height:21px;background: url(menu_bg.png) #a8a8a8;}

.mainmenu {height:20px; font-size:0.85em; position:relative; z-index:100; padding-left: 4px; float:left;}
.rightmenu {height:20px; float:right; padding-right: 4px;}

/* hack to correct IE5.5 faulty box model */
/* * html .menu {width:964px; w\idth:950px;}  */
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
/* 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;}
/* style the links for the top level */
.menu a, .menu a:visited {font-size:11px;text-decoration:none; color:#FFF; background: url(menu_bg.png) #a8a8a8; padding:2px 10px 4px 10px; line-height:19px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {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;top:20px;left:0; width:149px;border:1px solid #999;background:#f0f0f0;padding:2px 0px 2px 0px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:20px;t\op:20px;width:139px;}

/* position the third level flyout menu */
.menu ul ul ul{left:147px; top:-3px; width:149px;background:#f0f0f0;border:1px solid #999;z-index:200;}
/* another hack for IE5.5 */
* html .menu ul ul ul {left:152px;l\eft:146px;top:-3px; width:139px;z-index:200;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}
/* position the second level flyout menu for the rightside menu */
.menu .rightmenu ul ul {left: auto;right: -1px; width:126px;}
* html .menu .rightmenu ul ul {right: -41px; width:89px;}
/* resize the right submenu */
.menu .rightmenu ul ul a, .menu .rightmenu ul ul a:visited {width:100px;}
* html .menu .rightmenu ul ul a, * html .menu .rightmenu ul ul a:visited {width:90px;w\idth:105px;}

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

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {border: 1px solid #f0f0f0;margin: 0px 2px 0px 2px;display:block;background:#f5f5f5; color:#444; height:auto; line-height:1em; padding:5px 10px 4px 10px; width:123px;text-decoration:none;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:139px;w\idth:128px;}
/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {border: 1px solid #f0f0f0;background:#f5f5f5 url(arrow_right.gif) center right no-repeat;text-decoration:none;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#f5f5f5;text-decoration:none;z-index:200;}

/* style the top level hover */
.menu a:hover {color:#333; background:#CCC;text-decoration:none;}
.menu :hover > a {color:#333; background:#CCC;text-decoration:none;}
/* style the second level hover */
.menu ul ul a:hover{color:#333; background:#fde9c4;text-decoration:none; border: 1px solid #fbc156;}
.menu ul ul :hover > a {color:#333; background:#fde9c4;text-decoration:none;}
.menu ul ul a.drop:hover{background:#fde9c4 url(arrow_right.gif) center right no-repeat; color:#333;text-decoration:none;border: 1px solid #fbc156;}
.menu ul ul :hover > a.drop {background:#fde9c4 url(arrow_right.gif) center right no-repeat; color:#333;text-decoration:none;border: 1px solid #fbc156;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#fde9c4; color:#333;text-decoration:none;z-index:200;}

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

li.menu-sep {padding:2px 0px;margin:0px;}
li.menu-sep hr { width:149px;height:1px;border: none; background-color: #999;  }
* html .menu li.menu-sep hr{width:143px;w\idth:154px;}
