﻿@import "variables.css";
@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

html, body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar {
	color: white !important;
	display: flex;
	padding: 4px 12px;
	align-items: center;
	background: var(--primary-color);
	background: linear-gradient(90deg, var(--primary-color) 0%, rgb(1, 74, 80) 35%, rgb(116, 170, 80) 100%) !important;
}

.nav-link {
	color: white !important;
}

.navbar-nav {
	display: flex;
	flex: 1 0 0;
}

.nav-item {
	display: flex;
	padding: 8px 16px;
	gap: 4px;
}

@media only screen and (max-width: 768px) {
	.navbar-collapse {
		background: #E6F2F3 !important;
		border-radius: 4px !important;
	}

	.nav-link {
		color: var(--primary-color) !important;
		font-weight: 400 !important;
	}

	.nav-item {
		padding: 0px 16px !important;
	}
}

h1:focus {
	outline: none;
}

.btn:focus-visible {
	border: 2px solid black !important;
}

.btn-outline-primary:focus-visible {
	border: 2px solid black !important;
	background-color: transparent !important;
}

.btn-primary:focus-visible {
	border: 2px solid black !important;
}

.btn-link:focus-visible {
	border: 2px solid black !important;
}

a, .btn-link {
	color: #0071c1;
}

.btn-primary {
	color: #fff !important;
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
}

.btn-outline-primary {
	color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
}

	.btn-outline-primary:hover {
		color: white !important;
		background-color: var(--primary-color) !important;
	}

.btn-primary:hover {
	color: #fff;
	background-color: var(--primary-color);
	border-color: #1861ac;
	border: 1px solid var(--primary-color);
	background-color: var(--primary-color);
}

.borderless {
	border: none !important;
}

.btn-secondary {
	color: var(--primary-color);
	background-color: #fff;
	border-color: var(--primary-color);
}

	.btn-secondary:hover {
		border-radius: 4px;
		border: 1px solid var(--primary-color);
		background: white;
		color: var(--primary-color);
	}

.btn.text {
	border: none !important;
}

.btn-link {
	color: var(--primary-color) !important;
}

.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);
	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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
	padding: 1rem 1rem 1rem 3.7rem;
	color: white;
}

	.blazor-error-boundary::after {
		content: "An error has occurred.";
	}

