table.tidy_table { 
	width: 100%; 
	border-collapse: collapse; 
	font-size: 10px;
}
/* Zebra striping */
table.tidy_table tr:nth-of-type(odd) { 
	background: #eee; 
}
table.tidy_table th { 
background: #CCC;
background: -moz-linear-gradient(center top , rgb(247, 247, 247), rgb(232, 232, 232)) repeat-x scroll left top rgb(232, 232, 232);
box-shadow: 0px 1px 0px rgb(255, 255, 255);
cursor: pointer;
}
table.tidy_table th.sort_asc {
    background: url('arrow_asc.gif') no-repeat scroll right center #EEE;
}
table.tidy_table th.sort_desc {
    background: url('arrow_desc.gif') no-repeat scroll right center #EEE;
}
table.tidy_table td, table.tidy_table th { 
	padding: 6px; 
	border: 1px solid #ccc; 
	text-align: left; 
}
table.tidy_table td.numeric{ 
	text-align: right;
}
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
	/* Force table to not be like tables anymore */
	table.tidy_table thead, table.tidy_table tbody, table.tidy_table th, table.tidy_table td, table.tidy_table tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table.tidy_table thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.tidy_table tr { border: 1px solid #ccc; }
	
	table.tidy_table td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #999; 
		position: relative;
		padding-left: 50%; 
	}
	
	table.tidy_table td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	table.tidy_table td.numeric{ 
		text-align: left;
	}
}