table.export-preview tr, table.export-preview tr:nth-child(even){
    background-color: #D0F0C0;
}

table th {
    text-align: left;
    border: 1px solid var(--grey-light);
    padding-left: 8px;
    border-right: none;
}

table th:last-child {
    border-right: 1px solid var(--grey-light);
}

table th.no-sort {
    cursor: not-allowed;
}

table {
    font-family: Verdana;
    border-collapse: collapse;
    width: 100%;
}

table td, #ajax-result table th {
    border: 1px solid #ddd;
    padding: 8px;
}

table tr {
    background-color: var(--table-row-odd);
}

table tr:nth-child(even){
    background-color: var(--table-row-even);
}

table tr:hover {
    background-color: var(--list-hover);
}

table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--blue) !important;
    color: white;
}

/* Ikoner till sortering på tabeller */
th.descending,
th.ascending {
    color: white;
}

th.descending:before {
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    content: '\f160';
    font-size: 16px;
    padding: 4px;
    margin: 4px;
}

th.ascending:before {
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    content: '\f885';
    font-size: 16px;
    padding: 4px;
    margin: 4px;
}

thead#sortable:hover {
    cursor: pointer;
}

thead#sortable th:not(:last-child):hover {
    background: var(--blue-light);
    border-radius: 6px;
}

/* Slut sortera table */