/********************** Menu */
.menu {
	min-height: 34px;
	
	height: 34px;
	background-color: #FBE23C;
	background-image: url(../images/menu_bar_bk.png);
	background-repeat: repeat-x;
	background-position: left top;
	border-left: 1px solid #A8A327;
	border-right: 1px solid #A8A327;
	clear: both;
}
ul.separate {
	margin: 0;
	padding: 0;
	z-index:998;
	float: left;
}
ul.separate li {
	float: left;
	list-style-type: none;
	background: none;
	padding: 0;
}
ul.separate li a {
	float: left;
	background: #224c96 url(../images/menu_blue_bk.png) right top no-repeat;
	margin: 0;
	padding: 1px 20px;
	line-height: 2.7;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
ul.separate li a.active {
	background: #FBE23C url(../images/menu_blue2_bk.png) right top no-repeat;
}	
ul.separate li a:hover {
	color: #fff;
	background: #FBE23C url(../images/menu_blue2_bk.png) right top no-repeat;
}	
#nav {
	margin: 0;
	padding: 0;
	z-index:999;
	float: left;
}


/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */


#nav li.over { z-index:99; }
#nav li.active { z-index:98; }
#nav a, #nav a:hover { display:block; text-decoration:none; }
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

#nav li.active {
    margin-left:-1px;
    background:url(images/menu_blue2_bk.png) no-repeat;
    color:#fff;
    font-weight:bold;
    }
#nav li.active em {
    display:block;
    position:absolute;
    top:0;
    right:-1px;
    width:3px;
    height:27px;
    background:url(images/menu_blue2_bk.png) no-repeat 100% 0;
    }
		
/************ 1ST LEVEL  ***************/
#nav li {
	float: left;
	position: relative;
	list-style-type: none;
	background: none;
	padding: 0;
	
}
#nav li a {
	float: left;
	background: #FBE23C url(../images/menu_blue_bk.png) right top no-repeat;
	margin: 0;
	padding: 1px 20px;
	line-height: 2.7;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
#nav li a.active {
	background: #FBE23C url(../images/menu_blue2_bk.png) right top no-repeat;
}	
#nav li a:hover {
	color: #fff;
	background: #FBE23C url(../images/menu_blue2_bk.png) right top no-repeat;
}
/************ 1ST LEVEL RESET ************/
#nav ul li, #nav ul li.active {
	float:none;
	margin:0;
	padding-bottom:0;
	background-color: #FBE23C;
	color: #000;
	}
#nav ul li.over {background-color: #FBE23C;}
#nav ul li.last { background-color: #FBE23C; padding-bottom:0; }
	
#nav ul a, #nav ul a:hover {
	float:none;
	padding: 0;
	background:none;
	line-height: 1.3;
	width: 15em;
}
#nav ul li a { font-weight:normal!important; background: none; }

/************ 2ND LEVEL ************/
#nav ul {
	position: absolute;
	width: 15em;
	top: 25px;
	left: -10000px;
  	border: 1px solid #C9B004;
	color: #000;
}

/* Show menu */
#nav li.over > ul { left:0; }
#nav li.over > ul li.over > ul { left:120px; }
#nav li.over ul ul { left:-10000px; }

#nav ul li a { background:## url(../images/menu_divider.png) left bottom  repeat-x; color: #000;}
#nav ul li.last a { background-color:#FBE23C; }
#nav ul li a:hover { background: #C9B004 url(../images/menu_divider.png) left bottom  repeat-x; }
#nav ul li.last a:hover { background-color: #C9B004; }
#nav ul span, #nav ul li.last li span { padding:5px 15px 5px 15px;}

/************ 3RD+ LEVEL ************/

#nav ul ul { top: 5px;}


/*  #nav ul ul ul { left:-10000px; }
#nav li.over ul li.over ul ul { left:-10000px; }
#nav li.over ul li.over ul li.over ul { left:100px; }*/


/* Fix for the IE bug */

#nav iframe {
position: absolute;
left: -1px;
top: 0;
z-index: -1;
background:transparent;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}
.debug {border:1px solid red!important;}