﻿:root {
    --mud-palette-warning: #EAB308 !important;
}

@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;
}

.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;
}

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

.hive-theme-light .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);
}

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

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

.hive-theme-light .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;
}

@media (hover: hover) and (pointer: fine) {
    .hive-theme-light .input-readonly .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
        border: 1px solid rgba(140, 140, 140, 0.2);
    }
}

.input-readonly {
    opacity: 0.7;
}

    .input-readonly p {
        opacity: 0.65;
    }

.hive-theme-dark .input-readonly .mud-input.mud-input-outlined .mud-input-slot {
    background-color: #141414;
    opacity: 1;
}

.hive-theme-dark .input-readonly .mud-input-label {
    background: transparent;
    transform: translate(14px, -6px) scale(0.75);
    max-width: calc(100% - 14px);
}

.hive-theme-dark .input-readonly .mud-input.mud-input-outlined .mud-input-outlined-border {
    border: 1px solid #424242;
}

.hive-theme-dark .input-readonly .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    background-color: #141414;
    border-radius: 4px;
}

.hive-theme-dark .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;
    color: rgb(100 100 100);
}

@media (hover: hover) and (pointer: fine) {
    .hive-theme-dark .input-readonly .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
        border-color: #424242;
    }
}


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

.hive-theme-light pre {
    color: rgb(0 0 0 / 74%);
}

.hive-theme-dark pre {
    color: rgb(255 255 255 / 74%);
}

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

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


.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;
    }

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

.hive-theme-dark .hive-footer {
    background-color: var(--mud-palette-appbar-background) !important;
}

    .hive-theme-dark .hive-footer p {
        color: var(--mud-palette-appbar-text) !important;
    }

.mud-table-cell {
    padding: 10px 12px 10px 12px;
}

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

.mud-table-row .mud-toolbar {
    min-height: 22px;
}

.hive-theme-dark header .mud-toolbar-appbar .navbar-nav .nav-link {
    color: #121212;
}

.hive-theme-dark header .mud-toolbar-appbar .navbar-nav .dropdown-menu {
    background-color: var(--mud-palette-background);
}

.hive-theme-dark header .mud-toolbar-appbar .navbar-nav .dropdown-item {
    color: var(--mud-palette-appbar-text)
}

.hive-theme-dark .dropdown-item:hover, .hive-theme-dark .dropdown-item:focus {
    text-decoration: none;
    background-color: var(--mud-palette-surface);
}

.hive-theme-dark .home-card {
    background-color: #242424;
    border: 1px solid #5C5C5C;
}

.hive-theme-dark .home-card-parent-title {
    color: #ffffff80;
}

.hive-theme-light .home-card-parent-title {
    color: var(--mud-palette-dark) !important;
}

.hive-theme-dark .mud-table-head {
    background-color: #292929;
}

    .hive-theme-dark .mud-table-head .mud-table-cell {
        color: white;
    }

.hive-theme-dark .mud-input-outlined {
    background-color: #292929;
}

.hive-theme-dark .mud-input-outlined {
    background-color: #292929;
}

.mud-dialog .hive-page-container-toolbar {
    padding-right: 55px;
}

.very-small-checkbox p {
    line-height: 12px;
    font-size: 10px;
    font-weight: 600;
}

.very-small-checkbox span {
    padding: 2px;
}

.very-small-checkbox label {
    margin-bottom: 0;
    text-align: center;
}

.very-small-checkbox {
    margin-left: -7px !important;
}

.autocomplete-with-side-checkbox fieldset {
    width: calc(100% + 61px) !important;
    max-width: calc(100% + 61px) !important;
}

.hive-theme-light .mud-input-helper-text {
    color: rgba(0, 0, 0, 0.55);
}

.hive-theme-dark .mud-input-helper-text {
    color: rgba(255, 255, 255, 0.55);
}

.table-compact .mud-table-cell {
    font-size: .78rem;
    line-height: 0.8rem !important;
    /*    padding: 1px 5px 1px 5px;*/
}

.mud-container--gutters {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

@media (min-width: 600px) {
    .mud-container--gutters {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

@media (min-width: 1500px) {
    .mud-container--gutters {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.mud-main-content {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

@media (min-width: 1280px) {
    .mud-main-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

.error-input-helper-text .mud-input-helper-text {
    color: var(--mud-palette-error);
    font-size: 0.6rem;
}

.error-input-helper-text .mud-input-control-helper-container {
    position: absolute;
    bottom: -15px;
}


.smooth-item {
    transition: all 0.3s ease-in-out;
}

.shrink {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.full {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.badge-entity-code .mud-badge {
    inset: auto auto calc(100% - 10px) auto !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell {
    padding: 4px 24px 4px 16px;
    padding-inline-start: 16px;
    padding-inline-end: 24px;
}

.json-viewer {
    background: rgba(0,0,0,0.035);
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre;
}

.json-key {
    color: var(--mud-palette-info);
}

.json-string {
    color: var(--mud-palette-success);
}

.json-number {
    color: var(--mud-palette-warning);
}

.json-bool {
    color: var(--mud-palette-secondary);
}

.json-null {
    color: var(--mud-palette-error);
}

.hide-filter .hive-app-filter {
    display: none !important;
}