/* ================================================================ 
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 { width: 100%; height: 23px; position: relative; z-index: 100; background-color: #004F1D; }
/* hack to correct IE5.5 faulty box model */ * html .menu { width: 100%; w\idth: 100%; }

.menu :hover {
background-color: #007028;
}

.menu ul ul { width: 189px; }

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li { float: left; padding-left: 10px; padding-right: 10px; position: relative; border-right: 3px solid #016E2A; }

.menu ul li ul li { border-right: 0; border: 1px solid #e4e4e4; border-top: 0; padding-left: 0; padding-right: 0; }

/* style the links for the top level */
.menu a, .menu a:visited { padding-top: 4px; display: block; font-size: 0.75em; text-decoration: none; color: #fff !important; text-decoration: none !important; height: 19px; font-weight: bold; }

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

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

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

/* 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: 23px; left:0; width: 189px; }

/* another hack for IE5.5 */
* html .menu ul ul { top:23px; t\op:24px; }

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

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

/* 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 { background-color: #FFF; background-image: url(../images/bg_menu.gif); background-repeat: repeat-x; background-position: bottom; color: #414141 !important; font-weight: normal !important; font-size: 0.75em; height: auto; line-height: 1em; padding: 5px 10px; width: 168px; }

/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited { width:190px; w\idth:168px; }

/* style the top level hover */
.menu a:hover, .menu :hover > a { color: #000000 !important; }
.menu ul ul a:hover, .menu ul ul :hover > a { color: #004F1B !important; }


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


#dropmenudiv { font-size: 0.8em; position: absolute; margin-left: -12px; line-height: 18px; z-index: 100; background-color: #FFF; color: #414141 !important; }
#dropmenudiv :hover { background-color: #E4FFDF; }
#dropmenudiv a { width: 100%; display: block; text-indent: 12px; padding: 5px 0; background-color: #FFF; background-image: url(../images/bg_menu.gif); background-repeat: repeat-x; background-position: bottom; color: #414141 !important; border-bottom: 1px solid #D2D2D2; border-right: 1px solid #E1E1E1; border-left: 1px solid #E1E1E1; text-decoration: none !important; }
#dropmenudiv a:hover { color:  #004F1B !important; }
