/* 
Generic Styling, for Desktops/Laptops 
*/
table.cnd-list-bed { 
    width: 100%; 
    border-collapse: collapse; 
}
/* Zebra striping */
table.cnd-list-bed  tr:nth-of-type(odd) { 
    background: #fff; 
}
table.cnd-list-bed  th { 
    background: #efefef; 
    font-weight: bold; 
}
table.cnd-list-bed  td, th { 
    padding: 6px; 
    border: 1px solid #ccc; 
    text-align: center; 
}

table.cnd-list-bed tr td:nth-child(3) {
   text-align: left;
}

table.cnd-list-bed tr td:nth-child(4) {
   text-align: left;
}




/* 
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.cnd-list-bed , table.cnd-list-bed  thead, table.cnd-list-bed  tbody, table.cnd-list-bed  th, table.cnd-list-bed  td, table.cnd-list-bed  tr { 
    display: block; 
}

/* Hide table headers (but not display: none;, for accessibility) */
table.cnd-list-bed  thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
}

table.cnd-list-bed  tr { border: 1px solid #ccc; }

table.cnd-list-bed  td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding-left: 53%; 
}

table.cnd-list-bed  td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 42%; 
    padding-right: 10px; 
    white-space: nowrap;
}


table.cnd-list-bed  td,th.cen{
	text-align: left;
}


/*
Label the data
*/
table.cnd-list-bed  td:nth-of-type(1):before { content: "S.No";font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%; }
table.cnd-list-bed  td:nth-of-type(2):before { content: "ROLL NO";font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%; }
table.cnd-list-bed  td:nth-of-type(3):before { content: "NAME";font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%; }
table.cnd-list-bed  td:nth-of-type(4):before { content: "FATHER'S NAME";font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%; }
table.cnd-list-bed  td:nth-of-type(5):before { content: "GENDER"; font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%;}
table.cnd-list-bed  td:nth-of-type(6):before { content: "CATEGORY"; font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%;}
table.cnd-list-bed  td:nth-of-type(7):before { content: "SUB CATEGORY"; font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%;}
table.cnd-list-bed  td:nth-of-type(8):before { content: "D.O.B."; font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%;}
table.cnd-list-bed  td:nth-of-type(9):before { content: "FACULTY"; font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%;}
table.cnd-list-bed  td:nth-of-type(10):before { content: "ROUND"; font-weight: bold;color: #454545;border-right:1px solid #bbb;height:100%;}
}




