/*-----------
  Data Tables 
  Source: http://datatables.net/blog/Twitter_Bootstrap_2
  Modded by The Red Team
 ------------*/

table.dataTable thead th {
    padding: 10px 8px !important;
    border-bottom: 1px solid #ddd !important;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #ddd !important;
}

.dataTables_wrapper table {
    margin-top: 10px;
}

.dataTables_length select {
    display: inline !important;
}

div.dataTables_length label {
    float: left;
    text-align: left;
    margin-bottom: 10px;
    margin-top: 10px;
}

div.dataTables_length select {
    width: 75px;
}

div.dataTables_filter label {
    float: right;
    margin-bottom: 10px;
}

div.dataTables_info {
    text-align: right;
    /*padding-top: 8px;*/
    padding: 0;
}

div.dataTables_paginate {
    float: left;
    margin: 0;
}

table.table {
    clear: both;
    margin-bottom: 20px !important;
    max-width: none !important;
    min-width: 1080px;
}

        table.table thead .sorting,
        table.table thead .sorting_asc,
        table.table thead .sorting_desc,
        table.table thead .sorting_asc_disabled,
        table.table thead .sorting_desc_disabled {
            cursor: pointer;
            *cursor: hand;
        }

        table.table thead th:not(.sorting_disabled):after {
            content: '';
            display: inline-block;
            height: 16px;
            width: 22px;
            position: relative;
            top: 3px;
            left: 10px;
        }

        table.table thead .sorting:after {
            background: url('../images/arrow/sort_both.png') no-repeat 5px 2px;
        }

        table.table thead .sorting_asc:after {
            background: url('../images/arrow/sort_asc.png') no-repeat 6px 1px;
        }

        table.table thead .sorting_desc:after {
            background: url('../images/arrow/sort_desc.png') no-repeat 6px 8px;
        }

        table.table thead .sorting_asc_disabled {
            background: url('../images/arrow/sort_asc_disabled.png') no-repeat center right;
        }

        table.table thead .sorting_desc_disabled {
            background: url('../images/arrow/sort_desc_disabled.png') no-repeat center right;
        }

table.dataTable th:active {
    outline: none;
}

