/* REEF product-page size chart (Description / Additional information / Size Chart / Reviews tabs). */
.reef-size-chart {
	max-width: 860px;
	margin: 0;
	color: #1c1b1b;
	font-size: 15px;
	line-height: 1.6;
}

.reef-size-chart__intro {
	margin: 0 0 14px;
	color: #444;
}

.reef-size-chart__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fff;
}

.reef-size-chart__scroll:focus-visible {
	outline: 2px solid #3669a4;
	outline-offset: 2px;
}

.reef-size-chart__table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border-collapse: collapse;
	border: 0;
	background: #fff;
}

.reef-size-chart__table thead th {
	padding: 12px 14px;
	border-bottom: 1px solid #e3e3e3;
	background: #f5f5f5;
	color: #111;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.reef-size-chart__table tbody td {
	padding: 11px 14px;
	border-bottom: 1px solid #efefef;
	color: #1c1b1b;
	font-size: 15px;
	text-align: left;
}

.reef-size-chart__table tbody tr:last-child td {
	border-bottom: 0;
}

.reef-size-chart__table tbody tr:nth-child(even) td {
	background: #fafafa;
}

.reef-size-chart__table tbody tr:hover td {
	background: #f0f5fa;
}

.reef-size-chart__howto {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-left: 3px solid #3669a4;
	background: #f7f9fb;
	border-radius: 0 8px 8px 0;
}

.reef-size-chart__howto strong {
	display: block;
	margin-bottom: 6px;
	color: #111;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.reef-size-chart__howto ol {
	margin: 0;
	padding-left: 20px;
	color: #444;
}

.reef-size-chart__howto li {
	margin: 0 0 6px;
}

.reef-size-chart__howto li:last-child {
	margin-bottom: 0;
}

/* Flatsome tab panel: keep the chart flush with the panel padding. */
.woocommerce-Tabs-panel--reef_size_chart {
	padding-top: 0;
}

@media (max-width: 768px) {
	.reef-size-chart {
		font-size: 14px;
	}

	.reef-size-chart__table thead th,
	.reef-size-chart__table tbody td {
		padding: 10px 10px;
	}

	.reef-size-chart__table thead th {
		font-size: 12px;
	}

	.reef-size-chart__table tbody td {
		font-size: 14px;
	}
}
