/* style the outer div to give it width */
img{
	border:0;
	margin: 0px;
	padding: 0px;
}

.menu {
	padding:0;
	width:960px;
	font-size:12px;
	height: 30px;
	text-align: right;
	margin-right: auto;
	margin-left: auto;
}
.menu a{
	font-size:12px;
	margin: 0px;
	padding: 0px;
	height: auto;
	width: auto;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	list-style-type:none;
	height:30px;
	background:transparent;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

/* style the sub-level lists */
.menu ul ul {
	width:960px;
	margin: 0px;
	padding: 0px;
	height: auto;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {
	float:left;
	height:30px;
	display:block;
	font-size:12px;
	width: 160px;
	margin: 0px;
	padding: 0px;
}
.menu ul li a{
	height: 30px;
	width: 160px;
	margin: 0px;
	padding: 0px;
	float: left;
}
/* style the sub level list items */
.menu ul ul li {
	display:block;
	width:160px;
	height:28px;
	line-height:28px;
	margin: 0px;
	padding: 0px;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	float:left;
	height:14px;
	width:160px;
	font-size:13px;
	text-decoration:none;
	color: #666666;
	text-align:center;
	font-weight: bold;
	padding: 0;
	margin: 0px;
}
/* hack IE5.x to get the correct the faulty box model and get the width right */
* html .menu a, * html .menu a:visited {
	width:160px;
	font-size:12px;
	height: 30px;
	text-decoration: none;
	margin: 0px;
	padding: 0px;
	float: left;
}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {
	display:block;
	color:#333;
	width:160px;
	height:100%;
	line-height:28px;
	font-size:12px;
	font-weight:300;
	background-color: #f7f8fa;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #e3e3e3;
}
* html .menu ul ul a, * html .menu ul ul a:visited  {
	width:160px;
	text-decoration: none;
}


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	border-collapse:collapse;
	padding:0;
	margin:0px;
	width:0;
	height:30;
	font-size:12px;
	z-index:1;
}


/* style the sub level 1 background */
.menu ul :hover a.sub1 {background:#fff;}
/* style the sub level 2 background */
.menu ul ul :hover a.sub2 {background:#a77;}

/* style the level hovers */
/* first */
* html .menu a:hover {
	color:#ffffff;
	height:28px;
	position:relative;
	z-index:100;
	font-weight:600;
	font-size:12px;
	background-image: url(images/li_bg_img.gif);
	background-repeat: no-repeat;
	background-position: center center;
	text-decoration: none;
	border-right-width: 0;
	border-bottom-width: 0;
	border-left-width: 0;
}
.menu li:hover {position:relative;}

.menu :hover > a {
	color:#ffffff;
	height:auto;
	font-size:13px;
	text-decoration: none;
}
/* second */
* html .menu ul ul a:hover{
	color:#ffffff;
	position:relative;
	z-index:160;
	height:100%;
	font-size:12px;
	font-weight:300;
	text-decoration: none;
}

.menu ul ul li:hover {position:relative;}
.menu ul ul :hover > a {
	color:#ffffff;
	z-index:160;
	height:30px;
	font-size:12px;
	background-image: url(images/li_bg_img.gif);
	background-repeat: no-repeat;
	background-position: center top;
	text-decoration: none;
}
/* third */

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:0;
	left:0;
	width:160px;
	overflow:hidden
}

/* position the third level flyout menu */


/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul {
	visibility:visible;
	height:auto;
}


.menu ul :hover ul.left {
	visibility:visible;
	height:auto;
	padding: 0px;
	margin-top: 30px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

