@media only screen and (min-device-width: 510px) {
    /* scheduleTable */
    .dowCell   { width:  5%; min-width: 43px; }
    .dateCell  { width: 10%; min-width: 41px; }
    .lnCell    { width:  5%; min-width: 21px; }
    .topicCell { width: 40%; min-width: 99px; }
    .zyCell    { width: 15%; min-width: 165px; }
    .labCell   { width: 10%; min-width: 54px; }
    .notesCell { width: 15%; min-width: 75px; }

    .sticky2 + .mainContent {
        padding-top: 65px;
    }

    .sticky2 {
        position: fixed;
        z-index: 100;
    }
}

@media only screen and (max-device-width: 509px) {

    /* 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 #002b5b; }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        vertical-align: middle;
    }

    td.empty {
        display: none;
    }

    td:not(.weekSeparator):before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 0px;
        left: 6px;
        font-weight: bold;
        background-color: #ccc;
        width: 30%;
        height: 100%;
    }

    /*
    Label the data
    */
    td.dowCell:before { content: "DOW"; }
    td.dateCell:before { content: "Date"; }
    td.lnCell:before { content: "Lecture Number"; }
    td.topicCell:before { content: "Topic"; }
    td.commentCell:before { content: "Comments" }
    td.zyCell:before { content: "Readings"; }
    td.labCell:before { content: "Handouts"; }
    td.notesCell:before { content: "Notes"; }

    tbody tr:not(:first-of-type) td.weekSeparator {
        height: 25px;
        padding:0;
        text-align:right;
        padding-right: 40px;
    }

    tbody tr:not(:first-of-type) td.weekSeparator a.hiddenLink {
        display:inline;
        color:#ff0;
    }

}