@charset "utf-8";

/* Basic formatting for ul id="nav" 
	Removes indent, bullets, 
	Sets position to relative, line height of list items
*/
#nav, #nav ul{
     margin:0;
     padding:0;
     list-style-type:none;
     list-style-position:outside;
     position:relative;
     line-height:.85em;
 }
 
/* Styles hyperlink text, background 
	Remove padding and border if using images*/
 #nav a:link, #nav a:active, #nav a:visited{
    display:block;
    /*padding:0px 5px;
    border:1px solid #333;*/
    color:#9e1020;
    text-decoration:none;
    background-color:#bcbbbb;
 }

/* Styles hyperlink mouse-over */
#nav a:hover{
	background-color: #6076a6;
}

/* Aligns list elements horizontally */
#nav li{
    /*float:left;*/
    position:relative;
}

/* Defines positions, width of nested lists 
 	'width needed for vertically displayed dropdowns
	'top' should match #nav 'line-height'
 */
#nav ul {
	position: absolute;
	top: .85em;
	left: 15em;
	display: none;
	line-height: 2em;
	padding: 0 0 0 10px;
	text-indent: 10px;
	font-size: larger;
	font-weight: bold;
	z-index: 1;
}

/* Controls first level dropdowns
	Sets width, margins, etc. 
	Combines with ul width above for horizontally displayed submenus
*/
#nav li ul a{
    width:15.5em;
    border:1px solid #9a9a9a;
    /*float:left;*/
}

/* Defines where sub menus display */
#nav ul ul{
	top:auto;
	}

/* Controls second level dropdowns 
	Sets width, margins, etc.*/
#nav li ul ul {
    left:12em;
    margin:0px 0 0 0px;
    }

/*  Defines which items to display during mouse-over (only next sub-level) */
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
    }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;
    }
