/* Blue Aeon */
/* Navigation based on the work of Stu Nicholls -
The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/magic_menu_seven.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements. */

/* Set up the containing div with a background image */
#outer {
width:228px; 
height:170px; 
position:relative;
}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {
list-style-type:none;
padding:0;
margin:0;
}

.menu {
margin:5px 20px 20px 15px;
}

/* for IE7 to position the tables correctly */
.menu {
position:relative;
float:left;
}

/* for IE5.5 and IE6 to position the tables corectly */
* html .menu {
position:static;
}

/* Set up the size of the list items and float left to place inline */
.menu li {
background:#F5F5F5;
width:195px;
height:25px;
margin:2px 0px 0px 0px;
border:1px solid #DFDFDF;
}

/* Give the sub level list item a diffent background color to make it 'stand out'. */
.menu li.sub {
background:#F5F5F5;
}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu table, .menu ul ul table {
border-collapse:collapse;
width:0;
height:0;
position:absolute;
bottom: 0;
top:auto;
left:0;
font-size:12px;
}

.menu ul table, .menu ul ul ul table {
top:5px;
bottom:auto;
}

/* Default link styling */
.menu li a {
display:block;
color:#564b47;
font-family:arial, tahoma;
font-size:12px;
line-height:25px;
width:195px;
text-decoration:none;
text-indent:10px;}

/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {
color:#ffffff;
background:#0092D1;
}

/* For all browsers except IE5.5 and IE6 to keep the hover state through the menu cascade. */
.menu :hover > a {
color:#ffffff;
background:#0092D1;
}

/* Give the link OR list a relative position. Depends on which browser is used */
.menu li.sub:hover,
.menu li.sub a:hover {position:relative;}

/* keep the 'next' level invisible by placing it off screen. */
.menu ul, 
.menu :hover ul ul, 
.menu :hover ul :hover ul ul {
position:absolute;left:-9999px;
width:128px;
}

/* Position the flyout sub levels to the right or left when hovering over the sub level list OR link. */
.menu :hover ul {
padding:9px 3px;
left:100px;
bottom:0;
background:transparent url(transparent.gif);
padding-top:8px;}

.menu :hover ul :hover ul {
padding:9px 3px;
left:100px;
top:auto;
top:-5px;
bottom:auto;
}

.menu :hover ul :hover ul :hover ul {
padding:9px 3px;
left:100px;
bottom:0;
top:auto;
}
