/* Target the entire table */
.tabulator {
    font-size: 12px;
}

input {
    font-family: "Hanken Grotesk", sans-serif;
}

#job-table {
    border: 1px solid var(--blue-primary);
    padding: 12px;
    border-radius: 3px;
}


.tabulator-row {
    border-bottom: 1px solid var(--blue-primary);
}

.tabulator-row .tabulator-cell {
    /*min-height: 50px;*/
    text-wrap: wrap;
    /*height: 100px;*/
    border-color: transparent;
    padding: 12px 6px;
    text-overflow: revert;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter {
    color: var(--blue-primary);
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter {
    color: var(--blue-primary);
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter:hover {
    color: white;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter:hover {
    color: white;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter {
    color: var(--blue-primary);
}


.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter:hover {
    color: white;
}

.tabulator-col-sorter:hover {
    background-color: var(--blue-primary);
}

.tabulator .tabulator-footer {
    border-top: 1px solid var(--blue-primary);
    padding-top: 12px;
}

.tabulator-cell>a {
    color: var(--blue-primary);
}

.detail-cell>div {
    text-wrap: wrap;
}

.tabulator-row .detail-row:last-of-type {
    margin-bottom: 12px;
}

.toggle-button {
    background: transparent;
    border: none;
    border-radius: 3px;
    font-size: 10px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    right: 4px;
    cursor: pointer;
    height: 70px;
    background: rgb(199, 208, 225);
    transition: 0.2s;
    margin-right: 3px;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
    background-color: white;
    cursor: pointer;
}

/* Customize the height of the header cells */
.tabulator-headers,
.tabulator-header,
.tabulator .tabulator-header .tabulator-col {
    height: 130px !important;
    /* Set the desired height */
}

.tabulator .tabulator-header .tabulator-col {
    border-right: 1px solid transparent;
}

.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {
    border-top: 1px solid transparent;
}

.tabulator-row.tabulator-selectable:hover {
    background-color: rgb(233 243 255);
    cursor: pointer;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
    padding-right: 0px;
}

.tabulator-popup {
    border-radius: 3px;
    padding: 16px;
}

.tabulator-popup-container {
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid var(--blue-primary);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .2);
    box-sizing: border-box;
    display: inline-block;
    font-size: 14px;
    overflow-y: auto;
    position: absolute;
    z-index: 10000;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: normal;
    width: 100%;
    text-transform: uppercase;
    color: var(--blue-primary);
    text-wrap: wrap;
}

.tabulator-col-title {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-wrap: wrap;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button {
    padding: 0 4px;
    margin-left: 2px;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {
    align-items: center;
    justify-content: center;
    display: flex;
    position: inherit;
    right: 4px;
    left: 1px;
    top: 19px;
}

/*
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: flex-end;
    padding: 4px;
}
*/

.task-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.tabulator-col-sorter {
    width: 24px;
    height: 24px;
    border: 1px solid var(--blue-primary);
    align-items: center;
    transition: 0.2s;
}

.tabulator-header-filter {
    display: flex;
}

.highlight {
    background-color: rgb(145 196 252);
    /* Initial highlight color */
    transition: background-color 2s;
    /* 2s transition for background color */
}

.fade-out {
    background-color: transparent;
}

.tabulator .tabulator-footer .tabulator-page.active {
    color: var(--blue-primary);
}

.tabulator .tabulator-footer .tabulator-page {
    transition: 0.25s;
}

.tabulator .tabulator-footer .tabulator-page:not(disabled):hover {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: #fff;
    cursor: pointer;
}