/* rwd table */
.table-rwd{
    width: 100%;
    border: 1px solid #f4f4f4;
    margin-bottom: 1rem;
}

.table-rwd td{
    border: 1px solid #f4f4f4;
    text-align: center;
    padding: 0.6rem;
}


.table-rwd th{
    border: 1px solid #f4f4f4;
    text-align: center;
    font-weight:bold;
    line-height: 3.5rem;
}

/*這是額外做顏色，沒有什麼意義*/
tr.tr-only-hide {color: #D20B2A;}

.td-show-mobile {
    display: none !important;
}

.td-hide-mobile {

}

@media (max-width: 992px) {
    .td-show-mobile {
        display: block !important;
    }

    .td-hide-mobile{
        display: none !important;
    }

    .table-rwd{
        min-width: 100%;
        margin-left: 0px;
    }
    .table-rwd th{
        display: none;
    }

    .table-rwd td{
        border: none;
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 0px;
    }

    /*針對tr去做隱藏*/
    tr.tr-only-hide {display: none !important;}
    /*讓tr變成區塊主要讓他有個區塊*/
    .table-rwd tr{
        display: block;
        border-bottom: 1px dashed #ddd ;
        margin-top: 5px;
    }
    .table-rwd td {
        text-align: left;
        font-size: 15px;
        overflow: hidden;
        width: 100%;
        display: block;
    }
    .table-rwd td:before {
        /*最重要的就是這串*/
        content: attr(data-th) " : ";
        /*最重要的就是這串*/
        display: inline-block;
        text-transform: uppercase;
        font-weight: bold;
        margin-right: 10px;
    }

    /*當RWD縮小的時候.table-bordered 會有兩條線，所以針對.table-bordered去做修正*/
    .table-rwd.table-bordered td,.table-rwd.table-bordered th,.table-rwd.table-bordered{border:0;}

}

img {
    max-width: 100% !important;
}


.table-striped {
    border: 1px solid #f4f4f4;
}

.table-striped td,th{
    border: 1px solid #f4f4f4;
    align-content: center;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background: unset;
}