html, body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
	outline: none;
}

a, .btn-link {
	color: #0071c1;
}

.btn-primary {
	background-color: #1b6ec2;
	border-color: #1861ac;
	color: #fff;
}

.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 #258cfb;
}

.content {
	padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid red;
}

.validation-message {
	color: red;
}

#blazor-error-ui {
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	color-scheme: light only;
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.5rem;
}

.blazor-error-boundary {
	background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDU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My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
	color: white;
	padding: 1rem 1rem 1rem 3.7rem;
}

.blazor-error-boundary::after {
	content: "An error has occurred."
}

.loading-progress {
	display: block;
	height: 8rem;
	margin: 20vh auto 1rem auto;
	position: relative;
	width: 8rem;
}

.loading-progress circle {
	fill: none;
	stroke: #e0e0e0;
	stroke-width: 0.6rem;
	transform: rotate(-90deg);
	transform-origin: 50% 50%;
}

.loading-progress circle:last-child {
	stroke: #1b6ec2;
	stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
	transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
	font-weight: bold;
	inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
	position: absolute;
	text-align: center;
}

.loading-progress-text:after {
	content: var(--blazor-load-percentage-text, "Loading");
}

code {
	color: #c02d76;
}

.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;
}

/* LANDMANAGER */

.page-default-height {
	height: calc(100vh - 64px); /* 64px app bar */
	min-height: 480px;
	overflow-y: auto;
}

.page-grid {
	height: calc(100vh - 64px); /* 64px app bar */
	min-height: 480px;
	overflow-y: auto;
	padding-top: 16px;
}

.page-grid-header-item {
	height: 64px;
}

.page-grid-body-item {
	height: calc(100vh - 160px); /* 64px app bar, 64px grid header, 2x16px spacings */
}

.page-grid-body-item-scrollable-container {
	height: 100%;
	overflow-x: hidden;
	overflow-y: scroll;
	width: calc(100vw * 0.35);
	min-width: 600px;
	max-width: 900px;
}

.page-grid-body-item-fixed-container {
	height: 100%;
	overflow: hidden;
}

.page-grid-body-item-fixed-container .map-wrapper {
	height: 100%;
}

.page-grid-body-item-fixed-large-container {
	height: 100%;
	overflow: hidden;
	width: calc(100vw * 0.35);
	min-width: 600px;
	max-width: 900px;
}

.page-grid-body-item-fixed-small-container {
	height: 100%;
	overflow: hidden;
	width: calc(100vw * 0.15);
	min-width: 300px;
	max-width: 350px;
}

.page-grid-body-item-grow-container {
	height: 100%;
	overflow: hidden;
	flex-grow: 1;
}

.page-grid-body-item-grow-container .map-wrapper {
	height: 100%;
}

/* Layout panel component */
.layout-panel {
	height: calc(100vh - 64px); /* 64px app bar */
	min-height: 480px;
	overflow-y: auto;
	padding: 12px;
}

.layout-panel-title {
	min-height: 64px;
	height: 64px;
	padding: 4px;
}

.layout-panel-content {
	height: calc(100vh - 176px); /* 64px app bar, 16px padding, 64px title, 16px padding, 16px padding (bottom) */
	min-height: 480px;
	min-width: 600px;
}

.layout-panel-content-without-title {
	height: calc(100vh - 112px); /* 64px app bar, 16px padding, 16px padding, 16px padding (bottom) */
}

.layout-panel-fixed-small-section {
	height: 100%;
	overflow: visible;
	width: calc(100vw * 0.15);
	min-width: 300px;
	max-width: 350px;
	padding: 4px;
	flex-shrink: 0;
}

.layout-panel-fixed-medium-section {
	height: 100%;
	overflow: visible;
	width: calc(100vw * 0.35);
	min-width: 600px;
	max-width: 900px;
	padding: 4px;
	flex-shrink: 0;
}

.layout-panel-fixed-large-section {
	height: 100%;
	overflow: visible;
	width: calc(100vw * 0.50);
	min-width: 750px;
	max-width: 1100px;
	padding: 4px;
	flex-shrink: 0;
}

.layout-panel-grow-small-section, .layout-panel-grow-medium-section, .layout-panel-grow-large-section {
	height: 100%;
	overflow: visible;
	flex-grow: 1;
	padding: 4px;
}

.layout-panel-grow-small-section {
	min-width: 300px;
}

.layout-panel-grow-medium-section {
	min-width: 600px;
}

.layout-panel-grow-large-section {
	min-width: 750px;
}

.layout-panel-grow-small-section .map-wrapper {
	height: 100%;
}

.layout-panel-grow-medium-section .map-wrapper {
	height: 100%;
}

