:root {
    --bobex-table-header-background-color: #10375E;
    --bobex-table-header-text-color: #FFFFFF;
    --bobex-table-shadow: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    --bobex-table-dark-row-color: lightgrey;
}

.bobex-table-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    width: 100%;
}

.bobex-table-wrapper::after {
    content: "";
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    background-image: url('assets/img/swipe.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 15px;
}

.bobex-table-wrapper table {
    display: block;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px;
    background-color: white;
    filter: var(--bobex-table-shadow);
    overflow-x: auto;
    width: 100%;
}

.bobex-table-wrapper table thead {
    filter: var(--bobex-table-shadow);
    position: relative;
}

.bobex-table-wrapper table.centered th,
.bobex-table-wrapper table.centered td {
    text-align: center;
}

.bobex-table-wrapper table thead th {
    background-color: var(--bobex-table-header-background-color) !important;
    color: var(--bobex-table-header-text-color) !important;
    font-weight: bold;
}

.bobex-table-wrapper table thead th:first-child {
    border-top-left-radius: 10px;
}

.bobex-table-wrapper table thead th:last-child {
    border-top-right-radius: 10px;
}

.bobex-table-wrapper table.double tr td:first-child {
    background-color: var(--bobex-table-dark-row-color) !important;
    font-weight: bold;
}

.bobex-table-wrapper table th,
.bobex-table-wrapper table td {
    padding: 15px !important;
}

.bobex-table-wrapper table:not(.double) tbody tr:nth-child(even),
.bobex-table-wrapper.admin-js table:not(.double) tr:nth-child(odd) {
    background-color: var(--bobex-table-dark-row-color) !important;
}

@media screen and (min-width: 1200px) {
    .bobex-table-wrapper::after {
        display: none;
    }
}