table.list {
    background: var(--color-lightest);
    width: 100%;
    max-width: 100%;
}

    table.list.no-background {
        background: none;
    }

    table.list thead {
        background: none;
    }

        table.list thead th {
            padding: 15px;
            text-align: left;
            font-size: .9rem;
            line-height: .9rem;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 65px;
            background: var(--color-lightest);
        }

            table.list thead th a {
                color: var(--text-color);
            }

                table.list thead th a.sort::before {
                    font-family: var(--font-icon);
                    font-weight: 300;
                    content: "\f15d";
                    margin-right: 5px;
                }

                table.list thead th a.sort.desc::before {
                    content: "\f881";
                }

        table.list thead.not-sticky th {
            position: static;
            top: auto;
        }

    table.list.stat thead,
    table.list.compact thead {
        background: none;
    }

        table.list.stat thead th,
        table.list.comptact thead th {
            padding: 0;
            color: var(--sub-text-color);
            font-weight: 400;
        }

    table.list tfoot tr td {
        padding: 15px;
        font-weight: 800;
    }

    table.list.stat tbody td a {
        color: var(--text-color);
    }

        table.list.stat tbody td a i {
            font-size: .75rem;
            line-height: .75rem;
            margin-left: 10px;
            color: var(--sub-text-color);
        }

    table.list .check-box {
        width: 15px;
        max-width: 25px;
    }

    table.list .position {
        width: 15px;
        max-width: 15px;
    }

    table.list .position-col {
        width: 40px;
        max-width: 40px;
        white-space: nowrap;
    }

    table.list .sort-bars {
        width: 15px;
        max-width: 15px;
        cursor: pointer;
    }

    table.list tr.draggable .sort-bars {
        cursor: grab;
        color: var(--sub-text-color);
    }

    table.list tr.draggable .sort-bars:hover {
        color: var(--text-color);
    }

    table.list tr.draggable.dragging .sort-bars {
        cursor: grabbing;
    }

    /* Row being dragged */
    table.list tbody tr.dragging {
        opacity: .55;
        background: var(--border-lightest-color);
        outline: 1px dashed var(--border-color);
    }

    /* Drop-target indicators shown while dragging over a row */
    table.list tbody tr.drop-above td {
        box-shadow: inset 0 2px 0 0 var(--primary-color);
    }

    table.list tbody tr.drop-below td {
        box-shadow: inset 0 -2px 0 0 var(--primary-color);
    }

    /* While a drag is in progress, show the move cursor across the list */
    table.list.is-reordering,
    table.list.is-reordering tbody tr {
        cursor: grabbing;
    }

    table.list.is-reordering tbody tr:hover {
        background: transparent;
    }

    table.list tbody tr:hover {
        background: var(--border-lightest-color);
    }

    table.list tbody td {
        padding: 15px;
        border-bottom: 1px solid var(--border-light-color);
        word-wrap: break-word;
        white-space: normal;
        font-size: .9rem;
        line-height: .9rem;
    }

    table.list tbody tr:last-child td {
        border: none;
    }

    table.list.stat tbody td,
    table.list.compact tbody td {
        padding: 10px 0;
        border-top: 1px solid var(--border-light-color);
        border-bottom: none;
        overflow: visible;
    }

    table.list tbody td.small {
        font-size: .75rem;
    }

    table.list tbody td.action {
        text-align: right;
    }

        table.list tbody td.action a {
            margin-left: 5px;
        }

/* Row action kebab menu. Renders only when a row has two or more actions; a single
   action keeps the legacy inline button markup and needs none of this. */
.row-actions {
    position: relative;
    display: inline-block;
    text-align: left;
}

    .row-actions .row-actions-toggle {
        padding: .8rem 1rem;
        line-height: 1;
        cursor: pointer;
    }

        .row-actions .row-actions-toggle i {
            margin: 0;
        }

.row-actions-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 100;
    min-width: 180px;
    padding: 4px 0;
    background-color: var(--color-lightest);
    border: 1px solid var(--color-lighter);
    box-shadow: var(--shadow-near);
    white-space: nowrap;
    border-radius: var(--card-radius);
}

