/* Simple Table Builder - shared by the website and the admin editor */
.stb-wrap {
	max-width: 100%;
	overflow-x: auto;
	margin: 0 0 1.5em;
}

.stb-table {
	width: var(--stb-width, 100%);
	border-collapse: separate;
	border-spacing: 0;
	border-top: var(--stb-border);
	border-left: var(--stb-border);
	border-radius: var(--stb-radius, 0);
	overflow: hidden;
	background: var(--stb-bg);
	color: var(--stb-color);
	font-size: var(--stb-size, 16px);
	line-height: 1.5;
	margin: 0;
}

.stb-table th,
.stb-table td {
	padding: var(--stb-pad, 12px);
	text-align: var(--stb-align, left);
	vertical-align: top;
	border: 0;
	border-right: var(--stb-border);
	border-bottom: var(--stb-border);
	background: var(--stb-bg);
	color: var(--stb-color);
	font-weight: normal;
}

.stb-table th,
.stb-table.stb-has-header tr.stb-first td {
	background: var(--stb-hbg);
	color: var(--stb-hcolor);
	font-weight: 600;
}

.stb-table.stb-stripe tr.stb-alt td {
	background: var(--stb-stripe);
}

.stb-table.stb-hover tr:not(.stb-first):hover td {
	background: var(--stb-hover);
}
