#header ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0px;
	width: 1024px; /* 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: 5px;
	margin: 1px 4px 0 0;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #333;
	font-size:1.1em;
	font-weight:bold;
}

#header ul#primary img {
	border:none;
	vertical-align:text-bottom;
	margin-right:5px;
}

.menu#tab1 ul#primary li.tab1 a, .menu#tab2 ul#primary li.tab2 a, .menu#tab3 ul#primary li.tab3 a, .menu#tab4 ul#primary li.tab4 a, .menu#tab5 ul#primary li.tab5 a, .menu#tab6 ul#primary li.tab6 a, .menu#tab7 ul#primary li.tab7 a, .menu#tab8 ul#primary li.tab8 a, .menu#tab9 ul#primary li.tab9 a, .menu#tab10 ul#primary li.tab10 a, .menu#tab11 ul#primary li.tab11 a, .menu#tab12 ul#primary li.tab12 a, .menu#tab13 ul#primary li.tab13 a, .menu#tab14 ul#primary li.tab14 a, .menu#tab15 ul#primary li.tab15 a { /* settings for selected tab link */
	background-color: #f9f9f9; /* set selected tab background color as desired */
	color: #111; 
	position: relative;
	
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
	background: #EaEaEa;
}

#header ul#primary a {
	background: #666;
	color:#fff;
	background-image:url('../img/backend/bg-tabs.png');
	background-repeat:no-repeat;
	font-size:1.25em;
	-moz-border-radius-topleft:2px;
	-moz-border-radius-topright:2px;
	-webkit-border-top-left-radius:2px;
	-webkit-border-top-right-radius:2px;
}

#header ul#primary a:hover {
	background: #ccc;
	color:#111;
}

#header ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	top:2.5em;
	width:100%;
	/*border:1px solid red;*/
	font-size:0.9em;
}

#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-right: 1px dotted #AAA;
}

#header ul#secondary li a {
	color: #000;
	text-decoration: underline;
	background-color:#EFEFEF;
}

#header ul#secondary li a:hover {
	color: #333;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
	text-decoration: none;
}

#header ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#header ul#secondary li:last-child a { border: none; }