
table { 
    width: 100%; 
    border-collapse: collapse;
    margin: 0px auto
}
/* Zebra striping */
tr:nth-of-type(odd) { 
    background: #AE150D;
    color: white
}

tr:nth-of-type(even) { 
    background: #800000;
    color:white
}
th { 
    background: red; 
    color: white; 
    font-weight: bold; 
    
}
td, th { 
    padding: 10px 10px 10px 30px; 
    border: 1px solid #ccc; 
    text-align: left; 
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr { 
        display: block; 
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr { border: 1px solid #ccc; }

    
}
