@charset "UTF-8";

table.dataTable {
    border-collapse: collapse;
}

table.dataTable.no-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ＝＝＝＝＝＝ 上方區塊 ＝＝＝＝＝＝ */
.dt-full {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.dt-full>.dataTables_wrapper {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
}

.dt-full .dt-top,
.dt-full .dt-bot,
.dt-full .dataTables_scrollHead {
    flex-grow: 0;
    flex-shrink: 0;
}

.dt-full .dt-main,
.dt-full .dataTables_scrollBody {
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
    height: 100%;
    max-height: initial !important;
    overflow-y: auto;
}

.dt-full .dataTables_scroll {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.dt-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.9rem;
}

.dataTables_wrapper .dataTables_length {
    margin-right: 1rem;
    padding: 0.5rem;
}

.dataTables_wrapper .dataTables_length select {
    width: auto;
    display: inline-block;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    background-color: var(--bs-body-bg);
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 0.9rem;
}

.dataTables_wrapper .dataTables_filter {
    margin-left: auto;
    padding: 0.5rem;
    text-align: right;
}

.dataTables_wrapper .dataTables_filter>label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.dataTables_wrapper .dataTables_filter input {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 0.375rem 0.75rem;
    background-color: var(--bs-body-bg);
    margin-left: 0;
    font-size: 0.9rem;
}

.dataTable tr,
.dataTable td {
    border-bottom-color: #cbcbcb;
}

@media screen and (max-width: 500px) {
    .dt-top {
        display: block;
    }

    .dataTables_wrapper .dataTables_length {
        margin-right: 0;
    }

    .dataTables_wrapper .dataTables_filter {
        margin-top: 0;
    }
}

/* ＝＝＝＝＝＝ 主要區塊 ＝＝＝＝＝＝ */
.dt-main {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

table.dataTable thead th,
table.dataTable thead td {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    color: #4f6b11;
}

/* ＝＝＝＝＝＝ 下方區塊 ＝＝＝＝＝＝ */
.dt-bot {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 0.9rem;
}

.dataTables_wrapper .dataTables_info {
    margin-right: 1rem;
    padding: 0.5rem;
}

.dataTables_wrapper .dataTables_paginate {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    margin-left: auto;
    padding: 0;
    float: initial;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
}


.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
    margin: 0.125rem;
}

/* 第一頁、最後一頁 */
.dataTables_wrapper .dataTables_paginate>.paginate_button {
    padding-inline: 0.5rem;
    border-radius: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate>span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: 0.25rem;
}

/* 數字按鈕 */
.dataTables_wrapper .dataTables_paginate>span>.paginate_button {
    width: 2rem;
    border-radius: 50%;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #FFF !important;
    border: 1px solid transparent;
    background: #8aaf38;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: not-allowed;
    opacity: 0.6;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #222 !important;
    border: 1px solid transparent;
    background: #DDD;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    outline: none;
    color: #222 !important;
    border: 1px solid transparent;
    background: #d2d2d2;
    box-shadow: initial;
}

@media screen and (max-width: 500px) {
    .dt-bot {
        display: block;
    }

    .dataTables_wrapper .dataTables_info {
        margin-right: 0;
    }
}

/* ＝＝＝＝＝＝ 有APP顯示版本之表格 ＝＝＝＝＝＝ */

/* TODO */
.has-app-version-list {}


@media screen and (max-width: 500px) {
    /* .has-app-version-list thead{
        display: none;
    } */
}