/* Code to make menus work as we wish*/

#navlist {
	/*border: 2px green solid;*/
	margin: 20px 10px 0px 280px;
	white-space: nowrap;
	padding: 2px;
}

#navlist li {
	/*border: 2px blue solid;*/
	float: left;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	font-size: 10pt;
	vertical-align: top;
}

#navlist a {
	border-left: 1px #3b5776 solid;
	padding: 1px 8px;
	margin: 0px;
}

#navlist li:first-child a {
	border-left: 0px;
	padding: 1px 8px;
	margin: 0px;
}

#navlist a:link, #navlist a:visited, #navlist a:hover
{
	text-decoration: none;
}

#subnavlist {
	border: 0px blue solid;
	margin: 0px;
	white-space: nowrap;
	padding: 0px;
	text-align: right;
}

#subnavlist li
{
	border: 0px yellow solid;
	margin: 0px 0px 0px 16px;
	padding: 0px 0px;
	width: 180px;
	display: block;
	clear: both;
	list-style-type: none;
}

#subnavlist a {
	border-left: none;
	/*border-right: 1px #3b5776 solid;*/
	border-top: 1px #3b5776 solid;
	padding: 4px 16px 4px 0px;
	display: block;
	width: 158px;
}

#subnavlist li:first-child a {
	border-left: none;
	/*border-right: 1px #3b5776 solid;*/
	border-top: none;
	padding: 4px 16px 4px 0px;
	display: block;
	width: 158px;
}

#subnavlist a:link, #subnavlist a:visited, #subnavlist a:hover
{
	text-decoration: none;
}

.current a, .closed a {
	margin: 0px 12px 0px 0px;
}

.current a:link, .current a:visited, .current a:hover
{
	color: white;
	background-color: #3b5776;
}

.closed a:link, .closed a:visited
{
	color: #3b5776;
	background-color: white;
}

.closed a:hover
{
	color: white;
	background-color: #3b5776;
}

.subcurrent a:link, .subcurrent a:visited, .subcurrent a:hover {
	color: white;
	background-color: #3b5776;
}

.subclosed a:link, .subclosed a:visited
{
	color: #3b5776;
	background-color: white;
}

.subclosed a:hover
{
	color: white;
	background-color: #3b5776;
}
