/* ================================================================ 
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/ul-multi-eight.html
Copyright (c) 2005-2009 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#bar { width:770px; background: url(/images/bar.gif); position:relative; top:-25px; }
#head { top:25px; height:125px; width:770px; position:relative; background:url(/images/home.jpg); margin:0 auto; z-index:100 }
#logo { height:116px; width:180px; top:1px; left:5px; position:absolute; }

/* default styling */
.nav { position:relative; left:5px; height:25px; font: 12px arial, sans-serif; }
.nav, .nav ul { list-style-type:none; margin:0; padding:0; }
.nav a, .nav a:visited { text-decoration:none; }
.nav li { margin:0; }

/* style the links */
/* needs a background for IE6 - can be a color or a transparent gif */
/* style the <b> element so that is does not affect the size of the link */
.nav a.mtop { }
.nav a b { color:#000; display:block; padding:5px 10px; }
.nav .fly .main b { background: url(/images/right.gif); }
.nav .right ul b { text-align:right; }
.nav .right ul .main b { background: url(/images/left.gif); text-align:right; }

.nav a:hover b, .nav .fly a:hover b { cursor:pointer; background:#E6A67B; }
.nav ul.lnk a {background:#c6c2b6;} /* style the links background color */

/* POSITION SUB MENUS */
.nav ul ul { top:-25px; } /* position the top of the flyout sub menus */
.nav ul ul.lines2 { top:-40px; }	/* for a two line link */

/* WIDTH change this WITH CARE to suit your requirements */
.nav ul { min-width:186px; } /* to have a background color for the uls */

/*set the link width here*/
.nav .drop, .nav a { width:190px; }
.nav ul li { max-width:190px; } /* fix for IE8 */

/* set the left flyout position here */
.nav ul ul { left:190px; }
/* set the right flyout position here */
.nav li.right ul ul { left:auto; right:190px; }

/* make this WIDTH - 1px */
.nav a {margin-right:-189px;}

/* DO NOT CHANGE ANYTHING BELOW */
.nav li {float:left;} /* fixes several IE related bugs, and allows for clearing */
.nav ul {float:left; position:relative; z-index:20;} /* necessary for float drop and to stack the <ul>s */
.nav ul li {clear:left;} /* must clear the floated list item inside sublist */
.nav a {position:relative; display:block; z-index:100;} /* needs to have a position, to be above the rest */
.nav a.main {float:left; /* necessary for float drop */
    margin-top:10000px;} /* bring the top level links back into view */
.nav .drop,
.nav .fly {margin-top:-10000px;} /* hide the sub links and their containers, opera has low upper limits */
.nav ul {margin-bottom:-5000px;} /* avoid any interaction between the subs, can be any large size */

/* The bit that does ALL the work to bring the sub menus into view */
.nav a:hover, .nav a:focus, .nav a:active {margin-right:0; outline:0;}
.nav a:focus b, .nav a:active b { }
 
/* OPERA fix */
.nav ul:hover {clear:left;} /* to stop intermittent sub link :hover problems */

/* IE6 and 7 fixes */
.nav .fly {width:100%;}
a:active {}
