:root {
	--ButtonBorderRadius: 5px;
	--ButtonBorder: 1px solid;
	--ButtonFontSize: 0.9rem;
	--ButtonFontWeight: 700;
	--ButtonTransision: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
	--ButtonPaddingHorizontal: 1.25rem;
	--ButtonPaddingVertical: 0.75rem;
	--ButtonPadding: var(--ButtonPaddingVertical) var(--ButtonPaddingHorizontal);
	--CirclePadding: 1rem;
	--ButtonMargin: 4px 3px;
	--BorderRadius: 4px;
	--InputMarginHorizontal: 0;
	--InputMarginVertical: 8px;
	--InputPadding: 6px 10px;
	--InputMargin: var(--InputMarginVertical) var(--InputMarginHorizontal);
	--InputBorderColor: #ced4da;
	--InputBorderHoverColor: #909499;
	--InputFocusBoxShadow: var(--PrimaryColor) 0px 0px 0px 3.2px;
	--DefaultMargin: 1rem 0;
	--FontSize: 1em;
	--font-family: 'Roboto', sans-serif;
	--font-feature-settings: normal;
}

html, body {
	min-height: 100%;
	min-height: 100dvh;
	font-size: var(--FontSize);
}

html {
	margin: 0;
}

body {
	margin: 0;
	width: 100%;
	background-color: var(--BackgroundColor);
	background-image: var(--BackgroundImageUrl);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	font-family: var(--font-family);
	color: var(--FontColor);
	overflow-y: auto;
}

body.ModalOpen {
	overflow-y: hidden;
	position: fixed;
}

.NavigationHeader .GlobalSearchBar {
	display: none;
}

.GlobalSearchBar {
	margin-right: 1rem;
}

.GlobalSearchBar form {
	display: flex;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.GlobalSearchBar .GlobalSearchInput {
	height: 2rem;
	border-color: var(--BorderColor);
	border-right: 0;
	border-radius: var(--BorderRadius) 0 0 var(--BorderRadius);
	width: 100%;
}

.GlobalSearchBar .GlobalSearchButton {
	background: url("/Base/Web/Images/Symbols/Icon_Search.png") no-repeat center;
	width: 2rem;
	height: 2rem;
	border-color: var(--BorderColor);
	border-left: 0;
	border-radius: 0 var(--BorderRadius) var(--BorderRadius) 0;
	cursor: pointer;
}

.NavigationHamburgerButton {
	display: none;
}

.NavigationBar {
	position: relative;
	z-index: 2000;
	background-color: var(--NavigationBackgroundColor);
	box-shadow: 0 2px 10px var(--BoxShadowColor);
	border-top: 0;
	width: auto;
	margin: auto;
	padding: 10px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
}

.Navigation {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
	padding-left: 10px;
	padding-right: 10px;
	position: relative;
	font-weight: bold;
	font-size: 1.1em;
	flex: 1;
	z-index: 1;
}

.Navigation a {
	padding: 2px 0;
	color: var(--NavigationFontColor);
	text-shadow: 2px 2px 4px #0000004f;
	text-decoration: none;
}

.Navigation ul {
	margin: 0;
	padding: 0;
	display: flex;
}

.Navigation ul.topmenu {
	flex-wrap: wrap;
}

.Navigation ul.topmenu.usermenu {
	min-width: 8rem;
}

.Navigation li {
	display: flex;
	flex: 1 1 auto;
	cursor: pointer;
	white-space: nowrap;
	list-style: none;
	position: relative;
}

.Navigation li a {
	padding: 1em;
	flex: 1;
	text-align: center;
}

.Navigation .submenu a:hover {
	background-color: var(--NavigationBackgroundColor);
	filter: brightness(80%);
}

.Navigation ul.topmenu > li:hover > a {
	background-color: var(--NavigationBackgroundColor);
	filter: brightness(80%);
}

.Navigation ul.submenu {
	width: 100%;
	min-width: fit-content;
}

.Navigation ul.topmenu > li {
	display: flex;
	flex-direction: row;
	background-color: var(--NavigationBackgroundColor);
}

.Navigation ul.topmenu li ul {
	display: none;
	position: absolute;
}

.Navigation li:hover > ul.submenu {
	display: flex;
	flex-direction: column;
}

.Navigation .submenu {
	z-index: 2;
	top: 100%;
	left: 0;
	background-color: var(--NavigationBackgroundColor);
}

.Navigation .submenu .submenu {
	z-index: 3;
	left: 100%;
	top: 0;
}

.Navigation .submenu > li {
	text-align: center;
}

.NavigationLogo {
	height: 40%;
	max-height: 60px;
}

#Content {
	border: 1px solid var(--BorderColor);
	border-top: 0;
	background: var(--ContentBackground);
	width: 100%;
	max-width: 1920px;
	min-height: 400px;
	height: auto;
	padding: 1rem 1.5rem;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	display: block;
	box-shadow: 0 2px 10px var(--BoxShadowColor);
	box-sizing: border-box;
}

/* Header styles */
h1, h2, h3, h4, h5, h6 {
	color: var(--ContentHeaderColor);
	margin: var(--DefaultMargin);
}

h1 {
	font-size: calc(1rem * pow(1.125, 5));
}

h2 {
	font-size: calc(1rem * pow(1.125, 4));
}

h3 {
	font-size: calc(1rem * pow(1.125, 3));
}

h4 {
	font-size: calc(1rem * pow(1.125, 2));
}

h5 {
	font-size: calc(1rem * pow(1.125, 1));
}

h6 {
	font-size: calc(1rem * pow(1.125, 0));
}

hr {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--PrimaryColor), rgba(0, 0, 0, 0));
}

.StylizedTable {
	border-collapse: collapse;
	width: 100%;
	table-layout: fixed;
}

/**
 * Table styles
 */
.StylizedTable td, .StylizedTable th {
	border: 1px solid #c0c0c0;
	padding: 5px;
	word-wrap: break-word;
	word-break: break-word;
	white-space: normal;
}

.StylizedTable th {
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: left;
	background-color: var(--DarkerColor);
	color: white;
}

/**
 * Table hover styles
 */
