﻿#menu {padding:0; margin:0; list-style:none; position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
#menu li {float:left; margin-right:1px; }
#menu li.last{ border:none;}
#menu li a {display:block; float:left; margin-top:0px; color:#fff; text-decoration:none; font-size:12px; padding:0 30px 0 20px;}


#menu table {border-collapse:collapse; width: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;color:#fff; background-color:#000;}
#menu li:hover {position:relative; z-index:200;}

#menu li:hover > a {color:#fff; background:#000;}
#menu li:hover > a.sub {color:#fff; background-color:#000;}

#menu li.current a {color:#fff; background:#000;}

#menu li a.sub {background: url(../MasterCss/images/down-arrow.gif) no-repeat right center;}
#menu li.current a.sub {color:#fff; background:url(../css/images/down-arrow.gif) no-repeat right center;}
#menu li.current a.sub:hover { background:#0977b0 url(../css/images/down-arrow.gif) no-repeat right center;}

#menu :hover ul {left:0; top:35px; width:120px; }

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, 
#menu :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0;  margin:0; padding:0; list-style:none;z-index:99999;border-radius: 10px 10px 10px 10px;}

#menu :hover ul :hover ul
{left:120px; top:-1px; background:#222; white-space:nowrap; width:100px; z-index:200; z-index:99999}

#menu :hover ul li {margin:0;z-index:99999}
#menu :hover ul li a {z-index:99999;width:120px; padding:0; text-indent:10px; background:#000; color:#fff; }

#menu :hover ul :hover {background-color:#000; color:#fff;z-index:99999}
#menu :hover ul :hover a.fly {background-color:#000; color:#fff;z-index:99999}

#menu :hover ul li.currentsub a {background:#840; color:#fff;z-index:99999}
#menu :hover ul li.currentsub a.fly {z-index:99999;background:#25b1fa url(../css/images/right-arrow.gif) no-repeat right center; color:#fff;}
#menu :hover ul li.currentsub a.fly:hover {z-index:99999;background:#0977b0 url(../css/images/right-arrow.gif) no-repeat right center; color:#fff;}

#menu :hover ul :hover ul li a {z-index:99999;width:100px; padding:0; text-indent:10px; background:#25b1fa; color:#fff; border-left:1px solid #ccc}
#menu :hover ul :hover ul :hover {z-index:99999;background-color:#0977b0; color:#fff;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {z-index:99999;background:#0977b0; color:#fff;}
