/* change all 190 to 140  AND change 189 to 139. to change the offset for the breakout menus, left 150 becomes left 100 in menu li ul*/


/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/flyout_4level.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.
=================================================================== */
.menu {
margin-left:auto; /* this page only */
margin-right:auto;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
position:relative;
z-index:500;
padding:0;
margin:0;
list-style-type:none;
width:140px;
}
/* style the list items */
.menu li {
border: #bc8f8f solid 1px;  
background-color:#FFF0F5; 
/* for IE7 */
float:left;
}
.menu li.sub {background:#FFF0F5 url(sub.gif) no-repeat right center;} 

/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none;
width:140px;
color:#000080; 
font-weight:bold;
padding-left: 10px;
padding-right: 1px;
padding-top: 1px;
padding-bottom: 1px;
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:140px; w\idth:139px;}
/* style the link hover */
* html .menu a:hover {color:#000080; font-weight:bold; background:#E6E6FA; position:relative;}

.menu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#000080; font-weight:bold; background:#E6E6FA;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu li:hover > a {color:#000080; font-weight:bold; background:#E6E6FA;}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu li ul {
visibility:hidden;
position:absolute;
top:-25px;
/* set up the overlap (minus the overrun) */
left:100px;
/* set up the overrun area */
padding:30px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent;
}

/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
.menu ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.menu ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.menu ul a:hover ul a:hover 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;
}
/* make the third level visible when you hover over second level link */
.menu ul a:hover ul a:hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
.menu ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.menu ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}







.menu2 {
margin-left:auto; /* this page only */
margin-right:auto;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu2 ul {
position:relative;
z-index:501;
padding:0;
margin:0;
list-style-type:none;
width:140px;
}
/* style the list items */
.menu2 li {
border: #bc8f8f solid 1px;  
background-color:#FFF0F5; 
/* for IE7 */
float:left;
}
.menu2 li.sub {background:#FFF0F5 url(sub.gif) no-repeat right center;} 

/* get rid of the table */
.menu2 table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.menu2 a, .menu2 a:visited {
display:block; 
text-decoration:none;
width:140px;
color:#000080; 
font-weight:bold;
padding-left: 10px;
padding-right: 1px;
padding-top: 1px;
padding-bottom: 1px;
}
/* hack for IE5.5 */
* html .menu2 a, * html .menu2 a:visited {width:140px; w\idth:139px;}
/* style the link hover */
* html .menu2 a:hover {color:#000080; font-weight:bold; background:#E6E6FA; position:relative;}

.menu2 li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.menu2 a:active, .menu2 a:focus {color:#000080; font-weight:bold; background:#E6E6FA;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu2 li:hover > a {color:#000080; font-weight:bold; background:#E6E6FA;}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu2 li ul {
visibility:hidden;
position:absolute;
top:-25px;
/* set up the overlap (minus the overrun) */
left:100px;
/* set up the overrun area */
padding:30px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent;
}

/* for browsers that understand this is all you need for the flyouts */
.menu2 li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
.menu2 ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.menu2 ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.menu2 ul a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link */
.menu2 ul a:hover ul {
visibility:visible;
}
/* make the third level visible when you hover over second level link */
.menu2 ul a:hover ul a:hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
.menu2 ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.menu2 ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}




.menup   {
margin-top:3px;
margin-bottom:3px;
}