

/* Add a margin and a relative position with a high z-index to make it appear over any element below */
#menu_container {margin:25px 0 100px 15px; position:relative; width:735px; height:25px; z-index:100;}

/* Get rid of the margin, padding and bullets in the unordered lists */
#top_menu, #top_menu ul {padding:0; margin:0; list-style-type: none; z-index: 100;}

/* Set up the link size, color and borders */
#top_menu a, #top_menu a:visited {display:block; color:#fff; width:109px; font-size:12px;  height:35px; line-height:32px; text-decoration:none; text-indent:5px; border:1px solid #000; z-index:100;}

#top_menu li {float:left; background: #7A628E; }

/* Set the hover background color for all items;  Set position for non IE browsers and IE7 */
#top_menu li:hover {background: #482069; position:relative; }

/* Change the border and background of the top menu level items */
#top_menu > li { background:url(menu_back.gif); }

/* Set the hover background of the top level */
#top_menu > li:hover {background:url(menu_back_selected.gif);}

/* Set up the sub menu items */
#top_menu li ul li a, #top_menu li ul li a:visited { font-size:11px;}

/* #top_menu > li > a.enclose  {border-width:1px; border-style: solid; border-color: #000;} */

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#top_menu li ul {display:none;}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#top_menu li:hover > ul {display:block; position:absolute; top:0px; left:105px; }
/* Position the first sub level beneath the top level links */
#top_menu > li:hover > ul {left:0px; top:36px;}

/* get rid of the table */
/*#top_menu 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 #top_menu li a:hover {position:relative; background:url(menu_back_selected.gif); z-index:100;}

/* For accessibility of the top level menu when tabbing */
/*#top_menu li a:active, #top_menu li a:focus {background:url(menu_back.gif)}*/

/* Set up the pointers for the sub level indication */
#top_menu li.fly > a {background: url(fly.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 #top_menu li ul {visibility:hidden; display:block; position:absolute; top:-11px; left:80px; padding:10px 30px 30px 30px; background:transparent url(transparent.gif);} 

/* keep the third level+ hidden when you hover on first level link */
#top_menu li a:hover ul ul{ visibility:hidden; }
/* keep the fourth level+ hidden when you hover on second level link */
#top_menu li a:hover ul a:hover ul ul{ visibility:hidden; }
/* keep the fifth level hidden when you hover on third level link */
#top_menu li 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 */
#top_menu li a:hover ul { visibility:visible; left:-31px; top:28px;}
/* make the third level visible when you hover over second level link and position it and all further levels */
#top_menu li a:hover ul a:hover ul{ visibility:visible; top:-11px; left:80px;}
/* make the fourth level visible when you hover over third level link */
#top_menu li a:hover ul a:hover ul a:hover ul { visibility:visible; }
/* make the fifth level visible when you hover over fourth level link */
#top_menu li a:hover ul a:hover ul a:hover ul a:hover ul { visibility:visible; }