﻿\
/*START TABULATOR*/
/*Theme the Tabulator element*/
#tbl {
    background-color: white;
    padding: 1px;
    border: 1px solid whitesmoke;
    transition: all .3s ease-in-out;
}

.tabulator {
    border: 0;
    font-size: 13px;
    margin: 0;
    background: #fff !important;
    /*overflow: visible!important*/
}

  /*  .tabulator .tabulator-tableHolder {
        min-height: 400px !important;
    }
*/

.tabulator-table {
    transition: all 1s linear;
}

.tabulator-row {
    border-bottom: 0 !important;
    /*border-bottom: 1px solid #ccc !important;*/
}


.tabulator .btn.dropdown-toggle {
    background: transparent !important;
}

.tabulator .tabulator-footer .pager-num-wrapper {
    float: left;
    font-size: 12px;
    color: #414141;
    margin-right: 10px;
}

    .tabulator .tabulator-footer .pager-num-wrapper span {
        padding: 0px;
        margin-top: 4px;
        float: left;
        margin-right: 12px;
    }

    .tabulator .tabulator-footer .pager-num-wrapper select {
        width: 64px;
        height: 26px;
        background: #f2f4f8;
        color: #563d7c;
        border-color: #eee;
        font-weight: 700;
    }

.tabulator .tabulator-footer .tabulator-page.active, .tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {
    color: #fff;
    background: #b2bec3;
}

.tabulator .tabulator-footer .tabulator-fn {
    padding: 0px;
    background: #b2bec3;
}


.tabulator-row.tabulator-selected {
    background-color: #ecf5f9 !important;
    color: #165ea6 !important;
}


.tabulator-footer .total-record {
    background: #f5f5f5;
    border: 0;
    padding: 5px 10px;
    border-radius: 2px;
    color: #333;
    font-size: 12px;
}

.tabulator .tabulator-footer .tabulator-page {
    border: 0;
    border-radius: 0px;
    color: #323c58;
    font-weight: 500;
    padding: 3px 9px;
    outline: none;
    font-size: 13px;
    color: #333;
}

.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box {
    margin-left: 0px;
    margin-top: -5px;
}

.tabulator-row.tabulator-group {
    border-top: none;
    text-transform: uppercase;
    font-size: 11px;
    color: #165ea6 !important;
    margin-left: -4px;
}

.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar {
    width: 100%;
    height: 1px;
    margin-top: 2px;
    background: #333333;
}
/*Theme the header*/
#tabulator-table .tabulator-header {
    background-color: #d8d8d8;
    color: #165ea6;
}

.tabulator-row.tabulator-group {
    border-top: none;
}

.tabulator-col .tabulator-header-filter input, .tabulator-col .tabulator-header-filter select {
    border: 0;
    height: 20px;
    font-size: 11px;
    border-left: 1px solid #2c3e50;
}

.tabulator .tabulator-header {
    border-bottom: 1px solid #c5c5c5;
}

    .tabulator .tabulator-header .tabulator-col .tabulator-col-content {
        padding: 10px 10px;
        font-size: 13px;
        color: #333 !important;
    }

    .tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
        margin: 5px 0 !important;
        display: inline-block;
    }

    .tabulator .tabulator-header .tabulator-col {
        border-right: 1px solid #fff;
        background: #eaeef1;
        border-bottom: 0;
        /*height: 40px !important;*/
    }

.tabulator-row .tabulator-cell {
    font-size: 14px;
    border-bottom: 0 !important;
    border-right: 1px solid #ecf5f9 !important;
    /*height: auto !important;*/
    padding: 12px 10px;
}

    .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
        border-radius: 0px;
        background: #165ea6;
        font-weight: 300;
    }

    .tabulator-row .tabulator-cell[tabulator-field='Id'] {
        overflow: visible;
    }

.tabulator-row .open > .dropdown-menu {
    min-width: 61px;
    font-size: 11px !important;
    margin-left: -15px;
    float: left;
}

    .tabulator-row .open > .dropdown-menu .dropdown-menu > li > a {
        text-align: right;
    }
/*Allow column header names to wrap lines*/
#tabulator-table .tabulator-header .tabulator-col,
#tabulator-table .tabulator-header .tabulator-col-row-handle {
    white-space: normal;
    height: 76px !important;
    border-right: 1px solid #f5f5f5;
}

