/* Table Cell */

table.Calendar {
    border-collapse: collapse;
}

table.Calendar td {
    width: 120px;
    height: 80px;
    border: 1px solid #ddd;
    font-family: 'Noto Sans TC', "Times New Roman", Times, serif;
    font-size: 0.7em;

    vertical-align: top;
}

/* a */
table.Calendar tr td a {
    display: block;
    text-align: left;
    text-decoration: none;
    width: 118px;

    background-color: #66f;
    color: white;
    margin-bottom: 2px;
    border-radius: 4px;
    padding-left: 3px;
}

/* Date */
table.Calendar tr td h6 {
    font-size: 1em;
    margin: 0px;
    padding: 0px;
    padding-left: 5px;
    width: 100px;
    height: 1.5em;
    text-align: left;
}

table.Calendar th:first-child,
table.Calendar tr td:first-child h6 {
    color: red;
}

table.Calendar tr td:first-child {
    background-color: #fff6f6;
}

table.Calendar th:last-child,
table.Calendar tr td:last-child h6 {
    color: green;
}

table.Calendar tr td:last-child {
    background-color: #f6fff6;
}

/* ------------------------------ */
/* focused a */
table.Calendar tr td a:focus {
    border: none;
}

/* Highlight today */
table.Calendar tr td.highlight h6 {
    border: 2px solid orange;
    border-radius: 1em;
    width: 1.5em;
    background-color: white;
    font-weight: bold;
}

table.Calendar tr td.highlight {
    background-color: #fe2;
}

/* void the non-dated grids */
table.Calendar tr td.void {
    background-color: #f6f6f6;
}