#wrapper {
	border-top: 0px solid  #999;
	clear: both;
	padding-top: 2em;
}

#content {
	padding: 1.5em;
	/* background: #FFFFFF; */
}

#header {
	position: relative;
	width: 100%;
	/*height: 3em; */
	/*width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary {
	margin: 0;
	padding: 0;
	padding-left: 30px;
	position: absolute;
	bottom: -1px;
	/*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: 8em;
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 11px;
	text-decoration: none;
	color: #333;
	padding:7px 6px 0px 6px;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
	border: 1px solid #888;
	border-bottom: none;
	background: #ffffff;
	padding-bottom: 6px;
	margin-top: 0;
	font-weight:bold;
	background-image:url(../images/medularis/tab_use.jpg);
	background-repeat: repeat-x;
}

#header ul#primary a {
	border: 1px solid #999;
	border-bottom: none;
	
	background-image:url(../images/medularis/tab_nouse.jpg);
	background-color:#ccc;
	color:#777;
	background-repeat: repeat-x;
	padding:7px 6px 4px 6px;
}

#header ul#primary a:hover {
	margin-top: 0;
	border-color: #888;
	background: #ddd;
	padding-bottom: 5px;
	color:#666;
}

#header ul#secondary {
	position: absolute;
	margin: 0;
	margin-left: 43px;
	/* *margin-left:90px; */
	margin-bottom:10px;
	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;
	
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: #eee;
	border:1px solid #ddd;
	color:#0186BC;
	padding:4px;
	padding-left:24px;
	padding-right:24px;
	background:#FFFFFF url(../images/medularis/tab_use.jpg) repeat-x;
}

#header ul#secondary li a:hover {
	width: auto;
	display: block;
	float: left;
	color:#00A5E7;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: #eee;
	border:1px solid #ddd;
	padding:4px;
	padding-left:24px;
	padding-right:24px;
	background:#FFFFFF url(../images/medularis/tab_use.jpg) repeat-x;
}

#header ul#secondary li:last-child a { border-left:none; }

#header ul#primary div#actual a{
	padding:0px;
	margin:0px;
	background:none;
	font-weight:bold;
	border:0px;
	color:#333;
}
#header ul#primary div#actual a:hover{
	padding:0px;
	margin:0px;
	background:none;
	font-weight:bold;
	border:0px;
	color:#555;
}

#secondary {
	top:31px;
}

div.pagination-wrapper {
	text-align: center;
	margin: 1em;
}
