
/*--------------------------------------------------------------
  # table-flexs
  --------------------------------------------------------------*/
.table-flexs .table-cell {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.table-flexs--w2 .table-cell {
    width: 50%;
}
.table-flexs--w4 .table-cell {
    width: 25%;
}
.table-flexs--w5 .table-cell {
    width: 20%;
}
.table-flexs--w6 .table-cell {
    width: 16.66%;
}
.table-flexs--w8 .table-cell {
    width: 12.5%;
}
.table-flexs--w9 .table-cell {
    width: 11.11%;
}
.table-flexs--w10 .table-cell {
    width: 10%;
}
.table-flexs--w12 .table-cell {
    width: 8.33%;
}
.table-flexs--w13s .table-cell {
    width: 14.285714%;
}
.table-flexs--w13s .table-cell:nth-child(n + 8) {
    width: 16.66%;
}
.table-flexs .table-cell > div {
    width: 100%;
    min-height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    word-break: break-word;
}
.table-flexs .table-cell > .table-cell--head {
    background: #eeeeee;
    line-height: 1;
}
.table-flexs .table-cell > .table-cell--body {
    height: 100%;
}
.table-flexs .table-cell .table-cell--tips {
    background: #cccccc;
}
.table-flexs .table-cell > .table-cell--body:nth-child(odd) {
    background: #ebfff6;
}

@media screen and (max-width: 1200px) {
    .table-flexs--w12 .table-cell {
        font-size: 0.85rem;
    }
}

@media (max-width: 991.98px) {
    .table-flexs--w2 .table-cell {
        width: 50%;
    }
    .table-flexs--w5 .table-cell {
        width: 50%;
    }
    .table-flexs--w6 .table-cell {
        width: 33.33%;
    }
    .table-flexs--w8 .table-cell {
        width: 25%;
    }
    .table-flexs--w9 .table-cell {
        width: 33.33%;
    }
    .table-flexs--w10 .table-cell {
        width: 20%;
    }
    .table-flexs--w12 .table-cell {
        font-size: 1rem;
        width: 16.66%;
    }
    .table-flexs.table-flexs--w13s .table-cell {
        width: 20%;
    }
    .table-flexs--w13s .table-cell:last-child, .table-flexs--w13s .table-cell:nth-last-child(2), .table-flexs--w13s .table-cell:nth-last-child(3) {
        width: 33.33%;
    }
}

@media screen and (max-width: 767.98px) {
    .table-flexs--w12 .table-cell {
        width: 25%;
    }
}

@media (max-width: 575.98px) {
    .table-flexs {
        width: 100%;
    }
    .table-flexs .table-cell {
        width: 100%;
        min-height: 35px;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
    }
    .table-flexs.table-flexs--w13s .table-cell {
        width: 100%;
    }
    .table-flexs .table-cell > div {
        height: 100%;
        min-height: auto;
        /* border-bottom: 1px solid #6c757d; */
    }
    .table-flexs .table-cell:last-of-type > div {
        border: none;
    }
    .table-flexs .table-cell > div.table-cell--head br {
        display: none;
    }
}


/*--------------------------------------------------------------
  # table-rows
  --------------------------------------------------------------*/
.table-rows .table-cell {
    padding: 0.3px 0;
    vertical-align: middle;
    height: 35px;
}
.table-rows--body:nth-of-type(odd) {
    background: #eeeeee;
}
.table-rows--w4 .table-row > .table-cell {
    width: 25%;
    height: fit-content;
}
.table-rows--w8 .table-row > .table-cell {
    width: 12.5%;
    height: fit-content;
}
.table-rows--w9 .table-row > .table-cell {
    width: 11.11%;
    height: fit-content;
}
.table-rows--w11 .table-row > .table-cell {
    width: 9.090%;
    height: fit-content;
}
.table-rows--w12 .table-row > .table-cell {
    width: 8.33%;
    height: fit-content;
}
.table-row .table-cell input {
    padding: 0;
    margin: 0;
    width: 50px;
}
.table-row .table-cell input.form-control {
    padding: 0.1rem 0;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .table-rows--w11 .table-row > .table-cell, .table-rows--w12 .table-row > .table-cell {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 991.98px) {
    .table-rows .table-cell {
        height: auto;
    }
    .table-rows--header {
        height: 5px;
    }
    .table-rows .table-row > .table-cell {
        width: 25%;
        height: fit-content;
    }
    .table-rows--w6 .table-row > .table-cell {
        width: 33.33%;
    }
    .table-rows--w11 .table-row > .table-cell, .table-rows--w12 .table-row > .table-cell {
        font-size: 1rem;
        width: 16.66%;
    }
    .table-rows--w11 .table-row > .table-cell:last-child {
        width: 33.33%;
    }
    .table-row .table-cell:before {
        margin: 0.4rem auto 0.1rem;
        content: attr(data-title);
        font-size: 0.75rem;
        line-height: 0.8rem;
        color: #969696;
        display: block;
        white-space: pre-wrap;
    }
}

@media screen and (max-width: 767.98px) {
    .table-rows .table-row > .table-cell {
        width: 25%;
        height: fit-content;
    }
    .table-rows--w6 .table-row > .table-cell {
        width: 50%;
    }
    .table-rows.table-rows--w11 .table-row > .table-cell:last-child {
        width: 50%;
    }
}

@media screen and (max-width: 575.98px) {
    .table-rows .table-row > .table-cell {
        width: 50%;
        height: fit-content;
    }
    .table-rows.table-rows--auto .table-row > .table-cell {
        width: 100%;
    }
    .table-rows.table-rows--w11 .table-row > .table-cell:last-child {
        width: 100%;
    }
}

