/*** WARNING! DO NOT open in Scribe html editor as sucker styling striped out */
body {
font-size: 70%;
font-family: Arial, Helvetica, sans-serif;
}



#mainmenu {
   width:659px;
	position:relative;
	height: 22px;
	font-size:1.1em;
	z-index:20;
  	/*background-image: url(/media/menuspacer.gif);  end of row dividing line 
	background-repeat: no-repeat;
	background-position: right center;*/
	border-right: solid 1px #bae537;
	float: left;
}

/* Nullify default list styling */
#mainmenu ul {
  padding:0;
  margin:0;
  list-style-type:none;
}

#mainmenu li {
   float:left;
	position:relative; /*allows positioning of dropdown */
}


/* Top level menu styles */
#mainmenu a, #mainmenu a:visited {
   display:block;
	width:93px;
	height:20px;
	border-left: solid 1px #bae537;
	/*background-image: url(/media/menuspacer.gif);
	background-repeat: no-repeat;
	background-position: left center;*/
	/*background-color:#fff;*/
	padding: 2px 0px 0px 0px;
	font-weight: bold;
	text-align: center;
	text-decoration:none;
	color:#0078ae;
	line-height:1.5em;
}

#mainmenu a:hover, #mainmenu a:focus {
   color:#fff;
	  background-color:#547191;
	background-image: none;
}

#mainmenu :hover > a { /*keeps Top Level parent 'on' when rolling over items in submenu*/ 
   color:#fff;
	  background-color: #547191;
	background-image: none;
}

#mainmenu a.on:hover { 
	background-color:#547191;
}

/* Second Level Menu Styles */

/* Show second level submenu when hovering on first level */
#mainmenu ul li:hover ul, #mainmenu ul a:hover ul, #mainmenu ul a.on:hover ul{
   visibility: visible;
 } 
/* Keep third level hidden when hovering on first level */ 
#mainmenu ul li:hover ul ul, #mainmenu ul a:hover ul ul, #mainmenu ul a.on:hover ul ul{
   visibility:hidden;
}

#mainmenu ul ul   {
   visibility: hidden;
	width:83px;
	height:0;
	border-top: solid 1px #fff;
	position:absolute;
	top:22px;
	left:0;
}

#mainmenu ul ul a, #mainmenu ul ul a:visited {
   width:83px;
	height: auto; /* cancels fixed height set on all links */
	padding: 5px;
	background:#547191;
	font-weight: normal;
	color:#fff;
	line-height: 1.2em;
}

#mainmenu ul ul a:hover, #mainmenu ul ul a.on:hover {
   background-color:#a5bfe0;
}

/* Third Level Menu Styles */

/* Show third level submenu when hovering on second level */

#mainmenu ul a.on:hover ul a.on ul {
	 visibility: visible;
}  

 #mainmenu ul li:hover ul li:hover ul, #mainmenu ul a:hover ul a:hover ul, #mainmenu ul a.on:hover ul a.on:hover ul{
    visibility: visible;
}



#mainmenu ul ul ul {
   visibility: hidden;
	width:130px;
	height:0;
	position:absolute;
	top:0px;
	left:94px;
}

#mainmenu ul ul ul a, #mainmenu ul ul ul a:visited {
   width:130px;
	height: auto; /* cancels fixed height set on all links */
	padding: 4px 0px 5px 0px;
	background:#547191;
	font-weight: normal;
	color:#fff;
	line-height: 1.2em;
	border-left: solid 2px #fff;
	border-right: solid 1px #fff;
	border-bottom: solid 1px #fff;
}

/* Place markers */
#mainmenu ul a.on, #mainmenu li a.on:visited  {
   background-image: url(/media/menu-on-bg.gif); 
   background-repeat: repeat;
	color:#fff;
}

#mainmenu ul ul a.on, #mainmenu ul ul a.on:visited {
	background-color:#a5bfe0;
	color:#fff;
	background-image: none;
}



#mainmenu ul ul ul a.on, #mainmenu ul ul ul a.on:visited {
	background-color:#a5bfe0;
	color:#fff;
	background-image: none;
}

/* Nullify table (for IE6) properties */
#mainmenu table {
   position:absolute;
	top:0;
	left:0;
	border-collapse:collapse;
}


