.nav,
.nav ul{list-style-type:none; margin:0; padding:0;}
.nav a {text-decoration:none;}
.nav {font-family:arial,sans-serif; font-size:13px; width:90%; margin:0 auto;}
.nav div.curvetop { width:209px; height:15px; background:url(curvetop.png) no-repeat top left; 
position:absolute; top:-15px; }
 
/* style the links */
/* needs a background for IE6 - can be a color or a transparent gif */
.nav a {background:url(li-back.png);}
.nav a:hover { background:url(li-back-white.png) no-repeat top left; }
.nav a.bottom { background:url(curvebott.png) no-repeat top left; }
 
/* style the <b> element so that it does not affect the size of the link */
.nav a b { font-weight:bold; display:block; padding:10px 5px 0 27px; color:#444; }
.nav a b.twoline { padding:3px 5px 0 27px; }
.nav a b.top { font-weight:bold; padding:10px 0 0 0; color:#ccc; }
.nav a:hover b.top { color:#fff; cursor:pointer; }

.nav .fly .main b {background:url(arrow.gif) no-repeat 191px 14px;}
.nav .down b {background:url(arrow2.gif) no-repeat 190px 11px;}
.nav .right ul b {text-align:right;}
.nav .right ul .main b {background:url(arrow3.gif) no-repeat 10px 9px; text-align:right;}
 
/* HEIGHT */
.nav ul ul {top:-39px;} /* position the top of the flyout sub menus */
 
/* WIDTH change this WITH CARE to suit your requirements */
/*set the link width here*/
.nav .drop { width:16%; }
.nav a { width:209px; height:39px; }
.nav ul li { max-width:209px; } /* fix for IE8 */
 
/* set the left flyout position here */
.nav ul ul {left:197px;}
/* set the right flyout position here */
.nav li.right ul ul {left:auto; right:197px;}
 
/* make this WIDTH - 1px */ /* or WIDTH - 0.063em if using em sizing */
.nav a {margin-right:-208px;}
 
/* 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;} /* 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 a.top { float:left; margin-top:10000px; background:none; width:100%; text-align:center; color:#fff; }
.nav a.top:hover { background:url(topback.png) no-repeat center center; color:#444; }
.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; z-index:10; outline:0;}
 
.nav a:hover b,
.nav a:focus b,
.nav a:active b { color:#000; }
 
/* OPERA fix */
.nav ul:hover,
.nav ul ul:hover {clear:left;} /* to stop intermittent sub link :hover problems */

