﻿
table.dataTable {
    border-collapse: collapse !important;
    width: 100% !important; /*平板畫面呈現寬度調整*/
}

.tableStriped tbody tr:nth-child(odd) {
    background-color: white;
    border-left: 1px solid #DBDBDB;
    border-right: 1px solid #DBDBDB;
}
/* 強迫dataTables裡的欄位換行*/
/*.tableBlock tbody td {
    word-break: break-all;
    padding: 0px;
}*/

div.dataTables_wrapper div.dataTables_paginate {
    text-align: center;
}

ul.pagination {
    display: -webkit-inline-box !important;
    display: inline-flex !important;
}

/*@media (max-width:767px) {
    ul.pagination {
        display: -webkit-inline-box !important;
        display: inline-flex !important;
    }
}*/

/* 重畫換頁樣式*/
@media (min-width:767px) {
    ul.pagination {
        justify-content: inherit !important;
    }
}

.page-item.active .page-link {
    color: #ED5500;
    font-weight: bold;
    background-color: white;
    border-color: white;
}

.page-link {
    color: #828282;
    font-weight: bold;
    background-color: white;
    border-color: white;
}

.page-item.disabled .page-link {
    border-color: white;
}

/* 處理dataTable裡的排序logo*/
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 {
    right: 1em;
    content: "\f106";
    font-family: "FontAwesome";
    top: 1.5em;
}
/* 處理dataTable裡的排序logo*/
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 {
    right: 1em;
    content: "\f107";
    font-family: "FontAwesome";
    top: 2em;
}

/*Table內欄位文字靠左對齊*/
.divTxtLeft {
    display: table-cell;
    width: 100%;
    text-align: left;
}
