h1:focus {
    outline: none;
}
.w-100 {
    width: 100%;
}
.h-100 {
    height: 100%;
}
.text-red {
    color: red
}
.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 {
    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 - 148px);
    scroll-behavior: smooth;
}

.todo-grid .mud-table-container {
    height: calc(100svh - 148px);
}

.article-grid .mud-table-container {
    height: calc(100svh - 148px);
}

.admin-article-grid .mud-table-container {
    height: calc(100svh - 98px);
}

.admin-article-grid .large-header {
    height: 100px !important;
}

@media only screen and (min-width: 600px) {
    .toolbar-button {
        height: 36px;
        margin-top: 6px !important;
    }
}

@media only screen and (max-width: 600px) {
    .toolbar-button {        
        margin-top: 8px !important;
    }
    .todo-grid .mud-table-container {
        height: calc(100svh -259px);
    }
    .timeline-container {
        height: calc(100svh - 204px);
    }
    .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;
    }
}

@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;
}