.loading-progress {
	position: relative;
	display: block;
	width: 8rem;
	height: 8rem;
	margin: 20vh auto 1rem auto;
}

	.loading-progress circle {
		fill: none;
		stroke: #e0e0e0;
		stroke-width: 0.6rem;
		transform-origin: 50% 50%;
		transform: rotate(-90deg);
	}

		.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 {
	position: absolute;
	text-align: center;
	font-weight: bold;
	inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

	.loading-progress-text:after {
		content: var(--blazor-load-percentage-text, "Loading");
	}

.page {
	position: relative;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

.sidebar {
	background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
	background-color: #9A9A9A;
	border-bottom: 1px solid #d6d5d5;
	justify-content: center;
	height: 7vh;
	display: flex;
	align-items: center;
}

	.top-row a, .top-row .btn-link {
		white-space: nowrap;
		margin-left: 1.5rem;
		text-decoration: none;
	}

		.top-row a:hover, .top-row .btn-link:hover {
			text-decoration: underline;
		}

		.top-row a:first-child {
			overflow: hidden;
			text-overflow: ellipsis;
		}

@media (max-width: 640.98px) {
	.top-row:not(.auth) {
		display: none;
	}

	.top-row.auth {
		justify-content: space-between;
	}

	.top-row a, .top-row .btn-link {
		margin-left: 0;
	}
}

@media (min-width: 641px) {
	.page {
		flex-direction: row;
	}

	.sidebar {
		width: 250px;
		height: 100vh;
		position: sticky;
		top: 0;
	}

	.top-row {
		position: sticky;
		top: 0;
		z-index: 1;
	}

		.top-row.auth a:first-child {
			flex: 1;
			text-align: right;
			width: 0;
		}

	.top-row {
		padding-left: 2rem !important;
		padding-right: 1.5rem !important;
	}
}

#menu {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 7vh;
}

div.header {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: white;
	padding: 25px;
	border-radius: 0px;
	border-right-width: 0px;
	border-left-width: 0px;
	z-index: 1;
}

	div.header .row {
		text-align: center;
	}

div.card {
	padding: 10px 25px;
	border: none;
	border-radius: 0px;
	box-shadow: 0px 5px 10px silver;
}

div.content {
	display: flex;
	flex-direction: column;
	min-height: 92vh;
	align-items: center;
}

	div.content div.header {
		width: 100%;
		background-color: #FFF;
		padding: 5px;
		padding-left: 15%;
		padding-right: 15%;
		box-shadow: 0px 5px 10px silver;
	}

	div.content div.body {
		width: 100%;
		flex: 1;
		background-color: #F3F3F3;
		padding-left: 10%;
		padding-right: 10%;
		padding-bottom: 25px;
		display: flex;
		flex-direction: column;
	}

	div.content div.footer {
		background-color: #FFF;
		border-top: 1px solid #EBEBEB;
		width: 100%;
		padding: 15px;
	}

article {
	padding: 0px !important;
}

label {
	font-weight: bolder;
}

.btn-custom {
	min-width: 196px;
	margin-left: 12px;
	margin-right: 12px;
	padding: 6px 12px;
	height: fit-content !important;
}

.btn-primary {
	background-color: var(--primary-color);
}

.btn-light {
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

	.btn-light:hover {
		border: 1px solid silver;
	}

.btn:focus, .btn:active {
	outline: none !important;
	box-shadow: none !important;
}

h2 {
	color: white;
	font-weight: bold;
}

h3, h4, h5 {
	font-weight: 700;
}

input[type=radio] {
	accent-color: var(--primary-color);
}

	input[type=radio] ~ label {
		margin-left: 5px;
		margin-right: 20px;
		font-size: 20px;
	}

div.row input[type=text] {
	width: 100%;
}

/* input custom styles */
.input-primary {
	padding: 6px 12px;
	border-radius: 4px;
}

/* select custom styles */
.select-primary {
	border: 1px solid #CED4DA !important;
	color: #6C757D;
	border-radius: 4px;
}

	.select-primary option[disabled]:first-child {
		display: none;
	}

	.select-primary option:first-child {
		color: #6C757D;
	}

	.select-primary option {
		color: black;
	}

		.select-primary option:hover {
			background-color: var(--primary-color) !important;
			color: white !important;
		}

	.select-primary:focus, .select-primary:hover, .select-primary:active {
		border: 1px solid #66ADB3 !important;
		box-shadow: 0px 0px 0px 4px rgba(66, 152, 181, 0.3);
	}

/* Dropdown custom styles */
.dropdown-primary {
	border-radius: 4px;
	border: 1px solid #CED4DA;
	background: #FFF;
}

	.dropdown-primary:focus, .dropdown-primary:hover, dropdown-primary:visited, dropdown-primary:active {
		border: 1px solid #66ADB3 !important;
		box-shadow: 0px 0px 0px 4px rgba(66, 152, 181, 0.3);
	}

/* Checkbox custom styles */
input[type=checkbox] {
	accent-color: #fff;
	background-color: var(--primary-color) !important;
}

	input[type=checkbox]:hover {
		border: 1px solid #66ADB3 !important;
		box-shadow: 0px 0px 0px 4px rgba(66, 152, 181, 0.3);
	}

	input[type=checkbox]:focus {
		border: 1px solid #66ADB3 !important;
		box-shadow: 0px 0px 0px 4px rgba(66, 152, 181, 0.3);
	}

	input[type=checkbox]:active {
		border: 1px solid #66ADB3 !important;
		box-shadow: 0px 0px 0px 4px rgba(66, 152, 181, 0.3);
	}

small {
	color: #6C757D !important;
	font-weight: 400;
}

	small.error, label.error {
		color: red !important;
	}

input.error, select.error, textarea.error {
	border-color: red !important;
}

.form-control, .form-select {
	-webkit-box-shadow: none !important;
	outline: -webkit-focus-ring-color auto 0px !important;
}

option:hover {
	background-color: var(--primary-color) !important;
}

input[type=radio] ~ span {
	margin-right: 15px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0;
}

table tbody tr.row {
	padding: 5px;
}

table.table-data thead {
	background-color: white;
	border-bottom: 2px solid var(--primary-color);
}

	table.table-data thead label {
		font-weight: 800;
	}

table.table-data tbody tr {
	background-color: white;
}

	table.table-data tbody tr:nth-child(2n+2) {
		background-color: #E6F3F3;
	}

table.table-data th {
	white-space: nowrap !important;
}

table.table-data th,
table.table-data td {
	padding: 5px;
}

table.table-select tr {
	cursor: pointer;
}

	table.table-select tr.selected {
		color: white;
		background-color: var(--primary-color);
	}

table.table-select tbody td {
	padding: 5px 15px;
}

table.table-select thead {
	display: none;
}

.row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.no-min-width {
	min-width: 0px;
}

.icon {
	position: absolute;
	right: 0;
	top: 0;
}

.required {
	color: #DC3545;
}

.optional {
	color: #B1B3B3;
}

.w-fit-content {
	width: fit-content !important;
}

.primary-border {
	border: 1px solid var(--primary-color);
	border-radius: 5px;
	padding: 10px;
}

ul.options {
	max-height: 200px;
	overflow-y: auto;
}

.fancy-scroll {
	overflow-y: auto;
}

	.fancy-scroll::-webkit-scrollbar {
		width: 10px;
	}

	.fancy-scroll::-webkit-scrollbar-track {
		border-radius: 8px;
		background-color: #e7e7e7;
		border: 1px solid #cacaca;
	}

	.fancy-scroll::-webkit-scrollbar-thumb {
		border-radius: 8px;
		background-color: var(--primary-color);
	}

.bi-inbox {
	display: none !important;
}

.bi-info-circle:hover {
	cursor: pointer !important;
}

.bi-detail-custom path {
	fill: var(--primary-color);
}

button:hover > .bi-detail-custom path {
	fill: white;
}

div.select-list {
	height: 40vh;
	border: 1px solid silver;
	border-radius: 0.375rem;
}

ol.select-list {
	padding: 0;
}

	ol.select-list li {
		cursor: pointer;
		list-style-type: none;
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
		padding-top: 3px;
		padding-bottom: 3px;
	}

		ol.select-list li.selected {
			color: white;
			background-color: var(--primary-color);
		}

/*table sort icons*/
.bi-arrow-down-up::before {
	content: url("../icons/caret-up-down.png") !important;
}

.bi-sort-alpha-down::before {
	content: "\f229" !important;
}

.bi-sort-alpha-down-alt::before {
	content: "\f235" !important;
}

table#waste-constituent-grid tbody tr td,
table#container-grid tbody tr td,
table#isotopes-grid tbody tr td {
	max-width: 100px;
}

table#waste-constituent-grid tbody tr td div,
table#container-grid tbody tr td div,
table#isotopes-grid tbody tr td div {
	white-space: nowrap;
	overflow-x: hidden;
}

