@import '/_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css';

@page {
    margin: 0.4in;
}

@media print {
    *::-webkit-scrollbar {
        display: none;
    }

    .no-print {
        display: none !important;
    }

    .hide-print {
        visibility: hidden;
        padding: initial !important;
    }

    .unhide-print {
        visibility: visible;
    }

    .display-print-only {
        display: flex !important;
    }

    .row-sep {
        border-bottom: 1px solid silver !important;
    }
}

.container-d {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.left-d, .right-d {
    padding: 6px;
    width: 10%;
}

.middle-d {
    padding: 6px;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .container-d {
        flex-direction: column;
    }

    .left-d, .right-d {
        display: none; /* Hide side columns on small screens */
    }
}

@media (min-width: 1024px) {
    .left-d, .right-d {
        width: 20%;
    }
}

@media (min-width: 1440px) {
    .left-d, .right-d {
        width: 25%;
    }
}

@media (min-width: 2560px) {
    .left-d, .right-d {
        width: 30%;
    }
}

/* Works on Chrome/Edge/Safari */
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: var(--neutral-layer-1);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--neutral-layer-4);
    border-radius: 5px;
    border: 3px solid var(--neutral-layer-4);
}

input:-webkit-autofill {
    -webkit-text-fill-color: dimgrey !important;
}

body {
    --body-font: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    margin: 0;
}

figure {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.siteheader {
    background-color: var(--neutral-layer-4) !important;
    border-bottom: calc(var(--stroke-width) * 2px) solid var(--accent-fill-rest);
    margin-bottom: 0 !important;
}

    .siteheader .logo {
        width: 108px;
        height: 23px;
        grid-column: 1;
    }

    .siteheader .links {
        padding-right: 10px;
        display: flex;
        align-items: center;
    }

    .siteheader .profile {
        padding-right: 10px;
        display: flex;
        align-items: center;
    }

    .siteheader .settings {
        display: flex;
        align-items: center;
    }

.main {
    /*height: calc(100dvh - 102px);*/
    height: calc(100dvh - 88px);
    color: var(--neutral-foreground-rest);
}

.content {
    margin: 10px 10px;
}

.footer {
    display: flex !important;
    flex-direction: row !important;
    background: var(--neutral-layer-4);
    color: var(--neutral-foreground-rest) !important;
    padding: 10px 10px;
    margin-top: 0px !important;
}

    .footer a {
        text-decoration: none;
    }

.alert {
    border: 1px dashed var(--accent-fill-rest);
    border-radius: calc(var(--control-corner-radius) * 1px);
    padding: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 5px;
    animation: fadein-b-ig2qs97tvl 1.5s;
}

.alert-info {
    border: 1px solid rgb(0 210 51);
    background-color: rgb(0 90 40);
    color: white;
}

.alert-error {
    border: 1px solid red;
    background-color: #e19793;
    color: black;
}

#blazor-error-ui {
    background: lightyellow;
    color: red;
    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;
    margin: 40px 0;
}

    #blazor-error-ui .reload {
        color: darkblue;
    }

    #blazor-error-ui .dismiss {
        color: black;
        text-decoration: none;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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");
    }

code {
    color: #c02d76;
}

.w100 {
    width: 100%;
}

.w50 {
    width: 50%;
}

.w30px {
    width: 30px;
}

.w100px {
    width: 100px;
}

.mt0 {
    margin-top: 0 !important;
}

.mt3 {
    margin-top: 3px !important;
}

.mt6 {
    margin-top: 6px !important;
}

.mt9 {
    margin-top: 9px !important;
}

