html, body {
	font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background-color: #F4F6F9;
}

h1, h2, h3, h4, h5, .portal-heading {
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

a, .btn-link {
	color: #13203A;
}

.btn-primary {
	color: #fff;
	background-color: #13203A;
	border-color: #13203A;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #D7282F;
}

.content {
	padding-top: 1.1rem;
}

h1:focus {
	outline: none;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid #e50000;
}

.validation-message {
	color: #e50000;
}

.blazor-error-boundary {
	background: #b32121;
	padding: 1rem 1rem 1rem 1.5rem;
	color: white;
}

.blazor-error-boundary::after {
	content: "An error has occurred."
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
	color: var(--bs-secondary-color);
	text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
	text-align: start;
}

.portal-brand {
	color: #D7282F;
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	font-family: 'Source Serif 4', Georgia, serif;
}

.portal-nav-link {
	color: #13203A;
	text-decoration: none;
	font-weight: 500;
	padding: 0.35rem 0.75rem;
	border-bottom: 2px solid transparent;
}

.portal-nav-link.active {
	border-bottom-color: #D7282F;
	color: #D7282F;
}

.portal-company {
	margin-left: 1.5rem;
	font-weight: 600;
	color: #13203A;
	white-space: nowrap;
}

.portal-section-label {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5C6B7A;
}

.portal-card {
	background: #fff;
	border: 1px solid #E3E8EF;
	border-radius: 8px;
}

.document-tabs {
	overflow: hidden;
}

.project-row-selected {
	background-color: rgba(21, 101, 192, 0.08) !important;
	box-shadow: inset 3px 0 0 #1565C0;
}

.project-row-selected > td {
	background-color: transparent !important;
}

.discipline-name {
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.mud-table thead .mud-table-cell {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5C6B7A;
}

.scope-children {
	margin-left: 1.35rem;
	border-left: 2px solid #E3E8EF;
	padding-left: 0.4rem;
}

.scope-node-row {
	min-height: 2.75rem;
}

.scope-kind {
	font-size: 0.65rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5C6B7A;
	min-width: 5.5rem;
}

.cost-board {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem;
}

.cost-board-summary {
	flex: 1 1 18rem;
	max-width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cost-board-charts {
	flex: 1 1 20rem;
	min-width: 0;
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	gap: 1rem;
}

.trend-card {
	min-width: 0;
}

@media (min-width: 720px) {
	.cost-board-charts {
		grid-template-columns: 1fr 1fr;
	}
}

.trend-row {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	overflow-x: auto;
}

@media (min-width: 1280px) {
	.cost-board-summary {
		flex: 0 0 calc(33.333% - 0.67rem);
		max-width: calc(33.333% - 0.67rem);
	}
}

.cost-track {
	height: 0.7rem;
	background: #E3E8EF;
	border-radius: 999px;
	overflow: hidden;
}

.cost-fill {
	height: 100%;
	background: #1565C0;
}

.cost-fill.over {
	background: #D7282F;
}

.trend-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	min-width: 2.4rem;
	height: 7rem;
}

.trend-bar {
	width: 1.1rem;
	background: #13203A;
	border-radius: 3px 3px 0 0;
	min-height: 2px;
}

.trend-label {
	font-size: 0.65rem;
	color: #5C6B7A;
	margin-top: 0.25rem;
	text-align: center;
}
