﻿/** {
    outline: 1px solid red;
}*/

.badge.bg-body-tertiary {
    color: var(--bs-body-color);
    background-color: var(--bs-tertiary-bg) !important;
}

.flex-break-row {
    width: 100vw;
    height: 0;
}

.flex-break-column {
    width: 0;
    height: 100vh;
}

.page {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100dvh;
}

.kiosk ~ .page {
    height: calc(100dvh - var(--kiosk-height));
}

main {
    flex: 1;
}

.navbar {
    position: fixed;
    max-width: 100%;
    z-index: 500;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    -webkit-backdrop-filter: var(--theme-filter);
    backdrop-filter: var(--theme-filter);
    background-color: var(--theme-background);
    background-image: var(--nav-bg);
}

.navbar-menu {
    display: none;
    flex-direction: column;
    max-height: calc(100dvh - var(--brand-height));
    width: 100%;
    color: var(--bs-body-color);
}

.kiosk ~ .page .navbar-menu {
    height: calc(100dvh - var(--brand-height) - var(--kiosk-height));
}

.navbar-toggler:checked ~ .navbar-menu {
    display: flex;
}

.nav-title {
    max-width: calc(100% - var(--brand-height));
    height: var(--brand-height);
    overflow: hidden;
    text-overflow: ellipsis;
    align-content: center;
    padding: 0;
}