.StylizedTable tr:hover, .StylizedTable tbody tr:hover {
	background-color: var(--TableHoverColor);
}

/**
 * Table no border styles
 */
.table-no-border, .table-no-border th, .table-no-border td {
	border: none;
}

/**
 * Table striped styles
 */
.table-striped tbody tr:nth-child(odd) {
	background-color: var(--BackgroundColorDarker);
}

.table-striped tbody tr:nth-child(even) {
	background-color: var(--BackgroundColor);
}

.layout-auto {
	table-layout: auto;
}

.layout-auto td, .layout-auto th {
	word-break: normal;
}

input:not([type=radio]), select, textarea {
	padding: var(--InputPadding);
	margin: var(--InputMargin);
	display: inline-block;
	border: 1px solid var(--InputBorderColor);
	border-radius: var(--BorderRadius);
	box-sizing: border-box;
	background-color: var(--BackgroundColor);
	color: var(--FontColor);
}

input.button,
.BadButton,
.button.danger,
.Button.danger,
.button,
.Button {
	align-items: center;
	background-color: var(--ButtonColor);
	border-radius: var(--ButtonBorderRadius);
	border: var(--ButtonBorder);
	border-color: var(--ButtonColor);
	box-sizing: border-box;
	color: var(--ButtonFontColor);
	cursor: pointer;
	display: inline-flex;
	font-size: var(--ButtonFontSize);
	font-weight: var(--ButtonFontWeight);
	overflow: hidden;
	padding: var(--ButtonPadding);
	position: relative;
	text-align: center;
	transition: var(--ButtonTransision);
	user-select: none;
	vertical-align: middle;
	margin: var(--ButtonMargin);
	gap: var(--ButtonPaddingHorizontal);
	justify-content: center;
}

.button.secondary,
.Button.secondary {
	background-color: var(--SecondaryColor);
	border-color: var(--SecondaryColor);
	color: var(--SecondaryTextColor);
}

.button.success,
.Button.success {
	background-color: var(--SuccessColor);
	border-color: var(--SuccessColor);
	color: var(--SuccessTextColor);
}

.button.info,
.Button.info {
	background-color: var(--InfoColor);
	border-color: var(--InfoColor);
	color: var(--InfoTextColor);
}

.button.warning,
.Button.warning {
	background-color: var(--WarningColor);
	border-color: var(--WarningColor);
	color: var(--WarningTextColor);
}

.button.help,
.Button.help {
	background-color: var(--HelpColor);
	border-color: var(--HelpColor);
	color: var(--HelpTextColor);
}

.BadButton,
.button.danger,
.Button.danger {
	background-color: var(--DangerColor);
	border-color: var(--DangerColor);
	border-radius: var(--ButtonBorderRadius);
	color: var(--ButtonFontColor);
}

.button.outlined,
.Button.outlined {
	background: none;
	color: var(--ButtonColor);
}

.button.outlined.secondary,
.Button.outlined.secondary {
	color: var(--SecondaryColor);
}

.button.outlined.success,
.Button.outlined.success {
	color: var(--SuccessColor);
}

.button.outlined.info,
.Button.outlined.info {
	color: var(--InfoColor);
}

.button.outlined.warning,
.Button.outlined.warning {
	color: var(--WarningColor);
}

.button.outlined.help,
.Button.outlined.help {
	color: var(--HelpColor);
}

.button.outlined.danger,
.Button.outlined.danger {
	color: var(--DangerColor);
}

.button:focus,
.Button:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--PrimaryTextColor), 0 0 0 4px var(--PrimaryColor);
}

.button.secondary:focus,
.Button.secondary:focus {
	box-shadow: 0 0 0 2px var(--SecondaryTextColor), 0 0 0 4px var(--SecondaryColor);
}

.button.success:focus,
.Button.success:focus {
	box-shadow: 0 0 0 2px var(--SuccessTextColor), 0 0 0 4px var(--SuccessColor);
}

.button.info:focus,
.Button.info:focus {
	box-shadow: 0 0 0 2px var(--InfoTextColor), 0 0 0 4px var(--InfoColor);
}

.button.warning:focus,
.Button.warning:focus {
	box-shadow: 0 0 0 2px var(--WarningTextColor), 0 0 0 4px var(--WarningColor);
}

.button.help:focus,
.Button.help:focus {
	box-shadow: 0 0 0 2px var(--HelpTextColor), 0 0 0 4px var(--HelpColor);
}

.button.danger:focus,
.Button.danger:focus {
	box-shadow: 0 0 0 2px var(--DangerTextColor), 0 0 0 4px var(--DangerColor);
}

.button:hover,
.Button:hover {
	background-color: var(--ButtonHoverColor);
	border-color: var(--ButtonHoverColor);
}

.button.secondary:hover,
.Button.secondary:hover {
	background-color: var(--DarkerSecondaryColor);
	border-color: var(--DarkerSecondaryColor);
}

.button.success:hover,
.Button.success:hover {
	background-color: var(--DarkerSuccessColor);
	border-color: var(--DarkerSuccessColor);
}

.button.info:hover,
.Button.info:hover {
	background-color: var(--DarkerInfoColor);
	border-color: var(--DarkerInfoColor);
}

.button.warning:hover,
.Button.warning:hover {
	background-color: var(--DarkerWarningColor);
	border-color: var(--DarkerWarningColor);
}

.button.help:hover,
.Button.help:hover {
	background-color: var(--DarkerHelpColor);
	border-color: var(--DarkerHelpColor);
}

.BadButton:hover,
.button.danger:hover,
.Button.danger:hover {
	background-color: var(--DarkerDangerColor);
	border-color: var(--DarkerDangerColor);
}

button[disabled], .button:disabled, .button.disabled, .button.Disabled,
.Button[disabled], .Button:disabled, .Button.disabled, .Button.Disabled {
	cursor: default;
	opacity: 0.4;
	pointer-events: none;
}

.button.transparent,
.Button.transparent {
	background: transparent;
	border-color: transparent;
	color: var(--PrimaryColor);
}

.button.transparent.secondary,
.Button.transparent.secondary {
	color: var(--SecondaryColor);
}