.layout-panel-grow-large-section .map-wrapper {
	height: 100%;
}

/*  */
.clipped-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Default class for stats paper elements */
.stats-paper {
	height: 150px;
	min-height: 150px;
	padding: 16px;
}

/* Default class for paper elements */
.default-paper {
	padding: 16px;
}

.content-with-stats-paper {
	height: calc(100vh - 342px); /* 64px app bar, 16px padding, 64px layout panel header, 16px padding, 150px stats, 16px padding, 16px padding (bottom) */
	min-height: 314px; /* 480px min-height from layout-panel-content - 150px stats - 16px padding */
	padding: 16px;
}

/* Prevent tooltip to overlap the layout */
.tooltip-clip-container .mud-tooltip-root {
	width: 100%;
}

/* Table row selection styles */
.table-row-selected {
	background-color: var(--mud-palette-primary) !important;
}

.table-row-selected > td {
	color: var(--mud-palette-primary-text) !important;
}

.table-row-selected > td > a {
	color: var(--mud-palette-primary-text) !important;
}

.table-row-selected > td .mud-input {
	color: var(--mud-palette-primary-text) !important;
}

.table-row-selected > td > svg {
	color: var(--mud-palette-primary-text) !important;
}

.table-row-selected > td button {
	color: var(--mud-palette-primary-text) !important;
}

.table-row-selected .color-info {
	color: var(--mud-palette-gray-lighter);
}

/* Some helpers */
.overflow-hidden {
	overflow: hidden;
}

.scrollable {
	overflow-y: auto !important;
}

.color-info {
	color: var(--mud-palette-gray-dark);
}

.height-100p {
	height: 100%;
}

.width-100p {
	width: 100%;
}

.icon-large {
	font-size: 3.5rem !important;
}

/* Min height for MUD data grids */
.table-responsive:has(.min-height-less) {
	min-height: 250px !important;
}

.drag-drop-input {
	cursor: pointer;
	opacity: 0;
}

.custom-toggle-group > .mud-button-filled {
	background-color: var(--mud-palette-gray-lighter) !important;
}

/* 
  Breakpoints per MudBlazor defaults:
  xs : max-width: 599.98px
  sm : (min-width: 600px)  and (max-width: 959.98px)
  md : (min-width: 960px)  and (max-width: 1279.98px)
  lg : (min-width: 1280px) and (max-width: 1919.98px)
  xl : (min-width: 1920px) and (max-width: 2559.98px)
  xxl: (min-width: 2560px)
*/

/* ---------------------- XS ---------------------- */

@media (max-width: 599.98px) {
	.width-xs-100 {
		width: 100px;
	}

	.width-xs-150 {
		width: 150px;
	}

	.width-xs-200 {
		width: 200px;
	}

	.width-xs-250 {
		width: 250px;
	}

	.width-xs-300 {
		width: 300px;
	}

	.width-xs-350 {
		width: 350px;
	}

	.width-xs-400 {
		width: 400px;
	}

	.width-xs-450 {
		width: 450px;
	}

	.width-xs-500 {
		width: 500px;
	}

	.width-xs-550 {
		width: 550px;
	}

	.width-xs-600 {
		width: 600px;
	}

	.width-xs-650 {
		width: 650px;
	}

	.width-xs-700 {
		width: 700px;
	}

	.width-xs-750 {
		width: 750px;
	}

	.width-xs-800 {
		width: 800px;
	}

	.width-xs-850 {
		width: 850px;
	}

	.width-xs-900 {
		width: 900px;
	}

	.width-xs-950 {
		width: 950px;
	}

	.width-xs-1000 {
		width: 1000px;
	}
}

/* ---------------------- SM ---------------------- */

@media (min-width: 600px) and (max-width: 959.98px) {
	.width-sm-100 {
		width: 100px;
	}

	.width-sm-150 {
		width: 150px;
	}

	.width-sm-200 {
		width: 200px;
	}

	.width-sm-250 {
		width: 250px;
	}

	.width-sm-300 {
		width: 300px;
	}

	.width-sm-350 {
		width: 350px;
	}

	.width-sm-400 {
		width: 400px;
	}

	.width-sm-450 {
		width: 450px;
	}

	.width-sm-500 {
		width: 500px;
	}

	.width-sm-550 {
		width: 550px;
	}

	.width-sm-600 {
		width: 600px;
	}

	.width-sm-650 {
		width: 650px;
	}

	.width-sm-700 {
		width: 700px;
	}

	.width-sm-750 {
		width: 750px;
	}

	.width-sm-800 {
		width: 800px;
	}

	.width-sm-850 {
		width: 850px;
	}

	.width-sm-900 {
		width: 900px;
	}

	.width-sm-950 {
		width: 950px;
	}

	.width-sm-1000 {
		width: 1000px;
	}
}