.navbar-toggler {
    border-radius: 5px;
    appearance: none;
    display: none;
    cursor: pointer;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: auto 0.25em auto 0;
    height: 2.5rem;
    color: var(--bs-body-color);
    border: 2px solid rgba(var(--bs-emphasis-color), 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28128, 128, 128, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

    .navbar-toggler:checked {
        background-color: rgba(128, 128, 128, 0.5);
    }

.kiosk ~ .page .sticky-top {
    top: var(--kiosk-height);
}

.sticky-top {
    z-index: 50;
}

@media screen and (max-width: 800px) {
    .kiosk ~ .page .navbar {
        top: var(--kiosk-height);
    }

    .navbar-toggler {
        display: inline-block;
    }

    main {
        padding-top: var(--brand-height);
        max-width: 100%; /*calc(100% - var(--scrollbar-width));*/
    }

    .page {
        /*height: 100%;*/
    }

    .navbar-toggler:checked ~ .navbar-menu {
        display: flex;
    }

    .sticky-top {
        top: var(--brand-height);
    }

    thead.sticky-top {
        top: calc(var(--brand-height) - var(--bs-border-width));
    }

    .kiosk ~ .page .sticky-top {
        top: calc(var(--brand-height) + var(--kiosk-height));
    }

    .nav-title {
        max-width: calc(100% - var(--brand-height) - 40px);
    }
}

@media screen and (min-width: 801px) {
    /* not navbar top */
    .page:not([data-navbar-side=top]) .navbar {
        position: fixed;
        top: 0;
        width: var(--nav-size);
        min-width: var(--nav-size);
    }

    .page:not([data-navbar-side=top]) .navbar-menu {
        display: flex;
    }

    .page:not([data-navbar-side=top]) .nav-title {
        pointer-events: none;
    }

    .page:not([data-navbar-side=top]) main > .loading-container {
        max-width: calc(100% - var(--nav-size))
    }

    /* navbar left */
    .page[data-navbar-side=left] .navbar {
        left: 0;
        right: unset;
    }

    .page[data-navbar-side=left] main {
        padding-left: var(--nav-size);
        max-width: 100%;
    }

    /* navbar right */
    .page[data-navbar-side=right] .navbar {
        position: relative;
        height: 100dvh;
    }

    .page[data-navbar-side=right] {
        flex-direction: row-reverse;
        overflow: auto;
    }

        .page[data-navbar-side=right] main {
            overflow: auto;
            height: 100dvh;
        }

    .kiosk ~ .page:not([data-navbar-side=top]) .navbar {
        top: var(--kiosk-height);
        height: calc(100% - var(--kiosk-height));
    }

    /* navbar top */
    .page[data-navbar-side=top] .navbar-toggler {
        display: inline-block;
    }

    .page[data-navbar-side=top] main {
        margin-top: var(--brand-height);
    }

    .page[data-navbar-side=top] .nav-title {
        max-width: calc(100% - var(--brand-height) - 40px);
    }

    .page[data-navbar-side=top] .sticky-top {
        top: var(--brand-height);
    }

    .page[data-navbar-side=top] thead.sticky-top {
        top: calc(var(--brand-height) - var(--bs-border-width));
    }

    thead.sticky-top {
        top: calc(0px - var(--bs-border-width));
    }

    .kiosk ~ .page[data-navbar-side=top] .sticky-top {
        top: calc(var(--brand-height) + var(--kiosk-height));
    }

    .kiosk ~ .page[data-navbar-side=top] thead.sticky-top {
        top: calc(var(--brand-height) + var(--kiosk-height) - var(--bs-border-width));
    }
}

*:has( >.flush) {
    padding: 0;
}

table.table.table-flush {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

    table.table.table-flush > tr:last-child > *, .table.table-flush > tbody > tr:last-child > * {
        border-bottom-width: 0;
    }

    table.table.table-flush tr > :first-child {
        padding-left: 1em;
    }

    table.table.table-flush tr > :last-child {
        padding-right: 1em;
    }
/* touch screen only rules */
@media only screen and (hover: none) and (pointer: coarse) {
    .touch-responsive {
        overflow-x: auto;
    }

    .touch-hide {
        display: none;
    }
}

.container:has(>.full-content) {
    margin: 0;
}

.nav-scrollable {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100vh; /*calc(100dvh - var(--scrollbar-height));*/
}

.scrollbar-width {
    width: var(--scrollbar-width);
}

.scrollbar-height {
    height: var(--scrollbar-height);
}

.navbar .nav-item .nav-link {
    /* color: #d7d7d7; */
    background: none;
    border: none;
    border-radius: 4px;
}

.navbar .nav-item .nav-link {
    display: block;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

    .navbar .nav-item .nav-link:hover {
        background-color: rgba(var(--bs-body-bg-rgb), 0.4);
        color: var(--bs-body-color);
    }

.navbar .nav-item a.active, .navbar .nav-item button.active {
    background-color: var(--active-background);
    color: var(--bs-emphasis-color);
}

.user-select-none {
    -webkit-user-select: none;
    user-select: none;
}

.ajax-select {
    display: none;
    visibility: hidden;
}

.ajax-select-menu {
    position: absolute;
    z-index: 1000;
    max-height: 50vh;
    overflow-y: auto;
}

.border-glass {
    border-color: rgba(var(--bs-body-color-rgb), var(--border-opacity)) !important;
}

.ajax-select-search-results label:hover {
    background: var(--bs-secondary-bg);
}

/* automatically space input-groups */
div.input-group:has( + div.input-group) {
    margin-bottom: var(--bs-gutter-y);
}

.g-1 div.input-group:has( + div.input-group) {
    margin-bottom: var(--bs-gutter-y);
}

.row.g-1:has(+.row.g-1) {
    margin-bottom: var(--bs-gutter-y);
}

.vertical-space > *:has( ~ *) {
    margin-bottom: var(--bs-gutter-y);
}

hr {
    margin-top: .5rem;
    margin-bottom: .5rem;
    opacity: var(--border-opacity);
}

a {
    text-decoration: none;
}

    a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
        text-decoration: underline;
    }

    a.undecorated {
        color: var(--bs-body-color);
        text-decoration: none;
    }

        a.undecorated:hover {
            color: var(--bs-body-color);
            text-decoration: none;
        }

.breadcrumb {
    border-radius: var(--bs-border-radius);
    padding: 2px 5px 2px 5px;
    background: var(--bs-tertiary-bg);
}

.card.card-success {
    --bs-card-cap-color: var(--bs-success-text-emphasis);
    --bs-card-cap-bg: var(--bs-success-border-subtle);
    --bs-card-color: var(--bs-success-text-emphasis);
    --bs-card-bg: var(--bs-success-bg-subtle);
    --bs-link-color-rgb: var(--bs-success-rgb);
    --bs-body-color: var(--bs-success-text-emphasis);
    --bs-card-border-color: var(--bs-border-color-translucent);
}

.expandable {
    padding: 0.8rem;
    padding-left: 12px;
}

    .expandable .expandable-header {
        position: relative;
        cursor: pointer;
    }

        .expandable .expandable-header .title {
            margin-bottom: 0px;
        }

    .expandable .expandable-body {
        margin-top: 0.8rem;
        display: none;
    }

    .expandable.expanded .expandable-body {
        display: block;
    }

    .expandable i.chevron {
        position: absolute;
        right: 12px;
        top: -2px;
        color: lightgray;
        font-family: FontAwesome;
        font-size: inherit;
        font-style: normal;
        text-rendering: auto;
    }

        .expandable i.chevron::before {
            content: "\f078";
        }

    .expandable.expanded i.chevron {
        transform: rotate(180deg);
    }


[list]::-webkit-calendar-picker-indicator {
    display: none !important;
}

.underline {
    text-decoration: underline;
}

.dropdown,
.dropleft,
.dropright,
.dropup {
    position: unset;
}

tr.confirm-row td {
    border-bottom-color: transparent !important;
}

tr.confirm-row-target td {
    border-top-color: transparent !important;
}

table.inline-confirm tr:not(.confirm) td {
    filter: blur(2px)
}

date-time {
    display: inline-block;
}

.form-control.disabled {
    background-color: var(--bs-tertiary-bg);
}

div.form-control:not(.dropdown) {
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-check-block {
    display: block;
    min-height: unset;
    margin-bottom: unset;
}

.text-small {
    font-size: smaller;
}

.label-text {
    color: darkgray;
    font-size: smaller;
    margin-bottom: 0;
}

.option-inactive {
    color: var(--inactive-option-color);
    font-style: italic;
}

input[type=number].no-spinner {
    -moz-appearance: textfield;
    appearance: textfield;
}

    input[type=number].no-spinner::-webkit-inner-spin-button,
    input[type=number].no-spinner::-webkit-outer-spin-button {
        appearance: none;
        margin: 0;
    }

input[type=number][step=any]::-webkit-inner-spin-button,
input[type=number][step=any]::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.form-control.spec-limit {
    border-color: red !important;
}

.form-control.warn-limit {
    border-color: yellow !important;
}

.fa {
    display: inline;
}

    .fa.fa-sub {
        font-size: 0.5rem;
        margin-left: -0.25rem;
        margin-right: 0.05rem;
    }

.fa-2x .fa.fa-sub {
    font-size: 1rem;
    margin-left: -0.5rem;
    margin-right: 0.1rem;
}

.fa-3x .fa.fa-sub {
    font-size: 1.5rem;
    margin-left: -0.5rem;
    margin-right: 0.1rem;
}

.fa.fa-super {
    vertical-align: text-top;
    font-size: 0.5rem;
    margin-left: -0.25rem;
    margin-right: 0.05rem;
}

.fa-2x .fa.fa-super {
    font-size: 1rem;
    margin-left: -0.5rem;
    margin-right: 0.1rem;
}

.fa-3x .fa.fa-super {
    font-size: 1.5rem;
    margin-left: -0.5rem;
    margin-right: 0.1rem;
}


.kiosk {
    position: fixed;
    border-bottom: #555;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    z-index: 10;
}

.kiosk-spacer {
    min-height: var(--kiosk-height);
}

.input-validation-error {
    border: 1px solid var(--bs-form-invalid-border-color) !important;
}

.line-breaks {
    white-space: pre-line;
}

.missing {
    color: var(--bs-form-invalid-color);
}

.icon-sigma::before {
    content: "\03a3";
    font-style: normal;
}

.icon-separator::before {
    content: "◦";
    font-style: normal;
}

.pointer-events-none {
    pointer-events: none;
}

.beta {
    text-shadow: 0 0rem 0.1rem var(--bs-body-color);
    opacity: 0.5;
    font-size: small;
}

.separators > div {
    border-bottom: 1px solid var(--bs-secondary-color);
    padding-bottom: 5px;
}

    .separators > div:last-child {
        border-bottom: unset;
        padding-bottom: unset;
    }

.map-date, .map-datetime {
    white-space: nowrap;
}

.map-po {
    text-decoration: none;
}

    .map-po:hover {
        text-decoration: none;
    }

    .map-po.info {
        color: teal;
    }

        .map-po.info:hover {
            color: #00c2c2;
        }

/*.bg-info .map-po.info {
    color: #60d2d2;
}*/

.bg-info .map-po.info:hover {
    color: var(--bs-body-bg-color);
}

.bg-body {
    background-color: var(--bs-body-bg-color),
}

.map-po.warn {
    color: #d0b903 !important;
}

    .map-po.warn:hover {
        color: #d7ca66 !important;
    }

    .map-po.warn.no-context {
        color: #f141bb !important;
    }

/* Needed to hide the details marker on IOS Safari (as of 7/10/2023) */
details.no-arrow > summary::-webkit-details-marker {
    display: none;
}

details.no-arrow > summary {
    list-style: none;
}

details.inline summary > * {
    display: inline;
}

.capability-bar svg {
    width: 100%;
    height: 3em;
}

.menu-dots {
    display: flex;
    width: 25px;
    justify-content: center;
}

.dots {
    display: inline-flex;
    width: 25px;
    justify-content: center;
}

a.help-icon {
    color: var(--bs-info);
}

a.user-link {
    color: var(--bs-body-color);
}

    a.user-link:hover {
        color: var(--bs-emphasis-color);
    }

.approval-status {
    width: 20px;
    display: inline-block;
    text-align: center;
}

    .approval-status.fa-check {
        color: var(--bs-success);
    }

    .approval-status.fa-times {
        color: var(--bs-danger);
    }

    .approval-status.fa-question {
        color: var(--bs-primary);
    }

.approval-route-sequence {
    font-size: 1.75rem;
    color: var(--bs-secondary);
}

.watermark {
    opacity: 0.5;
    color: var(--bs-secondary);
    position: absolute;
    right: 10px;
    top: 1px;
}

.callout {
    border-width: 1px;
    border-left-width: 5px;
    border-left-style: solid;
}

    .callout.callout-primary {
        border-left-color: var(--bs-primary-border-subtle);
    }

    .callout.callout-secondary {
        border-left-color: var(--bs-secondary-border-subtle);
    }

    .callout.callout-success {
        border-left-color: var(--bs-success-border-subtle);
    }

    .callout.callout-info {
        border-left-color: var(--bs-info-border-subtle);
    }

    .callout.callout-danger {
        border-left-color: var(--bs-danger-border-subtle);
    }

    .callout.callout-warning {
        border-left-color: var(--bs-warning-border-subtle);
    }

.fill-body-color {
    fill: var(--bs-body-color)
}

.fill-primary {
    fill: var(--bs-primary);
}

.fill-secondary {
    fill: var(--bs-secondary);
}

.fill-success {
    fill: var(--bs-success);
}

.fill-info {
    fill: var(--bs-info);
}

.fill-danger {
    fill: var(--bs-danger);
}

.fill-warning {
    fill: var(--bs-warning);
}

.text-15 {
    font-size: 1.5rem;
}

.text-20 {
    font-size: 2rem;
}

summary {
    outline: none;
}

.table .table-unstyled > :not(caption) {
    padding: unset;
    border: unset;
}

.table .table-unstyled td,
.table .table-unstyled th {
    padding: unset;
    border: unset;
}

.table .table-unstyled tr:nth-of-type(odd) {
    background-color: unset;
}

.table-xs td,
.table-xs th {
    padding: 0.1rem 0.5ch;
    font-size: small;
}

.table-fixed {
    max-height: 66vh;
    width: 100%;
    overflow: auto;
}

    .table-fixed table {
        max-height: 66vh;
        overflow: auto;
    }

    .table-fixed thead,
    .table-fixed thead th {
        position: sticky;
        top: calc(0px - var(--bs-border-width));
    }

    .table-fixed tbody tr {
        height: 20px;
    }

a.inherit-color {
    color: inherit;
}

    a.inherit-color:hover {
        color: inherit;
    }

.pagination {
    margin-bottom: 0;
}

.ps-logo {
    height: 48px;
}

.test-type {
    font-size: 1.25rem;
}

.bootstrap-select.form-control {
    height: min-content;
}

label.btn {
    margin: 0;
}

.sortable {
    color: unset;
}

    .sortable:hover {
        color: unset;
        text-decoration: none;
    }

.unfloat-end {
    float: right;
}

.user-btn-select {
    float: right;
    position: absolute;
    right: 0.5em;
    bottom: 1.5em;
}

.breadcrumb-item {
    display: initial;
}

.rounded-clip {
    border-radius: 8px;
    overflow: hidden;
}

.contents {
    display: contents;
}

.thumbnail {
    display: flex;
    position: relative;
    width: 96px;
    height: 96px;
    justify-content: center;
}

    .thumbnail img {
        object-fit: contain;
        min-width: 100%;
        min-height: 100%;
    }

    .thumbnail .thumbnail-icon {
        font-size: 75px;
    }

    .thumbnail.portrait {
        width: 128px;
        height: 128px;
        font-size: 100px;
        margin-right: 0.1em;
    }

.loading-container {
    position: absolute;
    z-index: 1100;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--bs-body-bg-rgb), var(--glass-opacity));
    -webkit-backdrop-filter: var(--theme-filter);
    backdrop-filter: var(--theme-filter);
    min-height: 2rem;
    align-content: center;
}

    .loading-container > div {
        display: flex;
        justify-content: center;
    }

main > .loading-container {
    position: fixed;
}

.icon-watermark {
    position: absolute;
    opacity: 0.16;
    right: 10px;
    top: -20px;
    overflow: hidden;
    clip: rect(20px, 128px, 65px, 0px);
    pointer-events: none;
}

.icon-stamp .icon {
    position: absolute;
    right: 10px;
    top: -20px;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25);
}

.icon-floatingstamp .icon {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25);
}