.mt10 {
    margin-top: 10px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.ml3 {
    margin-left: 3px !important;
}

.ml6 {
    margin-left: 6px !important;
}

.ml10 {
    margin-left: 10px !important;
}

.ml20 {
    margin-left: 20px !important;
}

.mr3 {
    margin-right: 3px !important;
}

.mr6 {
    margin-right: 6px !important;
}

.mr10 {
    margin-right: 10px !important;
}

.mr20 {
    margin-right: 20px !important;
}

.mb3 {
    margin-bottom: 3px !important;
}

.mb6 {
    margin-bottom: 6px !important;
}

.mb9 {
    margin-bottom: 9px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.pl6 {
    padding-left: 6px !important;
}

.pl10 {
    padding-left: 10px !important;
}

.pr10 {
    padding-right: 10px !important;
}

.pt3 {
    padding-top: 3px !important;
}

.pt6 {
    padding-top: 6px !important;
}

.pt10 {
    padding-top: 10px !important;
}

.pb3 {
    padding-bottom: 3px !important;
}

.pb6 {
    padding-bottom: 6px !important;
}

.p3 {
    padding: 3px !important;
}

.p6 {
    padding: 6px !important;
}

.p10 {
    padding: 10px !important;
}

.mw30 {
    min-width: 30%;
}

.min-amount-width {
    min-width: 120px;
}

.fluent-input-label {
    margin-top: 12px;
}

.text-danger {
    color: var(--error);
}

.text-warning {
    color: var(--warning);
}

.display-col-width {
    width: 150px;
    min-width: 150px;
}

.display-row-border {
    border-bottom: 1px solid var(--neutral-stroke-divider-rest);
}

.u-line {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-head-divider {
    margin-bottom: 9px;
    border-top: calc(var(--stroke-width) * 1px) dashed var(--accent-fill-rest);
}

.hide-close-messagebar .fluent-messagebar-container-action {
    display: none !important;
}

.empty-content-cell {
    margin-top: 100px;
}

.active-button {
    border-bottom: 3px solid var(--accent-fill-active);
    font-weight: bold;
}

.card-padding fluent-skeleton:not(:first-child) {
    margin-top: 10px;
}

.card-padding fluent-skeleton:last-child {
    margin-top: 20px;
    margin-bottom: 10px;
}

.inline-icon {
    vertical-align: bottom;
}

.small-note {
    color: var(--neutral-base-color);
}

.small-label {
    font-size: smaller;
    color: var(--accent-fill-rest);
}

.flex-card-container {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.flex-card-body {
    padding: calc(var(--design-unit) * 5px);
}

.flex-card-foot {
    background-color: var(--neutral-layer-2);
    padding: 6px;
    margin-top: auto;
}

.input-group {
    margin-top: 12px;
    border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius) * 1px);
    padding: 3px 6px 12px;
    width: 100%;
}

.input-blockquote-accent {
    margin: 6px 0 6px 0;
    padding: 0 3px 0 6px;
    font-style: unset;
    width: 100%;
}

.input-blockquote-success {
    border-left: 5px solid var(--success);
    margin: 6px 0 6px 0;
    padding: 0 3px 0 6px;
    font-style: unset;
    width: 100%;
}

.input-blockquote-warning {
    border-left: 5px solid var(--warning);
    margin: 6px 0 6px 0;
    padding: 0 3px 0 6px;
    font-style: unset;
    width: 100%;
}

.search-box {
    min-width: 115px;
}

.two-line-list fluent-option {
    height: 45px;
}

.two-line-list .note-p {
    color: var(--accent-fill-rest);
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 10px;
    text-transform: uppercase;
}

.two-line-list .note-div {
    color: var(--accent-fill-rest);
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 10px;
    display: flex;
}

    .two-line-list .note-div .fixed-div {
        width: 100px;
    }

    .two-line-list .note-div .flex-div {
        flex-grow: 1;
    }

.debug {
    color: orangered;
    background-color: antiquewhite;
    font-weight: bold;
    margin: 3px;
    padding: 3px;
    border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius) * 1px);
}

.cancelled-record {
    text-decoration: line-through;
}

.flex-right {
    margin-left: auto;
}

.no-wrap {
    white-space: nowrap;
}

.no-wrap-clipped {
    overflow: clip;
    white-space: nowrap;
}

.empty-content-row {
    border-bottom: none;
}

.amount-button {
    min-width: 180px;
}

.r-align {
    text-align: right;
}

.bold {
    font-weight: bold;
}

.m-bold {
    font-weight: 500;
}

.bolder {
    font-weight: bolder;
}

.tiny {
    font-size: 8px !important;
}

.italic {
    font-style: italic;
}

.row-sep {
    border-bottom: 1px solid var(--neutral-foreground-active);
}

.display-print-only {
    display: none;
}

.corner-float {
    padding-bottom: 52px;
    padding-right: 32px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1001;
}

.b1 {
    border: 1px solid black;
}

.b2 {
    border: 2px solid black;
}

.bt1 {
    border-top: 1px solid black;
}

.bb1 {
    border-bottom: 1px solid black;
}

.bt2 {
    border-top: 2px solid black;
}

.bb2 {
    border-bottom: 2px solid black;
}

#components-reconnect-modal {
    color: black;
}

.fluent-data-grid {
    overflow: auto;
}

    .fluent-data-grid thead tr {
        white-space: nowrap;
    }

#datagrid-container {
    height: calc(100% - 3rem);
    min-height: 8rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.sl-inline-block {
    width: 21px;
    display: inline-block;
}

.italic-pre-wrap {
    font-style: italic;
    text-align: justify;
    white-space: pre-wrap;
}

.pre-wrap {
    white-space: pre-wrap;
    line-height: 1.5em !important;
}

.success-text {
    color: var(--success);
}

.fixed-width-font {
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
}

    .fixed-width-font * {
        font-family: inherit;
        font-size: inherit;
    }

.v-top {
    vertical-align: top;
}

.test-result-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .test-result-table td {
        padding-top: 3px;
        padding-bottom: 3px;
    }