/*Color the table rows*/
#tabulator-table .tabulator-tableHolder .tabulator-table .tabulator-row {
    color: #000;
    background-color: #fff;
    border-bottom: 1px dotted #e6e6e6;
}

    /*Color even rows*/
    #tabulator-table .tabulator-tableHolder .tabulator-table .tabulator-row:nth-child(even) {
        background-color: #fff;
    }

.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs {
    font-weight: 700;
    background: #f5f5f5 !important;
    color: #165ea6 !important;
    border-bottom: 1px solid #d2428b;
    height: 44px;
}

.tabulator .tabulator-footer {
    padding: 10px;
    padding-bottom:15px;
    border: 0 !important;
    border-bottom: 0 !important;
    color: #323c58;
    font-size: 13px;
    background-color: #fff;
    display: inline-block;
    width: 100%;
}

.tabulator-row.notity-important {
    background: #da1b1b !important;
}

    .tabulator-row.notity-important * {
        color: #fff !important;
    }

.tabulator-row.notity-complete {
    background: #ffffff !important;
}

    .tabulator-row.notity-complete * {
        color: #2d6dae !important;
        text-decoration: line-through;
    }
/*Edit By QuyetThang*/
.tabulator .tabulator-loader {
    background: rgba(235, 235, 235, 0.15);
    transition: all linear .5s;
}

    .tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading {
        border: 0;
        color: #555;
        background: transparent;
        border-radius: 3px;
        line-height: 20px;
        transition: all linear .5s;
    }

    .tabulator .tabulator-loader .tabulator-loader-msg {
        display: inline-block;
        margin: 0 auto;
        padding: 4px 20px;
        border-radius: 0px;
        background: rgb(153, 153, 153);
        font-weight: 700;
        font-size: 13px;
        margin-top: 30px;
    }
/*End Edit By QuyetThang*/

.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {
    background: #fff !important;
}

.tabulator .tabulator-footer .tabulator-calcs-holder {
    box-sizing: border-box;
    width: calc(100% + 30px);
    margin: -5px -12px 10px;
    text-align: left;
    border-bottom: 1px solid #aaa;
    border-top: none;
    overflow: hidden;
}

.tabulator-tableHolder::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
    cursor: crosshair;
}

.tabulator-tableHolder::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

.tabulator-tableHolder::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #fff;
}

.modal-footer:not([class*=bg-]) {
    /* padding-top: 0; */
    border-top: 1px solid #ddd !important;
    padding: 8px 15px !important;
}

.modal-body label {
    margin: 0 !important
}

.modal-dialog-scrollable .modal-content {
    border: 0;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
    cursor: crosshair;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #fff;
}


.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-arrow {
    border-top: none;
    border-bottom: 4px solid #bbb;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow {
    display: inline-block;
    position: absolute;
    top: 7px;
    right: 5px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #bbb;
    transition: all .2s linear;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-arrow {
    border-top: none;
    border-bottom: 4px solid #2c3e50;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-arrow {
    border-top: 4px solid #2c3e50;
    border-bottom: none;
}



.tabulator-row.tabulator-group {
    /*    background: #e1f1f1;*/
    background-color: rgb(239 244 247);
}

.tabulator-row.tabulator-group {
    font-size: 12px;
    color: #2f82a0  !important;
    padding: 9px 10px;
    /*    background: #e1f1f1;*/
}

    .tabulator-row.tabulator-group span {
        font-size: 11px !important;
    }

.tabulator-row .tabulator-cell {
    font-size: 13px;
    padding: 8px 10px;
}

.tabulator-row.tabulator-group.tabulator-group-level-1 {
    background-color: rgb(249 251 253);
}

.tabulator-row.tabulator-row-even {
    background-color: #f6f6f6;
}

.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow {
    margin-right: 5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #2f82a0 ;
    border-bottom: 0;
}

.content-page .tab-content .card-body {
    padding: 15px 0 !important
}


.tabulator-row.tabulator-selectable:hover {
    background: #e4e4e4 !important;
}

/*END TABULATOR*/

#loading{text-align:center}