/* BNRA Google Sheets Tables — styled to match the former wpDataTables look on bnra.bg. */
.bnra-sheet-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 2em;
}

.bnra-sheet {
	width: 100%;
	border-collapse: separate;
	border-spacing: 2px 0;
	font-family: inherit;
	font-size: 1.05rem;
	line-height: 1.35;
}

.bnra-sheet th,
.bnra-sheet td {
	text-align: left;
	vertical-align: middle;
	overflow-wrap: break-word;
}

/* Values never wrap (dates, numbers). */
.bnra-sheet th:last-child,
.bnra-sheet td:last-child {
	white-space: nowrap;
}

/* Station column is wider, value column narrower (as on the current site). */
.bnra-sheet th:first-child,
.bnra-sheet td:first-child {
	width: 60%;
}

.bnra-sheet-wrap .bnra-sheet thead th {
	/* The theme uppercases table headers; that would turn "µSv/h" into "ΜSV/H". Keep the text exactly as in the sheet. */
	text-transform: none !important;
	font-variant: normal;
	background: #152c52;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.8em 0.8em;
	border: 1px solid #152c52;
}

.bnra-sheet tbody td {
	color: #666;
	padding: 0.4em 0.8em;
	border: 1px solid #ddd;
	border-top: 0;
	background: #fff;
}

.bnra-sheet tbody td:first-child {
	padding-left: 0.1em;
}

.bnra-sheet tbody tr:nth-child(odd) td {
	background: #f4f4f4;
}

/* Phones. */
@media (max-width: 600px) {
	.bnra-sheet {
		font-size: 0.95rem;
	}

	.bnra-sheet thead th {
		padding: 0.6em 0.6em;
	}

	.bnra-sheet tbody td {
		padding: 0.3em 0.6em;
	}

	.bnra-sheet tbody td:first-child {
		padding-left: 0.1em;
	}
}

.bnra-sheet-error {
	color: #b32d2e;
}
