/* ================================================================
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/menu2s/padding.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any
way to fit your requirements.
=================================================================== */
/* style the outer div to give it width */
.menu2 {font-size:0.85em; width:600px; display: block; float: left;}

/* remove all the bullets, borders and padding from the default list styling */
.menu2 ul {padding:0;margin:0;list-style-type:none; height: 28px; line-height: 28px; background:transparent; margin-bottom: -17px; margin-top: -6px;}

/* style the sub-level lists */
.menu2 ul ul {width:15em; margin-top: -10px;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu2 positon */
.menu2 ul li {float:left;height:23px;line-height:23px; display:block; background: none; }

/* style the sub level list items */
.menu2 ul ul li {display:block;width:12em;height: 23px; line-height:1em; margin-top: 0px;}

/* style the sub level list items */
.menu2 ul ul ul li {display:block;width:12em;height: 23px; line-height:23px; margin-top: 12px; margin-bottom: -12px;}

/* style the links for the top level */
.menu2 a, .menu2 a:visited {display:block;float:left; width: auto; text-decoration:none; padding:2px 0px 0 0em;   display: block;
font-size:12px;
color:#555555;
height:21px;
line-height:23px;
font-weight: bold;
margin-bottom: -4px;
text-align:left;

}
/* hack IE5.x to get the correct the faulty box model and get the width right */
* html .menu2 a, * html .menu2 a:visited {width:11em; w\idth: auto;}

/* style the sub level links */
.menu2 ul ul a, .menu2 ul ul a:visited {display:block;text-decoration:none; font-weight: normal;
background:#eee;
border-left: 1px solid #999999;
border-right: 1px solid #999999;
border-bottom: 1px solid #999999;
border-top: 1px solid #999999;
filter:alpha(opacity=90);
width: 175px;
-moz-opacity:0.90;
padding: 2px;
color:#000;
height: 23px;
line-height: 21px;
}
* html .menu2 ul ul a, * html .menu2 ul ul a:visited  {width:14em; w\idth:12em;}


/* style the table so that it takes no part in the layout - required for IE to work */
.menu2 table {border-collapse:collapse; padding:0; margin:-1px; width:0; height:0; font-size:1em; z-index:1;}


/* style the third level background */
.menu2 ul ul ul a, .menu2 ul ul ul a:visited {background:#eee;}
/* style the fourth level background */
.menu2 ul ul ul ul a, .menu2 ul ul ul ul a:visited {background:#eee;}
/* style the sub level 1 background */
.menu2 ul :hover a.sub1 {background:#eee  url('images/template/menu-arrow.gif')  no-repeat 95% 50%;}
/* style the sub level 2 background */
.menu2 ul ul :hover a.sub2 {background:#eee  url('images/template/menu-arrow.gif')  no-repeat 95% 50%;}

/* style the level hovers */
/* first */
* html .menu2 a:hover {background-image: url("images/template/underline_menu.gif"); background-repeat: repeat-x; background-position:bottom;  position:relative; z-index:100; color:#555555; text-decoration:none; width: auto;}
.menu2 li:hover {position:relative;}
.menu2 :hover > a {color:#000; background-image: url("images/template/underline_menu.gif"); background-repeat: repeat-x; background-position:bottom;}
/* second */
* html .menu2 ul ul a:hover{background:#eee; background-image: none; color:#a00; position:relative; z-index:110;}
.menu2 ul ul li:hover {position:relative;}
.menu2 ul ul :hover > a {background:#eee; background-image: none; color:#a00; }
/* third */
* html .menu2 ul ul ul a:hover {background:#eee; position:relative; z-index:120;}
.menu2 ul ul ul :hover > a {background:#eee;}
/* fourth */
.menu2 ul ul ul ul a:hover {background:#eee; position:relative; z-index:130;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu2 ul ul {visibility:hidden;position:absolute;height:0;top:3em; left:0; width:14em;}

/* position the third level flyout menu2 */
.menu2 ul ul ul{left:12em;top:0;width:14em;}


/* make the second level visible when hover on first level list OR link */
.menu2 ul :hover ul{visibility:visible; height:auto; padding:0 3em 0em 3em; left:-3em;}
/* keep the third level hidden when you hover on first level list OR link */
.menu2 ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu2 ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu2 ul :hover ul :hover ul{visibility:visible; left:9em;}
/* make the fourth level visible when you hover over third level list OR link */
.menu2 ul :hover ul :hover ul :hover ul {visibility:visible;}