﻿body {
    margin: 0;
    padding: 0;
}

#dm-auth-header {
    padding: .5rem 1rem;
    margin: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#dm-auth-container {
    height: calc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#dm-auth-box {
    min-width: 320px;
    max-width: 360px;
    padding: 1.5rem 2rem;
}

.dm-auth-input {
    padding: .325rem;
}

.dm-auth-button {
    padding: .375rem .75rem;
    font-weight: bold;
}

.dm-calendar-week {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 4px;
}

.dm-calendar-day {
    min-height: 8rem;
}

.dm-column-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dm-scrollable-tabs .mud-tabs-panels {
    height: 40vh;
    overflow: auto;
}

.dm-tab-panel-height {
    height: calc(100% - 48px) !important;
    overflow-y: auto;
}

.dm-grid-icon {
    text-align: center;
    max-width: 224px !important;
}

.dm-labeled-switch .mud-input-control-input-container .mud-switch {
    margin-right: 4px !important;
}

.dm-pp-tab-panel {
    height: calc(100% - 48px);
}

.dm-small-numeric {
    max-width: 96px !important;
    flex: 0 0 auto !important;
}

.dm-nested-tab-panel {
    height: calc(100% - 48px);
    overflow-y: clip;
}

.filter-header-cell {
    text-align: center;
    /*top: 43.75px !important;*/
}

.mud-chart-line {
    overflow: visible;
}

.mud-snackbar-content-message {
    font-size: 2rem !important;
}

.mud-table-head {
    position: sticky;
    top: 0;
    z-index: 2;
}

.diagram-container {
    width: 100%;
    height: 100%;
}

@media (min-width: 960px) {
    .dm-pp-id-btn-item {
        padding-right: 12px !important;
    }

    .dm-pp-id-duedate-item, .dm-pp-radio-item {
        justify-content: center;
    }
}

@media (width: 960px) {
    .dm-pp-id-btn-item {
        padding-right: 12px !important;
    }

    .dm-pp-id-duedate-item {
        justify-content: center;
    }
}

@media (max-width: 959px) {
    .dm-pp-id-btn-item {
        padding-right: 6px !important;
    }

    .dm-pp-id-duedate-item {
        justify-content: flex-start;
    }
}