/* CSS Document */
body {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:.75em;
	background-color: #096;
}
#wrapper {
	position:relative;
	text-align: left;
	margin: 0 auto;
	width: 721px;
	background: #ffc;
	padding:0 10px 10px 10px;
}
#navwrap {
	float:left;
	margin-left:10px;
	display:inline;
	background-color:#ffc;
}
#main {
	padding: 50px 0px 0px 0px;
}
/* reset browser defaults to zero */ 
ul {list-style: none;padding: 0;margin: 0;}
li {padding:0;margin:0;}

/* it helps to arrange menu styles in order of increasing specificity */
/* first two styles, #nav li and #nav a apply to entire menu, unless over-ridden */

#nav li {
	float: left;
	position: relative;
	cursor: default;
	background-color: white;
	width:140px;
	line-height: 30px;
}

#nav a {
	font-weight: bold;
	color: #fff;
	text-align: center;
	border-right:2px solid #ffc; /*border color matches background of wrapper */
	text-decoration: none;
	display: block; 
}

/* from here down, every style is in some way overriding the base styles */
#nav a:hover {
	background: #000;
	text-decoration:underline;
}

#nav li li {
	float: none;  /* makes drop downs vertical instead of horizontal */
}
#nav li li {
	display: block;
	float: none;
	background-color: transparent;
	border: 0;
}
#nav li li a {
	/*width:125px;  *//* this can be omitted if subs have same width as main headings */
}
#nav li li a {
	display: block;
}
#nav li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
}

#nav li>ul {   /* overrides previous style for browsers that understand selector */
	top: auto;
	left: auto;
}
#nav li:hover ul, #nav li.over ul {
	display: block;  /* overrides display:none  NB! the .over class is the thing the javascript generates */
}

li#home a {
	background: blue;
}
li#whitegap a {
	background:  red;
}
li#spacefix a {
	background: purple;
}
li#widthfix a {
	background: green;
	width:139px;   /* adding a width spec to the <a> gets rid of white gaps */
}

li#inlinewidth a {
	background: orange;
}


