body, input, textarea {
    font-family: Arial, sans-serif;
    font-size: small;
}
table {
    border-left: 1px solid #aaa;
    border-spacing: 0;
    border-collapse: collapse; 
    width: 100%;
}
td, th {
    border-right: 1px solid #aaa;
    border-top: 1px solid #aaa;
    text-align: center;
}
td.editor, th {
    background-color: #eee;
    font-weight: bold;
    border-bottom: 1px solid #aaa;
    width: <?php echo floor(100 / ($first_end + 2)); ?>%;
}
textarea {
    overflow: hidden;
    resize: none;
    height: 3em;
    width: 96%;
}
textarea.notes {
    height: 4em;
}
textarea.intext {
    border: 0;
    text-align: center;
    vertical-align: middle;
}
.rec { background-color: #ccccff; }
.vac { background-color: #ffcccc; }
.perm { background-color: #99ccff; }
.off { background-color: #ccffcc; }
.rtt { background-color: #ffffcc; }
.mala { background-color: #cc99ff; }
.sample {
    margin: 0.2em;
    padding: 0.2em;
    border: 1px solid #aaa;
}
#sample_block {
    margin-top: 1em;
    padding: 0.3em;
}
#save_block {
    margin-top: 1em;
}
#header {
    border: 0;
    font-weight: bold;
    font-size: medium;
    margin-bottom: 0.5em;
}
.borderless {
    border-left: 0;
    border-right: 0;
}
#blackline {
    border: 1px solid #000;
    background-color: #000;
    height: 2px;
    margin: 14px 0 14px 0;
}
.extra {
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    background-color: #fff;
}
#badpass {
    color: red;
    font-weight: bold;
}
#nopass {
    color: #999;
}

