﻿:root {
    --bg-table-stripe: #f6f6f5;
    --b-table: #e3e3e2;
    --caption: #242423;
}

table {
    background-color: transparent;
    border-collapse: collapse;
    font-family: Roboto, "Open Sans", Arial, Helvetica, sans-serif;
}

th {
    text-align: justify;
}

.dcf-txt-center {
    text-align: center !important;
}

.dcf-txt-left {
    text-align: left !important;
}

.dcf-txt-right {
    text-align: right !important;
}

.dcf-table caption {
    color: var(--caption);
    font-size: 1.13em;
    font-weight: 700;
    padding-bottom: .56rem;
}

.dcf-table thead {
    font-size: 1em;
}

.dcf-table tbody {
    border-bottom: 1px solid var(--b-table);
    border-top: 1px solid var(--b-table);
    font-size: 1em;
    font-weight: 400;
}

.dcf-table tfoot {
    font-size: 1em;
}

.dcf-table td, .dcf-table th {
    padding-right: 1.78em;
}

.dcf-table-bordered, .dcf-table-bordered td, .dcf-table-bordered th {
    border: 1px solid var(--b-table);
}

    .dcf-table-bordered td, .dcf-table-bordered th, .dcf-table-striped td, .dcf-table-striped th {
        padding-left: .5em;
        padding-right: .5em;
    }

    .dcf-table-bordered tr:not(:last-child), .dcf-table-striped tr:not(:last-child) {
        border-bottom: 1px solid var(--b-table);
    }

.dcf-table-striped tbody tr:nth-of-type(2n) {
    background-color: var(--bg-table-stripe);
}

.dcf-table thead td, .dcf-table thead th {
    padding-top: .75em;
    padding-bottom: .75em;
    vertical-align: bottom;
    white-space: nowrap;
}

.dcf-table tbody td, .dcf-table tbody th, .dcf-table tfoot td, .dcf-table tfoot th {
    padding-top: .5em;
    vertical-align: top;
}

.dcf-table tbody td, .dcf-table tbody th {
    padding-bottom: .5em;
}

.dcf-table-bordered thead th {
    padding-top: 1.33em;
}

.dcf-wrapper-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-bottom: 1em;
    position: relative;
    right: 50%;
    width: 100vw;
}

@media only screen and (max-width:42.09em) {
    .dcf-table-responsive thead {
        clip: rect(0 0 0 0);
        -webkit-clip-path: inset(50%);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        width: 1px;
        white-space: nowrap;
    }

    .dcf-table-responsive tr {
        display: block;
    }

    .dcf-table-responsive td {
        /*-webkit-column-gap: 3.16vw;
        -moz-column-gap: 3.16vw;
        column-gap: 3.16vw;
        display: grid;
        grid-template-columns: 1fr 2fr;*/
        text-align: left !important;
        border-bottom: 1px solid var(--b-table);
    }

    .dcf-table-responsive th {
        text-align: justify !important;
        border-bottom: 1px solid var(--b-table);
        display: block;
    }

    .dcf-table-responsive [data-label="Ngày ban hành"] {
        white-space: nowrap;
    }

    .dcf-table-responsive.dcf-table-bordered, .dcf-table-responsive.dcf-table-bordered thead th {
        border-width: 0;
    }

        .dcf-table-responsive.dcf-table-bordered tbody td {
            border-top-width: 0;
        }

    .dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
        padding-bottom: .75em;
    }

    .dcf-table-responsive:not(.dcf-table-bordered) tbody td {
        padding-bottom: 0;
    }

    .dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
        padding-right: 0;
    }

    .dcf-table-responsive.dcf-table-bordered tbody tr:last-child td:last-child {
        border-bottom-width: 0;
    }

    .dcf-table-responsive tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        padding-right: 1.78em;
        min-width: 106px;
    }
}

.dcf-overflow-x-auto {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.dcf-w-100\% {
    width: 100% !important;
}
