/*
This stylesheet relies on the use of the main stylesheet common_styles.css (in the base URL).
The latter is loaded separately (rather than via @import url) so that the last preset link
version can be applied to it.
*/

#schedule {
    display: grid;
    margin: 0 auto;
}
@media screen and (max-width: 45.0em) {
    #schedule {
        width: 96%;
        grid-template-areas: "col1"
                             "col2";
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 45.01em) {
    #schedule {
        width: calc(100% - 1.0em);
        margin: 0.5em auto;
        grid-template-areas: "col1 col2";
        grid-template-columns: 1fr 1fr;
        grid-gap: 0 0.2em;
    }
}
.column1 {
    grid-area: col1;
}
.column2 {
    grid-area: col2;
}
.schedule-section {
    border: solid 1px #ccc;
    padding: 0.2em 0.4em;
}
.schedule-header {
    display: block;
    width: calc(100% - 0.4em);
    font-size: 1.1em;
    font-weight: bold;
    padding: 1.0em 0.2em;
}
a.schedule-link:link,
a.schedule-link:visited {
    display: block;
    width: calc(100% - 0.8em);
    font-size: 1.0em;
    text-decoration: none;
    color: #444;
    background-color: #e8f0fc;
    padding: 0.2em;
    border: solid 1px #ccc;
    border-radius: 0.2em;
    margin-bottom: 0.2em;
}
a.schedule-link:hover {
    background-color: #eaea7b;
}
