.nav, .nav ul {list-style-type:none; margin:0; padding:0;}
.nav a {text-decoration:none;}
.nav {font-family: arial, sans-serif; font-size:12px; width:700px; margin:0 auto; text-align:left;}

/* style the links */
/* needs a background for IE6 - can be a color or a transparent gif */
.nav a {background:url(trans.gif); filter: alpha(opacity=90); opacity:0.9;} 

/* style the <b> element so that is does not affect the size of the link */
.nav a b {color:#fff; font-weight:normal; display:block; padding:5px 10px; margin-right:1px;}
.nav a:hover b {color:#000; cursor:pointer; border-left:2px solid #eee;}
.nav .fly .main b {background: transparent url(../images/arrow.gif) no-repeat right 9px;}
.nav .down b {background: transparent url(../images/arrow2.gif) no-repeat right 11px;}
/* for the offset left dropdown and flyout */
.nav .nav4 ul b {text-align:right;}
.nav .nav4 ul .main b {background: transparent url(../images/arrow3.gif) no-repeat left 9px; text-align:right;}
.nav .nav4 ul a:hover b {border-left:0; border-right:2px solid #eee;}

/* HEIGHT */
.nav ul ul {top:-25px;} /* position the top of the flyout sub menus */

/* WIDTH change this WITH CARE to suit your requirements */

/* FOR NAV1 */
.nav1,
.nav1 {width:80px;}
.nav1 a {width:80px;}
.nav1 a b {background-color:#864;}
.nav1 a {margin-right:-99px;}
.nav .nav1 a b,
.nav .nav1 .fly a b {background-color:#6B8E23;}

.nav1 ul li {max-width:100px;}
.nav1 ul a {width:200px; margin-right:-199px;}
.nav1 ul ul {left:200px;}

.nav1a ul a {width:120px; margin-right:-119px;}
.nav1a ul ul {left:120px;}

.nav1b ul a {width:100px; margin-right:-99px;}
.nav1b ul ul {left:100px;}

.nav1c ul a {width:90px; margin-right:-89px;}
.nav1c ul ul {left:90px;}

/* FOR NAV2 */
.nav2,
.nav2 a {width:100px;}
.nav2 a {margin-right:-99px;}
.nav .nav2 a b,
.nav .nav2 .fly a b {background-color:#257;}

.nav2 ul li {max-width:100px;}
.nav2 ul a {width:200px; margin-right:-199px;}
.nav2 ul ul {left:200px;}

.nav2a ul a {width:120px; margin-right:-119px;}
.nav2a ul ul {left:120px;}

.nav2b ul a {width:100px; margin-right:-99px;}
.nav2b ul ul {left:100px;}

.nav2c ul a {width:90px; margin-right:-89px;}
.nav2c ul ul {left:90px;}

/* FOR NAV3 */
.nav3,
.nav3 a {width:100px;}
.nav3 a {margin-right:-99px;}
.nav .nav3 a b,
.nav .nav3 .fly a b {background-color:#770;}

.nav3 ul li {max-width:100px;}
.nav3 ul a {width:120px; margin-right:-119px;}
.nav3 ul ul {left:120px;}

.nav3a ul a {width:80px; margin-right:-79px;}
.nav3a ul ul {left:80px;}


/* FOR NAV4 */
.nav4,
.nav4 a {width:100px;}
.nav4 a {margin-right:-79px;}
.nav .nav4 a b,
.nav .nav4 .fly a b {background-color:#175;}

.nav4 ul li {max-width:80px;}
.nav4 ul a {width:110px; margin-right:-109px;}
.nav4 ul {left:-30px;} /* position the dropdown left */
.nav4 ul ul {left:auto; right:110px;}  /* position the flyouts left */

.nav4a ul a {width:80px; margin-right:-79px;}
.nav4 .nav4a ul {right:80px;}
.nav4a ul ul {right:80px;}


/* FOR NAV5 */
.nav5,
.nav5 a {width:200px;}
.nav5 a {margin-right:-99px;}
.nav .nav5 a b,
.nav .nav5 .fly a b {background-color: #895;}

.nav5 ul li {max-width:200px;}
.nav5 ul a {width:200px; margin-right:-199px;}
.nav5 ul ul {left:200px;}

.nav5a ul a {width:120px; margin-right:-119px;}
.nav5a ul ul {left:120px;}

.nav5b ul a {width:100px; margin-right:-99px;}
.nav5b ul ul {left:100px;}

.nav5c ul a {width:90px; margin-right:-89px;}
.nav5c ul ul {left:90px;}

/* ----------------------------------------------------------------------------	*/

/* 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 .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; cursor:pointer; border-left:2px solid #eee;}

.nav .nav4 ul a:hover b,
.nav .nav4 ul a:focus b,
.nav .nav4 ul a:active b {border-left:0; border-right:2px solid #eee;}

.nav2 ul a:hover,
.nav2 ul a:focus,
.nav2 ul a:active {margin-right:-100px;}

.nav5 ul a:hover,
.nav5 ul a:focus,
.nav5 ul a:active {margin-right:-100px;}

.nav2a ul a:hover,
.nav2a ul a:focus,
.nav2a ul a:active {margin-right:-20px;}

.nav2b ul a:hover,
.nav2b ul a:focus,
.nav2b ul a:active {margin-right:0;}

.nav2c ul a:hover,
.nav2c ul a:focus,
.nav2c ul a:active {margin-right:10px;}

.nav3 ul a:hover,
.nav3 ul a:focus,
.nav3 ul a:active {margin-right:-20px;}

.nav3a ul a:hover,
.nav3a ul a:focus,
.nav3a ul a:active {margin-right:20px;}

.nav4 ul a:hover,
.nav4 ul a:focus,
.nav4 ul a:active {margin-right:-30px;}

.nav4a ul a:hover,
.nav4a ul a:focus,
.nav4a ul a:active {margin-right:0;}


/* OPERA fix */
.nav ul:hover,
.nav ul ul:hover {clear:left;} /* to stop intermittent sub link :hover problems */

/* ----------------------------------------------------------------------------	*/

