﻿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 .sort-bars {
        width: 15px;
        max-width: 15px;
        cursor: pointer;
    }

    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;
        }

    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;
        }

.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 1px;
            padding: 8px;
            font-size: .9rem;
            line-height: .9rem;
            color: var(--sub-text-color);
            background: var(--border-lightest-color);
            text-align: center;
            border-radius: 8px;
        }

            .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);
            }
