@charset "UTF-8";

body {
    margin: 0 10px;
    font-size: 100%;
    text-align: center;
}

select {
    font-size: 100%;
}

option {
    font-size: 130%;
}

table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

th {
    background-color: #e7e7e7;
    background-color: #ccc;
}

th.sunday {
    background-color: #faa;
}

th.saturday {
    background-color: #aaf;
}

#login {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
}

#name {
    margin: 10px;
}

#username {
    min-width: 110px;
}

#date {
    margin: 10px;
}

#prev {
    margin: 10px;
    font-size: 120%;
}

#next {
    margin: 10px;
    font-size: 120%;
}

td {
    width: 10%;
    padding: 2px;
    vertical-align: top;
    border-color: #ccc #000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

td.hide {
    display: none;
}

td.lacking {
    background-color: #ffe7e7;
}

td.toomany {
    background-color: #ffc;
}

td.closed {
    font-weight: bold;
    color: #fff;
    background-color: #666;
    border-bottom-color: #666;
}

td.flu {
    background-color: #cf9;
}

td.day {
    line-height: 1;
    border-bottom-color: #000;
    background-color: #eee;
    font-weight: bold;
}

td.ampm {
    font-variant: small-caps;
}

td.am {
    border-right-color: #ccc;
}

td.status {
    padding: 0;
    line-height: 1;
    font-size: 150%;
    font-weight: 900;
}

td.others {
    padding: 1px;
    font-size: 80%;
    border-bottom-color: #000;
}

td.partial {
    padding: 5px;
    font-size: 90%;
    text-align: left;
}

#modal-content {
    position: fixed;
    display: none;
    z-index: 2;
    width: 50%;
    margin: 0;
    padding: 10px 20px;
    border: 2px solid #aaa;
    background: #fff;
}

/*
#modal-content p {
    margin: 0;
    padding: 0;
}
*/

#modal-overlay {
    z-index: 1;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.75);
}

#modal-close {
    color: #00f;
    text-decoration: underline;
}

#modal-close:hover {
    cursor: pointer;
    color: #f00;
}

#date2 {
    display: none;
}

