#main_tab {
	border: 1px solid #666;
	clear: both;
	background: #F3F5F7;
	padding-top: 2em;
	width : 90%;
}

#contents_tab {
	padding: 1.5em;
	background: #F0F2F4;
	min-height: 300px;
	width : 50%
}

#header_tab {
	position: relative;
	width: 100%;
	height: 3em;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header_tab ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header_tab ul#primary li  {
	display: inline;
	list-style: none;
}

#header_tab ul#primary a,#header_tab ul#primary span,#header_tab ul#primary a.current {
	width: 10em;/*8em;*/
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 85%;
	text-decoration: none;
	color: #333;
}

#header_tab ul#primary span,#header_tab ul#primary a.current,#header_tab ul#primary a.current:hover {
	border: 1px solid #666;
	border-bottom: none;
	background: #F3F5F7;
	padding-bottom: 6px;
	margin-top: 0;
}

#header_tab ul#primary a {
	background: #EAECEE;
	border: 1px solid #AAA;
	border-bottom: none;
}

#header_tab ul#primary a:hover {
	margin-top: 0;
	border-color: #666;
	background: #F3F5F7;
	padding-bottom: 5px;
}

#header_tab 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_tab ul#secondary li a,#header_tab ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;

}

#header_tab ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#header_tab ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#header_tab ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#header_tab ul#secondary li:last-child a { border: none; }

.pagination{
padding: 2px;
}

.pagination ul{
margin: 0;
padding: 0;
text-align: right; /*Set to "right" to right align pagination interface*/
font-size: 12px;
}

.pagination li{
list-style-type: none;
display: inline;
padding-bottom: 1px;
}

.pagination a, .pagination a:visited{
padding: 0 5px;
border: 1px solid #9aafe5;
text-decoration: none; 
color: #2e6ab1;
}

.pagination a:hover, .pagination a:active{
border: 1px solid #2b66a5;
color: #000;
background-color: #FFFF80;
}

.pagination a.currentpage{
background-color: #2e6ab1;
color: #FFF !important;
border-color: #2b66a5;
font-weight: bold;
cursor: default;
}

.pagination a.disablelink, .pagination a.disablelink:hover{
background-color: white;
cursor: default;
color: #929292;
border-color: #929292;
font-weight: normal !important;
}

.pagination a.prevnext{
font-weight: bold;
}

