﻿    .rwd-table {
        background: #337ab7;
        overflow: hidden;        
    }

        
    .rwd-table tr:nth-of-type(2n) {
        background: #eee;
    }

    .rwd-table th,
    .rwd-table td {
        margin: 0.5em 1em;
        text-align:center;
    }

    .rwd-table {
        min-width: 100%;        
    }

    .rwd-table th {
        display: none;
        width:25%;        
    }
        .rwd-table td {
            display: block;
            width: 25%;            
        }
        .rwd-table td:before {
            content: attr(data-th) " : ";
            font-weight: bold;
            width: 6.5em;
            display: inline-block;
            color: #337ab7; /*手機 標題顏色 */            
        }
    .rwd-table th, .rwd-table td {
        text-align: center;
    }
    .rwd-table th, .rwd-table td:before {
            font-weight: bold;text-align:center;
    }

@media (min-width: 480px) {

    .rwd-table th, .rwd-table td:before {
        color: #fff; /*電腦 標題顏色 */
        font-weight: bold;
    }

    .rwd-table td:before {
        display: none;
    }

    .rwd-table th, .rwd-table td {
        display: table-cell;
        padding: 0.25em 0.5em;        
    }


        .rwd-table th:first-child,
        .rwd-table td:first-child {
            padding-left: 0;
        }

        .rwd-table th:last-child,
        .rwd-table td:last-child {
            padding-right: 0;
        }

    .rwd-table th,
    .rwd-table td {
        padding: 1em !important;
    }
}
