:root {
	--naus-theme-agnostic-highlight: rgb(30 136 229 / 33%);
	--mandalay-orange: #F26522
}

/* Overrides */

.mud-dialog-actions {
	padding-right: 24px !important;
	margin-top: 12px !important;
	margin-bottom: 12px !important;
}

/* Overrides to assist with accessaibility (tabbing) */
.mud-tab.mud-tab-active {
	color: var(--mud-palette-primary);
	background-color: var(--mud-palette-info-hover);
}

.mud-button-text.mud-button-text-primary[role=tab]:hover {
	background-color: transparent !important;
}

/* If user tabs to a button, ensure it becomes highlighted */
.mud-button:focus-visible {
	background-color: var(--mud-palette-primary-hover);
	border: 1px solid;
}

/* If user tabs to an anchor (type button), ensure it becomes highlighted */
a[type=button]:focus-visible {
	background-color: var(--mud-palette-primary-hover);
	border: 1px solid;
}

/* If user tabs to radio button, ensure it becomes highlighted */
.mud-icon-button:focus-visible {
	background-color: var(--naus-theme-agnostic-highlight);
}

/* If user tabs to a menu item, ensure it becomes highlighted */
.mud-nav-link:focus-visible:not(.mud-nav-link-disabled) {
	cursor: pointer;
	text-decoration: none;
	background-color: var(--naus-theme-agnostic-highlight);
}

::placeholder {
	font-size: 12px !important;
}

/* This will ensure all non readonly inputs have a visible bottom border in light/dark contract (accessibility) */
input:read-write {
	border-bottom: var(--mud-palette-lines-inputs) 1px solid !important;
}

.naus-dialog-icon {
	margin-bottom: -3px;
	margin-left: -9px
}

.naus-badge {
	border-radius: 10px;
	font-size: 10px;
	height: 18px;
	letter-spacing: 0;
	min-width: 20px;
	padding: 2px 4px;
	pointer-events: auto;
	text-indent: 0;
	font-weight: 600;
	top: auto;
	white-space: nowrap;
	color: var(--mud-palette-primary-text) !important;
}

.naus-badge-primary {
	background-color: var(--mud-palette-primary) !important;
}

.naus-badge-disabled {
	background-color: transparent !important;
	color: var(--mud-palette-action-disabled) !important;
}

.narrow-grid-column {
	width: 120px;
}

.organisation-group-field {
	width: 300px;
}

.page-load-skeleton {
	height: calc(100vh - 165px);
}

.instruction-panel {
	border: 1px solid;
	border-color: transparent;
	border-radius: 3px;
	background-color: var(--mud-palette-info-hover);
	text-align: justify
}

/* Utility Classes */

.primary-left-border {
	border-left: solid 3px var(--mud-palette-primary)
}

.primary-bottom-border {
	border-bottom: solid 1px var(--mud-palette-primary)
}

.bg-primary {
	background-color: var(--mud-palette-primary) !important;
}

.bg-success {
	background-color: var(--mud-palette-success) !important;
}

.bg-error {
	background-color: var(--mud-palette-error) !important;
}

.bg-transparent {
	background-color: transparent !important;
}

.bg-mandalay-orange {
	background-color: var(--mandalay-orange);
}

@media (min-width: 1400px) {
	.max-usable-viewport-height {
		height: calc(100vh - 135px);
	}

	.half-usable-viewport-height {
		height: calc(50vh - 67.5px)
	}
}

@media (max-width: 1536px) {
	.max-usable-viewport-height {
		height: calc(100vh - 135px);
	}

	.half-usable-viewport-height {
		height: calc(50vh - 67.5px)
	}
}

.d-contents {
	display: contents;
}

.d-inherit {
	display: inherit;
}

.d-grid {
	display: grid;
}

.cursor-pointer {
	cursor: pointer
}

.right-align {
	margin-left: auto;
	margin-right: 0px;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

.bold {
	font-weight: 800;
}

.text-centre {
	text-align: center;
}

.text-start {
	text-align: start;
}

.text-end {
	text-align: end;
}

.reverse-theme {
	background-color: var(--mud-palette-action-default) !important;
	color: var(--mud-palette-background) !important;
	font-weight: bolder;
}

.overflow-elipsis {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden
}

.radio-font-size {
	font-size: 12px !important;
}

.hw-16 {
	height: 16px !important;
	width: 16px !important;
}

.hw-12 {
	height: 12px !important;
	width: 12px !important;
}

.w-100 {
	width: 100% !important;
}

.w-fit {
	width: fit-content;
}
