h1:focus {
    outline: none;
}
.w-100 {
    width: 100%;
}
.h-100 {
    height: 100%;
}
.text-red {
    color: red
}
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.bluelink {
    color: #0000ff !important;
    cursor: pointer;
}
.unselectable {
    user-select: none;
    -webkit-user-drag: none;
}
.popover-width {
    width: auto !important;
    max-width: initial !important;
}

.status-buttons button:not(.mud-button-filled) {
    background-color: #fff;
}
.mud-default-text .mud-switch-button .mud-switch-thumb-medium {
    background-color: #ccc;
}
.drawer-footer {
    /*background-color: #ddd;*/
    height: 60px;
    line-height: 60px;
}

    .drawer-footer .mud-checkbox {
        /*color: rgb(48, 78, 69);*/
    }

.mud-input-control.extra-dense .mud-select-input {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.mud-input-control.extra-dense input[type=text]{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.mud-table.extra-dense * .mud-table-row .mud-table-cell:not(.mud-table-cell-hide) {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.input-estimation .mud-input-slot {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.input-estimation .mud-select {
    justify-content: end;
    width: 80px;
}

.mud-input-outlined {
    background-color: #ffffff;
    border-radius: var(--mud-default-borderradius);
}

.mud-input-label {
    /*background-color: #fff !important;*/
}


.timeline-container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    overflow-y: auto;
    height: calc(100svh - 180px);
    scroll-behavior: smooth;
}

.mud-data-grid.expand-hidden button.mud-table-row-expander {
    display: none !important;
}

.todo-grid .mud-table-container {
    height: calc(100svh - 148px);
}

.article-grid .mud-table-container {
    height: calc(100svh - 148px);
    
}

    .article-grid .mud-table-container tr {
        pointer-events: none;
    }

    .article-grid .mud-table-container td button {
        pointer-events: auto;
    }

.admin-article-grid .mud-table-container {
    height: calc(100svh - 108px);
}

.admin-article-grid .large-header {
    height: 100px !important;
}

.admin-user-grid .mud-table-container {
    height: calc(100svh - 168px);
}

@media only screen and (min-width: 600px) {
    .toolbar-button {
        height: 36px;
        margin-top: 6px !important;
    }
}
    
@media only screen and (max-width: 960px) {
    .mud-sm-table .mud-table-cell.mud-table-cell-hide {
        padding: 0 !important;
    }
}

@media only screen and (max-width: 600px) {
    .xs-no-background {
        background-color: transparent !important;
    }
    .xs-no-outline {
        outline: none !important;
        border: none !important;
    }
    .mud-xs-table .mud-table-cell.mud-table-cell-hide {
        padding: 0 !important;
        display: none !important;
    }
    .mud-sm-table .mud-table-cell.mud-table-cell-hide {
        padding: 0 !important;
    }
    .mud-xs-table .mud-table-row .mud-table-cell.mud-table-cell-hide:last-child {
        border-bottom: none !important;
    }
    .admin-article-grid .large-header {
        height: 0px !important;
    }
    .toolbar-button {        
        margin-top: 8px !important;
    }
    .todo-grid .mud-table-container {
        height: calc(100svh - 259px);
    }
    .timeline-container {
        height: calc(100svh - 234px);
    }
    .mud-table-container .mud-table-cell {
        justify-content: start !important;
        padding: 6px 2px !important;
    }
    .mud-table-container .mud-table-cell:before {
        padding: 0px !important;
        padding-inline: 0px !important;
    }
    .mud-xs-table .mud-table-cell-hide {
        padding: 0 !important;
    }
}

    .timeline-container .timeline-content {
        display: flex;        
        flex-direction: column;
        flex-grow: 1;        
    }

.selectable {
    cursor: pointer;
    user-select: none;
}
    .selectable.selected-row {
        background-color: rgba(54,86,45,1) !important;        
    }

        .selectable.selected-row td {
            color: #ffffff !important;
        }

@media only screen and (min-width: 960px) {

    .article-grid {
        margin-left: 300px !important;
        width: calc(100% - 300px) !important;
    }

        .article-grid td:not(.mud-datagrid-group) {
            height: 93px;
        }
}

@media (max-width: 960px) {
    .mud-drawer.mud-drawer-temporary.mud-drawer-pos-right.mud-drawer--open {
        /*width: 100% !important;*/
        width: 100% !important;
    }
    .mud-table .mud-table-pagination .mud-table-pagination-toolbar {
        padding-top: 0px !important;
        min-height: 50px !important;
    }    
}

.mud-table-pagination-spacer {
    flex: 0 0 0% !important;
}

.small-gutter td,
.small-gutter th {
    padding: 4px !important;
    padding-inline-end: 6px !important;
    padding-inline-start: 6px !important;
}

.small-gutter .mud-table-cell:before {
    padding-inline-end: 6px !important;
    padding-inline-start: 6px !important;
}