.icon-stamp::after {
    position: static;
    content: ' ';
    float: right;
    width: 100px;
    min-height: 20px;
}

.text-shadow {
    text-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25);
}

.opaque {
    opacity: 1;
    z-index: 1;
}

.ajax-replace {
    position: relative;
}

.header-dark th {
    background-color: #343a40 !important;
    color: white !important;
}

.header-light th {
    background-color: #6c757d !important;
    color: white !important;
}

.select-dialog-input {
    position: relative;
    display: inline-block;
}

.input-group .select-dialog-input {
    display: block;
    flex: 1 1 auto;
}

    .input-group .select-dialog-input .btn {
        display: block;
        text-align: start;
        border-radius: 0;
    }

.input-group :last-child.select-dialog-input .btn {
    border-start-end-radius: var(--bs-btn-border-radius);
    border-end-end-radius: var(--bs-btn-border-radius);
}

.input-group :first-child.select-dialog-input .btn {
    border-start-start-radius: var(--bs-btn-border-radius);
    border-end-start-radius: var(--bs-btn-border-radius);
}

.color-admin {
    color: darkgoldenrod;
}

.color-audit {
    color: blueviolet;
}



.color-audit-subscription {
    color: blueviolet;
}

.color-cert {
    color: gold;
}

.color-complaint {
    color: red;
}

