﻿.mud-main-content {
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 24px;
}

.mud-collapse-entering, .mud-collapse-exiting {
    > .mud-collapse-wrapper {
        overflow: hidden;
    }
}

.mud-list {
    overflow-y: auto;
}

.mud-icon-button:focus-within, .mud-icon-button:active {
    background-color: var(--mud-palette-transparent);
}

.mud-list-item-text {
    color: var(--mud-palette-text-primary);
}

.mud-list-item-text, .mud-list-item-text > * {
    font-size: var(--mud-typography-subtitle1-size);
}

.mud-list-item:hover {
    background-color: var(--mud-palette-transparent);
    color: var(--mud-palette-primary-text);
}
    .mud-list-item:hover > *:first-child * {
        background-color: var(--mud-palette-transparent);
        color: var(--mud-palette-primary-text);
    }

/* field upper label when focused*/
.mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol {
    color: var(--mud-palette-text-primary) !important;
}
/* Override navigator autofill default background color */
input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}


/* ICON BUTTON */
.mud-icon-button {
    padding: 2px !important;
    border-radius: 50% !important;
}

/* grid cells */
.mud-table-cell {
    display: table-cell;
    padding: 16px;
    font-size: .72rem !important;
    text-align: start;
    font-weight: 400;
    line-height: 1.43;
    border-bottom: 1px solid var(--mud-palette-table-lines);
    letter-spacing: .01071em;
    vertical-align: inherit;
}

/* round all popover */
.mud-popover {
    border-radius: var(--mud-default-borderradius) !important;
}

.mud-expand-panel .mud-expand-panel-header {
    width: 100%;
    /*max-height: 0px !important;*/
    min-height: 45px !important;
    align-items: center;
    display: flex;
    font-size: .9375rem;
    line-height: 1;
    min-height: 54px !important;
    outline: none;
    padding: 10px 0px;
    position: relative;
    transition: min-height .3s cubic-bezier(0.25, 0.8, 0.5, 1);
    user-select: none;
}

.mud-expand-panel.mud-panel-expanded {
    margin-top: 0px;
}

.mud-expand-panel.mud-panel-next-expanded {
    margin-bottom: 16px;
}

.panel-header-info .mud-input > input.mud-input-root {
    left: 0px !important;
}

.panel-header-info .mud-input.mud-input-underline.mud-disabled:before {
    border-bottom-style: dotted;
    border: none !important;
    left: 0px !important;
}

.mud-input-control-helper-container {
    justify-items: flex-end;
    margin-right: 15px;
    max-height: 25px;
    margin-top: -25px;
}

    .mud-input-control-helper-container > *:first-child * {
        background-color: transparent !important;
        padding: 5px !important;
        border-radius: var(--mud-default-borderradius) !important;
        font-size: 0.7rem !important;
    }


/* remove ripple from mudx chat control*/
.mudx-chat-bubble.mudx-chat-bubble-clickable {
    transition: none !important;
    --mud-ripple-color: transparent !important;
    --mud-ripple-opacity: transparent !important;
}

.mudx-chat-bubble.mudx-chat-bubble-clickable:hover {
    box-shadow: none;
    background-color: transparent;
}

/* Fix dragged items rendering during dragging, cf https://github.com/MudBlazor/MudBlazor/discussions/4696 */
.mud-drop-item {
    touch-action: none;
    transform: translate3d(0px, 0px, 0px);
}

.mud-input-control.mud-input-outlined-with-label {
    margin-bottom: 6px;
}

.mud-simple-table.mud-table-dense * tr td, .mud-simple-table.mud-table-dense * tr th {
    padding-top: 6px;
    padding-bottom: 4px;
}

.mud-simple-table.mud-table-dense > * .mud-input-control {
    margin-top: 2px;
    margin-bottom: 0px;
}

.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 {
    padding-top: 10.5px;
    padding-bottom: 6.5px;
}

.mud-simple-table table * tr.bigger-border > td, .mud-simple-table table * tr.bigger-border th {
    border-bottom: 1px solid var(--mud-palette-lines-inputs);
}
