/* Veekompas Elementor Tabel – website */

.vk-tabel {
    --vk-tabel-border-color: #e0ddd6;
    --vk-tabel-border-width: 1px;
    --vk-tabel-head-bg: #4b3e2d;
    --vk-tabel-head-color: #fff;
    --vk-tabel-cell-bg: transparent;
    --vk-tabel-cell-color: inherit;
    --vk-tabel-stripe: #f6f5f3;
}

/* Wider than the screen (minimum width set): scroll sideways. */
.vk-tabel__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Column widths come from the editor as percentages; the table always spans
   the widget, whatever width the pasted HTML had. */
.vk-tabel table {
    width: 100% !important;
    height: auto !important;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.vk-tabel th,
.vk-tabel td {
    padding: 0.6rem 0.8rem;
    border: var(--vk-tabel-border-width) solid var(--vk-tabel-border-color);
    background: var(--vk-tabel-cell-bg);
    color: var(--vk-tabel-cell-color);
    text-align: left;
    vertical-align: top;
}

.vk-tabel th,
.vk-tabel--header-row table > :first-child > tr:first-child > td {
    background: var(--vk-tabel-head-bg);
    color: var(--vk-tabel-head-color);
    font-weight: 700;
}

.vk-tabel--striped tbody tr:nth-child(even) > td {
    background: var(--vk-tabel-stripe);
}

/* Keep the header row out of the stripes when it is a row of td's. */
.vk-tabel--striped.vk-tabel--header-row table > tbody:first-child > tr:first-child > td {
    background: var(--vk-tabel-head-bg);
}

.vk-tabel td p,
.vk-tabel th p {
    margin: 0 0 0.5em;
}

.vk-tabel td p:last-child,
.vk-tabel th p:last-child {
    margin-bottom: 0;
}

.vk-tabel caption {
    padding: 0 0 0.5rem;
    text-align: left;
    caption-side: top;
}