table#waste-constituent-grid thead tr th:nth-child(1),
table#waste-constituent-grid tbody tr td:nth-child(1) {
	width: 30% !important;
}

table#waste-constituent-grid thead tr th:nth-child(2),
table#waste-constituent-grid tbody tr td:nth-child(2),
table#waste-constituent-grid thead tr th:nth-child(3),
table#waste-constituent-grid tbody tr td:nth-child(3),
table#waste-constituent-grid thead tr th:nth-child(4),
table#waste-constituent-grid tbody tr td:nth-child(4) {
	width: 10% !important;
}

table#waste-constituent-grid thead tr th:nth-child(5),
table#waste-constituent-grid tbody tr td:nth-child(5) {
	width: 25% !important;
}

table#waste-constituent-grid thead tr th:nth-child(6),
table#waste-constituent-grid tbody tr td:nth-child(6) {
	max-width: none !important;
}

table#container-grid thead tr th:nth-child(1),
table#container-grid thead tr th:nth-child(2),
table#container-grid thead tr th:nth-child(4),
table#container-grid thead tr th:nth-child(5),
table#container-grid thead tr th:nth-child(6),
table#container-grid thead tr th:nth-child(7),
table#container-grid thead tr th:nth-child(9),
table#container-grid thead tr th:nth-child(10),
table#container-grid tbody tr td:nth-child(1),
table#container-grid tbody tr td:nth-child(2),
table#container-grid tbody tr td:nth-child(4),
table#container-grid tbody tr td:nth-child(5),
table#container-grid tbody tr td:nth-child(6),
table#container-grid tbody tr td:nth-child(7),
table#container-grid tbody tr td:nth-child(9),
table#container-grid tbody tr td:nth-child(10) {
	width: 8% !important;
}

