#tabs {
	float: left;
	margin: 0;
	width: 462px;
	background: transparent url("../i/tab_bg.gif") repeat-x bottom;
	font-size: 93%;
	line-height: normal;
}
	
#tabs ul {
	margin: 0;
	padding: 10px 10px 0;
	list-style: none;
}

#tabs li {
	margin: 0;
	padding: 0;
	display: inline;
}
.tabselected {
	z-index: 10;
}
.tab {
	z-index: 1;
}
#tabs a {
	float: left;
	background:  url("../i/tab_left_both.gif") no-repeat left top;
	width: .1em;
	margin: 0;
	padding: 0 0 0 9px;
	border-bottom: 1px solid #765;
	font-weight: bold;
	white-space: nowrap;
	color: #765;
	text-decoration: none;
}

#tabs a span {
	float: left;
	display: block;
	background:  url("../i/tab_right_both.gif") no-repeat right top;
	margin: 0;
	padding: 5px 15px 4px 6px;
}

#tabs>ul a { width: auto; }

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span { float: none; }
/* End IE5-Mac hack */

#tabs a:hover span {
	color: #333;
}

#tab1, #tab2, #tab3, #tab4, #tab5 {
	margin: 0;
	padding: 0;
	float: left;
	width: 440px;
}

#tab1 #tab-1 a, #tab2 #tab-2 a,
#tab3 #tab-3 a, #tab4 #tab-4 a,
#tab5 #tab-5 a, .tabSelected a {
	background-position: 0 -150px;
	border-width: 0;
}

#tab1 #tab-1 a span, #tab2 #tab-2 a span,
#tab3 #tab-3 a span, #tab4 #tab-4 a span,
#tab5 #tab-5 a span, .tabSelected a span {
	background-position: 100% -150px;
	padding-bottom: 5px;
	color: #000;
}

#tabs a:hover {
	background-position: 0% -150px;
	text-decoration: none;
}

#tabs a:hover span {
	background-position: 100% -150px;
}

#tab1 fieldset, #tab2 fieldset, #tab3 fieldset, #tab4 fieldset, #tab5 fieldset, .tab fieldset, .tabselected fieldset {
	border-top: 0;
	width: 100%;
}

legend {
	background: #ccc;
	font-weight: bold;
	border: 0;
	/* border: 1px solid #000; */
	padding: 3px;
	margin-bottom: 5px;
}

.fieldset label {
	text-align: right;
	width: 200px;
	float: left;
	padding: 0 0.3em;
	margin: 0;
	margin-top: 0.3em;
}
