.menu {
	height:36px;
	position:relative;
	border:0;
	background-image: url(../../images/menu-bg.png);
	z-index: 234;
}

/* hack to correct IE5.5 faulty box model */
* html .menu{
}

/***********/
/* LEVEL 1 */
/***********/

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	position:relative;
	float:left;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	font:bold 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#333;
	text-transform: uppercase;
	text-decoration:none;
	height:20px;
	line-height:36px;
	padding:9px 20px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	text-decoration: none;
}


/* style the top level hover */
.menu a:hover{
	color:#F6850B;
	background-image: url(../../images/menu-bg-hover.png);
	background-repeat: repeat-x;
	background-position: left top;
}
.menu :hover > a{
	color:#666666;
	background-image: url(../../images/menu-bg-hover.png);
	background-repeat: repeat-x;
	background-position: left top;
	text-decoration: none;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
	position:absolute; 
	top:0; 
	left:0; 
	border-collapse:collapse;
}

/***********/
/* LEVEL 2 */
/***********/

.menu ul ul {
	padding:0;
	margin:0;
	width:200px;
}

/* subnavs need a set width */
.menu ul ul a, .menu ul ul a:visited {
	display:block;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background:#f7f8fa;
}

/* style the second level hover */
.menu ul ul a.drop:hover{
	background-color: #F6850B;
}
.menu ul ul :hover > a.drop {
	background-color: #F6850B;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	top:36px;
	left:0;
	width:200px;
	margin-top:-1px;
	padding:9px;
	background-color: #FFF;
	background-image: url(../../images/right-box-body-bg.png);
	background-repeat: repeat-x;
	background-position: left bottom;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #FFCE9D;
	border-bottom-color: #F29200;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top:36px;t\op:36px;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	color:#000;
	font-weight:normal;
	text-transform: none;
	height:auto;
	line-height:18px;
	padding:5px 10px;
	width:176px;
	text-decoration: none;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width:200px;
	w\idth:176px;
}


/* style the second level hover */
.menu ul ul a:hover{
	color:#000;
	background: none;
	padding:4px 10px;
	width:176px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #FFC184;
	border-bottom-color: #FF9900;
}
.menu ul ul :hover > a{
	color:#000;
	background: none;
	padding:4px 10px;
	width:176px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #FFC184;
	border-bottom-color: #FF9900;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
	visibility:visible; 
}

/***********/
/* LEVEL 3 */
/***********/

/* position the third level flyout menu */
.menu ul ul ul{
	left:200px; 
	top:-1px; 
	width:200px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left:-200px;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#ff7171;
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background:#ff7171;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
	visibility:visible;
}
