﻿:root {
    --loading-grey: #ededed;
}

html {
    font-size: 0.95em;
}

.search-bar .mud-input {
    height: 40px;
}

.search-bar.mud-input-control {
    background-color: rgba(255, 255, 255, .15);
    margin-bottom: 6px;
    height: 40px;
    border-radius: var(--mud-default-borderradius);
}

.search-bar.mud-input-control .mud-input-root,
.search-bar.mud-input-control .mud-icon-default {
    color: #fafafa;
}

.search-bar .mud-input.mud-input-outlined .mud-input-outlined-border {
    border: none;
    border-radius: var(--mud-default-borderradius);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--mud-palette-text-primary);
}

.card-title-left {
    margin-top: 12px;
}

.card-item {
    transition: transform .1s;
}

.card-item:hover {
    box-shadow: 0px 2px 4px -1px rgba(89, 74, 226, 0.2), 0px 4px 5px 0px rgba(89, 74, 226, 0.14), 0px 1px 10px 0px rgba(89, 74, 226, 0.12);
}

.card-item-title {
    min-height: 90px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.card-content {
    min-height: 270px;
    display: flex;
    align-content: space-between;
    flex-direction: column;
    justify-content: space-between;
}

.card-content-customer {
    min-height: 330px;
}

.card-content-customer-template {
    min-height: 360px;
}

.card-item-image {
    max-height: 150px;
    max-width: 100%;
}

.main-page-paper {
    border: none;
    background: none;
}

@media (min-width: 600px) {
    .grid-actions {
        margin-top: -45px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .grid-actions {
        display: flex;
        justify-content: end;
        align-items: center;
    }
}

.font-Bold {
    font-weight: bold;
}

.notification-field {
    font-weight: bold;
}

.item-header-paper {
    min-height: 200px;
}

.marker-label {
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    background: white;
    margin-left: 15px;
    padding: 5px;
    border-radius: 2px;
}

.vrs-serial-help {
    margin-top: -22px;
    display: flex;
    align-items: end;
    justify-content: flex-end;
}

.card-content-title {
    padding: 0 !important;
}

.expansion-panel-title .mud-expand-panel-header {
    padding: 8px 12px;
}

.expansion-panel-title .mud-expand-panel-content {
    padding-left: 12px;
    padding-right: 12px;
}

.tabsForm {
    display: flex;
    align-items: baseline;
    width: 100%;
}

.hidden {
    display: none;
}

.text-to-uppercase {
    text-transform: uppercase !important;
}

.previousAggregateCard {
    background-color: #d5d5d5;
}

.card-context-size-overflow {
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: 80vh;
}

.card-content-size-overflow {
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: 75vh;
    min-height: 40vh;
}

@media (max-width: 960px) {
    .template-content-column {
    }
}

@media (min-width: 960px) {
    .template-content-column {
        overflow-y: auto;
        overscroll-behavior: contain;
        max-height: 82vh;
    }
}

.xs-card-content-size-overflow {
    min-height: 10vh;
}

.sm-card-content-size-overflow {
    min-height: 25vh;
}

.xxl-card-content-size-overflow {
    min-height: 70vh;
}

.nomin-card-content-size-overflow {
    min-height: auto;
}

.switch-no-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 400px) {
    .basic-udi-search-main-card {
        width: auto !important;
        max-height: 500px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 800px) {
    .basic-udi-search-main-card {
        width: 500px !important;
        max-height: 500px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 960px) {
    .basic-udi-search-main-card {
        width: 800px !important;
        height: 400px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 1920px) {
    .basic-udi-search-main-card {
        width: 1300px !important;
        height: 800px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

.mudtextfield-no-label {
    margin-top: -15px;
}

.bottom-padding {
    padding-bottom: 10px;
}


.loading-skeleton {
    background: linear-gradient(
            100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, .8) 50%,
            rgba(255, 255, 255, 0) 60%
    ) var(--loading-grey);
    background-color: var(--loading-grey);
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1.5s loading-skeleton ease-in-out infinite;
}

@keyframes loading-skeleton {
    to {
        background-position-x: -20%;
    }
}

.deactivated-item, .deactivated-item:hover, .deactivated-item:focus, .mud-nav-link:hover.deactivated-item:hover, .mud-nav-link.deactivated-item:focus, .mud-nav-item.deactivated-item:hover, .mud-nav-item.deactivated-item:focus, .mud-nav-group.deactivated-item, .mud-nav-group:hover.deactivated-item:hover, .mud-nav-group:focus.deactivated-item:focus, .deactivated-item > .mud-nav-link:hover, .deactivated-item > .mud-nav-link{
    background-color: #f8f8f8 !important;
    color: #cbcbcb !important;
    font-style: italic;
    border: none;
    cursor: default;
}

span.deactivated-item {
    margin-left: 12px;
}

.deactivated-item-color {
    color: #cbcbcb !important;
}