@import url('../externals/fontawesome/css/all.min.css');
@import url('../externals/MudBlazor/MudBlazor.min.css');
@import url('custom.css');

html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    background-color: currentColor;
    -webkit-mask-image: url('../images/Logo.svg');
    mask-image: url('../images/Logo.svg');
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 130px;
    height: 34px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}


@media (max-width: 1320px) {


    app .collapse-toggle .header-left-side .header-logo {
        display: flex !important
    }

    app .sidebar {
        display: none !important;
    }

    app .collapse-toggle .sidebar {
        display: flex !important;
    }

    app .header-left-side .header-logo {
        display: none !important;
    }

    app .header-left-side {
        min-width: fit-content !important;
        max-width: fit-content !important;
    }
}

.photo-preview-popup {
    min-width: fit-content;
    min-height: fit-content;
}

.photo-preview-popup-content {
    min-width: 150px;
    min-height: 225px;
    max-width: 675px;
    max-height: 880px;
    object-fit: contain;
}

.photo-preview-cell {
    width: 95px;
    height: 120px;
    border-radius: 2px;
    object-fit: cover;
    cursor: pointer;
}

    .photo-preview-cell:hover {
        border: 2px solid var(--bs-primary);
    }

.hide-detail-button .dxbs-grid-expand-button-cell button {
    visibility: hidden;
}