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

a, .btn-link {
    color: #006bb7;
}

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

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

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

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}
*/
.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."
}

/* Blazorise Tailwind is loaded after tailwind.css. Keep modal geometry here so
   Blazorise modals use the same centered shell as custom tt modals. */
.b-modal {
    z-index: 1000 !important;
}

.b-modal.flex,
.b-modal.show,
.b-modal[style*="display: flex"],
.b-modal[style*="display:flex"] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 1rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.b-modal.flex > *,
.b-modal.show > *,
.b-modal[style*="display: flex"] > *,
.b-modal[style*="display:flex"] > * {
    max-height: calc(100dvh - 2rem) !important;
}

.b-modal .modal-dialog,
.b-modal .modal-dialog-centered,
.b-modal .tt-modal-panel {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    align-self: center !important;
    margin: auto !important;
    transform: none !important;
}

/* Blazorise Tailwind renders a wrapper div (.modal-dialog-centered) between
   .b-modal and our .tt-modal-panel. It carries `h-full` so it fills the
   viewport, which leaves no slack for b-modal's align-items:center to move
   it — the panel inside then anchors to the top. Make the wrapper a flex
   container so the panel is centered within it instead. */
.b-modal .modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.b-modal .tt-modal-panel {
    width: min(calc(100vw - 2rem), 32rem) !important;
    max-width: calc(100vw - 2rem) !important;
    max-height: calc(100dvh - 2rem) !important;
}

.b-modal .tt-modal-panel-md {
    width: min(calc(100vw - 2rem), 42rem) !important;
}

.b-modal .tt-modal-panel-lg {
    width: min(calc(100vw - 2rem), 56rem) !important;
}

.b-modal .tt-modal-panel-xl {
    width: min(calc(100vw - 2rem), 72rem) !important;
}

/* Global search palette: pinned to top, grows downward as results arrive.
   Overrides the centered alignment from the .b-modal .tt-modal-panel rule
   above so the search bar never shifts when results load. */
.b-modal .tt-global-search-panel {
    --tt-global-search-top-gap: clamp(0.5rem, 5vh, 4rem);
    --tt-global-search-available-height: calc(100dvh - var(--tt-global-search-top-gap) - 2rem);
    align-self: flex-start !important;
    margin: var(--tt-global-search-top-gap) auto 0 auto !important;
    position: relative !important;
    z-index: 1001 !important;
    width: min(calc(100vw - 2rem), 56rem) !important;
    max-height: var(--tt-global-search-available-height) !important;
}

.b-modal .tt-global-search-panel-preview {
    width: min(calc(100vw - 2rem), 72rem) !important;
}

.b-modal .tt-global-search-body {
    padding: 0 !important;
}

.tt-global-search-layout {
    height: min(36rem, var(--tt-global-search-available-height, calc(100dvh - 12vh)));
    min-height: min(22rem, var(--tt-global-search-available-height, calc(100dvh - 12vh)));
    max-height: var(--tt-global-search-available-height, calc(100dvh - 12vh));
}

.tt-global-search-toolbar {
    padding: 0.75rem 1rem !important;
}

.tt-global-search-panel p,
.tt-global-search-row p,
.tt-global-search-row span {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.tt-global-search-row,
.tt-global-search-row.tt-row-divider-list-item-active {
    padding: 0.5rem 0.75rem !important;
}

.tt-global-search-row .items-start {
    align-items: center !important;
}

.tt-profile-card-title,
.tt-profile-card-status,
.tt-info-row-label,
.tt-contact-row p,
.tt-contact-row a,
.tt-contact-row span {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.tt-contact-row .tt-info-row-label {
    margin-bottom: 0.125rem !important;
}
/*.darker-border-checkbox.form-check-input {
    border-color: #929292;
}*/

/* Legacy Blazorise dark-theme overrides left disabled. */
/*
[data-bs-theme=dark] nav.b-bar-light.b-bar-vertical-inline {
    background: var(--b-bar-dark-background, #fff) !important;
    color: var(--b-bar-dark-color, rgba(0, 0, 0, 0.7)) !important;
}

[data-bs-theme=dark] nav.b-bar-light.b-bar-vertical-small {
    background: var(--b-bar-dark-background, #fff) !important;
    color: var(--b-bar-dark-color, rgba(0, 0, 0, 0.7)) !important;
}

[data-bs-theme=dark] nav.b-bar-light.b-bar-vertical-inline .b-bar-link.active {
    color: var(--b-bar-item-dark-active-color, #000) !important;
    background: var(--b-bar-item-dark-active-background, #0288D1) !important;
}

[data-bs-theme=dark] nav.b-bar-light.b-bar-vertical-small .b-bar-link.active {
    color: var(--b-bar-item-dark-active-color, #000) !important;
    background: var(--b-bar-item-dark-active-background, #0288D1) !important;
}

[data-bs-theme=dark] nav.b-bar-light.b-bar-vertical-inline .b-bar-link:hover {
    color: var(--b-bar-item-dark-hover-color, #FFFFFF) !important;
    background: var(--b-bar-item-dark-hover-background, rgba(0, 0, 0, 0.3)) !important;
}

[data-bs-theme=dark] nav.b-bar-light.b-bar-vertical-small .b-bar-link:hover {
    color: var(--b-bar-item-dark-hover-color, #FFFFFF) !important;
    background: var(--b-bar-item-dark-hover-background, rgba(0, 0, 0, 0.3)) !important;
}
*/