/* ---------------------- MD ---------------------- */

@media (min-width: 960px) and (max-width: 1279.98px) {
	.width-md-100 {
		width: 100px;
	}

	.width-md-150 {
		width: 150px;
	}

	.width-md-200 {
		width: 200px;
	}

	.width-md-250 {
		width: 250px;
	}

	.width-md-300 {
		width: 300px;
	}

	.width-md-350 {
		width: 350px;
	}

	.width-md-400 {
		width: 400px;
	}

	.width-md-450 {
		width: 450px;
	}

	.width-md-500 {
		width: 500px;
	}

	.width-md-550 {
		width: 550px;
	}

	.width-md-600 {
		width: 600px;
	}

	.width-md-650 {
		width: 650px;
	}

	.width-md-700 {
		width: 700px;
	}

	.width-md-750 {
		width: 750px;
	}

	.width-md-800 {
		width: 800px;
	}

	.width-md-850 {
		width: 850px;
	}

	.width-md-900 {
		width: 900px;
	}

	.width-md-950 {
		width: 950px;
	}

	.width-md-1000 {
		width: 1000px;
	}
}

/* ---------------------- LG ---------------------- */

@media (min-width: 1280px) and (max-width: 1919.98px) {
	.width-lg-100 {
		width: 100px;
	}

	.width-lg-150 {
		width: 150px;
	}

	.width-lg-200 {
		width: 200px;
	}

	.width-lg-250 {
		width: 250px;
	}

	.width-lg-300 {
		width: 300px;
	}

	.width-lg-350 {
		width: 350px;
	}

	.width-lg-400 {
		width: 400px;
	}

	.width-lg-450 {
		width: 450px;
	}

	.width-lg-500 {
		width: 500px;
	}

	.width-lg-550 {
		width: 550px;
	}

	.width-lg-600 {
		width: 600px;
	}

	.width-lg-650 {
		width: 650px;
	}

	.width-lg-700 {
		width: 700px;
	}

	.width-lg-750 {
		width: 750px;
	}

	.width-lg-800 {
		width: 800px;
	}

	.width-lg-850 {
		width: 850px;
	}

	.width-lg-900 {
		width: 900px;
	}

	.width-lg-950 {
		width: 950px;
	}

	.width-lg-1000 {
		width: 1000px;
	}
}

/* ---------------------- XL ---------------------- */

@media (min-width: 1920px) and (max-width: 2559.98px) {
	.width-xl-100 {
		width: 100px;
	}

	.width-xl-150 {
		width: 150px;
	}

	.width-xl-200 {
		width: 200px;
	}

	.width-xl-250 {
		width: 250px;
	}

	.width-xl-300 {
		width: 300px;
	}

	.width-xl-350 {
		width: 350px;
	}

	.width-xl-400 {
		width: 400px;
	}

	.width-xl-450 {
		width: 450px;
	}

	.width-xl-500 {
		width: 500px;
	}

	.width-xl-550 {
		width: 550px;
	}

	.width-xl-600 {
		width: 600px;
	}

	.width-xl-650 {
		width: 650px;
	}

	.width-xl-700 {
		width: 700px;
	}

	.width-xl-750 {
		width: 750px;
	}

	.width-xl-800 {
		width: 800px;
	}

	.width-xl-850 {
		width: 850px;
	}

	.width-xl-900 {
		width: 900px;
	}

	.width-xl-950 {
		width: 950px;
	}

	.width-xl-1000 {
		width: 1000px;
	}
}

/* ---------------------- XXL --------------------- */

@media (min-width: 2560px) {
	.width-xxl-100 {
		width: 100px;
	}

	.width-xxl-150 {
		width: 150px;
	}

	.width-xxl-200 {
		width: 200px;
	}

	.width-xxl-250 {
		width: 250px;
	}

	.width-xxl-300 {
		width: 300px;
	}

	.width-xxl-350 {
		width: 350px;
	}

	.width-xxl-400 {
		width: 400px;
	}

	.width-xxl-450 {
		width: 450px;
	}

	.width-xxl-500 {
		width: 500px;
	}

	.width-xxl-550 {
		width: 550px;
	}

	.width-xxl-600 {
		width: 600px;
	}

	.width-xxl-650 {
		width: 650px;
	}

	.width-xxl-700 {
		width: 700px;
	}

	.width-xxl-750 {
		width: 750px;
	}

	.width-xxl-800 {
		width: 800px;
	}

	.width-xxl-850 {
		width: 850px;
	}

	.width-xxl-900 {
		width: 900px;
	}

	.width-xxl-950 {
		width: 950px;
	}

	.width-xxl-1000 {
		width: 1000px;
	}
}