table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

table.show-on-desktops { display: table !important; }
table.hide-on-phones { display: table !important; }
table.hide-on-tablets { display: table !important; }

@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px) {
	table.hide-on-phones { display: block !important; }
	table.hide-on-desktops { display: block !important; }
	table.show-on-tablets { display: block !important; }
}

@media only screen and (max-width:767px) {
	table.hide-on-tablets { display: block !important; }
	table.hide-on-desktops { display: block !important; }
	table.show-on-phones { display: block !important; }
}

/*	--------------------------------------------------
	:: Tables
	-------------------------------------------------- */
table { background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; margin: 0 0 18px; border: 1px solid #ccc;}

table thead, table tfoot { background: #f5f5f5; }
table thead tr th,
table tfoot tr th,
table tbody tr td,
table tr td,
table tfoot tr td {font-size: 14px;line-height: 18px;text-align: left;min-width: 5rem;text-align:center;}
table thead tr th,
table tfoot tr td { padding: 8px 10px 9px; font-size: 14px; font-weight: bold; color: #222;text-align:center;}
table thead tr th:first-child, table tfoot tr td:first-child { border-left: none; }
table thead tr th:last-child, table tfoot tr td:last-child { border-right: none; }
table thead tr th:nth-child(odd){background:#eee;}
table thead tr th:nth-child(even){background:#f7f7f7;}
table tbody tr.even,
table tbody tr.alt { background: #f7f7f7; }
table tbody tr:nth-child(even) { background: #f7f7f7; }
table tbody tr td {color: #333;padding: 9px 10px;border: 1px solid #ccc;}


table th { font-weight: bold;}
table td, table th { padding:9px 10px; text-align: left;  border: 1px solid #ccc;}

/* Mobile */
@media only screen and (max-width: 767px) {

	table.responsive { margin-bottom: 0; }

	.pinned { position: absolute; left: 0; top: 0; background: #fff; width: 32%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; }
	.pinned table { border-right: none; border-left: none; width: 100%;border: 1px solid #ccc; margin: 0 0 18px;border-radius: 3px;-moz-border-radius: 3px; -webkit-border-radius: 3px; }
	.pinned table th,.pinned table td { white-space: nowrap; line-height: 18px;}
	.pinned td:last-child { border-bottom: 1px solid #ccc; }




	div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ddd; }
	div.table-wrapper div.scrollable table { margin-left: 32%; border: 1px solid #ccc;}
	div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }

	table.responsive td, table.responsive th { position: relative; white-space: nowrap; overflow: hidden; }
	table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; }

}
