/*
 * jQuery Basic Table
 * Author: Jerry Low
 */

table.bt thead,
table.bt tbody th {
	display: none;
}

table.bt tbody tr {
	border-bottom: 1px solid #ddd;
}

table.bt tbody td:first-child {
	padding-top: .5rem;
}

table.bt tbody td:last-child {
	padding-bottom: .5rem;
}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
	display: block;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	/* IE 9 */
	float: left\9;
	width: 100%\9;
	vertical-align: top;
	border: none;
}

/*table.bt tfoot th::before,
table.bt tfoot td::before, */
table.bt tbody td::before {
	display: inline-block;
	-webkit-flex-shrink: 0;
	-ms-flex-shrink: 0;
	flex-shrink: 0;
	width: 6.25rem;
	color: #333;
	font-size: .85rem;
	font-weight: 400;
	line-height: 1.5rem;
	content: attr(data-th) " ";
/*	content: attr(data-th) ": "; */
}

table.bt tfoot th.bt-hide,
table.bt tfoot td.bt-hide,
table.bt tbody td.bt-hide {
	display: none;
}

table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
	vertical-align: top;
}

.bt-wrapper.active {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	max-height: 310px;
}

table.bt.bt--no-header tfoot td::before,
table.bt.bt--no-header tbody td::before {
	display: none;
}
