/* BE SURE TO INCLUDE THE CSS RESET FOUND IN THE DEMO PAGE'S CSS */
/*------------------------------------*\
	NAV -- new main menu with CSS
\*------------------------------------*/
#nav{
	background:white url(../images/bg.gif) repeat-x left top;
	
	color: #6399cd;					/* hover and selected txt #6399cd */
	background-color: #6399cd;		/* hover and selected bounding box bg #EFF4FA;	*/
	text-decoration:none;
	
	
	list-style:none;
	font-weight:bold;
	/* margin-bottom:10px; */
	
	/* Clear floats */
	float:left;
	width:96%;   /*causes nav bar to extend beyond the container...   bgs*/
	/*width: 960px;*/
	/* Bring the nav above everything else--uncomment if needed. */
	position:relative;
	/* Keeps nav above handsontable (was coded by them in range of 101-104, but now overridden to 11-14),
		but below Jquery UI Dialog (starts at 100 and auto increments for stacked dialogs) */
	z-index: 50;
}
#spread-editor-table .handsontable, #hotAudit .handsontable{
	z-index:45;
}

#nav li{
	float:left;
	position:relative;
}
#nav > li{
	margin-right:10px;
}
#nav a{
	display:block;
	padding:5px;
	color:#fff;				/*  menu wording  */
	background:grey;
	text-decoration:none;
}
#nav a:hover{
	color:#fff;
	background:#6b0c36;
	text-decoration:underline;
}

/*--- DROPDOWN ---*/
#nav ul{
	background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */


	padding:6px 0px 3px 0px;			/*  top, right, bottom, left -- used to offset the menu items from parent */
	margin:0px;
}
#nav ul li{
	/*padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items BUG: spaces abt 25 px!*/
	float:none;
	
	color: #6399cd;					/* hover and selected txt */
	background-color:#EFF4FA;		/* hover and selected bounding box bg #EFF4FA;	*/
	
}
#nav ul a{
	color: #6399cd;					/* hover and selected txt */
	background-color:#EFF4FA;		/* hover and selected bounding box bg #EFF4FA;	*/
	white-space:nowrap; 			/* Stop text wrapping and creating multi-line dropdown items */
}
#nav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:  #97B6DE ;  		/* maroon  #6b0c36;  */
	text-decoration:underline;
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	/* background:	#0066ff;		/* submenu hovering background */
}



/*HGlogo {  margin-top:-30px; width:250px; 
height:100px; display:none; float:left; }

BAMlogo {  margin:22px; width:250px; 
height:46px;  float:left; }
*/
#nav > li:first-child {
    margin-left: 110px;
}
#nav .user-menu {
	float: right;
	margin: 0;
}
.login-escalated {
	background-color: #fff;
}
.login-escalated > a {
	color: #c00 !important;
}
#bamlogo {
    position: absolute !important;
    left: 0;
    top: 0;
    background: #fff !important;
}
#bamlogo a {
    padding: 8px 15px 8px 0 !important;
}
#bamlogo a:hover {
    background-color: #fff !important;
}
#bamlogo a img {
    width: 88px;
    height: 20px;
}
/*  DEBUG CSS WITH THESE BOXES... 
 *   	 {
   	 border: 1px solid red !important;  
   	}
/*  */