.button.transparent.success,
.Button.transparent.success {
	color: var(--SuccessColor);
}

.button.transparent.info,
.Button.transparent.info {
	color: var(--InfoColor);
}

.button.transparent.warning,
.Button.transparent.warning {
	color: var(--WarningColor);
}

.button.transparent.help,
.Button.transparent.help {
	color: var(--HelpColor);
}

.button.transparent.danger,
.Button.transparent.danger {
	color: var(--DangerColor);
}

.button.transparent:hover,
.Button.transparent:hover {
	background: rgba(255, 255, 255, 0.5);
}

.button.transparent:focus,
.Button.transparent:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--PrimaryTextColor), 0 0 0 4px var(--PrimaryColor);
}

.button.transparent.secondary:focus,
.Button.transparent.secondary:focus {
	box-shadow: 0 0 0 2px var(--SecondaryTextColor), 0 0 0 4px var(--SecondaryColor);
}

.button.transparent.success:focus,
.Button.transparent.success:focus {
	box-shadow: 0 0 0 2px var(--SuccessTextColor), 0 0 0 4px var(--SuccessColor);
}

.button.transparent.info:focus,
.Button.transparent.info:focus {
	box-shadow: 0 0 0 2px var(--InfoTextColor), 0 0 0 4px var(--InfoColor);
}

.button.transparent.warning:focus,
.Button.transparent.warning:focus {
	box-shadow: 0 0 0 2px var(--WarningTextColor), 0 0 0 4px var(--WarningColor);
}

.button.transparent.help:focus,
.Button.transparent.help:focus {
	box-shadow: 0 0 0 2px var(--HelpTextColor), 0 0 0 4px var(--HelpColor);
}

.button.transparent.danger:focus,
.Button.transparent.danger:focus {
	box-shadow: 0 0 0 2px var(--DangerTextColor), 0 0 0 4px var(--DangerColor);
}

.circle {
	aspect-ratio: 1;
	border-radius: 50%;
	padding: var(--CirclePadding);
}

.circle.small {
	padding: calc(var(--CirclePadding) / 2);
	margin: 0;
}

.button.dropdown-button,
.Button.dropdown-button {
	border-radius: 0 var(--ButtonBorderRadius) var(--ButtonBorderRadius) 0;
	margin: 0;
}

.icon-only .p-button-label {
	display: none;
}

.p-button-label {
	font-weight: var(--ButtonFontWeight);
}

.button:not(input),
.Button:not(input),
.button.danger:not(input),
.Button.danger:not(input) {
	padding: var(--ButtonPaddingVertical) 0;
}

.button::before,
.Button::before {
	content: '';
}

.button::after,
.Button::after {
	content: '';
}

details .button .ShowOnOpen,
details .Button .ShowOnOpen {
	display: none;
}

details[open] .button .ShowOnOpen,
details[open] .Button .ShowOnOpen {
	display: initial;
}

details .button .ShowOnClose,
details .Button .ShowOnClose {
	display: initial;
}

details[open] .button .ShowOnClose,
details[open] .Button .ShowOnClose {
	display: none;
}

.BigButton {
	padding: 1rem;
	font-size: 1.3rem;
	box-sizing: border-box;
}

.SuccessMessage {
	color: lawngreen;

}

.ErrorMessage {
	color: red;

}

@-webkit-keyframes fadein {
	from {
		top: 0;
		opacity: 0;
	}
	to {
		top: 30px;
		opacity: 1;
	}
}

@keyframes fadein {
	from {
		top: 0;
		opacity: 0;
	}
	to {
		top: 30px;
		opacity: 1;
	}
}

@-webkit-keyframes fadeout {
	from {
		top: 30px;
		opacity: 1;
	}
	to {
		top: 0;
		opacity: 0;
	}
}

@keyframes fadeout {
	from {
		top: 30px;
		opacity: 1;
	}
	to {
		top: 0;
		opacity: 0;
	}
}

a {
	text-decoration: none;
	color: var(--PrimaryColor);
}

.PaginationControls {
}

.PaginationControls a {
	color: var(--PrimaryColor);
}

.BorderTable {
	border: 1px solid black;
	border-collapse: collapse;
}

.BorderTable td, .BorderTable th {
	border: 1px solid black;
	padding: 10px;
}

