﻿.corpfleet-frame {
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
}

.corpfleet-appbar-brand-text {
    letter-spacing: .4rem;
    font-weight: 300;
    margin-left: 12px;
    font-size: 20px;
    user-select: none;
    color: var(--mud-palette-appbar-text) !important;
}

    .corpfleet-appbar-brand-text:hover {
        text-decoration:none !important;
    }

    .corpfleet-navmenu-title {
        text-transform: uppercase;
        line-height: normal;
        font-weight: 500;
        font-size: 14px;
    }


.corp-align-end {
    text-align: end;
}

.corpfleet-table .mud-table-row .mud-table-cell {
    padding: 8px;
}

    .corpfleet-table .mud-table-row .mud-table-cell:first-child {
        padding: 8px 8px 8px 16px;
    }

    .corpfleet-table .mud-table-row .mud-table-cell:last-child {
        padding: 8px 16px 8px 8px;
        text-align: end;
    }

.corpfleet-table {
    /*height: calc(100% - 52px);*/
    height: calc(100% - 0px);
}

    .corpfleet-table .mud-table-container {
        height: calc(100% - 52px);
    }


.full-table-drawer .mud-drawer-content {
    height: calc(100% - 52px);
}

.corpfleet-temp-drawer {
    position: absolute !important;
    z-index: 5 !important;
    height: 100%;
}

.corpfleet-formpanel form {
    display: flex;
    flex-direction: column;
}

.corpfleet-full-height {
    height: 100%
}

    .corpfleet-full-height .mud-tabs-panels {
        height: 100%
    }

.corpfleet-testsystem {
    width: 100%;
    height: 38px;
}

.corpfleet-textfield-noborder {
    max-width: 250px;
}

    .corpfleet-textfield-noborder > .mud-input-control {
        margin-top: 0 !important;
    }

    .corpfleet-textfield-noborder .mud-input-outlined-border {
        border: none !important;
    }

    .corpfleet-textfield-noborder .mud-input-adornment .mud-button-root {
        border-radius: 0 !important;
    }

.corpfleet-grid-container {
    display: grid;
    overflow: scroll;
}

.corpfleet-grid-item-header {
    background-color: var(--mud-palette-surface);
    grid-row: header;
    position: sticky;
    top: 0;
    color: var(--mud-palette-text-secondary);
    border-bottom: 1px solid var(--mud-palette-table-lines);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    user-select: none;
    box-shadow: rgb(0 0 0 / 5%) 0px 3px 1px -2px, rgb(0 0 0 / 5%) 0px 2px 2px 0px, rgb(0 0 0 / 3%) 0px 1px 5px 0px;
}

    .corpfleet-grid-item-header.top-left {
        color: var(--mud-palette-text-primary);
        grid-column: rowheader;
        left: 0;
        z-index: +1;
        justify-content: center;
        border-right: 1px solid var(--mud-palette-table-lines);
        border-bottom: 1px solid var(--mud-palette-table-lines);
        box-shadow: none !important;
    }

.corpfleet-grid-item-row-header {
    background-color: var(--mud-palette-surface);
    grid-column: rowheader;
    position: sticky;
    left: 0;
    border-bottom: 1px solid var(--mud-palette-table-lines);
    border-right: 1px solid var(--mud-palette-table-lines);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
    user-select: none;
    box-shadow: rgb(0 0 0 / 20%) 0px 3px 1px -2px, rgb(0 0 0 / 14%) 0px 2px 2px 0px, rgb(0 0 0 / 12%) 0px 1px 5px 0px;
}



.corpfleet-grid-grid-item {
    border-right: 1px solid var(--mud-palette-table-lines);
    border-bottom: 1px solid var(--mud-palette-table-lines);
}


.corpfleet-grid-item {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
    transition: background-color 250ms cubic-bezier(.4,0,.2,1) 0ms,box-shadow 250ms cubic-bezier(.4,0,.2,1) 0ms,border 250ms cubic-bezier(.4,0,.2,1) 0ms;
}

    .corpfleet-grid-item:hover {
        overflow: initial;
        font-weight: 500;
        cursor: pointer;
    }

    .corpfleet-grid-item:hover {
    }

.mud-popover-customer-z-index {
    z-index: calc(var(--mud-zindex-popover) + 1) !important;
}

.newly-added {
    background: unset;
    animation: freshlyadded 2.5s ease-out;
}

@keyframes freshlyadded {
    from {
        background-color: var(--mud-palette-info-lighten);
    }

    to {
        background-color: unset;
    }
}

.settings-dialog {
    height: calc(100% - 100px);
}

    .settings-dialog .outline-none {
        height: 100%
    }

        .settings-dialog .outline-none .mud-dialog-content {
            height: calc(100% - 110px);
        }

            .settings-dialog .outline-none .mud-dialog-content .mud-drop-container {
                height: 100%;
            }

                .settings-dialog .outline-none .mud-dialog-content .mud-drop-container .mud-drop-zone {
                    height: 100%;
                    overflow-y: scroll;
                }


.full-height-dialog {
    height: 100%;
}

    .full-height-dialog .outline-none {
        height: 100%
    }

        .full-height-dialog .outline-none .mud-dialog-content {
            height: 100%
        }

.full-height-dialog {
    height: 100%
}

.focus-list {
    height: calc(100% - 64px);
}

    .focus-list .outline-none {
        overflow-y: scroll;
    }

.corpfleet-dashboard-drawer-cotainter {
    height: calc(100% - 64px);
}

.corpfleet-dashboard-cotainter {
    overflow-y: auto;
    overflow-x: auto;
    height: calc(100% - 13px);
}

.corpfleet-dashboard {
    position: relative;
}

.corpfleet-dashboard-card {
    position: absolute;
    display: flex;
}

    .corpfleet-dashboard-card .mud-card {
        display: flex;
        flex-direction: column;
    }

    .corpfleet-dashboard-card .mud-card-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
    }


    .corpfleet-dashboard-card .single-number {
        font-size: 1.4em;
    }

    .corpfleet-dashboard-card-placeholder {
        position: absolute;
        border-radius: 5px;
    }

    .corpfleet-dashboard-card-placeholder .inner {
        display: flex;
        height: 100%;
    }

.corpfleet-dashboard-card-desc-active {
    background-color: var(--mud-palette-info-lighten);
    color: white;
}

.full-height-with-appbar {
    height: calc(100% - var(--mud-appbar-height));
}

.scrollable-tab-panel {
    overflow: auto;
}

.corpfleet-table-full-width {
    width:100%;
}

.corpfleet-table-cell-custom-group {
    text-align: left !important;
    font-weight: 500;
}

.corpfleet-full-width {
    width: 100%;
}

.mud-table-cell-custom-group {
    font-weight: 500;
    text-align: left !important;
}

.mud-table-cell-custom-group-footer {
    padding-bottom: 50px;
    text-align: right;
}