﻿#menubox {
	margin:0; 
	padding:0; 
	width:580px; /*695*/
	height:5px;
	/*position:relative;
	top:-19px;*/
	
	/*background:#5A8EC6;*/
}

/* default styling */
.nav,
.nav ul {
	list-style-type:none; 
	margin:0; 
	padding:0; 
	float:left;
}

.nav a {
	text-decoration:none;
}

.nav {
	font-family: Tahoma, verdana, sans-serif; 
	font-size: 8pt;
	margin-bottom:-1px;
	font-weight: bold;
}

/* style the links */
.nav a {
	float:left; 
	background:#313031; 
	color:#000; 
	text-align:center; 
	line-height: 14px; /* was 16 */
	padding:4px 0; 
	border:1px solid #fff; 
	margin-bottom:-1px;
}

.nav a.sub-a {
	background:#313031;
}

.nav a:hover,
.nav a:focus,
.nav a:active {
	outline:0; 
	color:#fff; 
	background:#5A8EC6;
}

/* this is for the path highlight in all browsers except IE6 and lower */
.nav li:hover > a {
	color:#fff; 
	background:#5A8EC6;
} 

/* WIDTH change this WITH CARE to suit your requirements */
.nav1,
.nav {
	width:140px; /*120*/
	margin-right:-1px;
}
.nav1 a,
.nav a {
	width:139px; 
	margin-right:-119px;
	color: white; 
} /* take into account the borders when calculating the link width, margin-right = total link width - 1px */

.nav ul li {
	max-width:120px;
} /* fix for IE8 */

/* flyout TOP positions */
.nav ul.fly {
	top:-23px;
} /* position the top of the flyout first sub-limenus */

.nav ul.fly2 {
	top:-38px;
} /* position the top of the flyout sub-limenus with previous text on two lines */

/* flyout LEFT/RIGHT positions */
.nav ul.fly {
	left:139px;
}

.nav .left ul.fly {
	left:auto; 
	right:139px;
}


/* DO NOT CHANGE ANYTHING BELOW THIS LINE */
/* ---------------------------------------------------------------------------- */
.nav ul {position:relative; margin-bottom:-10000px;} 
.nav ul li {float:left; clear:left;}
.nav a {position:relative;}
.sub-li {margin-top:-10000px;}
.sub-a {margin-top:10000px;}

/* The bit that does ALL the work to bring the sub-limenus into view */
.sub-li a:hover,
.sub-li a:focus,
.sub-li a:active {margin-right:0;}

/* OPERA fix */
.nav ul:hover {clear:left;}

/*IE5-7 fixes*/
.nav .sub-li {width:100%;}
a:active {}
/* ---------------------------------------------------------------------------- */
