.menu {
font-family:verdana;
font-size:small;
margin:0px 0px 0px 0px; /* this page only */
}

.menu ul {
position:relative;
z-index:500;
padding:0;
margin:0;
list-style-type:none;
width:150px;
}

/* style the list items */
.menu li {
width:150px;
background:#f8f1fb url(blank.gif);
/*height:25px;*/
padding:0;
float:left;
}

.menu li.sub {background:#f8f1fb url(blank.gif) no-repeat right center;
padding:0;
/*width:150px;*/
}

.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em; margin:0;}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none;
/*height:25px;*/
/*line-height:25px;*/
/*width:149px;*/
color:#666666;
/*text-indent:5px;*/
border:1px solid #fff;
border-width:1px 1px 1px 1px;
margin: 0px opx 0px 0px;
padding: 2px 0px 2px 0px;
}

.menu a:hover {
display:block; 
text-decoration:underline;
/*height:25px;*/
/*line-height:25px;*/
/*width:149px;*/
color:#ffffff;
/*text-indent:5px;*/
margin: 0px opx 0px 0px;
border:1px solid #fff;
border-width:1px 1px 1px 1px;
padding: 2px 0px 2px 0px
}

/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:150px; width:150px;}
/* style the link hover */
* html .menu a:hover {background:#ddddff; position:relative;}

.menu li:hover {position:relative;
background:#702595;
color: #ffffff;}

.menu a:active, .menu a:focus {color:blue; background:#ddddff;}
.menu li:hover > a {background:#702595;
color: #ffffff;}

.menu li.sub:hover {background:#702595; color:#ffffff;}
.menu li a:hover ul {
visibility:visible;
}

.menu li ul {
visibility:hidden;
position:absolute;
top:-30px;
/* set up the overlap (minus the overrun) */
left:120px;
/* set up the overrun area */
padding:30px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url(blank.gif);
}

/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {visibility:visible;} 

.menu ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link */
.menu ul a:hover ul {
visibility:visible;
}

.menu ul a:hover ul a:hover ul{ 
visibility:visible;
}