
/* DATATABLE CSS */
.custom-table-thead {
    color: black;
    font-size: 14px;

}

td.center.vertiMiddle {
    color: black;
    position: relative;
}

tr.customTr {
    border-bottom: 1px solid;
    color: white;
    background-color: var(--theme-color);
}

.trLeft {
    border-top-left-radius: 15px;
}

.trRight {
    border-top-right-radius: 15px;
}

.customBtns {
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

.editTdBtns {
    width: 30px;
    height: 30px;
    background: var(--theme-green-color);
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

.delTdBtns {
    width: 30px;
    height: 30px;
    background: var(--theme-red-color);
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

.viewQRBtns {
    width: 30px;
    height: 30px;
    background: var(--theme-color);
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

.printQRBtns {
    width: 30px;
    height: 30px;
    background: var(--theme-yellow-color);
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

.table.dataTable {
    margin-top: 30px !important;
}

.table td,
.table th {
    font-weight: 400;
}

input.form-control.form-control-sm {
    border-radius: 20px;
    color: black;
}

div#historyTable_info {
    color: black;
}

div#historyTable_wrapper {
    background-color: white;
}

.table tfoot th,
.table th,
.table thead th {
    font-weight: 500;
    padding-left: 40px !important;
    border: 1px solid white;
    position: relative;
}

.table td,
.table th {
    padding-left: 40px !important;
}

.table td,
.table th {
    padding: .75rem;
    /* vertical-align: top; */
    vertical-align: middle;
    border-top: none;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: none;
}

.firstTd {
    padding-left: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.lastTd {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.page-item.active .page-link {
    border: none;
    z-index: 3;
    color: white !important;
    background-color: var(--theme-color) !important;
    border-radius: 15px;
    width: 35px;
    height: 35px;
    text-align: center;
    margin: 4px;
    border-color: white !important;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-link {
    border: none;
    z-index: 3;
    color: black !important;
    background-color: #f3f4f5;
    border-radius: 99px;
    width: 35px;
    height: 35px;
    text-align: center;
    margin: 4px;
}

.previous .page-link,
.next .page-link {
    border: none;
    z-index: 3;
    color: black !important;
    background-color: #f3f4f5;
    border-radius: 99px;
    width: 100px;
    text-align: center;
    margin: 4px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-top-right-radius: 99px;
    border-bottom-right-radius: 99px;
    border-top-left-radius: 99px;
    border-bottom-left-radius: 99px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: left !important;
    margin-top: 10px !important;
}

.btn-data-download {
    background: var(--theme-color);
    border: 1px solid var(--theme-color);
    border-radius: 99px;
    color: white;
    padding-left: 30px;
    padding-right: 30px;
    transition: 0.3s;
    margin: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 11px;
}

.btn-data-download:hover {
    background: white;
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    transition: 0.3s;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
    left: 10px;
    position: absolute;
    bottom: 0.8em !important;
    display: block;
    margin-left: 10px !important;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    left: 10px !important;
    position: absolute;
    bottom: 0.8em !important;
    display: block;
}

/* Laptop */
@media screen and (min-width: 993px) {

    div.dataTables_wrapper div.dataTables_filter {
        width: fit-content;
        position: absolute;
        top: 7px;
        right: 20px;
        color: black;
    }

    .dt-buttons {
        margin-bottom: 10px;
        margin-top: 5px;
    }

}

/* Tablet */
@media only screen and (max-width: 992px) and (min-width: 601px) {
    div.dataTables_wrapper div.dataTables_filter {
        text-align: left !important;
        color: black !important;
        margin-top: 20px;
    }

    .dt-buttons {
        float: right;
    }

    #historyTableSec {
        overflow: auto;
    }

}


/* Phone */
@media screen and (max-width: 600px) {
    div.dataTables_wrapper div.dataTables_filter {
        text-align: left !important;
        color: black !important;
    }

    #historyTableSec {
        overflow: auto;
    }

    .custom-table-thead {
        color: black;
        font-size: 14px;
    }

    thead tr th {
        max-height: 20px;
    }

    .dt-buttons {
        float: left;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    table.dataTable thead>tr>th.sorting_asc,
    table.dataTable thead>tr>th.sorting_desc,
    table.dataTable thead>tr>th.sorting,
    table.dataTable thead>tr>td.sorting_asc,
    table.dataTable thead>tr>td.sorting_desc,
    table.dataTable thead>tr>td.sorting {
        padding-right: 15px !important;
    }

    .table td,
    .table th {
        padding-left: 10px !important;
    }
}

/* DATATABLE CSS */
