/* Excel / Print 按鈕 */
.datatable-btn{
    float: right;
}
.datatable-btn .btn-secondary{
    background-color: var(--success);
    margin: 1px;
    border-color: var(--dp-page-bg);
}

/* datatable */

.dataTables_wrapper table {
    width: 100%;
}

.dataTables_wrapper table tr {
    height: 47px;
}

.dp-dt-pagebtn-rotate:before {
    padding-top: 2px;
}

.paging_dp_pagination .btn-square-sm+.btn-square-sm {
    margin-left: 8px;
}

.dataTables_wrapper {
    width: 100%;
}

.dp_pagination {
    text-align: left;
}

.dataTables_wrapper .bottom {
    line-height: 32px;
    display: flex;
}

div.dataTables_wrapper div.dataTables_info[role=status] {
    padding-top: unset;
    margin-left: 16px;
}

.dataTables_length label select:focus {
    background-color: var(--dp-white-smoke);
}

.basic-data-table .dataTables_length label select,
.dp-dt-page-select,
[name=order-data-table_length] {
    background: none;
    border-radius: 5px;
    border: 0px;
    background-color: var(--dp-white-smoke);
    width: 65px;
    text-align: center;
    height: 32px;
    margin-left: 14px;
}

.dataTables_length label:after,
.dp-dt-page-select+span:before {
    bottom: 15px;
    border: solid transparent;
    border-top-color: transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: var(--dp-select-text);
    border-width: 5px;
    z-index: 100;
}

.dataTables_length label,
.dp-dt-page-select+span {
    margin-right: 18px;
    position: relative;
}

.dp-dt-page-select+span:before {
    top: 8px;
    right: 8px;
}

.dataTables_length label:after {
    top: 14px;
    right: 8px;
}

html[lang=en] .dataTables_length label:after {
    top: 14px;
    right: 60px;
}

.dataTable thead tr {
    background: #e6e6e6;
}

.dataTable thead th {
    text-align: center;
    font-weight: bolder;
}

.dataTable thead tr td {
    border-bottom: 1px solid #cbcaca;
}

table.dataTable>thead .sorting::before,
table.dataTable>thead .sorting::after,
table.dataTable>thead .sorting_asc::before,
table.dataTable>thead .sorting_asc::after,
table.dataTable>thead .sorting_desc::before,
table.dataTable>thead .sorting_desc::after,
table.dataTable>thead .sorting_asc_disabled::before,
table.dataTable>thead .sorting_asc_disabled::after,
table.dataTable>thead .sorting_desc_disabled::before,
table.dataTable>thead .sorting_desc_disabled::after {
    bottom: calc(50% - 10px) !important;
}

table.dataTable tbody tr {
    transition: background-color 0.5s ease;
    background: white;
}

table.dataTable tbody tr:hover {
    background: #f6f6f7;
}

table.dataTable tbody tr td {
    vertical-align: middle;
}

.dataTables_paginate .btn-square {
    background-color: transparent;
    background-image: none;
    color: var(--dp-icon-black);
    font-size: 1.5rem;
    border: 0px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    border-radius: 5px;
}

.dataTables_paginate .btn-square-sm {
    background-color: var(--dp-white-smoke);
    background-image: none;
    color: var(--dp-icon-black);
    font-size: 15px;
    border: 0px;
    height: 32px;
    padding: 0px;
    width: 32px;
    cursor: pointer;
    border-radius: 5px;
}

.dataTables_paginate .btn-square-sm:not([disabled]):hover {
    background-color: var(--dp-text-gray);
}

.dataTables_paginate .btn-square-sm[disabled=disabled]:hover {
    cursor: unset;
}

.dataTables_paginate .btn-square-sm[disabled=disabled] i {
    color: var(--dp-btn-disable-text);
    cursor: unset;
}