/* 
Generic Styling, for Desktops/Laptops 
*/
table.tri4 { 
    width: 50%; 
    border-collapse: collapse; margin-bottom: 2%;
}
/* Zebra striping */
table.tri4  tr { 
    background: #fff; 
}
table.tri4  th { 
    background: #efefef; 
    font-weight: bold; 
    text-align: center;
}
table.tri4  td, th { 
    padding: 6px; 
    border: 1px solid #ccc; 
    text-align: center; 
}

table.tri4 td:nth-child(3){
    
}



/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@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.tri4 , table.tri4  thead, table.tri4  tbody, table.tri4  th, table.tri4  td, table.tri4  tr { 
    display: block; 
}

/* Hide table headers (but not display: none;, for accessibility) */
table.tri4  thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
}

table.tri4  tr { border: 1px solid #ccc; }

table.tri4  td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding-left: 53%; 
}

table.tri4  td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 0px;
    left: 6px;
    width: 42%; 
    padding-right: 10px; 
    white-space: nowrap;
}
table.tri4 {width:100%;}

/*
Label the data
*/
table.tri4  td:nth-of-type(1):before { content: "SNo";font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%; }
table.tri4  td:nth-of-type(2):before { content: "Particulars";font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%; }
table.tri4  td:nth-of-type(3):before { content: "Qty";font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%; }


}








