
table {
	width:770px;
	font-size: 12px;
	border-collapse: collapse; 
	overflow: hidden;
}
table thead{
	width: 100%; 
}
table th a ,
table th a:active  {
color: #fff;
outline: none;
font-size: 14px;
padding: 5px 0 5px 0;
}
th { 
	padding: 0; 
	border: 1px solid #666666; 
}
td { 
	padding: 5px 0 5px 5px; 
	border: 1px solid #666666; 
}
tr { 
	color: #fff;	
	background-color: #666666;
}
tr.odd { 
	color: #000;
	background: #CCCCCC;
}
caption {
	margin: 0 0 1em 0;
	text-align: left; 
	padding: 0.3em 0.3em; 
}
th a {	
	padding: 0.5em 2em 0.5em 0.7em; 
	display: block;
	line-height: 1;
	color: black;
	position: relative;
	
		background: url(asc.gif);
		background-position: 95% center;
		background-repeat: no-repeat;
}
th.ui-table-asc a{	
	/*background: url(asc.gif);
	background-position: 95% center;
	background-repeat: no-repeat;*/
}
th.ui-table-desc a:hover,	
th.ui-table-desc a:active,	
th.ui-table-desc a:focus, 
ui-table-number-de a:hover,
ui-table-number-de a:active,
ui-table-number-de a:focus,
th a:hover,	
th a:active,	
th a:focus{	
	background: url(asc.gif);
	background-position: 95% center;
	background-repeat: no-repeat;
}
th.ui-table-asc a:hover, 
th.ui-table-asc a:active, 
th.ui-table-asc a:focus{	
	background: url(desc.gif);
	background-position: 95% center;
	background-repeat: no-repeat;
}


/* Form Styling
----------------------------------*/
fieldset {
	border: 0;
	margin: 0 0 1em 0;
	padding: 1em;
}
*:first-child+html fieldset {
	margin: 0 0 2em 0;
}
legend {
	padding: 0.1em 0.3em;
}
*:first-child+html legend {
	margin: -1.5em 0 1em 0;
}
label, input {
	display:block;
	font-size: 0.8em;
}
label, 
button, 
.submit {
	cursor: pointer;
}
button {
	margin: 0 0.1em;
	padding: 0.1em 0.3em 0 0.2em;
}
input.radio {
	float: left;
	margin: 0.1em 1em 0 0;
}
.pair {
	clear: both;
	margin: 0.5em 0;
}
.pair input{
	margin: 0.25em 0.5em 0 0.3em;
}
*:first-child+html .pair input{
	margin: -0.05em 0.5em 0 0.1em;
}
* html .pair input {
	margin: -0.07em 0.3em 0 -0;
}
