/* 2005-03-05: rewrote JS and menu styles */
/* 2003-10-02: dropped @media handheld in favor of @media screen, projection */
/* One of my standard ways to hide CSS from deficient browsers is with @media rules.
   This also prevents mobile devices from attempting CSS they shouldn't */

@media screen, projection {
/* This next rule exploits a parsing bug in MacIE5 so @media rules will be applied on screen */
.BeNiceToMacIE5 {
  font-family: "\"}\"";
  font-family: inherit;
}
/* WinIE5 hoses the selector following a box model hack, 
   so a dummy selector here will resync it */
.resyncWinIE5 {
}

#navbar {
clear:both;
width:999px;
height:23px;
padding-top:13px;
background-image:url(../img/bg_navig.gif);
background-repeat:repeat-x;
}

#navbar ul,
#navbar li {
	margin: 0;
	padding: 0;
	list-style: none;
	
}

/* default list styles are for the disappearing submenu lists */
#navbar ul {
	display: none;    /* hidden by default */
	color: #000;
	position: relative;
	z-index: 1;
	width: 220px; 
/* overflow should only clip very long words and prevents WinIE from erroneously widening the box */
	overflow: hidden;
}
/* override default for top-level items */
#navbar ul.mainmenu {
	display: block;
	border-width: 0;
	overflow: visible;
	
}

/* the default styles for submenu links */
#navbar li a {
line-height:13px;
	padding: 4px;
	padding-left:10px;
	border-bottom:1px solid #996600;
	color: #996600;
	display: block;
	margin: 0;
	text-decoration: none;
	position: relative;
	background-color:#dcaf5e;
	} /* prevent WinIE weirdness */
	

/* the colors here are the same as links embedded in the content area, but don't have to be */
#navbar li a:hover {
	color: #fff;
	background-color: #996600;
}



/* the main menu link, styled as a 'CSS button' */
#navbar a.mainmenu {
	display: block;
	margin: 0;
	padding:0px;
	visibility:hidden;
	height:29px;

}
/* submenu indicator, hide from MacIE \*/
#navbar li.mainmenu ul {
background-color:#e1c892;
}
#navbar a.mainmenu.more {
	background-position: 100% .8em;
} /* end submenu indicator */

/* main menu links get different colors than submenus */
#navbar a.mainmenu:link {
	color: #009;
}
#navbar a.mainmenu:visited {
	color: #003;    /* for top-level links, unvisited and visited are same color */
}
#navbar a.mainmenu:hover {
	color: #fff;
	background-color: #009;
	border-style: groove;  /* or inset */
}

/* hack to prevent excessive spacing in WinIE */
* html #navbar ul.mainmenu li {
	display: inline;
} /* end hack */

} /* end screen rules */

/* print media rules */
@media print {
body {
	padding-top: 0;
}
div#navbar {
	display: none;
}

} /* end print media rules */