.color-dash {
    color: mediumseagreen;
}

.color-data {
    color: slategrey;
}

.color-doc {
    color: black;
}

[data-bs-theme=dark] .color-doc {
    color: antiquewhite;
}

.color-document-classes {
    color: saddlebrown;
}

.color-link {
    color: royalblue;
}

.color-reports {
    color: orange;
}

.color-cert-facility {
    color: firebrick;
}

.color-cert-templates {
    color: forestgreen;
}

.color-complaint-category {
    color: saddlebrown;
}

.color-complaint-defects {
    color: orange;
}

.color-complaint-role {
    color: blue;
}

.color-complaint-remediation {
    color: green;
}

.color-quality {
    color: deepskyblue;
}

.color-quality-fileType {
    color: slategrey;
}

.color-quality-Operation {
    color: saddlebrown;
}

.color-quality-QualityState {
    color: navy;
}

.color-quality-PlanSpec {
    color: orange;
}

.color-quality-SampleLocation {
    color: red;
}

.color-quality-Samplefrequencies {
    color: teal;
}

.color-quality-TestFamily {
    color: green;
}

.color-quality-TestMethod {
    color: green;
}

.color-quality-TestSource {
    color: indigo;
}

.color-quality-UnitMeasure {
    color: darkred;
}

.color-quality-SpecManager {
    color: darkred
}

