/* QMC Sheet Pricing: residential table, scoped to the shortcode wrapper. */

.qmc-price-table-wrap {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.qmc-price-table-wrap *,
.qmc-price-table-wrap *::before,
.qmc-price-table-wrap *::after {
	box-sizing: border-box;
}

.qmc-price-table-wrap table {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	table-layout: auto;
	margin-bottom: 0.8em;
	border-spacing: 0;
	border-collapse: separate;
	border: 0;
}

.qmc-price-table-wrap table caption.qmc-price-heading {
	caption-side: top;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	color: #FFC42A;
	background: transparent;
	padding: 0 0 0.6em 0;
	margin: 0;
}

.qmc-price-table-wrap table th,
.qmc-price-table-wrap table td {
	padding: 1em 1.618em;
	vertical-align: top;
	text-align: left;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	border: 0;
}

.qmc-price-table-wrap table thead th {
	background: #f2f2f2;
	font-weight: 500;
	vertical-align: middle;
	color: #000;
}

.qmc-price-table-wrap table tbody td {
	background: #fafafa;
	color: #000;
}

.qmc-price-table-wrap table tbody tr:nth-child(2n) td {
	background: #f7f7f7;
}

.qmc-price-table-wrap table tbody tr.qmc-group-row th {
	color: #000;
	background: #FFC42A;
	font-weight: 700;
	text-align: left;
	letter-spacing: 0.02em;
}

.qmc-price-table-wrap table tbody tr.qmc-note-row td {
	font-weight: 400;
}

@media (max-width: 480px) {
	.qmc-price-table-wrap table th,
	.qmc-price-table-wrap table td {
		padding: 0.7em 0.7em !important;
	}
}
