@import url(https://fonts.googleapis.com/css?family=EB+Garamond:400,400i,700,700i);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,400i,700,700i);

body {
    font-family: 'EB Garamond',Helvetica,sans-serif;
    padding: 1em;
    margin: 0 auto;
    width: 1000px;
    font-size: 14pt;
}

h3, h2, h4, h5 {
    font-family: 'Raleway',Helvetica,sans-serif;
    font-weight: 700;
}

a {
    color: #880000;
    font-weight: 700;
}

a:hover {
    text-decoration: none;
}


dl {
    padding-top: 0;
}

dt {
    font-family: 'Raleway',Helvetica,sans-serif;
    font-weight: bold;
}

p {
    text-align: justify;
}

p.question {
    font-style: italic;
}

p.question::before {
    content: 'Q: ';
    font-weight: bold;
}



/* main lecture table */
#lecture-schedule {
    border-top: medium solid;
    border-bottom: medium solid;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;

    td:first-child, th:first-child {
        max-width: 130px; /* Set maximum width */
        text-overflow: ellipsis; /* Truncate text with ellipsis (...) */
        white-space: normal; /* Prevent content from wrapping */
    }

}

tr.thanksgiving {
    background-color: rgba(255, 175, 42, 0.5);
    border: solid;
}

tr.exam, td.exam {
    background-color: rgba(204, 51, 102, 0.5);
}

tr.holiday, td.holiday {
    background-color: rgba(128, 128, 128, 0.5);
}

td,th {
    padding: 0.5em;
    border-bottom: thin solid;
}

