:root {
    --color-answer-border: #999;
}

div.hanging {
    margin-top: 0.5em;
    text-indent: -2em;
    margin-left: 2em;
}
div.hanging div.hanging {
    margin-top: 0;
    text-indent: -1.2em;
    margin-left: 1.2em;
}
@media (max-width: 600px) {
    div.hanging {
        text-indent: -1em;
        margin-left: 1em;
    }
}

div.hanging li {
    text-indent: 0;
}

table.schedule {
    margin: 0 auto;
    line-height: 150%;
}
@media (max-width: 600px) {
    table.schedule {
        font-size: 80%;
    }
}
table.schedule_small {
    font-size: 90%;
}

table.schedule th:not([align="center"]) {
    text-align: left;
}
table.schedule td:not(:empty) {
    border-top: 1px solid var(--color-border-gray);
}

.holiday {
    background: var(--color-border-gray);
    border-bottom: 1px solid var(--color-border-gray);
}
.examday, .assignment {
    font-weight: bold;
    background: #feb;
}
ul.sched_topics {
    font-size: 0.8em;
    line-height: 1em;
    list-style-type: circle;
    text-indent: -0.2em;
    margin-top: -0.2em;
    margin-bottom: 0.5em;
    padding-left: 2em;
}

table.rubric {
    font-size: 80%;
    line-height: 140%;
    border: 2px solid #000;
    margin: 1em auto;
}
table.rubric th {
    background: #f4f4f4;
}
table.rubric td, table.rubric th {
    border: 1px solid var(--color-border-gray);
    padding: 0.3em;
}

blockquote.bad_quote {
    border-left: 5px solid #f66;
    background: #fee;
}
blockquote.good_quote {
    border-left: 5px solid #6f6;
    background: #efe;
}

pre, code, tt, kbd {
    padding: 0 0.25em;
    margin: 0;
    background: #f6f6f6;
    border-radius: 4px;
    box-shadow: inset 0 0 3px #bbb;
}
pre {
    margin: 1em 2em;
    padding: 0 0.5em;
}
code, tt, kbd {
    display: inline-block;  /* don't break on a space */
}
kbd {
    background: #555;
    color: #fff;
}

div.question {
    font-weight: bold;
    background: #069;
    color: white;
    padding: 0.5em 0.8em;
    margin-top: 1em;
    border-radius: 15px;
}
div.answer {
    border-left: 3px solid var(--color-answer-border);
    border-right: 3px solid var(--color-answer-border);
    background: var(--color-bg-gray);
    padding: 0.3em 0.8em 0.5em 0.8em;
    margin-left: 1em;
    margin-right: 1em;
    border-radius: 0 0 15px 15px;
}

div.toc {
    background: #ddd;
    border-radius: 1em;
    border: 4px solid var(--color-bg-gray);
    padding: 0.1em 0 1em 1em;
    margin: 1em -1.3em;
    width: 40%;
}
div.toc li {
    padding: 0;
}

.highlighted { border-radius: 3px; color: #000; }
.term0 { background: #f90; }
.term1 { background: #9f0; }
.term2 { background: #f09; }

