@font-face {
  font-family: Montserrat;
  src: url(/font/Montserrat-VariableFont_wght.ttf);
}

:root {
  --background: #424242;
  --background-2: #303030;
  --background-3: #404040;
  --primary: #009bc5;
  --primary-background: #009ac557;
  --primary-hover: #006d8b;
  --secondary: #eeeeee;
  --info: #39c0edac;
  --success: #66cc66;
  --success-background: #00b74911;
  --warning: #ffa900;
  --warning-background: #ffaa0023;
  --danger: #ff3366;
  --danger-background: #f9315405;
  --disabled: #262626;
  --off-white: #eee;
  --light-border: #666;
  --light-transparent: #66666666;
  --disabled-input: #666;
}

/* Remove Defaults */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-internal-autofill-selected {
  background-color: black !important;
  color: inherit !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

html,
body {
  font-family: 'Montserrat', sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

/* Headings */
h1:focus {
  outline: none;
}

/* Links and buttons */
a,
.btn-link {
  color: var(--primary);
}
.btn {
  margin: 0 0.25rem;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-menu-primary {
  color: var(--primary);
  background-color: transparent;
  border-color: var(--primary);
}

.btn-disabled {
  color: #acacac;
  background-color: var(--background);
  border-color: var(--background);
  cursor: default !important;
}

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

.invalid {
  outline: 1px solid var(--danger) !important;
}

.warning {
  outline: 1px solid var(--warning) !important;
}

.warning-text {
  color: var(--warning) !important;
}

.validation-message {
  color: red;
}

.nav-link {
  width: 100%;
}

#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: var(--primary);
  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');
}

/* Forms */
.standard-form input,
.standard-form select {
  height: 32px;
  vertical-align: middle;
  align-items: center;
  color: inherit;
  background: transparent;
  padding: 2px 6px;
  font-size: 13px !important;
}
/* 
.filter-dropdown .search-input {
  border: solid 1px #aaaaaa;
} */

.no-border {
  border: none !important;
  text-align: left;
  font-weight: normal;
  font-size: 16px !important;
  color: #a9acb3 !important;
  padding-left: 0 !important;
}

.no-border ~ .input-label {
  left: -3px !important;
}

.standard-form option {
  background: var(--background);
  width: 100%;
  height: 32px;
  line-height: 32px;
}

/* Sidebar */
.sidebar-form {
  position: relative;
  max-height: 100%;
  flex-grow: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar-form-content {
  position: relative;
  display: grid;
  flex-grow: 1;
  overflow-y: hidden;
  overflow-x: hidden;
  line-height: 36px;
  margin-right: 10px;
}

.sidebar-form-content a {
  transform: translateY(-6px);
}

.chevron-icon {
  cursor: pointer;
}

.sidebar-form-content .chevron-icon {
  transform: translateY(-60%) !important;
}

.sidebar-form-content .input-no-label:focus + .input-label,
.sidebar-form-content .input-no-label:not(:placeholder-shown) + .input-label {
  top: -4px !important;
}

.sidebar-form-content .currency-symbol {
  top: -6px !important;
}

.sidebar-form-content > label {
  position: relative;
  display: grid;
  width: 88%;
  max-width: 88%;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  text-align: right;
  margin-bottom: 15px;
  margin-right: 50px;
  line-height: 36px;
}

.sidebar-form-content > label:first-child {
  margin-top: 1rem;
}

.sidemodal-sub-header {
  margin-bottom: 1rem;
}

.summary-info > label {
  position: relative;
}

.summary-info label > ul {
  top: 32px;
  left: calc(25% + 1rem);
  min-width: calc(75% - 3px);
}

.summary-info label > .route-dropdown {
  top: 20px;
  left: calc(25% + 1rem);
  min-width: calc(75% - 3px);
}

.sidebar-form-content label > ul {
  top: 20px;
  left: calc(33.3333% + 1rem);
  min-width: calc(66.6667% - 3px);
}

.sidebar-form-content input,
.sidebar-form-content select,
.sidebar-form-content textarea {
  height: 32px;
  line-height: 32px;
  align-items: left;
  vertical-align: middle;
  background: transparent;
  padding: 5px 8px;
  font-size: 13px;
  color: white;
}

.sidebar-form-content label > .input-container {
  margin-left: 1rem !important;
}

.sidebar-form-content label > .input-container > select {
  margin-left: 0 !important;
  transform: translateY(-5px);
}

.sidebar-form-content textarea {
  height: 100px;
}

.sidebar-form-content .searchable-dropdown input {
  transform: translateY(-4px);
}

.sidebar-active {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.sidebar-active > button {
  width: 80%;
}

.sidemodal-sub-header {
  border-bottom: 2px solid var(--background);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.sidemodal-sub-header h3 {
  margin: 0;
  text-align: left;
}

.sidemodal-sub-header button {
  text-align: right;
}

th {
  color: var(--off-white);
}

.sidemodal-table {
  width: 100%;
  margin: 1rem 0;
  overflow-x: auto;
}

.sidemodal-table th {
  text-align: left;
}

.sidemodal-table tr {
  min-height: 30px;
}

.sidemodal-table input {
  margin: 6px 0;
  padding: 0;
  height: 30px;
}

.conversion-table input {
  margin-left: 0;
}

.conversion-table select {
  padding: 4px 8px;
  transform: translateY(-2px);
}

.table-select select {
  vertical-align: baseline;
  margin-top: 2px;
  padding: 5px 8px;
  height: 30px;
  transform: translateY(-1px);
}

.table-group {
  font-weight: 600;
  background-color: #292929 !important;
  border-radius: 10px;
}

input[type='radio' i] {
  margin-right: auto;
  vertical-align: middle;
  padding: 4px;
  height: 20px;
}

input[type='file' i] {
  display: hidden;
}

input[type='select' i] {
  margin-right: auto;
  vertical-align: middle;
  padding: 4px;
  height: 20px;
}

input[type='date']::-webkit-calendar-picker-indicator,
input[type='datetime-local']::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

input[type='date']::-webkit-datetime-edit::placeholder {
  /* Webkit browsers like Chrome and Safari */
  color: #999;
  content: attr(placeholder);
}

input[type='date']::-moz-placeholder {
  /* Firefox */
  color: #999;
}

input[type='date']:-ms-input-placeholder {
  /* Microsoft Edge */
  color: #999;
}

input[type='date']::placeholder {
  /* Standard placeholder styling */
  color: #999;
}

option {
  background-color: var(--background);
  padding: 0;
}

form {
  margin: 0;
  padding: 0;
}

.form-header {
  padding: 1rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 36px;
  border-bottom: 2px solid var(--background);
  margin-bottom: 1rem;
}

.form-header h3 {
  margin: 0;
}

.form-header:after {
  content: ' ';
  display: block;
  border-bottom: 2px solid black;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 0;
  box-sizing: border-box;
  width: 100%;
}

.input-range {
  height: 35px;
  flex: 0 0 315px;
  margin: auto 10px;
  line-height: 35px;
  vertical-align: middle;
  border: none;
  background: transparent;
  font-size: 13px;
  color: inherit;
  border: 1px solid transparent;
  border-radius: inherit;
  display: flex;
  align-items: center;
}

.input-range input {
  max-width: 65px;
}

input[type='range'] {
  accent-color: var(--primary);
}

.header-buttons {
  box-sizing: border-box;
  margin-left: auto;
  display: flex;
  gap: 4px;
  display: flex;
  align-items: center;
}

.header-buttons button {
  height: 100%;
}

.header-buttons label {
  align-items: center;
}

.footer-buttons {
  box-sizing: border-box;
  margin-left: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  height: 40px;
}

.footer-buttons button {
  height: 40px;
}

.footer-left {
  margin-right: auto;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  height: 40px;
  flex: 1;
}

.radio-label {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  margin-right: 50px;
  font-weight: normal;
}

/* Margins */
.mb-0 {
  margin-bottom: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.border-bottom-0 {
  border-bottom: 0 !important;
}

/* Layouts */
.layout-vertical {
  display: grid;
  row-gap: 1.5rem;
}

.layout-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-height: 100%;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  row-gap: 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 5rem;
}

.layout-horizontal .card {
  height: 100%;
}

.layout-horizontal-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  max-height: 100%;
}

.layout-horizontal-summary .card {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.layout-horizontal-summary .kpi {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  max-width: 100%;
  text-align: center;
  font-size: 4rem;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 1;
  white-space: nowrap;
}

.kpi > span {
  display: flex;
  align-items: center;
  height: 65px;
}

.layout-horizontal-summary .kpi-currency-balance {
  font-size: 1rem;
  margin-top: auto;
  height: 19px;
}

.layout-horizontal-summary .kpi-currency-balance span {
  font-size: 1rem;
}

.layout-horizontal-summary .kpi-currency {
  font-size: 3rem;
  padding: 0 1rem 0 1rem;
  white-space: nowrap;
}

.layout-horizontal-summary .kpi-currency span {
  font-size: 1.5rem;
}

.layout-horizontal-summary .kpi-text {
  position: relative;
  height: 78px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Animation Classes */
.kpi .digit-window {
  display: inline-block;
  height: 4rem;
  line-height: 4rem;
  overflow: hidden; /* This now works because this box stays put */
  vertical-align: middle;
  position: relative;
}

.kpi-currency-balance .digit-window {
  display: inline-block;
  height: 1rem;
  line-height: 1rem;
  overflow: hidden; /* This now works because this box stays put */
  vertical-align: middle;
  position: relative;
}

.kpi .kpi-currency-symbol {
  display: inline-block;
  height: 4rem;
  line-height: 4rem;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
}

.kpi-currency-balance .kpi-currency-symbol {
  display: inline-block;
  height: 1rem;
  line-height: 1rem;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
}

/* THE SLIDING STRIP */
.digit-strip {
  display: block;
  transition: transform 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.digit-strip span {
  display: block; /* Stack numbers vertically */
  height: 4rem;
  text-align: center;
}

.digit-strip-reverse {
  display: block;
  transition: transform 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.digit-strip-reverse span {
  display: block; /* Stack numbers vertically */
  height: 1rem;
  text-align: center;
}

/* THE SLIDING STRIP */
.kpi-currency-balance .digit-strip span {
  height: 1rem;
}

.kpi-currency-balance .digit-strip-reverse span {
  height: 1rem;
}

/* Animation Classes */

.kpi-warning {
  color: var(--warning);
}

.kpi-bad {
  color: var(--danger);
}

.kpi-good {
  color: var(--success);
}

.layout-horizontal-summary h5 {
  width: 100%;
  text-align: center;
}

.layout-horizontal-3-1 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.5rem;
  max-height: 100%;
}

.grid-2-col {
  display: grid;
  gap: 1rem 3rem;
}

.grid-2-col > label {
  display: inline-grid;
}

.grid-2-col > input {
  display: inline-grid;
}

/* Card */
.col-lg-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 50%;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  max-height: 100%;
  word-wrap: break-word;
  background-color: var(--background-2);
  background-clip: border-box;
  border: 0 solid rgba(0, 0, 0, 0.125);
  border-radius: 10px;
  flex-grow: 1;
}

.card-last {
  margin-bottom: 5rem;
}

.layout-last {
  padding-bottom: 5rem;
}

.card-header {
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  background-color: var(--background-2);
  border-bottom: 0 solid rgba(0, 0, 0, 0.125);
}

.card-header h3 {
  margin-right: 2rem;
}

.card-header:first-child {
  border-radius: 10px 10px 0 0;
}

.card-footer {
  padding: 1.125rem 1.5rem;
  background-color: #2d3035;
  border-top: 0 solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 10px 10px;
}

.card-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.5rem 1.5rem;
  max-height: 55vh;
}

.card-list {
  max-height: calc(100vh - 15rem);
}

.select-container select {
  margin-left: 0;
}

/* Tables */
.table {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: #a9acb3;
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: #a9acb3;
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: #a9acb3;
  --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
  width: 100%;
  margin-bottom: 1rem;
  color: #a9acb3;
  vertical-align: top;
  border-color: #343a40;
  overflow-y: auto;
}

.table > :not(caption) > * > * {
  padding: 0.75rem 0.75rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 1px;
  -webkit-box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.table > tbody {
  vertical-align: inherit;
}

/* .table > thead {
  vertical-align: bottom;
} */

.table > :not(:last-child) > :last-child > * {
  border-bottom-color: #343a40;
}

table {
  border-collapse: collapse;
}

table thead {
  text-align: center;
  position: sticky;
  top: 2px;
  background-color: var(--background-2);
  z-index: 10;
  margin-top: 0;
  overflow: hidden;
  box-sizing: border-box;
}

table thead th {
  background-color: var(--background-2);
  z-index: 1000;
}

table thead::before {
  content: '';
  display: block;
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: inherit;
  z-index: 10;
}

table table thead {
  text-align: center;
  position: sticky;
  top: 45px;
  background-color: var(--background-2);
  z-index: 10;
  margin-top: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.table tr {
  height: 3rem;
}

.table td {
  vertical-align: middle;
  padding: 4px 10px;
}

tbody td {
  position: relative;
}

.table input,
.table select {
  margin: 0;
}

.table-responsive {
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(55vh - 90px);
}

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

.table-body tr {
  height: 42px;
}

.table-body td > input[type='checkbox' i] {
  margin: auto 0;
}

.spec-table-input {
  margin-left: 0;
}

table .table-dropdown {
  left: 0 !important;
}

.table-indicator-image {
  margin-right: 0.5rem;
}

/* @media (max-width: 575.98px) {
  .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767.98px) {
  .table-responsive-md {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 991.98px) {
  .table-responsive-lg {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1199.98px) {
  .table-responsive-xl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1399.98px) {
  .table-responsive-xxl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
} */

.table-striped > tbody > tr:nth-of-type(odd) {
  --bs-table-accent-bg: var(--bs-table-striped-bg);
  color: var(--bs-table-striped-color);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #a5a5a5;
}

::-webkit-scrollbar {
  width: 12px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

input {
  box-sizing: border-box;
  border: 1px solid var(--background);
  border-radius: 5px;
  color: white;
  background: transparent;
  width: 100%;
  height: 32px;
  font-size: 13px !important;
  padding: 2px 6px;
  margin-left: 1rem;
  font: inherit;
  font-weight: normal;
  caret-color: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s;
  -webkit-text-fill-color: #fff !important;
}

select {
  box-sizing: border-box;
  border: 1px solid var(--background);
  border-radius: 5px;
  color: white;
  background: transparent;
  width: 100%;
  height: 32px;
  padding: 2px 2px;
  margin-left: 1rem;
  font: inherit;
  font-weight: normal;
  font-size: 13px;
}

textarea {
  box-sizing: border-box;
  border: 1px solid var(--background);
  border-radius: 5px;
  color: white;
  background: transparent;
  width: 100%;
  max-width: 100%;
  min-height: 32px;
  font-size: 13px;
  padding: 2px 6px;
  margin-left: 1rem;
  font: inherit;
  font-weight: normal;
}

label {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  font-weight: bold;
  font-size: small;
}

td select {
  width: 100%;
  margin: 0 !important;
}

.filter-container > label {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  text-align: right;
  margin-bottom: 5px;
  margin-right: 50px;
}

.filter-container label > input,
.filter-container label > select,
.filter-container label > div {
  margin: 0 2px 0 10px;
  padding: 2px 6px;
  max-width: 100%;
  vertical-align: middle;
  align-items: center;
  border-color: var(--light-border) !important;
}

.filter-container label > div > div > input {
  padding: 2px 6px;
  max-width: 100%;
  vertical-align: middle;
  align-items: center;
  border-color: var(--light-border) !important;
}

.filter-container .input-no-label:focus + .input-label:not(.filter-modal .input-label) .filter-container .input-no-label:not(:placeholder-shown) + .input-label:not(.filter-modal .input-label) {
  top: -4px !important;
  margin: unset;
  background-color: var(--background) !important;
}

.filter-container input {
  border-color: var(--light-border) !important;
}

.filter-container select {
  height: 32px;
  padding: 2px 6px;
  font-size: 13px;
  border-color: var(--light-border) !important;
  margin-right: 0.5rem;
}

.filter-container option {
  background: #424242;
  width: 100%;
  height: 32px;
  line-height: 32px;
}

.card-chart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0 1rem;
}

.summary-chart {
  margin: 0 2rem;
}

/* JOB TREE CSS */
.job-item {
  list-style-type: none;
}

.job-card {
  background-color: #202020;
  height: 2rem;
  width: 8rem;
  border-radius: 0.5rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.job-card:hover {
  background-color: #363636;
}

.job-card-selected {
  border: solid 3px #505050;
}

.job-list-container {
  padding-inline-start: 20px;
}

/* Checkboxes */
input[type='checkbox'] {
  position: relative;
  appearance: none;
  width: 40px;
  height: 22px;
  background: #ccc;
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.4s;
  margin-left: 18px;
  margin-right: 18px;
}

input:checked[type='checkbox'] {
  background: var(--primary);
}

input:checked:disabled[type='checkbox'] {
  background: var(--disabled-input);
}

input:checked:disabled[type='checkbox']:hover {
  cursor: default;
}

input[type='checkbox']::after {
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  left: 0;
  top: 0;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transform: scale(1.2);
  transition: 0.4s;
}

input:checked[type='checkbox']::after {
  left: 50%;
}

.button-grid {
  /* max-width: calc(100vw - 250px); */
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.button-container .menu button {
  width: 100% !important;
  margin: 5px 0;
}

/* Generic Input Rules */
.input-multi {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  margin: 0;
  margin-left: 16px;
  padding: 0;
}

td .input-multi {
  margin-left: 0;
}

.input-multi input,
.input-multi select,
.input-multi div,
.input-multi span {
  margin-right: 5px;
}

.input-multi input:last-child,
.input-multi select:last-child,
.input-multi div:last-child,
.input-multi span:last-child,
.input-multi div:last-child input {
  margin-right: 0;
}

.input-multi input[type='checkbox' i] {
  margin-left: 0;
  margin-right: 16px;
}

.input-multi div,
.input-multi span {
  display: flex;
  align-items: center;
}

.input-multi select {
  margin-left: 0;
}

.input-multi div select {
  margin: 0;
  vertical-align: top;
}

.input-multi-table {
  margin-left: 0;
}

.input-multi .no-border[type='date'] {
  max-width: 8rem;
}

.input-issue-pair {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.sidebar-form-content .input-issue-pair {
  padding-left: 1rem;
}

.sidebar-form-content .input-issue-pair .input-no-label {
  transform: translateY(-2px);
}

.input-issue-pair .searchable-dropdown {
  margin: 0 !important;
  width: 75%;
}

.input-issue-pair > input {
  margin-left: 2px;
}

.input-issue-pair > :first-child {
  flex: 2;
  margin-left: 0;
}

.input-issue-pair > .disabled-value {
  margin-left: 0;
}

div > input {
  margin: 0;
}

/* TABLE FORMATTING */

.currency-symbol {
  float: left;
}

.currency-value {
  float: right;
}

.currency-field {
  text-align: right;
  padding-left: 1rem !important;
  width: 7rem;
}

/* TODO: Change standard layout for types in tables */
.center-align {
  text-align: center;
}

.center-align-image {
  text-align: center;
  vertical-align: middle;
  padding: 4px !important;
}

.center-align-image img {
  display: inline-block;
  vertical-align: middle;
}

.left-align {
  text-align: left !important;
}

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

.picture-container {
  height: 100%;
  width: 100%;
}

.search-input {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  height: 31.988px;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.navigator {
  cursor: pointer;
}

.select-label-margin select,
.select-label-margin div {
  margin-left: 14px;
}

.placeholder {
  color: #ccc;
}

.remove-x-button {
  font-size: 24px;
  background-color: transparent;
  border: none;
  color: white;
  height: 100%;
  cursor: pointer;
}

.remove-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 8px;
  margin-left: 12px;
  border-radius: 5px;
  padding: 6px;
  font-size: 20px;
}

.remove-tag:hover {
  background-color: var(--background);
  opacity: 0.5;
  cursor: pointer;
}

.default-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 8px;
  margin-right: 13px;
  border-radius: 5px;
  padding: 5px;
  font-size: 16px;
  width: 12px;
}

.default-tag:hover {
  background-color: var(--background);
  opacity: 0.5;
  cursor: pointer;
}

.stock-levels div {
  max-width: 25%;
}

.auto-resize-textarea {
  resize: none;
  overflow-y: auto;
  max-height: 5rem;
}

.input-no-label {
  border: 1px solid var(--background);
  outline: none;
  padding: 5px;
  line-height: 32px;
  margin-left: 0;
}

.input-label {
  font-size: 13px;
  color: #757575;
  font-weight: normal;
  position: absolute;
  line-height: 32px;
  top: 0;
  left: 5px;
  pointer-events: none;
  transition: 0.5s ease-in-out;
  padding: 0 8px 0 3px;
}

.input-no-label:focus + .input-label,
.input-no-label:not(:placeholder-shown) + .input-label {
  top: 0;
  left: 2px;
  font-size: 10px;
  color: white;
  background-color: var(--background-2);
  opacity: 0.95;
  z-index: 1;
  padding: 0 3px;
  line-height: 10px;
  transition:
    top 0.3s ease-out,
    left 0.3s ease-out,
    font-size 0.3s ease-out,
    color 0.3s ease-out,
    padding 0.3s ease-out,
    line-height 0.3s ease-out;
}

.filter-container .input-no-label:focus + .input-label,
.filter-container .input-no-label:not(:placeholder-shown) + .input-label {
  background-color: var(--background);
  top: 2px;
}

.grey {
  color: #a9acb3;
}

.input-form-margins {
  margin-left: 1rem;
}

.status {
  margin-right: 1rem;
}

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

.switches > label {
  display: grid;
  grid-template-columns: 4fr 1fr;
  align-items: center;
  text-align: right;
  margin-bottom: 5px;
  margin-right: 20px;
  line-height: 36px;
}

.side-switches {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.side-switches > label {
  display: grid;
  grid-template-columns: 3.3fr 2fr;
  align-items: center;
  text-align: right;
  margin-bottom: 5px;
  margin-right: 20px;
  line-height: 36px;
}

.summary-info-switches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: calc(100% - 50px);
  gap: 0px;
  margin-right: 50px;
}

.summary-info-switches label {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  text-align: right !important;
  margin-bottom: 5px !important;
}

.summary-info-switches label > input {
  margin: 0 2px 0 16px;
  padding: 2px 6px;
  max-width: 100%;
  vertical-align: middle;
  align-items: center;
}

.instruction-text {
  resize: vertical;
  overflow-y: auto;
  max-height: 200px;
  line-height: 1.75 !important;
}

.drag-handle {
  cursor: grab;
  text-align: center;
  width: 40px;
  max-width: 40px;
}

.drag-handle:active,
.grabbing {
  cursor: -moz-grabbing !important;
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
}

.drag-handle:active *,
.grabbing * {
  cursor: -moz-grabbing !important;
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
}

.dragFrom {
  background-color: #019ac44c !important;
}

.sortable-chosen {
  cursor: grabbing !important;
}

td .searchable-dropdown-route {
  width: 10rem !important;
}

.header-buttons ul {
  transform: translateY(46px) translateX(16px) !important;
}

.late-date {
  color: #f93154;
}

.summary-info-single {
  grid-column: span 2;
  grid-template-columns: 1fr 7fr !important;
  transform: translateX(-7px);
  max-width: calc(100% + 7px);
  margin-right: 43px;
}

.summary-info-single textarea {
  width: calc(100% + 7px) !important;
  max-width: calc(100% + 7px) !important;
}

.non-input {
  display: flex;
  height: 32px;
  align-items: center;
  color: inherit;
  background: transparent;
  padding: 2px 0px;
  font-size: small;
  font-weight: normal;
  text-align: left;
  margin-left: 25px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.input-select-progress {
  margin-right: 5px !important;
  margin-left: 0 !important;
}

.surcharge-value-column input,
.surcharge-value-column select,
.surcharge-value-column .currency-symbol {
  transform: translateY(-2px);
}

.user-prompt {
  position: absolute;
  color: var(--warning);
  left: 30%;
  margin: 0 2rem;
  text-align: center;
}

.clickable {
  cursor: pointer;
  transition: filter 0.2s ease-in-out;
}

.clickable:hover {
  filter: brightness(1.15);
}

.select-small-padding {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.raci-cell {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.btn-table-remove {
  padding: 0.3rem 0.4rem;
  transform: translateY(-1px);
}

.btn-table-header {
  padding: 0.3rem 0.4rem;
  transform: translateY(-3px);
}

.sidebar-form-content > .form-header {
  width: calc(100% - 3rem);
  margin-left: 1.5rem;
}

.input-status-pass {
  color: var(--success);
  background-color: var(--success-background) !important;
}

.input-status-warning {
  color: var(--warning);
  background-color: var(--warning-background) !important;
}

.input-status-fail {
  color: var(--danger);
  background-color: var(--danger-background) !important;
}

.btn-operator-alert {
  margin-left: 1rem;
  padding: 0 6px;
  width: calc(100% - 10px);
  border: 1px solid var(--background);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 44px;
}

.btn-image {
  margin-left: 1rem;
}

.btn-operator-alert:hover {
  filter: invert(0.5);
}

.popup-menu-container .nav-item:first-of-type {
  padding-top: 0.5rem !important;
}

.popup-menu-container .nav-item:last-of-type {
  padding-bottom: 0.5rem !important;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 2rem;
  font-size: 13px;
}

.tag {
  border-radius: 4px;
  background-color: var(--primary);
  display: inline-flex;
  align-items: center;
  height: 22px;
  font-weight: normal;
  padding: 4px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag span {
  font-size: 1rem;
  line-height: 1;
  margin-left: 4px;
}

.table-info-image {
  position: relative;
  text-align: center;
  vertical-align: middle;
}

.tooltip-text {
  position: fixed;
  visibility: hidden;
  max-width: 360px;
  background-color: #323232;
  color: #fff;
  text-align: center;
  font-style: normal;
  border-radius: 5px;
  padding: 8px;
  z-index: 999999;
  top: 30%;
  left: 10%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: auto;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text a {
  color: var(--primary);
  font-weight: bold;
  cursor: pointer;
}

.footer-text {
  margin-left: 0 !important;
}

.dashboard {
  margin-bottom: 1.5rem;
  /* max-height: none !important; */
  overflow: hidden;
  max-height: 100vh;
  transition-delay: 1s;
  transition: max-height 1.5s ease-in-out;
}

.dashboard .card-body {
  max-height: none;
}

.chart-layout {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 1.5rem;
}

.header-buttons .searchable-dropdown {
  margin-left: 0 !important;
}

.header-buttons .route-dropdown {
  right: 0;
}

.disabled {
  color: #aaa;
}

.table-button-grid {
  display: grid;
  grid-template-columns: 48px 48px;
  grid-template-rows: 36px;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.header-3 {
  line-height: 40px;
}

.header-3 input {
  font-size: 1rem;
  font-weight: bold;
}

.disable-scroll {
  overflow-y: hidden !important;
}

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

.hyperlink {
  color: #659bff;
  text-decoration: underline;
}

.report-filters input,
.report-filters select {
  border-color: #5c5c5c;
}

.report-filters .input-no-label:focus + .input-label,
.report-filters .input-no-label:not(:placeholder-shown) + .input-label {
  background-color: var(--background) !important;
  top: -4px;
}

.searchable-dropdown input {
  cursor: pointer;
}

.chart-y-axis label select,
.chart-x-axis label select {
  margin-left: 0 !important;
}

.notification-message {
  white-space: pre-wrap;
}

.notification-message a {
  color: var(--primary);
  text-decoration: underline;
  transition: font-weight 0.2s ease;
}

.notification-message a:hover {
  font-weight: bold;
}

.full-screen {
  position: absolute;
  width: calc(100vw - 260px);
  height: calc(100vh - 211px);
  z-index: 12;
}

.full-screen-background {
  position: absolute;
  top: 98px;
  width: calc(100vw - 260px);
  height: calc(100vh - 165px);
  z-index: 11;
  background: var(--background);
}

.fullscreen-button {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 36px;
  width: 48px !important;
  box-sizing: border-box;
  margin: 0 !important;
  margin-left: auto;
  padding: 0 !important;
  box-shadow: unset;
  -webkit-box-shadow: unset;
}

.fullscreen-button:hover {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.fullscreen-button:focus {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.table-status {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  text-align: center;
  text-decoration: none;
}

.expired {
  color: var(--danger);
}

.expiring {
  color: var(--warning);
}

.approved {
  color: var(--success);
}

.label-data {
  text-align: left;
  font-weight: normal;
  line-height: 32px;
  margin-left: 1rem;
  color: #a9acb3;
  font-size: 16px;
}

.stock-input-group {
  display: flex;
}

.stock-no {
  flex: 3;
}

.part-issue {
  flex: 1;
}

.chart-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  padding-bottom: 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

.chart-wrap > div {
  height: 100%;
}

.thumbnail-container {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.thumbnail {
  height: 100%;
  object-fit: contain;
  display: block;
}

/* .camera-card video {
  width: 100%;
  height: 100%;
  display: block;
} */

.banner-alert {
  border: solid 2px var(--warning);
  border-radius: 10px;
  color: var(--warning);
  background-color: var(--warning-background);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-indicator {
  position: absolute;
  right: -12px;
  top: -12px;
}

.indicator-circle {
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background-color: var(--primary);
}

.disabled-value {
  margin-left: 1rem;
  margin-right: 1rem;
  text-align: left;
  font-weight: normal;
  font-size: 16px;
  color: #a9acb3;
  line-height: 32px;
  height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.disabled-value-multi {
  margin-left: 1rem;
  margin-right: 1rem;
  text-align: left;
  font-weight: normal;
  font-size: 16px;
  color: #a9acb3;
  line-height: 1.4;
  display: block;
  height: auto;
  min-height: 32px;
  padding-top: 0.6rem;
}

.input-multi .disabled-value {
  margin-left: 0;
  flex: 0 0 auto;
  text-align: left;
}

.search-box {
  display: flex;
  align-items: center;
  height: 3rem;
  margin: 0.5rem;
  border-radius: 1.5rem;
  width: 60%;
  padding-left: 1rem;
  background-color: #393939;
}

.new-note-entry input:focus-visible,
.update-note-entry input:focus-visible {
  outline: none;
}

:focus-visible {
  outline: none;
}

.note-text-area {
  padding: 6px !important;
  border-radius: 10px;
}

.update-note-text-area {
  margin-left: 0;
}

.surcharge-type-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  width: 26px;
  border-radius: 4px;
  border: 1px solid var(--primary);
}

.surcharge-button-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  margin-left: 8px;
}

.surcharge-selected {
  background-color: var(--primary);
  color: var(--background-2);
  font-weight: 500;
}

.surcharge-x-button {
  font-size: 26px;
  font-weight: 300;
}