#pad {height:140px;}

#menu {
padding:0;
margin:0;
list-style:none;
z-index:500;
position: absolute;
background: #000;
left: 45px;
top: 325px;
height:47px;
width:876px;
color:#ccc;
}

#menu li {
float:left;
}

#menu li a {
background: url(img/but_bg.jpg) top left no-repeat; 
display:block;
float:left;
width:146px;
padding:0;
line-height:47px;
color:#fff;
text-decoration:none;
font-size:13px;
font-weight:bold;
text-transform:uppercase;
text-align:center;
padding:0;
}


#menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#menu li a:hover {
z-index:200;
position:relative;
background: url(img/but_bg.jpg) bottom left no-repeat;
color:#000; 
}


#menu li:hover {position:relative; z-index:200;}

#menu li:hover > a {
background: url(img/but_bg.jpg) bottom left no-repeat;
color:#000; 
}
#menu li:hover > a.sub {color:#fff; background-color:#A30808;}

#menu li.current a {
background: url(img/but_bg.jpg) bottom left no-repeat;
color:#000; 
}

#menu li a.sub {background: #aaa url(img/down-arrow.gif) no-repeat right center;}
#menu li.current a.sub {color:#fff; background:#840 url(img/down-arrow.gif) no-repeat right center;;}

#menu :hover ul {left:0; top:47px; width:250px; background:#aaa;}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, 
#menu :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#menu :hover ul :hover ul
{left:200px; top:-1px; background:#222; white-space:nowrap; width:100px; z-index:200; height:auto;}

#menu :hover ul li {margin:0; border-top:1px solid #ccc;}
#menu :hover ul li a {
width:250px;
padding:0;
text-indent:10px;
background:#333;
color:#fd0;
height:30px;
line-height:30px;
text-align:left;
font-size:12px;
text-transform:none;
}


#menu :hover ul li a.fly {background:#333 url(img/right-arrow.gif) no-repeat right center;}

#menu :hover ul :hover { color:#fff;}
#menu :hover ul :hover a.fly { color:#fff;}

#menu :hover ul li.currentsub a {background:#A30808; color:#fff;}
#menu :hover ul li.currentsub a.fly {background:#A30808 url(img/right-arrow.gif) no-repeat right center; color:#fff;}

#menu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background:#3e3e3e; color:#ddd;}
#menu :hover ul :hover ul :hover {background-color:#A30808; color:#fff;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:#A30808; color:#fff;}
