#nav{list-style:none;padding:0;margin:0;}
/************** ALL LEVELS  *************/
/* Style consistent throughout all nav levels */
#nav li{position:relative;float:right;margin:0;margin-left:2px;}
#nav li.over{z-index:999; }
/************ 0 LEVEL  ***************/
#nav a {color:#747474;background:url(left-tab.gif) left top no-repeat;text-decoration:none;padding-left:10px;line-height:25px;font-size:12px;font-weight:bold;}
#nav a span{background:url(right-tab.gif) right top no-repeat;padding-right:10px}
#nav a, #nav a span {display:block;float:left}
#nav a, #nav a span {float:none}
#nav a:hover, #nav li.active a {color:#0e193e;background:#7fa6ce url(left-tab-hover.gif) left top no-repeat;padding-left:10px}
#nav a:hover span, #nav li.active a span{background:#7fa6ce url(right-tab-hover.gif) right top no-repeat;padding-right:10px}
/************ 1ST LEVEL ************/
#nav ul li, #nav ul li.active, #nav ul li.over, #nav ul li a, #nav ul li span {float:none !important; border:none; background:#FFF !important; margin:0; padding:0; padding-bottom:1px; text-transform:none;line-height:16px !important;font-size:11px !important;}
#nav ul a, #nav ul a:hover {float:none; padding:0px 5px !important; background:#FFF; color:#000 !important;border-bottom:1px solid #bbb !important;}
#nav ul a span, #nav ul a:hover span {float:none !important; padding:0 !important; background:#FFF; }
#nav ul li a:hover {text-decoration:none !important;background:#7FA6CE !important;color:#FFF !important; }
#nav ul a:hover span {background:#7FA6CE !important; }
#nav ul li.last a {border-bottom:0px;}
/************ 2ND LEVEL ************/
#nav ul{position:absolute; width:15em; top:22px; left:-10000px; border:1px solid #bbb;background:#fcfcfc;}
/* Show menu */
#nav li.over > ul{left:-1px; }
#nav li.over > ul li.over > ul{left:100px; }
#nav li.over ul ul{left:-10000px; }

/************ 3RD+ LEVEL ************/
#nav ul ul{top:5px; }