table.list tbody td.action .row-actions-menu a,
.row-actions-menu .row-actions-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: .7rem 1.1rem;
    border: none;
    background: none;
    font: var(--text-font);
    color: var(--text-color);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

    table.list tbody td.action .row-actions-menu a:hover,
    .row-actions-menu .row-actions-item:hover {
        background-color: var(--color-4);
    }

    .row-actions-menu .row-actions-item i {
        width: 1.1rem;
        margin-right: .6rem;
        text-align: center;
    }

    .row-actions-menu .row-actions-item:disabled {
        opacity: .5;
        cursor: default;
    }

        .row-actions-menu .row-actions-item:disabled:hover {
            background-color: transparent;
        }

table.list tbody td.action .row-actions-menu a.row-actions-item-danger,
.row-actions-menu .row-actions-item-danger {
    color: var(--color-error);
}

    table.list tbody td.action .row-actions-menu a.row-actions-item-danger:hover,
    .row-actions-menu .row-actions-item-danger:hover {
        background-color: var(--color-error-light);
    }

.row-actions-menu .row-actions-separator {
    height: 1px;
    margin: 4px 0;
    background-color: var(--color-lighter);
}

#software-sync-option-list tbody td {
    vertical-align: middle;
}

    #software-sync-option-list tbody td.ar {
        width: 1%;
        white-space: nowrap;
        padding-left: 12px;
    }

table.list td .progress-bar {
    width: 0;
    height: 4px;
    background-color: var(--color-2);
    max-width: 100%;
}

    table.list td .progress-bar.secondary {
        background-color: var(--color-3);
        margin-top: 8px;
    }

table.list td .labels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

table.list td .label {
    font-size: .75rem;
    line-height: .75rem;
    font-weight: 400;
    margin: 2px;
}

table.list td span.change-percentage {
    font-size: .7rem;
    display: block;
    margin-top: .4rem;
}

table.list tr.review td {
    border: none
}

table.list td .data-view,
table.list td .data-edit {
    display: none;
}

    table.list td .data-view.active,
    table.list td .data-edit.active {
        display: block;
    }

    table.list td .button {
      padding: .8rem 1.2rem;
    }

.list-pagination {
    text-align: right;
    margin-top: 40px;
    display: flex;
    align-content: space-between;
    justify-content: space-between;
    align-items: center;
}

    .list-pagination .pagination-text {
        font-size: .9rem;
        line-height: .9rem;
        color: var(--sub-text-color);
    }

    .list-pagination .pagination-buttons {
        display: flex;
        align-content: space-around;
    }

        .list-pagination .pagination-buttons a {
            width: auto;
            margin: 0 .2rem;
            padding: 1rem;
            font-size: .9rem;
            line-height: .9rem;
            color: var(--sub-text-color);
            background: var(--border-lightest-color);
            text-align: center;
            border-radius: var(--button-radius);
        }

            .list-pagination .pagination-buttons a:hover {
                background: var(--border-light-color);
            }

            .list-pagination .pagination-buttons a.active {
                font-weight: 800;
                color: var(--color-2-reverse);
                background: var(--color-2);
            }

.inline-category-input {
    width: 100%;
    max-width: 220px;
    background: transparent;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    font-size: .9rem !important;
    line-height: .9rem !important;
    transition: border-color 150ms ease-in-out, background-color 150ms ease-in-out;
}

    .inline-category-input:hover {
        border-color: var(--border-color);
        background: var(--color-lightest);
    }

    .inline-category-input:focus {
        border-color: var(--border-color);
        background: var(--color-lightest);
        outline: none;
    }

.inline-priority-select {
    width: auto;
    min-width: 50px;
    max-width: 100px;
    background: transparent;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    font-size: .9rem !important;
    line-height: .9rem !important;
    cursor: pointer;
    transition: border-color 150ms ease-in-out, background-color 150ms ease-in-out;
}

    .inline-priority-select:hover {
        border-color: var(--border-color);
        background: var(--color-lightest);
    }

    .inline-priority-select:focus {
        border-color: var(--border-color);
        background: var(--color-lightest);
        outline: none;
    }