.color-quality-NoSpec {
    color: darkred
}

.color-events {
    color: goldenrod;
}

.color-ecosystem {
    color: mediumblue;
}

.color-no-action-required {
    color: goldenrod;
}

.strike {
    text-decoration: line-through;
}

.map-tz,
.map-badge-outline {
    border: 1px solid var(--bs-secondary-border-subtle);
    border-radius: .25rem;
    color: var(--bs-secondary-color);
    background-color: transparent;
    padding-left: .25rem;
    padding-right: .25rem;
    font-size: x-small;
    font-weight: bold;
    margin-left: .25rem;
    vertical-align: 2px;
}

    .map-tz:hover {
        color: var(--bs-info-text-emphasis);
        background-color: var(--bs-info-color);
    }

.modal-backdrop {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

[data-bs-theme=dark] .autograph img {
    filter: invert();
}

@media screen and (prefers-color-scheme: dark) {
    [data-bs-theme=auto] .autograph img {
        filter: invert();
    }
}

.table-striped-2 tbody tr:nth-child(4n-1) > :not(caption),
.table-striped-2 tbody tr:nth-child(4n) > :not(caption) {
    background-color: var(--bs-table-striped-bg);
}

.table-striped-2 tbody tr:nth-child(4n-1) > :not(caption),
.dark .table-striped-2 tbody tr:nth-child(4n) > :not(caption) {
    background-color: var(--bs-table-striped-bg);
}

a.hoverstrike:hover {
    text-decoration: line-through !important;
}

.score-color-0 {
    stroke: forestgreen;
}

.score-color-1 {
    stroke: blue;
}

.score-color-2 {
    stroke: orange;
}

.score-color-3 {
    stroke: yellow;
}

.score-color-4 {
    stroke: red;
}

.color-breakpoint-0 {
    fill: red;
}

.color-breakpoint-1 {
    fill: orange;
}

.color-breakpoint-2 {
    fill: gold;
}

.color-breakpoint-3 {
    fill: green;
}

.color-breakpoint-4 {
    fill: blue;
}

.color-breakpoint-5 {
    fill: purple;
}


.nomargin {
    margin: 0;
    padding: 0;
}

/*.group ul {
    margin: 0;
    padding: 2px;
}

.group li {
    padding: 1px;
}
*/
#update {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

/*ul {
    list-style-type: none;
    padding: 0;
}*/

ul.circle {
    list-style-type: circle;
}

.field-validation-error.banner {
    background-color: red;
    color: white;
    padding: .5rem;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    list-style-type: disc;
}

.validation-summary-errors.banner {
    color: firebrick;
    padding: .5rem;
    border: 1px solid;
    border-color: firebrick;
    border-radius: 5px;
}

    .validation-summary-errors.banner li {
        list-style-type: none;
    }

        .validation-summary-errors.banner li:before {
            content: "\f06a";
            font-family: FontAwesome;
            display: inline-block;
            margin-left: -1.3em;
            width: 1.3em;
        }


.checked {
    background-color: #86b7ff;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    height: var(--brand-height);
}

.navbar-nav.nav-header i {
    font-size: 1.5rem;
}

.default-tag {
    margin-left: 10px;
    color: forestgreen;
    display: inline-block;
    font-size: small;
}

.user-card {
    line-height: 1.25rem;
}

@media screen and (prefers-color-scheme: dark) {
    [data-bs-theme=auto] .user-card {
        line-height: 1.25rem;
        background-color: #161616;
        border: 1px solid #444;
    }
}

img.site-logo {
    height: 46px;
    margin: 2px;
}

img.map-logo {
    height: 32px;
}


.page-title {
    display: inline;
    color: var(--title-color);
    font-size: 2rem;
    margin-right: 10px;
}

    .page-title img {
        vertical-align: top;
    }

.page-subtitle {
    color: var(--bs-secondary-color);
}

.text-normal {
    color: var(--bs-body-color);
}

.text-orange {
    color: darkorange;
}

.tab {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 24px;
}

.description {
    font-size: smaller;
    color: grey;
}

.left-tab {
    padding-top: 4px;
    padding-bottom: 4px;
    flex: auto 10%;
}

.tab-body {
    flex: 1;
}

.group {
    border-radius: 6px;
    border-style: solid;
    border-width: 2px;
    border-color: #dedede;
    background-color: #dedede;
}

    .group:not(.subgroup) {
        padding: 2px;
        margin-bottom: 6px;
    }

    .group .subgroup:not(:last-child) {
        margin-bottom: 4px;
    }

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.group .tag {
    color: gray;
}

.tag {
    color: var(--bs-secondary);
    font-size: smaller;
    display: inline-block;
    margin-bottom: 0;
}

.group-title {
    display: inline-block;
    font-size: x-large;
    font-weight: bold;
    color: #666;
}

.subgroup {
    border-width: 2px;
    background-color: #fcfcfc;
    border-color: #fcfcfc;
}

.subgroup-title {
    display: inline-block;
    color: grey;
}

[data-bs-theme=dark] .group {
    border-color: #212121;
    background-color: #212121;
}


[data-bs-theme=dark] .subgroup {
    background-color: #161616;
    border-color: #161616;
}

[data-bs-theme=dark] .workflow li:before {
    background: #333;
}

[data-bs-theme=dark] .workflow li:after {
    background: #333;
}

.no-data {
    background-color: #eee;
    fill: #eee;
}

[data-bs-theme=dark] .no-data {
    background: #222;
    fill: #222;
}

.gauge {
    stroke: var(--bs-secondary-bg);
}

@media screen and (prefers-color-scheme: dark) {
    [data-bs-theme=auto] .group {
        border-color: #212121;
        background-color: #212121;
    }

    [data-bs-theme=auto] .subgroup {
        background-color: #161616;
        border-color: #161616;
    }

    [data-bs-theme=auto] .no-data {
        background: #222;
        fill: #222;
    }
}

.vertical-text {
    position: absolute;
    writing-mode: vertical-rl;
    overflow: clip;
    text-overflow: ellipsis;
    pointer-events: none;
    max-height: 100%;
    max-width: 1.5em;
    white-space: nowrap;
}

.horizontal-text {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
}

.graph {
    background: snow;
}

td.fit-content,
th.fit-content {
    white-space: nowrap;
    width: 1%;
}

/* makes dropdown menus hoverable in navbars*/
.navbar-nav li.hoverable:hover > .dropdown-menu {
    display: block;
}

.hide-inactive .inactive {
    display: none;
}



.model-error:before {
    font-family: FontAwesome;
    content: "\f06a";
    margin-right: .25rem;
}

.read-only-textarea {
    overflow-y: auto;
    padding: .75rem;
}

.read-only-textarea-sm {
    height: 90px;
}

.read-only-textarea-md {
    height: 150px;
}

.read-only-textarea-lg {
    height: 250px;
}

.columns {
    columns: 20rem auto
}

.genealogy-item {
    display: inline-block;
    width: 95%;
}

.genealogy-end {
    list-style: none;
}

    .genealogy-end > div {
        display: inline-block;
        width: 95%;
    }

    .genealogy-end::before {
        content: "\f28d";
        font-family: FontAwesome;
        color: var(--stop-color);
    }

    .genealogy-end[open] {
        margin-bottom: 0.5rem;
    }

.corner-container {
    position: relative;
}

.corner {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-top: 80px solid var(--bs-tertiary-bg);
    border-bottom: 80px solid transparent;
    border-left: 80px solid transparent;
}

.card > .corner {
    border-start-end-radius: var(--bs-card-border-radius);
}

.corner.corner-primary {
    color: var(--bs-white);
    border-top-color: var(--bs-primary-border-subtle);
}

.corner.corner-secondary {
    color: var(--bs-white);
    border-top-color: var(--bs-secondary-border-subtle);
}

.corner.corner-success {
    color: var(--bs-white);
    border-top-color: var(--bs-success-border-subtle);
}

.corner.corner-info {
    color: var(--bs-white);
    border-top-color: var(--bs-info-border-subtle);
}

.corner.corner-danger {
    color: var(--bs-white);
    border-top-color: var(--bs-danger-border-subtle);
}

.corner.corner-warning {
    color: var(--bs-black);
    border-top-color: var(--bs-warning-border-subtle);
}

.corner span {
    position: absolute;
    top: -73px;
    right: 7px;
    display: block;
}

.break-avoid {
    break-inside: avoid;
}

@media screen {
    .print-only {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media screen and (min-width: 576px) {
    .thumbnail {
        width: 128px;
        height: 128px;
    }

        .thumbnail .thumbnail-icon {
            font-size: 100px;
        }

    .rounded-clip {
        border-radius: 8px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
    .label-text {
        font-size: 1.1rem;
        font-weight: 500;
        color: unset;
    }

    .thumbnail {
        width: 160px;
        height: 160px;
    }

        .thumbnail .thumbnail-icon {
            font-size: 120px;
        }

    .rounded-clip {
        border-radius: 10px;
    }
}

/* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {
    .thumbnail {
        width: 192px;
        height: 192px;
    }

        .thumbnail .thumbnail-icon {
            font-size: 160px;
        }

    .rounded-clip {
        border-radius: 12px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) {
    .thumbnail {
        width: 256px;
        height: 256px;
    }

        .thumbnail .thumbnail-icon {
            font-size: 200px;
        }

    .rounded-clip {
        border-radius: 16px;
    }
}

@media screen and (max-width: 375px) {
    .thumbnail.portrait {
        width: 64px;
        height: 64px;
        font-size: 50px;
    }

    .user-btn-select {
        float: none;
    }
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {

    /* Hide captions */
    .carousel-caption {
        display: none;
    }

    .vertical-text {
        text-align: left;
        position: inherit;
        writing-mode: inherit;
        overflow: inherit;
        text-overflow: inherit;
        pointer-events: inherit;
        max-height: inherit;
        max-width: inherit;
        white-space: inherit;
    }

    .tab {
        display: block;
    }

    .left-tab {
        display: block;
        padding-left: 4px;
    }

    .tab-body {
        display: block;
    }

    .nav-tabs .nav-item {
        padding: 0 .1em 0 .1em;
    }

    .nav-tabs .nav-link {
        padding: .25em .5em .25em .5em;
    }

    .unfloat-end {
        float: none;
    }
}

@media print {

    .no-print {
        display: none;
    }

    .user-link {
        color: var(--bs-body-color);
        text-decoration: none;
    }

        .user-link .fa {
            display: none;
        }

    a {
        color: black !important;
        text-decoration: none !important;
    }

    .print-only {
        display: normal !important;
    }

    a[href]:after {
        content: none !important;
    }

    .btn-group {
        display: none;
    }
}

.nav-tabs.nav-activity {
    border-bottom: none;
}

    .nav-tabs.nav-activity .nav-item .nav-link {
        margin-right: 5px;
        padding: 0.2rem;
        border-radius: 3px;
        font-weight: 500;
        color: var(--bs-nav-link-color);
        background-color: var(--bs-tertiary-bg);
        border: none !important;
    }

        .nav-tabs.nav-activity .nav-item .nav-link.active {
            color: var(--bs-emphasis-color);
            background-color: var(--bs-secondary-bg-subtle);
        }

        .nav-tabs.nav-activity .nav-item .nav-link:hover {
            background-color: var(--bs-primary-bg-subtle);
        }

        .nav-tabs.nav-activity .nav-item .nav-link.active:hover {
            background-color: var(--bs-primary-bg-subtle);
        }
