/**
 * Custom Table Builder for WPBakery
 * Base structural styles.
 * Author: Awais Mushtaq
 *
 * Colors, borders, spacing, etc. are all handled per-instance via an
 * inline <style> block generated in class-ctwpb-shortcode.php so that
 * each table on the page can have completely independent styling as
 * configured from the WPBakery editor.
 */

.ctwpb-wrapper {
	max-width: 100%;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}

.ctwpb-wrapper table.ctwpb-table {
	margin: 0;
}

.ctwpb-wrapper table.ctwpb-table th,
.ctwpb-wrapper table.ctwpb-table td {
	box-sizing: border-box;
	vertical-align: middle;
	line-height: 1.5;
}

.ctwpb-wrapper table.ctwpb-table th:first-child,
.ctwpb-wrapper table.ctwpb-table td:first-child {
	white-space: nowrap;
}

@media screen and (max-width: 600px) {
	.ctwpb-wrapper table.ctwpb-table th:first-child,
	.ctwpb-wrapper table.ctwpb-table td:first-child {
		white-space: normal;
	}
}
