﻿
table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

    table caption {
        font-size: 1.5em;
        margin: .5em 0 .75em;
    }

    table tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        padding: .35em;
    }

    table th,
    table td {
        padding: .625em;
    }

    table th {
        /*text-align: center;*/
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

@media screen and (max-width: 600px) {

     

    table {
        border: 0;
    }

    .action-td {
        width: 100% !important;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    /*Here we are setting each td display to block*/
    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        width: 100% !important;
        /*text-align: left; */
    }

    /*
	    Now the other data-label that we have added on each td comes into play.
	*/

        table td::after {
            content: attr(data-label);
            float: right;
            font-weight: bold;
           /* text-transform: uppercase;*/
            margin: 0 15px;
        }

        table td:last-child {
            border-bottom: 0;
        }
}