table#container-grid thead tr th:nth-child(3),
table#container-grid thead tr th:nth-child(8),
table#container-grid tbody tr td:nth-child(3),
table#container-grid tbody tr td:nth-child(8) {
	width: 11% !important;
}

table#container-grid thead tr th:nth-child(11),
table#container-grid tbody tr td:nth-child(11) {
	max-width: none !important;
}

table#isotopes-grid thead tr th:nth-child(1),
table#isotopes-grid tbody tr td:nth-child(1) {
	width: 25% !important;
}

table#isotopes-grid thead tr th:nth-child(2),
table#isotopes-grid thead tr th:nth-child(3),
table#isotopes-grid tbody tr td:nth-child(2),
table#isotopes-grid tbody tr td:nth-child(3) {
	width: 15% !important;
}

table#isotopes-grid thead tr th:nth-child(4),
table#isotopes-grid tbody tr td:nth-child(4) {
	width: 20% !important;
}

table#isotopes-grid thead tr th:nth-child(5),
table#isotopes-grid tbody tr td:nth-child(5) {
	max-width: none !important;
}

table#draft-grid thead tr th:nth-child(1),
table#draft-grid tbody tr td:nth-child(1),
table#draft-grid thead tr th:nth-child(2),
table#draft-grid tbody tr td:nth-child(2),
table#draft-grid thead tr th:nth-child(4),
table#draft-grid tbody tr td:nth-child(4),
table#draft-grid thead tr th:nth-child(5),
table#draft-grid tbody tr td:nth-child(5),
table#draft-grid thead tr th:nth-child(6),
table#draft-grid tbody tr td:nth-child(6) {
	width: 14% !important;
}

table#draft-grid thead tr th:nth-child(3),
table#draft-grid tbody tr td:nth-child(3) {
	width: 10% !important;
}

table#draft-grid thead tr th:nth-child(7),
table#draft-grid tbody tr td:nth-child(7) {
	width: 20% !important;
}

table#submitted-grid thead tr th:nth-child(1),
table#submitted-grid tbody tr td:nth-child(1) {
	width: 5% !important;
}

table#submitted-grid thead tr th:nth-child(2),
table#submitted-grid tbody tr td:nth-child(2),
table#submitted-grid thead tr th:nth-child(3),
table#submitted-grid tbody tr td:nth-child(3),
table#submitted-grid thead tr th:nth-child(4),
table#submitted-grid tbody tr td:nth-child(4),
table#submitted-grid thead tr th:nth-child(5),
table#submitted-grid tbody tr td:nth-child(5),
table#submitted-grid thead tr th:nth-child(6),
table#submitted-grid tbody tr td:nth-child(6) {
	width: 12.5% !important;
}

table#submitted-grid thead tr th:nth-child(7),
table#submitted-grid tbody tr td:nth-child(7) {
	width: 7.5% !important;
}

table#submitted-grid thead tr th:nth-child(8),
table#submitted-grid tbody tr td:nth-child(8) {
	width: 25% !important;
}

.info-modal .modal-content {
	box-shadow: 0px 0px 10px black !important;
}

.autocomplete {
	position: relative;
}

.autocomplete .options {
	position: absolute;
	top: 40px;
	left: 0;
	background: white;
	width: 100%;
	padding: 0;
	z-index: 10;
	border: 1px solid #ced4da;
	border-radius: 0.5rem;
	box-shadow: 0 30px 25px 8px rgba(0, 0, 0, 0.1);
}

.autocomplete .option {
	display: block;
	padding: 0.25rem;
}

.autocomplete .option .option-text {
	padding: 0.25rem 0.5rem;
}

.autocomplete .option:hover {
	background: #ECECEC;
	cursor: pointer;
}

.autocomplete .option.disabled {
	background-color: lightgrey;
	cursor: not-allowed;
}

.autocomplete .option.disabled:hover {
	background: lightgrey;
	color: white;
}

.autocomplete li.option.selected {
    color: #1e2125;
    background-color: #e9ecef;
    cursor: pointer;
}

.select-list .header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background-color: #ECECEC !important;
}