﻿.menu {width:900px; height:25px; font-size:14px; position:relative; z-index:100; background-color: none; vertical-align: middle; text-align:left;}

/* 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;}

/* 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:148px;}

/* 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 {display:block;font: bold 14px Tahoma;text-decoration:none; color:#fff; width:158px; height:25px; border:none; padding-left:20px; line-height:20px; background: #185F00 url(images/menu1_bg.gif) top left no-repeat;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:158px;w\idth:158px;}
.menu a.menu_sel, * html .menu a.menu_sel, * html .menu a.menu_sel:visited{color: #BAFF00}

/* style the second level links. drop for items with 3rd sublevel */
.menu ul ul a.drop, .menu ul ul a.drop:visited  {background:#DFEFD2 url(images/menu_drop.jpg) top right no-repeat; padding: 8px 10px 0px 20px; }
.menu ul ul a,    .menu ul ul a:visited   {background:#DFEFD2; color:#000; height:auto; line-height:20px;  padding:8px 10px 0px 20px; width:148px;border:none;}
.menu ul ul a,    .menu ul ul a:visited   {font: normal 12px/16px Tahoma; text-align:left;}


/* style the top level hover */
.menu :hover > a , .menu a:hover, .menu a.menu_sel:hover, .menu :hover > a.menu_sel  {background: #98D217 url(images/menu1_act.gif) top left no-repeat; color: #FFF;}
* html .menu a:hover , * html .menu a:hover ,      * html .menu a.menu_sel:hover {background: #98D217 url(images/menu1_act.gif) top left no-repeat; color: #FFF;}



/* style the second level hover */
.menu ul ul a.drop:hover  {background:#DFEFD2 url(images/menu2_act_drop.jpg) top left no-repeat;}
.menu ul ul :hover > a.drop {background:#DFEFD2 url(images/menu2_act_drop.jpg) top left no-repeat;}
.menu ul ul :hover > a      {background:#DFEFD2 url(images/menu2_act.jpg) top left no-repeat;}
.menu ul ul a:hover       {background:#DFEFD2 url(images/menu2_act.jpg) top left no-repeat;}

.menu ul ul a.drop:hover, .menu ul ul a:hover    {text-decoration: underline; color:#185F00;}
.menu ul ul :hover > a.drop, .menu ul ul :hover > a  {text-decoration: underline; color:#185F00;}

/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:148px;w\idth:148px;}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#DFEFD2;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#DFEFD2 url(images/menu_act.jpg) top left no-repeat; text-decoration: underline;color:#185F00;}


/* 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:25px;left:0; width:158px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:25px;t\op:25px;}

/* position the third level flyout menu */
.menu ul ul ul{left:178px; top:0px; width:158px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-178px; width:158px;}

/* 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;}

li.menu_last{background: url(images/menu2_btm.gif) bottom left no-repeat; width: 178px;}

