/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
#advert_container {margin:1px 1 1px 1px; position:relative; width:120px; height:50px; z-index:100;}

/* Get rid of the margin, padding and bullets in the unordered lists */
#padvert, #padvert ul {padding:0; margin:0; list-style-type: none;}

/* Set up the link size, color and borders */
#padvert a, #padvert a:visited {font-size:10px; color:#666; line-height:12px; text-align:center; text-decoration:none; text-indent:0px; font-family:ARIAL,HELVETICA,VERDANA;}

.padvert-main  {display:block;width:120px; font-size:18px; color:#666; height:50px; line-height:25px; text-align:center; text-decoration:none; text-indent:0px; border:1px solid #ffcccc; border-width:1px 1px 1px 1px;font-family:ARIAL,HELVETICA,VERDANA; background:transparent url(transparent.gif); margin:5px 5px 5px 5px; vertical-align:middle;}

.padvert-sub, padvert-sub a, padvert-sub a:visited {display:block;width:120px; font-size:11px; color:#666; height:80px; line-height:12px; text-align:center; text-decoration:none; text-indent:0px; border:1px solid #ffcccc; border-width:1px 1px 1px 1px;font-family:ARIAL,HELVETICA,VERDANA; background:transparent url(transparent.gif); margin:5px 5px 5px 5px;}


/* Set up the sub level borders */
#padvert li ul li a, #padvert li ul li a:visited {border-width:1px 1px 1px 1px;width:120px;}
#padvert li a.enclose, #padvert li a.enclose:visited {border-width:1px;}

/* Set up the list items */
#padvert li {float:left; background:#fff;}

/* For Non-IE browsers and IE7 */
#padvert li:hover {position:relative;}
/* Make the hovered list color persist */
#padvert li:hover > a {background:#ffcccc; color:#666;font-style:oblique;}
/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#padvert li ul {display:none;}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#padvert li:hover > ul {display:block; position:absolute; top:480px; left:45px; padding:10px 10px 10px 10px; background:transparent url(transparent.gif); width:120px;}
/* Position the first sub level beneath the top level liinks */
#padvert > li:hover > ul {left:0px; top:0px;}

/* get rid of the table */
#padvert table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #padvert li a:hover {position:relative; background:#ffcccc; color:#666;}

/* For accessibility of the top level menu when tabbing */
#padvert li a:active, #padvert li a:focus {background:#ffcccc; color:#333;}

/* Set up the pointers for the sub level indication */
#padvert li.fly {background:#fff url(http://www.cssplay.co.uk/menus/fly.gif) no-repeat right center;}
#padvert li.drop {background:#fff url(../_images/drop.gif) no-repeat right center;}


/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */
* html #padvert li ul {visibility:hidden; display:block; position:relative; top:460px; left:40px; padding:10px 10px 10px 10px; background:transparent url(transparent.gif);}

/* keep the third level+ hidden when you hover on first level link */
#padvert li a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
#padvert li a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
#padvert li a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the sixth level hidden when you hover on fourth level link */
#padvert li a:hover ul a:hover ul a:hover ul a:hover ul ul {
visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
#padvert li a:hover ul {
visibility:visible; left:0px; top:0px; lef\t:0px; to\p:0px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
#padvert li a:hover ul a:hover ul{ 
visibility:visible; top:-11px; left:40px;
}
/* make the fourth level visible when you hover over third level link */
#padvert li a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
#padvert li a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the sixth level visible when you hover over fifth level link */
#padvert li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* If you can see the pattern in the above IE5.5 and IE6 style then you can add as many sub levels as you like */