.Modal {
	overflow-x: hidden;
	overflow-y: auto;
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.ModalContent {
	background-color: var(--BackgroundColor);
	margin: auto;
	padding: 25px;
	border: 1px solid var(--BorderColor);
	width: 800px;
	border-radius: 10px;
	position: relative;
}

.GenericModalContent {
	margin-top: 1em;
}

.CloseModal {
	color: #aaaaaa;
	font-weight: bold;
	position: absolute;
	top: 0;
	right: 0.25em;
	font-size: 3em;
	z-index: 999;
}

.CloseButton {
	position: relative;
	width: 2rem;
	height: 2rem;
	background: none;
	border: none;
	padding: 0.1rem;
	cursor: pointer;
	color: #aaa;
	font-size: 3rem;
	font-family: initial;
}

.CloseButton:hover {
	color: #333;
}

.CloseButton::before {
	content: '\d7';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	line-height: 2rem;
}

.CloseX {
	color: #D60B52;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
}

.CloseModal:hover,
.CloseModal:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.Collapsible {
	padding: 0 18px;
	display: none;
	overflow: hidden;
}

pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.hover_img a {
	position: relative;
}

.hover_img a span {
	position: absolute;
	display: none;
	z-index: 99;
}

.hover_img a:hover span {
	display: block;
}

.OULink {
	cursor: pointer;
}

.OULink:hover {
	color: white;
}

.DownArrow {
	border: solid var(--NavigationFontColor);
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	margin: 3px;
	transition: transform 0.3s;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

.UpArrow {
	border: solid var(--NavigationFontColor);
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	margin: 3px;
	transition: transform 0.3s;
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

.ModalLoaderContainer {
	text-align: center;
}

.Loader {
	border: 5px solid #f3f3f3; /* Light grey */
	border-top: 5px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	animation: spin 0.5s linear infinite;
}

.Loader.Big {
	width: 5em;
	height: 5em;
	border-width: 1em;
}

.Center {
	margin: 1em auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.SearchArrow {
	margin-left: 5px;
}

.SortableColumn {
	cursor: pointer;
}

#LoginArea {
	background: var(--ContentBackground);
	padding: 10px;
	margin-top: 5%;
	margin-left: auto;
	margin-right: auto;
	min-width: 450px;
	max-width: 720px;
	width: 40%;
	min-height: 400px;
	height: auto;
	border-radius: 15px 15px 15px 15px;
	display: block;
	box-shadow: 0px 2px 10px var(--BoxShadowColor);
	text-align: center;
	border: 1px solid var(--BorderColor);
}

.LoginLogo {
	width: 75%;
	max-width: 500px;
}

input:disabled, select:disabled, textarea:disabled {
	background-color: var(--BackgroundColor);
	filter: brightness(50%);
	opacity: 0.8;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	box-shadow: var(--InputFocusBoxShadow);
	border-radius: var(--BorderRadius);
	outline: none;
}

input[type=range] {
	padding: 0;
}

::placeholder {
	color: var(--FontColor);
	opacity: 75%;
}

.InfoIcon {
	display: inline;
}

.InfoIcon:hover {
	cursor: pointer;
}

.ObjectListing {
	margin-top: 5px;
	max-height: 250px;
	overflow-y: auto;
}

.HistoryCollapseRow {
	visibility: collapse;
}

.HistoryUncollapseRow {
	visibility: inherit;
}

div.input-explanation {
	pointer-events: none;
	position: absolute;
	width: max-content;
	padding: 4px 10px;
	background-color: var(--BackgroundColor);
	filter: brightness(70%);
	border-radius: var(--BorderRadius);
	z-index: 99;
	font-size: 0.75em;
	margin-top: -5em;
}

input ~ div.input-explanation {
	display: none;
}

input:hover ~ div.input-explanation, input:focus ~ div.input-explanation {
	display: block;
}

.FlexSpacer, .FlexSpacerNoBreak {
	flex-grow: 1;
}

.FlexBreak {
	flex-basis: 100%;
}

.InfoModalNavigation {
	display: flex;
	flex-wrap: wrap;
}

.SimpleEditForm input:not([type=checkbox]) {
	width: 100%;
}

.TabWrapper {
	margin-bottom: 1rem;
}

.TabWrapper > div:not(.tabs), .TabWrapper .TabContent {
	padding: 15px;
	border-left: 2px solid var(--ButtonHoverColor);
	border-right: 2px solid var(--ButtonHoverColor);
	border-bottom: 2px solid var(--ButtonHoverColor);
}

.TabWrapperNoBorder {
	margin-right: 50px;
}

div.tabs, .Tabs {
	user-select: none;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	border-bottom: 2px solid var(--ButtonHoverColor);
}

div.tabs.vertical {
	flex-direction: column;
	border-bottom: none;
}

div.tabs > .tab, .Tabs .Tab {
	display: inline-block;
	padding: 5px 10px 5px 10px;
	font-size: 1em;
	color: var(--ButtonFontColor);
	background: var(--ButtonColor);
	cursor: pointer;
	border: 0;
	border-bottom: 2px solid var(--BorderColor);
	border-right: 2px solid var(--ButtonHoverColor);
}

div.tabs.vertical > .tab {
	text-align: left;
	border-right: none;
}

div.tabs > .tab:hover, .Tabs .Tab:hover {
	background: var(--ButtonHoverColor);
}

div.tabs > .tab.active, .Tabs .Tab.Active {
	background: var(--ButtonHoverColor);
	border-bottom: 0;
	font-weight: bold;
}

@media only screen and (max-width: 1500px) {
	.Navigation {
		font-size: 1em;
	}

	.Navigation li a {
		padding: 1em 0.5em;
	}
}

@media only screen and (max-width: 1200px) {
	.Navigation .GlobalSearchBar .GlobalSearchButton {
		border-radius: var(--BorderRadius);
		border-left: 1px solid;
	}

	.Navigation .GlobalSearchBar .GlobalSearchInput {
		display: none;
	}

	#Content {
		padding-left: 25px;
		padding-right: 25px;
	}
}

@media only screen and (max-width: 900px) {
	.ModalContent {
		width: auto;
	}
}

@media only screen and (min-width: 769px) {
	.Navigation {
		display: flex !important;
	}
}

@media only screen and (max-width: 768px) {
	#LoginArea {
		width: 90%;
		min-width: 0;
	}

	#Content {
		padding-left: 10px;
		padding-right: 10px;
	}

	.NavigationBar {
		align-items: flex-start;
		flex-direction: column;
		width: auto;
		border-left: 0;
		border-right: 0;
		padding: 0.5em 1em;
	}

	.NavigationHeader {
		display: flex;
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		width: 100%;
	}

	.NavigationHeader .GlobalSearchBar {
		display: initial;
	}

	.GlobalSearchBar {
		margin: 0;
	}

	.GlobalSearchBar form {
		margin-top: 1rem;
	}

	.GlobalSearchBar .GlobalSearchInput {
		height: 2.5rem;
	}

	.GlobalSearchBar .GlobalSearchButton {
		height: 2.5rem;
	}

	.NavigationHamburgerButton {
		position: relative;
		background: transparent;
		border-radius: 50%;
		border: 3px solid var(--NavHamburgerColor);
		padding: 0;
		display: block;
		width: 2.5rem;
		height: 2.5rem;
	}

	.NavigationHamburgerButton > span::before,
	.NavigationHamburgerButton > span,
	.NavigationHamburgerButton > span::after {
		display: block;
		position: absolute;
		margin: auto;
		width: 60%;
		height: 4px;
		background-color: var(--NavHamburgerColor);
		top: calc(50% - 4px / 2);
		content: '';
		border-radius: 3px;
		transition: transform 0.3s, top 0.3s, background-color 0.15s;
	}

	.NavigationHamburgerButton > span {
		margin-left: calc((100% - 60%) / 2);
	}

	.NavigationHamburgerButton > span::before {
		width: 100%;
		top: -200%;
	}

	.NavigationHamburgerButton > span::after {
		width: 100%;
		top: 200%;
	}

	.NavigationHamburgerButton.Open > span {
		background-color: transparent;
	}

	.NavigationHamburgerButton.Open > span::before {
		transform: rotate(45deg);
		top: 0;
	}

	.NavigationHamburgerButton.Open > span::after {
		transform: rotate(-45deg);
		top: 0;
	}

	.Navigation {
		overflow: hidden;
		transition: max-height 0.3s;
		align-items: flex-start;
		flex-direction: column;
	}

	.Navigation:not(.Open) {
		max-height: 0 !important;
	}

	.Navigation .submenu {
		overflow: hidden;
		transition: max-height 0.3s;
	}

	.Navigation .submenu .submenu {
		left: 0;
		top: 0;
	}

	.Navigation .submenu:not(.open) {
		max-height: 0 !important;
	}

	.Navigation ul {
		flex-direction: column;
	}

	.Navigation li {
		background-color: transparent;
		flex-direction: column;
	}

	.Navigation ul.topmenu > li {
		flex-direction: column;
	}

	.Navigation ul.topmenu li ul {
		display: flex;
		position: relative;
	}

	.Navigation .submenu > li {
		text-align: left;
		padding-left: 2em;
	}

	.Navigation .GlobalSearchBar {
		display: none;
	}

	.Modal {
		padding-top: 0;
	}

	.ModalContent {
		padding: 10px 10px;
		width: auto;
	}

	.ObjectDetailsModalInnerContent {
		max-height: unset !important;
	}

	.InfoModalNavigation {
		position: sticky;
		top: 0;
		z-index: 99;
		backdrop-filter: blur(2px);
		-webkit-backdrop-filter: blur(2px);
	}

	.SimpleEditForm label {
		font-size: 0.85em;
	}

	.SimpleEditForm table {
		border-spacing: 0 8px;
	}

	div.input-explanation {
		width: auto;
		transform: translateY(-100%);
		margin-top: -3em;
	}

	form[id$="SearchForm"] input:not([type=checkbox]), form[id$="SearchForm"] select {
		width: 100%;
	}

	.ObjectDetailsTable {
		width: 98%;
		word-break: break-all;
	}

	.ObjectDetailsTable th {
		display: none;
	}

	.ObjectDetailsTable tr {
		display: flex;
		flex-direction: column;
	}

	.ObjectDetailsTable tr td:first-child {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.ObjectDetailsTable tr td:last-child {
		border-top: 0;
		padding-top: 0;
	}

	.HistoricModificationTable tr {
		display: flex;
		flex-direction: column;
		border: 1px solid black;
	}

	.HistoricModificationTable tr:first-child {
		border: 0;
	}

	.HistoricModificationTable th {
		display: none;
	}

	.HistoricModificationTable td {
		border: 0;
	}

	.HistoricModificationTable td:first-child {
		font-weight: bolder;
		font-size: 1.1rem;
		color: var(--PrimaryColor);
	}

	.HistoricModificationTable td:not(:first-child):not(:last-child) {
		border-top: inherit;
		border-bottom: inherit;
	}

	.HistoricModificationTable td:not(:first-child)::before {
		content: attr(data-header);
		display: flex;
		font-weight: bold;
		color: var(--PrimaryColor);
	}

	.HistoryCollapseRow {
		display: none !important;
	}

	.FlexSpacer {
		flex-basis: 100%;
	}

	.SearchResultTable tr {
		display: flex;
		flex-direction: column;
		border: 1px solid black;
	}

	.SearchResultTable tr:first-child {
		border: 0;
	}

	.SearchResultTable th {
		display: none;
	}

	.SearchResultTable td {
		border: 0;
	}

	.SearchResultTable td::before {
		content: attr(data-header);
		display: flex;
		font-weight: bold;
	}

	.BigButton {
		width: 100%;
		margin: 0.5rem 0;
	}
}

.Hero {
	min-height: 333px;
	overflow: hidden;
	font-size: 1em;
	background: gray;
}

.Hero, .Hero * {
	color: var(--NavigationFontColor) !important;
}

.Hero .HeroContent {
	position: absolute;
	width: 100%;
	height: 100%;
	/* Center contents */
	display: flex;
	justify-content: center;
	align-items: center;
}

.Hero .HeroImage {
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
}

.Hero .HeroImage.Dim {
	filter: brightness(66%);
}

.Hero .HeroOverlay {
	width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.FlexBox {
	display: flex;
	flex-wrap: wrap;
}

.FlexBox2PartDiv {
	display: block;
	width: 45%;
	min-width: 20em;
	padding: 10px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.FlexBox3PartDiv {
	display: block;
	width: 30%;
	min-width: 20em;
	padding: 10px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.FlexBoxImage {
	margin-left: auto;
	margin-right: auto;
	display: block;
	width: 100%;
}

ul.Actions {
	user-select: none;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}

ul.Actions ul {
	padding: 0;
}

.SpaceBetween {
	justify-content: space-between;
}

ul.Breadcrumbs {
	list-style: none;
	padding: 0 1rem 0 0;
	margin: 0;
	display: flex;
	flex-wrap: nowrap;
	overflow: hidden;
	justify-content: end;
}

ul.Breadcrumbs li {
	text-wrap: nowrap;
}

ul.Breadcrumbs li:not(:first-child) {
	padding-left: 0.5rem;
}

ul.Breadcrumbs li:not(:first-child)::before {
	content: '/';
	padding-right: 0.5rem;
}

@media (min-width: 993px) {
	.ModalContent {
		margin: 2rem auto;
	}

	.Hero {
		font-size: 1.5em;
	}

	.Hero.Big {
		min-height: 830px;
	}
}

@media (min-width: 1201px) {
	.Hero {
		font-size: 2em;
	}
}

.ModalContent table, .SimpleEditForm table {
	width: 100%;
}

.SimpleEditForm tr input:not([type=checkbox]),
.SimpleEditForm tr select,
.SimpleEditForm tr textarea {
	width: 100%;
	max-width: 100%;
}

.SimpleEditForm tr textarea {
	resize: vertical;
}

.button#GenericModalBackButton[disabled] {
	visibility: hidden;
}

.Disabled {
	pointer-events: none;
	cursor: default;
}

.Actions.Disabled, .Tabs.Disabled {
	opacity: 0.5;
}

.LoadingOverlay {
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
}

.LoadingOverlay .LoadingOverlayContent {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.LoadingOverlay, .LoadingOverlay * {
	color: white !important;
}

.LoadingOverlay *:last-child {
	margin-bottom: 0;
}

.Hidden {
	display: none;
}

[v-cloak], [v-cloak] * {
	display: none;
}

/* .input-explanation styles for autocomplete-field */
autocomplete-field ~ .input-explanation {
	display: none;
}

autocomplete-field:hover ~ .input-explanation, autocomplete-field:focus ~ .input-explanation {
	display: block;
}

/* .SimpleEditForm styles for autocomplete-field */
.SimpleEditForm autocomplete-field {
	width: 100%;
}

.p-autocomplete {
	border-color: #ced4da;
}

.p-autocomplete .p-inputtext {
	padding-right: calc((0.5rem + var(--ButtonPaddingHorizontal)) * 2);
}

.p-autocomplete.p-autocomplete-dd .p-autocomplete-loader {
	right: calc(var(--ButtonPaddingHorizontal) * 4);
}

.p-inputnumber-buttons-horizontal .p-inputnumber-input {
	order: 2;
	border-radius: 0;
}

.p-inputnumber-buttons-horizontal .p-inputnumber-button {
	margin-top: 8px;
	margin-bottom: 8px;
	padding: 0;
}

.p-inputnumber-buttons-horizontal .p-inputnumber-button::before,
.p-inputnumber-buttons-horizontal .p-inputnumber-button::after {
	display: none;
}

.p-inputnumber-buttons-horizontal .p-inputnumber-button-up {
	order: 3;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	margin-left: 0;
}

.p-inputnumber-buttons-horizontal .p-inputnumber-button-down {
	order: 1;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	margin-right: 0;
}

.p-inputnumber-buttons-stacked .p-inputnumber-input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.p-inputnumber-buttons-stacked .p-inputnumber-button-group {
	margin: var(--InputMargin);
}

.p-inputnumber-buttons-stacked .p-inputnumber-button {
	margin: 0;
	padding: 0;
	flex: 1 1 0px;
}

.p-inputnumber-buttons-stacked .p-inputnumber-button::before,
.p-inputnumber-buttons-stacked .p-inputnumber-button::after {
	display: none;
}

.p-inputnumber-buttons-stacked .p-inputnumber-button-up {
	border-top-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.p-inputnumber-buttons-stacked .p-inputnumber-button-down {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
}

.StylizedTable .p-sortable-column-icon {
	color: var(--PrimaryTextColor);
}

.StylizedTable .p-column-filter-menu-button {
	color: var(--PrimaryTextColor);
}

.StylizedTable .p-column-filter-menu-button:hover {
	color: #495057;
}

.p-fileupload input[type="file"] {
	display: none;
}

.p-tabview .p-tabview-nav {
	background: transparent;
	border: none;
}

.p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link {
	background: var(--ButtonHoverColor);
	color: var(--ButtonFontColor);
	border: 0;
	border-bottom: 2px solid var(--ButtonHoverColor);
}

.p-tabview .p-tabview-nav li .p-tabview-nav-link {
	border-bottom: 3px solid var(--BorderColor);
	color: var(--ButtonFontColor);
	background: var(--ButtonColor);
	border-radius: 0;
}

.p-tabview .p-tabview-nav li:not(.p-highlight):not(.p-disabled):hover .p-tabview-nav-link {
	background: var(--ButtonHoverColor);
	color: var(--ButtonFontColor);
}

.p-tabview .p-tabview-panels {
	border: 2px solid var(--ButtonHoverColor);
	border-top: 0;
}

.p-tabview-nav-container {
	border-bottom: 2px solid var(--ButtonHoverColor);
	border-radius: 0;
}

.p-tabview-header a {
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	border: none;
}

.card, .filter-form {
	background: var(--BackgroundColor);
	border: 1px solid var(--BorderColor);
	border-radius: var(--BorderRadius);
	padding: 1em;
	box-sizing: border-box;
}

.card > :first-child,
.filter-form > :first-child {
	margin-top: 0;
}

.card > :last-child,
.filter-form > :last-child {
	margin-bottom: 0;
}

.filter-form {
	display: flex;
	flex-direction: column;
}

.filter-form label {
	font-weight: bold;
}

.filter-field-summary {
	margin: var(--InputMargin);
	cursor: pointer;
	user-select: none;
}

.max-width-60rem {
	max-width: 60rem;
}

.filter-field {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

.filter-field, .filter-field > * {
	max-width: 100%;
}

.filter-field:has(input[type="checkbox"], input[type="radio"]) {
	grid-template-columns: auto 1fr;
	grid-column-gap: 1rem;
}

.filter-field > *:first-child {
	text-align: left;
	justify-self: start;
}

.filter-field > *:last-child {
	align-self: start;
	margin: var(--InputMargin);
}

.filter-field > label {
	grid-column: 1;
}

.filter-field:has(input[type="checkbox"], input[type="radio"]) > label {
	grid-column: auto;
}

@media (min-width: 60rem) {
	.filter-field-summary {
		margin-left: 15rem;
		padding-left: 1rem;
	}

	.filter-field,
	.filter-field:has(input[type="checkbox"], input[type="radio"]) {
		grid-template-columns: 15rem minmax(0, 1fr);
		grid-column-gap: 1rem;
	}

	.filter-field > *:first-child {
		text-align: right;
		justify-self: end;
	}

	.filter-field > *:last-child {
		align-self: end;
	}

	.filter-field > input[type="checkbox"],
	.filter-field > input[type="radio"] {
		grid-column: auto;
	}

	.filter-field > label {
		grid-column: auto;
	}
}

/**
 * Styles for the steps component
 */
.p-steps .p-steps-item.p-highlight .p-steps-number {
	color: var(--PrimaryColor);
}

.p-steps .p-steps-item .p-menuitem-link .p-steps-number {
	color: var(--ButtonFontColor);
	background: var(--LighterPrimaryColor);
}

.p-steps .p-steps-item::before {
	border-top-color: var(--PrimaryColor);
}

/**
 * Styles for elements after the current step
 */
.p-steps-item.p-steps-current ~ .p-steps-item .p-steps-number {
	color: #495057;
	border-color: var(--PrimaryColor);
	background: var(--BackgroundColor);
}

.p-steps-item.p-steps-current ~ .p-steps-item .p-steps-number {
	border-top-color: var(--PrimaryColor);
}

/**
 * Styles for the current step
 */
.p-steps .p-steps-item.p-highlight .p-steps-number {
	color: var(--ButtonFontColor);
	background: var(--LighterPrimaryColor);
}

.p-steps, .p-steps .p-steps-item.p-highlight .p-steps-title {
	user-select: none;
}

.p-steps .p-steps-item .p-menuitem-link {
	background: none;
}

.p-steps-item {
	flex-basis: 0;
}

.p-checkbox-input {
	margin: 0;
}

.flex {
	display: flex;
}

.flex-wrap {
	flex-wrap: wrap;
}

.gap {
	gap: 1rem;
}

.justify-between {
	justify-content: space-between;
}

.items-center {
	align-items: center;
}

.items-stretch {
	align-items: stretch;
}

.justify-right {
	justify-content: end;
}

.justify-left {
	justify-content: start;
}

.justify-center {
	justify-content: center;
}

.flex-column {
	flex-direction: column;
}

.flex-row {
	flex-direction: row;
}

@media only screen and (max-width: 1200px) {
	.flex-column-medium {
		flex-direction: column;
	}
}

@media only screen and (max-width: 768px) {
	.flex-column-small {
		flex-direction: column;
	}
}

.flex-auto {
	flex: 1 1 auto;
}

.flex-grow {
	flex: 1 1 0;
}

.flex-shrink {
	flex-shrink: 1;
}

.flex-basis-0 {
	flex-basis: 0;
}

.p-dialog {
	border-radius: var(--BorderRadius);
}

.p-confirm-dialog .p-dialog-footer {
	display: flex;
	flex-direction: row-reverse;
}

.p-dialog-mask {
	z-index: 9999;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

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

/**
 * Add mobile-first responsive styles for the dialog, setting width and max-width to sensible values
 */
.p-dialog:not(.p-dialog-maximized, .p-confirm-dialog) {
	width: 100%;
	max-width: 100%;
}

@media screen and (min-width: 576px) {
	.p-dialog:not(.p-dialog-maximized, .p-confirm-dialog) {
		max-width: 576px;
	}
}

@media screen and (min-width: 992px) {
	.p-dialog:not(.p-dialog-maximized, .p-confirm-dialog) {
		max-width: 992px;
	}
}

@media screen and (min-width: 1200px) {
	.p-dialog:not(.p-dialog-maximized, .p-confirm-dialog) {
		max-width: 1200px;
	}
}

.p-autocomplete {
	margin: var(--InputMargin);
	border-radius: var(--BorderRadius);
}

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

.p-autocomplete-dd .p-autocomplete-input {
	margin: 0;
	border-radius: var(--BorderRadius) 0 0 var(--BorderRadius);
}

.p-autocomplete .p-autocomplete-panel {
	max-width: 100%;
	left: 0;
}

/**
 * Focus styles for the autocomplete
 */
.p-autocomplete:focus-within {
	box-shadow: var(--InputFocusBoxShadow);
	border-radius: var(--BorderRadius);
}

.p-autocomplete:focus-within .p-autocomplete-input {
	box-shadow: none;
}

.p-autocomplete-empty-message {
	margin: 0 0.5rem;
}

.p-autocomplete-multiple-container {
	flex-grow: 1;
}

.p-autocomplete-multiple-container input {
	margin: 0;
	border: none;
	background: none;
}

.p-autocomplete-token {
	max-width: 100%;
}

.p-autocomplete.p-disabled {
	filter: brightness(50%);
	opacity: 0.8;
}

.p-autocomplete[readonly],
.p-autocomplete[readonly] * {
	background-color: transparent !important;
	border-color: transparent;
	box-shadow: unset;
	filter: unset;
	opacity: unset;
	padding: 0;
	margin: 0;
}

/**
 * Reset brightness and opacity for the input inside the disabled autocomplete
 */
.p-autocomplete.p-disabled input {
	background-color: var(--BackgroundColor);
	filter: unset;
	opacity: unset;
}

.p-autocomplete.p-disabled .p-button {
	border: 1px solid #848484;
}

.p-autocomplete-input.p-inputtext.p-component {
	margin: 0;
}

button.sp-autocomplete-clear-button {
	margin: var(--InputMargin);
	padding: var(--InputPadding);
	line-height: normal;
	min-height: auto;
}

.margin-left-1 {
	margin-left: 1em;
}

.margin-0 {
	margin: 0;
}

.p-button-icon-only.p-disabled {
	background-color: transparent !important;
}

.button.icon-only {
	min-width: calc(var(--ButtonPaddingHorizontal) * 2 + 1em);
}

.button.icon-only::before, .button.icon-only::after {
	display: none;
	content: unset;
}

.p-rating-item {
	opacity: 0.25;
}

.p-rating-item.p-rating-item-active {
	opacity: 1.0;
}

.p-datatable-emptymessage [data-pc-section="emptymessagecell"] {
	border: none;
}

.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd {
	background: #f6f6f6;
}

.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight {
	background: #E3F2FD;
	color: #495057;
}

.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler {
	color: #495057;
}

.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover {
	color: #495057;
}

.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody > tr:not(.p-highlight):hover {
	background: #e9ecef;
	color: #495057;
}

.p-paginator .p-paginator-pages .p-paginator-page {
	border-radius: var(--BorderRadius);
}

.p-paginator .p-paginator-first, .p-paginator .p-paginator-prev, .p-paginator .p-paginator-next, .p-paginator .p-paginator-last {
	border-radius: var(--BorderRadius);
}

.p-timeline .p-timeline-event-marker {
	border-color: var(--PrimaryColor);
}

.p-timeline-custom-marker {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
}

.p-datepicker table td {
	padding: 0.0rem;
}

.p-progressbar .p-progressbar-value {
	background: var(--PrimaryColor);
}

.ValidatedForm label {
	margin-right: 20px;
	display: inline-block;
}

.ValidatedForm label.required {
	font-weight: bold;
}

.ValidatedForm label.required::after, label.required::after {
	content: "*";
	font-size: 1.5em;
	color: var(--DangerColor);
}

/* CSS Grid */
.grid {
	display: grid;
	grid-gap: 0.2rem 1rem;
}

.grid-col-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.grid-col-2-compact {
	display: grid;
	grid-template-columns: 0fr 1fr;
}

.grid-col-2-compact > div:nth-child(odd) {
	width: max-content;
}

.align-self-center {
	align-self: center;
}

/**
 * Break grid into a single column on small screens
 */
@media only screen and (max-width: 992px) {
	.grid-col-2,
	.grid-col-2-compact {
		grid-template-columns: 1fr;
	}
}

/**
 * Overrides to .p-tag colors according to the theme
 */
.p-tag {
	background-color: var(--PrimaryColor);
	color: var(--ButtonFontColor);
}

.p-tag.p-tag-info {
	background-color: var(--InfoColor);
}

.p-tag.p-tag-warning {
	background-color: var(--WarningColor);
}

.p-tag.p-tag-danger {
	background-color: var(--DangerColor);
}

.p-tag.p-tag-success {
	background-color: var(--SuccessColor);
}

.p-tag.p-tag-secondary {
	background-color: var(--SecondaryColor);
}

/**
 * Overrides to .p-paginator colors according to the theme
 */
.p-paginator .p-paginator-first, .p-paginator .p-paginator-prev, .p-paginator .p-paginator-next, .p-paginator .p-paginator-last {
	background-color: var(--ButtonColor);
	color: var(--ButtonFontColor);
}

.p-paginator .p-paginator-first:hover, .p-paginator .p-paginator-prev:hover, .p-paginator .p-paginator-next:hover, .p-paginator .p-paginator-last:hover {
	background-color: var(--ButtonHoverColor);
	color: var(--ButtonFontColor);
}

.p-paginator .p-paginator-pages .p-paginator-page {
	background-color: var(--ButtonColor);
	color: var(--ButtonFontColor);
}

.p-paginator .p-paginator-pages .p-paginator-page:hover {
	background-color: var(--ButtonHoverColor);
	color: var(--ButtonFontColor);
}

.p-paginator .p-paginator-pages .p-paginator-page.p-highlight {
	background-color: var(--LighterPrimaryColor);
	color: var(--ButtonFontColor);
}

/**
 * Fixes .p-steps-list to wrap on small screens
 */
.p-steps-list {
	flex-wrap: wrap;
}

/**
 * Fix .p-password-input
 */
.p-password-input {
	width: 100%;
	padding-right: 2rem;
}

/**
 * Fix for .p-fieldset*
 */
.p-fieldset {
	min-width: 0;
}

.p-fieldset-legend a {
	color: #495057;
	font-weight: 600;
}

/**
 * Fixes for p-inputtext
 */
.p-inputtext:enabled:hover {
	border-color: var(--InputBorderHoverColor);
}

/**
 * Fixes for .p-calendar and its inner elements
 */
.p-calendar {
	margin: var(--InputMargin);
}

.p-calendar .p-datepicker-trigger {
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	min-width: calc(var(--ButtonPaddingHorizontal) + 1em);
}

.p-calendar .p-datepicker-trigger:focus {
	outline: none;
	box-shadow: none;
}

.p-calendar .p-inputtext {
	border-radius: var(--BorderRadius);
	margin: 0;
}

.p-calendar-w-btn .p-inputtext {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.p-calendar-w-btn .p-datepicker-trigger {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/**
 * Fixes for .p-cascadeselect
 */
.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item.p-highlight {
	background-color: var(--PrimaryColor);
	background-color: color-mix(in srgb, var(--PrimaryColor), var(--BackgroundColor));
	color: var(--FontColor);
	color: color-mix(in srgb, var(--PrimaryColor) 20%, var(--FontColor));
}

/**
 * Fixes for .p-card
 */
.p-card {
	border-radius: var(--BorderRadius);
}

/**
 * Fixes for .p-dropdown and its inner elements
 */
.p-dropdown {
	margin: var(--InputMargin);
	border-color: var(--InputBorderColor);
}

.p-dropdown .p-dropdown-label {
	align-self: center;
}

.p-dropdown:not(.p-disabled):hover {
	border-color: var(--InputBorderHoverColor);
}

.p-autocomplete[readonly] .dropdown-button {
	display: none;
}

/**
 * Fixes for .p-multiselect
 */
.p-multiselect {
	border-color: var(--InputBorderColor);
}

.p-multiselect:hover {
	border-color: var(--InputBorderHoverColor);
}

/**
 * Fixes for .p-treeselect
 */
.p-treeselect {
	min-width: 0;
	border-color: var(--InputBorderColor);
}

.p-treeselect:hover {
	border-color: var(--InputBorderHoverColor);
}

/**
 * TinyMCE editor popups
 */
.tox.tox-tinymce-aux {
	z-index: 9999;
}

/**
 * Default fade in-out transition
 */
.fade-enter-active, .fade-leave-active {
	transition: opacity 500ms ease;
}

.fade-enter-from, .fade-leave-to {
	opacity: 0;
}

/**
 * Validation colors for .ValidatedForm elements and .p-valid and .p-invalid classes
 *
 * NOTE: Keep these at the end of the file to avoid being overridden by other styles
 */
.ValidatedForm *:valid, .ValidatedForm *:valid, .ValidatedForm *:valid, .ValidatedForm .valid, .valid,
.ValidatedForm .p-valid, .p-valid {
	border-color: var(--SuccessColor);
}

.ValidatedForm *:invalid, .ValidatedForm *:invalid, .ValidatedForm *:invalid, .ValidatedForm .invalid, .invalid,
.ValidatedForm .p-invalid, .p-invalid {
	border-color: var(--DangerColor);
}