﻿

@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_Bd.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

/*  Bold Italic */
@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_BdIt.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
}

/*  Condensed Black */
@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_CdBlk.woff2") format("woff2");
    font-weight: 800;
    font-stretch: condensed;
    font-style: normal;
}

/*  Condensed Light */
@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_CdLt.woff2") format("woff2");
    font-weight: 200;
    font-stretch: condensed;
    font-style: normal;
}

/*  Italic */
@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_It.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
}

/*  Light */
@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_Lt.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
}

/*  Light italic */
@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_LtIt.woff2") format("woff2");
    font-weight: 100;
    font-style: italic;
}

/*  Regular */
@font-face {
    font-family: "Delivery";
    font-display: block;
    src: url("../fonts/Delivery_W_Rg.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

.mud-toolbar {
    gap: 10px;
    height: unset !important;
    min-height: var(--mud-internal-toolbar-height);
}

.mud-table-head {
    background-color: #F2F2F2;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: Delivery, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgb(0, 0, 0);
    font-synthesis: none;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    min-height: -webkit-fill-available;
}

.primary-divider {
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 16px;
    margin-bottom: 8px;
    content: "";
    background-color: rgb(212, 5, 17);
}

.mud-table-container {
    margin-top: 15px;
}

.mud-table-root .mud-table-head .mud-table-cell {
    font-weight: 600;
    color: #333333;
}

.mud-menu .mud-button {
    font-weight: 400;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    color: var(--mud-palette-text-primary);
}

.mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row:hover {
    cursor: pointer;
}

.mud-alert-filled-info,
.mud-alert-filled-warning,
.mud-alert-filled-secondary,
.mud-chip-filled.mud-chip-color-info,
.mud-chip-filled.mud-chip-color-warning,
.mud-chip-filled.mud-chip-color-secondary,
.mud-button-filled.mud-button-filled-info,
.mud-button-filled.mud-button-filled-warning,
.mud-button-filled.mud-button-filled-secondary {
    color: var(--mud-palette-text-primary);
}


.loading-overlay .mud-overlay-scrim.mud-overlay-dark {
    background-color: rgba(33,33,33,0.2);
}

/* Loading */
.loading-circle-indicator {
    box-sizing: border-box;
    display: flex;
    height: 48px;
    justify-content: center;
    position: relative;
    width: 48px;
    color: #D40511;
}


.loading-circle-indicator::after {
    border-color: #D40511;
    border-left-color: transparent;
    border-right-color: transparent;
}

.loading-circle-indicator::after {
    animation: loading-circle-animation 1000ms linear infinite;
}

.loading-circle-indicator::before, .loading-circle-indicator::after {
    border-radius: 50%;
    border-style: solid;
    border-width: 4px;
    box-sizing: border-box;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.loading-circle-indicator::before {
    border-color: rgba(0, 0, 0, 0.1);
}

.loading-circle-indicator::before, .loading-circle-indicator::after {
    border-radius: 50%;
    border-style: solid;
    border-width: 4px;
    box-sizing: border-box;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}


.loading-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 500px;
    z-index: 10010;
}

@-webkit-keyframes loading-circle-animation {
    100% {
        transform: rotate(360deg);
    }
}

/*!sc*/
@keyframes loading-circle-animation {
    100% {
        transform: rotate(360deg);
    }
}

.easyinventory-footer > .mud-toolbar-appbar {
    min-height: 30px;
    height: 30px !important;
}

.input-readonly .mud-input.mud-input-outlined .mud-input-slot {
    background-color: #eef1f5;
    opacity: 1;
}

.input-readonly .mud-input-label {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 49%, rgba(238, 241, 245, 1) 50%);
    transform: translate(14px, -6px) scale(0.75);
    max-width: calc(100% - 14px);
}

.input-readonly .mud-input.mud-input-outlined .mud-input-outlined-border {
    border: 1px solid rgba(140, 140, 140, 0.2);
}

.input-readonly .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    background-color: rgb(255 255 255 / 50%);
    border-radius: 4px;
}

.input-readonly .mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense, div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense {
    cursor: default;
}


.faded-text {
    line-break: anywhere;
    height: 4.5em;
    line-height: 1.5em;
    overflow: hidden;
    position: relative;
}

.faded-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5em;
    background: linear-gradient(to bottom, transparent, white);
}


.table-no-select-row tr td:first-child {
    display: none;
}

.table-no-select-row tr th:first-child {
    display: none;
}

.date-field-grid .column-header {
    width: 175px;
}

.small-field-grid .column-header {
    width: 90px;
}

.large-field-grid .column-header {
    width: 220px;
}

.md-field-grid .column-header {
    width: 175px;
}

.numeric-field-grid .column-header {
    min-width: 90px;
}

@media (min-width: 1280px) {
    .hub .mud-grid-item-lg-4 {
        flex-grow: 0;
        max-width: 440px !important;
        flex-basis: calc(100% / 12* 4);
    }
}

@media (min-width: 1280px) {
    .hub .mud-grid-item-lg-8 {
        flex-grow: 0;
        max-width: calc(100% - 450px) !important;
        flex-basis: calc(100% / 12* 8);
    }
}

@media (min-width: 1280px) {
    .hub .mud-grid-item-lg-8 {
        flex-grow: 0;
        max-width: calc(100% - 450px) !important;
        flex-basis: calc(100% / 12* 8);
    }
}

@media (min-width: 1280px) {
    .hub .mud-grid-item-lg-4 {
        flex-grow: 0;
        max-width: 440px !important;
        flex-basis: calc(100% / 12* 4);
    }
}

.left-40 {
    left: 40px !important;
}

.left-40 > svg {
    font-size: 18px !important;
}

.mud-popover {
    z-index: 9999 !important;
}

.mud-menu-full-button button {
    width: 100%
}

.mud-menu-full-button {
    width: 100%
}

.mud-dialog.mud-dialog-width-full .mud-paper-outlined {
    border: unset;
}

.mud-dialog.mud-dialog-width-full .mud-dialog-title {
    padding: 10px 24px;
}

.home-card {
    padding: 20px 10px;
    position: relative;
}

.home-card:hover {
    transform: scale(1.02);
    cursor: pointer;
    border-color: #d4051173;
    color: #d40511;
}

.home-card b {
    font-weight: 600;
}
