@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Oswald', sans-serif;
    min-height: 100vh;
    width: 100%;
    background-color: #333333;
    color: #ffffff;
}

h1:focus {
    outline: none;
}

a, .btn-link .nav-link {
    color: #11C1FF;
}

#app {
    height: 100vh;
    width: 100%;
}

.bg-dark {
    background-color:black;
}

.btn-primary {
    color: #fff;
    background-color: #CC0C2f;
    border-color: #CC0C2f;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .barcode-btn-container:focus {
    box-shadow: 0 0 0 0.1rem white;
}

.content {
    padding-top: 1.1rem;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MS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yA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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");
    }


.touch-button {
    height: 40px;
    width: 115px;
}

.form-error {
    border: 2px solid red;
}

.main-logo {
    height: 551px;
    width: 551px;
    object-fit: contain;
}

/* remove the DetailTemplate container padding */
.receive-grid td.k-table-td.k-detail-cell {
    padding: 0 !important;
}

/* remove the vertical Grid scrollbars */
.receive-grid .k-grid-content {
    overflow-y: scroll !important;
}
.receive-grid .k-grid-header-wrap {
    padding-right: 15px; /*account for scrollbar*/
}

.receivesearch-grid .k-grid-content {
    overflow-y: scroll !important; 
}
.receivesearch-grid .k-grid-header-wrap {
    padding-right: 15px; /*account for scrollbar*/
}


/*apply border-bottom to last row*/
.receivesearch-grid .k-grid-table {
    border-bottom-width: 1px !important;
    border-color: var(--kendo-color-border, rgba(0, 0, 0, 0.08)) !important;
}

/* remove the empty space above the vertical Grid scrollbar */
.receive-grid .k-grid-header {
    padding-inline-end: 0 !important;
}

/* remove the detail Grid right border */
.receive-grid .k-grid {
    border-right-width: 0 !important;
}

.receive-grid, .receivesearch-grid {
    font-size: small !important;
    height: calc(100vh - 320px);
}

    .receive-grid th {
        font-weight: bold !important;
        /*font-size: small;*/
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        vertical-align: middle !important;
    }

        .receive-grid th.center-no-wrap {
            font-weight: bold !important;
            /*font-size: small;*/
            justify-content: center !important;
            text-align: center !important;
            white-space: normal !important;
            vertical-align: middle !important;
        }

    .receive-grid .k-table-td {
        padding-inline: 4px !important;
    }

    .receive-grid .k-hierarchy-cell .k-svg-icon.k-svg-i-minus svg path {
        d: path("M256 352 128 160h256L256 352z");
    }

    .receive-grid .k-hierarchy-cell .k-svg-icon.k-svg-i-plus svg path {
        d: path("M352 256 160 384V128l192 128z");
    }

/* grid */
.k-grid.receive-grid,
/* grid toolbar */
.k-grid.receive-grid .k-toolbar,
/* grid cells */
.k-grid.receive-grid table,
/* textboxes */
.k-grid.receive-grid .k-input,
/* date pickers */
.k-grid.receive-grid .k-picker,
/* buttons */
.k-grid.receive-grid .k-button,
.k-grid.receive-grid .k-button-text,
/* column and filter menu */
.k-popup,
.k-popup .k-input,
.k-popup .k-picker,
.k-popup .k-button,
/*column menu dropdowns */
.k-columnmenu-item {
    font-size: small !important;
}

.k-grid-header, .k-grid-footer {
    padding-inline-end: 0px !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
/*.k-grid-content::-webkit-scrollbar {
    display: none;
}*/

.k-grid .k-grid-header .k-table-th {
    padding: 7px 0px;
}

/* Hide scrollbar for IE, Edge and Firefox */
/*.k-grid-content {
    -ms-overflow-style: none;*/ /* IE and Edge */
    /*scrollbar-width: none;*/ /* Firefox */
/*}*/

.fixed-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}

.align-content-middle {
    display: flex;
    align-items: center;
}


.location-form.k-form .k-form-buttons {
    justify-content: center;
}

.hex-image-background {
    width: 100vw;
    height: 100%;
    background-image: url(../images/background.png);
    background-size: cover;
}

button.fast-track-red, .btn-fast-track-red {
    background-color: #CC0C2F;
    color: white;
}

button.fast-track-teal, .btn-fast-track-teal {
    background-color: #11c1ff;
    color: white;
}
button.fast-track-orange, .btn-fast-track-orange {
    background-color: #FF9933;
    color: white;
}

.color-teal {
    color: #11c1ff;
}

.row {
    --bs-gutter-x: 0; 
}

.btn-outline-fast-track-teal {
    color: #11c1ff;
    border-color: #11c1ff
}

    .btn-outline-fast-track-teal:hover {
        color: white;
        background-color: #11c1ff;
    }

.btn-outline-primary {
    color: #11c1ff;
    border-color: #11c1ff;
}

    .btn-outline-primary:hover {
        color: white;
        background-color: #11c1ff;
        border-color: #11c1ff;
    }

.text-red, .color-red, .text-danger {
    color: #CC0C2F !important;
}

.btn-danger {
    background-color: #CC0C2F;
    border-color: #CC0C2F;
}

.btn-outline-danger {
    color: #CC0C2F;
    border-color: #CC0C2F;
}

.transaction-modal-grid {
    min-height: 400px;
}

.custom-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

    .custom-ellipsis:hover {
        color: #11c1ff !important;
    }

input.no-arrows::-webkit-outer-spin-button,
input.no-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qr-barcode-with-text svg {
    border-radius: 0rem .25rem .25rem 0rem !important;
}

.global-actions {
    position: absolute;
    top: 5px;
    left:5px;
    z-index: 1010;
}

.page-header {
    padding-left: 100px;
    line-height: 100px;
}

.filter-fixed-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.modal-lg, .modal-xl {
    max-width: calc(100% - 3.5rem);
}

.barcode-btn-container {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    padding: unset;
    border-radius: .25rem !important;
}

.barcode-btn-centertext {
    flex-grow: 1;
    text-align: center;
}


.disabled-div {
    pointer-events: none; /* Prevents mouse interaction */
    opacity: .65; /* Visual cue */
    cursor: not-allowed;
}

.form-control:disabled {
    background-color: #96989a !important;
}

.row-images {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1rem;
    margin-top: 1rem; 
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}