/* ---------------------------------------------------------------- */
/*                      responsive-table code                       */
/* ---------------------------------------------------------------- */

table {
    width: 100%;
    border-collapse: collapse;
}

/* Zebra striping */
tr:nth-of-type(odd) {
    background: #eee;
}

th {
    background: #333;
    color: white;
    font-weight: bold;
}

td, th {
    padding    : 6px            ;
    border     : 1px solid #ccc ;
    text-align : left           ;
}

@media only screen and (max-width: 920px) {
                                /* Switch table into new mode */
    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; }

td {
/* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 35%;
}

td:before {
/* Now like a table header */
    position: absolute;
/* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
}

/* Label the data */
td[what^="tindeck"]:nth-of-type(1):before { content: "Icon"       ; }
td[what^="tindeck"]:nth-of-type(2):before { content: "Author"     ; }
td[what^="tindeck"]:nth-of-type(3):before { content: "Title/Play" ; }
td[what^="tindeck"]:nth-of-type(4):before { content: "Download"   ; }
td[what^="tindeck"]:nth-of-type(5):before { content: "Year"       ; }
td[what^="tindeck"]:nth-of-type(6):before { content: "Time"       ; }
td[what^="tindeck"]:nth-of-type(7):before { content: "Notes"      ; }

/* Label the data */
td[what^="key"]:nth-of-type(1):before { content: "File"  ; }
td[what^="key"]:nth-of-type(2):before { content: "Notes" ; }
/* td[what^="key"] { text-align: justify; } */

/* Label the data */
td[what^="dir"]:nth-of-type(1):before     { content: "Name"  ; }
td[what^="dir"]:nth-of-type(2):before     { content: "Email" ; }
td[what^="dir"]:nth-of-type(3):before     { content: "Phone" ; }
td[what^="dir"]:nth-of-type(4):before     { content: "Notes" ; }

/* Label the data */
td[what^="morefour"]:nth-of-type(1):before  { content: "Name"       ; }
td[what^="morefour"]:nth-of-type(2):before  { content: "More"       ; }

/* Label the data */
td[what^="snailfour"]:nth-of-type(1):before { content: "Name"       ; }
td[what^="snailfour"]:nth-of-type(2):before { content: "Snail-Mail" ; }

/* Label the data */
td[what^="exec"]:nth-of-type(1):before { content: "Name"  ; }
td[what^="exec"]:nth-of-type(2):before { content: "Email" ; }
td[what^="exec"]:nth-of-type(3):before { content: "Phone" ; }
td[what^="exec"]:nth-of-type(4):before { content: "Notes" ; }

/* Label the data */
td[what^="notk"]:nth-of-type(1):before { content: "Name"   ; }
td[what^="notk"]:nth-of-type(2):before { content: "Entity" ; }
td[what^="notk"]:nth-of-type(3):before { content: "Email"  ; }
td[what^="notk"]:nth-of-type(4):before { content: "Phone"  ; }
td[what^="notk"]:nth-of-type(5):before { content: "Title"  ; }
}
