.rwd-table {
    word-break: break-all;
    word-wrap: break-all;
}

@media (min-width: 992px) {
    .table_w {
        width: 30% !important;
    }
}

@media only screen and (max-width: 768px) {
    .rwd-table,
    .rwd-table thead,
    .rwd-table tbody,
    .rwd-table th,
    .rwd-table td,
    .rwd-table tr {
        display: block;
    }
    .rwd-table-active{
        display: none!important;
    }     
    /* Hide table headers (but not display: none;, for accessibility) */
    .rwd-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .rwd-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        /* background-color: #ffffff; */
    }

    .rwd-table td:not(.testtt) {
        /* Behave  like a "row" */
        border: none !important;
        border-bottom: 1px solid #eee !important;
        position: relative;
        padding-left: 35% !important;
        white-space: normal;
        text-align: left;
        min-height: 42px;
    }
    .rwd-table td:not(.testtt){
        padding-left: 15px!important;
    }
    .rwd-table td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 30%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        /* color: #1a1a1a; */
    }
    
}
.card_table{
    line-height: 26px;
    margin-bottom: 3em;
}	
.card_table>b{
    display: none;
}
.card_table_btn{
    border:#8ab48d solid 1px;
    text-align: right;
    margin-top: -1px;	
}
.card_table_body,.card_table_footer{
    display: flex;
    flex-wrap: wrap;	
    border: #8ab48d solid 1px;	
    margin-top: -1px;		
}
.card_table_body>div>b{
    display: none;
}
.card_table_body>div,.card_table_footer>div,.card_table_header>div{
    padding: 5px 0;
}	
.card_table_header{
    background-color: #f5f5f5;			
}
.card_table_body>div{
    border-left:#8ab48d solid 1px;
    text-align: center;
}
.card_table_body>div:first-child{
    border-left:none;	
    flex: 0 0 11%;
}
.card_table_body>div:nth-child(2){		
    flex: 0 0 51%;
    text-align: left;
    padding-left: 15px;
}
.card_table_body>div:nth-child(3){		
    flex: 0 0 6%;
}
.card_table_body>div:nth-child(4),.card_table_body>div:nth-child(5),.card_table_body>div:nth-child(6),.card_table_body>div:nth-child(7){		
    flex: 0 0 8%;
    align-items: center;
    display: flex;
    justify-content: center;
}	
.card_table_body>div:nth-child(4){
    display: flex;
    align-items: center;
    justify-content: center;
}
.card_table_body>div:nth-child(7){
    color: #8ab48d;
}
.card_table_header>div:nth-child(7){
    color: grey;
}
.card_table_footer>div:nth-child(1){
    flex: 0 0 92%;
    text-align: right;
    padding-right: 15px;
}
.card_table_footer>div:nth-child(2){
    flex: 0 0 8%;
    border-left: solid 1px #8ab48d;
    text-align: center;
}
.fcart .fcart-pic{
    width: 54px;
    height: 56px;
    background: url("../images/fcart_black.png") no-repeat yellow;
    display: block;
    border-radius: 100%;
    background-size: 32px;
    background-position-x: center;
    background-position-y: center;
}
.product_list_addcart{
    position: relative;
}
.product_list_addcart::before{
    content: "快速購物";
    font-size: 12px;
    color: #333;
    top: 45px;
    position: absolute;
    width: 50px;
    left: -12px;
    line-height: 12px;
    color: #fff;
}
@media only screen and (max-width: 680px) {
    .card_table_header{
        display: none;
    }
    .card_table_body>div,.card_table_footer>div,.card_table_header>div{
        padding: 0;
        line-height: 32px;
    }
    .card_table_body>div{
        display: flex;
        flex-wrap: wrap;
        border-bottom: #8ab48d solid 1px;
        border-left: none;
        justify-content: start;
        align-items: center;
        padding-left: 15px;
        text-align: left;
    }
    .card_table_body>.label{
        max-height: 20px;
    }
    .card_table_body>div>b{
        display: inline-block;
        flex: 0 0 30%;
        border-right: #8ab48d solid 1px;
        margin-right: 15px;
    }
    .card_table_body>div:first-child{			
        flex: 0 0 100%;
        padding-left: 15px;
        background-color: #f5f5f5;			
    }	
    .card_table_body>div:nth-child(2){
        flex: 0 0 100%;
    }
    .card_table_body>div:nth-child(2)>figure{
        flex: 0 0 70%;
        text-align: center;
        padding: 0 5px;
    }
    .card_table_body>div:nth-child(2)>b{
        margin: 0;
        display: flex;
        align-items: center;
    }		
    .card_table_body>div:nth-child(2)>figure>img{
        width: 100px;
        height: 100px;
    }
    .card_table_body>div:nth-child(3),.card_table_body>div:nth-child(4),.card_table_body>div:nth-child(5),.card_table_body>div:nth-child(6),.card_table_body>div:nth-child(7){		
        flex: 0 0 100%;
        justify-content: flex-start;
    }
    .card_table_body>div:nth-child(4){
        justify-content: start;
    }
    .card_table_body>div:nth-child(4)>select{
        width: 80px;
    }
    .card_table_body>div:nth-child(7)>b{
        color: gray;
    }
    .card_table_footer>div:nth-child(1){
        flex: 0 0 75%;
    }
    .card_table_footer>div:nth-child(2){
        flex: 0 0 25%;
        padding-left: 15px;
    }
}