﻿.main-container{
    overflow: hidden;
}
.table-scroll {
    overflow: visible !important;
}

.table-custom .table-tool-bar {
    min-height: 42px;
    background-color: #36c7bd;
    padding: 7px 0px;
}
.hntbl-cover .table-tool-bar {
    min-height: 42px;
    background-color: #2a86bb;
    padding: 7px 0px;
}

    .table-custom .table-tool-bar .btn,
    .hntbl-cover .table-tool-bar .btn {
        margin-left: 3px;
        padding: 2px 5px;
        background-color: #2a86bb !important;
        border-color: #2a86bb !important;
    }

.table-custom-cover .table-tool-bar-action,
.hntbl-cover .table-tool-bar-action {
    display: inline-block;
}

.table-custom .table-config-bar,
.hntbl-cover .table-config-bar {
    float: right;
    padding-right: 10px;
}

    .hntbl-cover .checkbox {
        margin-top: 0;
        margin-bottom: 0;
    }
.table-config-bar .displayInline a.btn,
.table-config-bar .hntbl-counter {
    color: #fff !important;
}
.checkboxAll {
    display: inline-block !important;
    margin-right: 12px;
    margin-left: 5px;
}
tabe.table-custom {
    border: 1px solid #e3f7f5 !important
}
    .table-custom thead tr th {
        background: #6dd8d0 !important;
        color: #fff !important;
    }
    table.table-custom tbody tr td {
        border: 1px solid #f1f1f1 !important
    }
.table-custom-cover .table-tool-bar .hinetCheckbox {
    margin-bottom: 5px;
    margin-top: 5px;
}
.table-custom tr:nth-child(even) {
    background-color: #f7f7f7 !important;
}
.table-custom {
    border: 1px solid #6dd8d0 !important;
    margin-bottom: 5px !important;
}
.hinet-table {
    border: 1px solid #dfe6e9 !important;
    margin-bottom: 5px !important;
}

    .hinet-table tr:nth-child(even) {
        background-color: #f2f2f2 !important;
    }

    .table-custom tr:nth-child(odd),
    .hinet-table tr:nth-child(odd) {
        background-color: #ffffff !important;
    }

    .table-custom thead tr th,
    .hinet-table thead tr th {
        text-align: center;
        cursor: pointer;
        min-width: 30px;
        max-width: 50%;
        padding: 10px 10px;
        vertical-align: middle;
        position: relative;
        line-height: 1.2;
        font-size: 13px;
        background: #f5f6fa;
        color: #2980b9;
    }

    .table-custom tbody tr td,
    .hinet-table tbody tr td {
        font-size: 12px;
        border: 1px solid #dfe6e9;
        
    }

.sort-asc::after {
    content: url('../../../../hinetTable/sort_asc.png');
    /*float: right;*/
    width: 9px;
    /*margin-top: 14px;*/
    line-height: 0;
    position: absolute;
}

.sort-desc::after {
    content: url('../../../../hinetTable/sort_desc.png');
    /*float: right;*/
    width: 9px;
    /*margin-top: 4px;*/
    line-height: 0;
    position: absolute;
}

.sort-none::after {
    content: url('../../../../hinetTable/sort_both.png');
    /*float: right;*/
    width: 9px;
    /*margin-top: 9px;*/
    line-height: 0;
    position: absolute;
}

.table-custom .noData,
.hinet-table .noData {
    text-align: center;
    color: #95a5a6;
}

.displayInline {
    display: inline-block;
}

/*.hntbl-cover-tableScroll {
    overflow-x: scroll;
    margin-bottom: 10px;
}*/
/*hinet table fixed*/
/* class phải có
    <div class="table-scroll">
        <div class="table-wrap">
            <table class="fixed-table">
                tdClass: "fixed-side"
*/
.table-scroll {
    position: relative;
    margin: auto;
    overflow: hidden;
    /*border: 1px solid #000;*/
}

    .table-scroll .table-wrap {
        width: 100%;
        overflow: auto;
    }
    .table-scroll .hinet-table_v2 {
        top: 44px;
    }
.table-scroll table {
    top: 42px;
    width: 100%;
    margin: auto;
    border-collapse: collapse;
    border-spacing: 0;
}

    .table-scroll th, .table-scroll td {
        padding: 5px 10px;
        /*border: 1px solid #000;
    background: #fff;*/
        white-space: nowrap;
        vertical-align: top;
    }

.hinet-table.clone tr:nth-child(even) {
    background-color: #f2f2f2;
}

.hinet-table.clone tr:nth-child(odd) {
    background-color: #ffffff;
}

.clone {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

    .clone th, .clone td {
        visibility: hidden
    }

    .clone td, .clone th {
        border-color: transparent
    }

    .clone tbody th {
        visibility: visible;
        color: red;
    }

    .clone .fixed-side {
        /*background: #eee;*/
        visibility: visible;
        pointer-events: visible;
    }

    .clone thead, .clone tfoot {
        background: transparent;
    }

.fixed-table.clone tbody .cb-slide {
    opacity: 0;
}
/*cb-slide*/
.cb-slide {
    position: absolute;
    display: block;
    border: none !important;
}

    .cb-slide .lbl::before {
        z-index: 10 !important;
        margin-left: -10px;
    }
/*dropdown thaotac*/
.dropdowntt {
    min-width: 100px !important;
}

    .dropdowntt div {
        position: absolute;
        width: 80px;
        margin-left: -40px !important;
        margin-top: -5px;
    }

        .dropdowntt div button {
            width: 100%;
        }
/*end dropdown thaotac*/

/*Taggin*/
.hinet-table .label {
    position: relative;
    padding-left: 15px;
    overflow: hidden;
    height: auto !important;
    border-radius:3px;
}

    .hinet-table .label p {
        margin: 0;
    }

    .hinet-table .label::before {
        content: " ";
        position: absolute;
        z-index: 11;
        /*background-color: #ffffff;*/
        width: 4px;
        height: 30px;
        transform: rotate(45deg);
        left: 0px;
        top: -10px;
    }

    .hinet-table .label::after {
        content: " ";
        position: absolute;
        left: 2px;
        top: -4px;
        z-index: 10;
        width: 2px;
        height: 20px;
        background-color: #ffffff;
        transform: rotate(37deg);
    }

/*item search*/
.item-search {
    z-index: 10;
    position: absolute;
    top: 20px;
    left: 20px
}

/*table.table.hinet-table > thead > tr > th {
    border-bottom-width: 1px;
}

.hinet-table.clone > thead > tr {
    border-bottom-width: 1px;
}*/
.hinet-table.clone tbody tr td, .hinet-table.clone tbody tr th {
    border: 1px solid rgba(255, 255, 255, 0);
}

.hinet-table.clone thead tr th {
    border-bottom: 2px solid rgba(255, 255, 255, 0);
}
.hinet-table.clone {
    border-top: 1px solid rgba(255, 255, 255, 0)!important;
}
/*.hinet-table.clone table{
    border: none!important;
}*/
.fixed-side{
    border: 1px solid #ddd!important;
}

.hinet-table td.unread {
    font-weight: bold;
    font-style: italic;
}