/* Scrolling */
div.dataTables_scrollHead table {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

    div.dataTables_scrollHead table thead tr:last-child th:first-child,
    div.dataTables_scrollHead table thead tr:last-child td:first-child {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

div.dataTables_scrollBody table {
    border-top: none;
    margin-bottom: 0 !important;
}

div.dataTables_scrollBody tbody tr:first-child th,
div.dataTables_scrollBody tbody tr:first-child td {
    border-top: none;
}

div.dataTables_scrollFoot table {
    border-top: none;
}

.no-search div.dataTables_length,
.no-search div.dataTables_filter,
.no-search div.dataTables_info,
.no-search div.dataTables_paginate {
    /*display: none;*/
}


/*
 * TableTools styles
 */
.table tbody tr td {
    line-height: 22px;
}

.table tbody tr.active td,
.table tbody tr.active th {
    background-color: #08C;
    color: white;
}

.table tbody tr.active:hover th {
    background-color: #fff !important;
}

.table-striped tbody tr.active:nth-child(odd) td,
.table-striped tbody tr.active:nth-child(odd) th {
    background-color: #017ebc;
}

table.DTTT_selectable {
    margin-top: 10px;
    width: 100% !important;
}

    table.DTTT_selectable tbody tr {
        cursor: pointer;
    }

/*div.DTTT .btn {
  color: #333 !important;
  font-size: 12px;
}

div.DTTT .btn:hover {
  text-decoration: none !important;
}*/


ul.DTTT_dropdown.dropdown-menu a {
    color: #333 !important; /* needed only when demo_page.css is included */
}

ul.DTTT_dropdown.dropdown-menu li:hover a {
    background-color: #0088cc;
    color: white !important;
}

/* TableTools information display */
div.DTTT_print_info.modal {
    height: 150px;
    margin-top: -75px;
    text-align: center;
}

div.DTTT_print_info h6 {
    font-weight: normal;
    font-size: 28px;
    line-height: 28px;
    margin: 1em;
}

div.DTTT_print_info p {
    font-size: 14px;
    line-height: 20px;
}



/*
 * FixedColumns styles
 */
div.DTFC_LeftHeadWrapper table,
div.DTFC_LeftFootWrapper table,
table.DTFC_Cloned tr.even {
    background-color: white;
}

div.DTFC_LeftHeadWrapper table {
    margin-bottom: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

    div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
    div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

div.DTFC_LeftBodyWrapper table {
    border-top: none;
    margin-bottom: 0 !important;
}

div.DTFC_LeftBodyWrapper tbody tr:first-child th,
div.DTFC_LeftBodyWrapper tbody tr:first-child td {
    border-top: none;
}

div.DTFC_LeftFootWrapper table {
    border-top: none;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: #ffffff;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 0px;
}

.table-bordered > thead > tr > th {
    border: none;
}

.table-bordered > tbody > tr > td {
    border: none;
}

#DataTables_Table_0_wrapper table thead tr {
    height: 40px;
}

    #DataTables_Table_0_wrapper table thead tr th {
        line-height: 25px;
    }

.dataTables_paginate a {
    color: #000;
    font-size: 16px;
    margin-left: 5px;
    margin-right: 5px;
}

.dataTables_paginate .disabled {
    color: #A5A5A5;
}

.dataTables_paginate > span > a {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
}

.dataTables_paginate > span > .current {
    background: #F4511E;
    color: #fff;
    border-radius: 50%;
}

.paginate_goToPageBox > input {
    border: 1px solid #E6E6E6;
    border-radius: 22px;
    width: 124px;
    height: 32px;
    text-indent: 29px;
    font-size: 16px;
}

.paginate_goToPageBox > .paginate_totalPage {
    color: #A5A5A5;
    position: relative;
    left: -110px;
    font-size: 16px;
    top: 2px;
}

.paginate_goToPageBox > .paginate_goBtn {
    background: #F4511E;
    color: #fff;
    width: 30px;
    height: 32px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
    position: relative;
    left: -30px;
    top: -1px;
}

.paginate_goToPageBox {
    position: absolute;
    right: 0;
}

.table-striped tbody tr.active:nth-child(odd) td, .table-striped tbody tr.active:nth-child(even) td {
    background-color: #fff;
    color: #333;
}

#datatable tbody tr:hover,
#datatable tbody tr:hover td {
    background: #F2F3F3 !important;
}

#DataTables_Table_0_wrapper .row:first-child, #datatable_wrapper .row:first-child {
    position: absolute;
    top: 0;
    width: 100%;
}

    #DataTables_Table_0_wrapper .row:first-child .col-sm-6:nth-child(2), #datatable_wrapper .row:first-child .col-sm-6:nth-child(2) {
        position: absolute;
    }

    #DataTables_Table_0_wrapper .row:first-child .col-sm-6:nth-child(1), #datatable_wrapper .row:first-child .col-sm-6:nth-child(1) {
        float: right;
    }

        #DataTables_Table_0_wrapper .row:first-child .col-sm-6:nth-child(1) #DataTables_Table_0_length, #datatable_wrapper .row:first-child .col-sm-6:nth-child(1) #datatable_length {
            position: relative;
            bottom: 0;
            /* right: -937px; */
            top: 664px;
            float: right !important;
        }

        #datatable_wrapper .row:first-child .col-sm-6:nth-child(1) #datatable_length {
            top: 644px;
        }

.select-form-status {
    width: 230px;
    height: 45px;
    background: #fff;
    border: 1px solid #F7F7F7;
    margin-left: 10px;
}

.dataTables_wrapper .dataTables_length {
    float: right !important;
    margin-top: 20px;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 0px !important;
}
