#main {
	padding-top: 10px;
	padding-bottom: 5px;
	border: 1px solid #AAA;
	clear: both;
	/* width: 50em;  optional width to set a size to main body text area */
}

#main_no_top{
	border-right: 1px solid #AAA;
	border-bottom: 1px solid #AAA;

	-moz-border-radius-bottomright: 7px;
	padding-bottom: 10px; 

}

#main2 {
	padding: 0px;
	margin: 0px;
	border-top: 1px solid #AAA;	
	clear: both;

	
	/* width: 50em;  optional width to set a size to main body text area */
}

#header {
	margin-top: 7px;
	position: relative;

	top: 0px;
	left: 0;
	width: 100%;
	height: 1.5em;
	/*width: 45em;  a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	left: 0px;
	/*width: 570px;
	height: 40px;*/


	/*width: 45em;  a width is required for Opera, older Mozilla browsers, and Konqueror browsers */

}

#header ul#primary li  {
	display: inline;
	list-style: none;
}

#header ul#primary a,#header ul#primary span,#header ul#primary a.current {
	width: auto;
	display: block;
	float: left;
	padding: 4px 0;
	margin-top: 1px;
	margin-right: 4px; /* space between tabs */
	text-align: center;
	font-size: 85%;	
	color: #333;
	-moz-border-radius-topleft: 7px; 
	-moz-border-radius-topright: 7px;
	padding-left:8px;
	padding-right:8px;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
	border: 1px solid #AAA;
	border-bottom: none;
	background: white;
	padding-bottom: 6px;
	margin-top: 0;
	font-weight: bold;	
}

#header ul#primary a {
	background: #f2f2f2;
	border: 1px solid #AAA;
	border-bottom: none;
}

#header ul#primary a:hover {
	margin-top: 0;
	border-color: #AAA;
	background: white;
	padding-bottom: 7px;
}

#header ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#secondary li a,#header ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: center;
	border: none;
	border-left: 1px solid #AAA;
	background: none;

}

#header ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#header ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-left: 1px solid #AAA;
}

#header ul#secondary li a:active {
	color: #000;
	
	background: transparent;
}

#header ul#secondary li:first-child a,#header ul#secondary li:first-child span { border: none; }
