/*
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.
*/

/* Re-definition of common style attributes */
#main {
    max-width: 1200px;
}

/* Page Elements */
#player-outer {
    display: block;
    width: 100%;
    border: solid 1px #ccc;
    margin: 0.2em 0;
    background-color: lightyellow;
}
#player-inner {
    display: block;
    max-width: 468px; /* Need to review this */
    margin: 0 auto;
    text-align: center;
    padding: 0.5em 0;
}
#now-playing-outer {
    display: block;
    width: 100%;
    border: solid 1px #ccc;
    margin: 0.2em 0;
    background-color: #f8f8f8;
}
#now-playing-inner {
    display: block;
    width: 510px; /* Need to review this */
    margin: 0 auto;
    background-color: white;
}
.schedule-header, .repeat-notice {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.5em 0;
}
.schedule-header {
    border: solid 1px #ccc;
    background-color: lightyellow;
    font-size: 1.3em;
    font-weight: bold;
    margin: 1.0em 0 0.1em 0;
}
.repeat-notice {
    border: solid 2px steelblue;
    background-color: #f8f8f8;
    margin: 0.1em 0 0.2em;
}
.main-block
{
    display: block;
    width: 100%;
    border: solid 1px #ccc;
    background-color: white;
}
.main-block-text {
    display: block;
    margin: 0 auto;
    width: 96%;
    color: #444;
    font-weight: bold;
    text-align: center;
}
.shallow-line {
    line-height: 0.9em;
}
#footer {
    display: block;
    width: 100%;
    border: solid 1px #ccc;
    margin: 0.2em 0;
    background-color: #f8f8f8;
    font-size: 0.8em;
}

/* Live broadcast schedule */
.live-broadcast-item, .live-broadcast-notice {
    display: grid;
    width: 100%;
    padding: 0.1em;
    margin: 0.2em 0;
    border: solid 1px #ccc;
    background-color: white;
}
@media screen and (max-width: 45.0em) {
    .live-broadcast-item {
        grid-template-areas: "live-bdcst-time"
                             "live-bdcst-details";
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 45.01em) {
    .live-broadcast-item {
        grid-template-areas: "live-bdcst-time live-bdcst-details";
        grid-template-columns: 12.0em 1fr;
    }
}
.live-broadcast-notice {
    grid-template-areas: "live-bdcst-info";
    grid-template-columns: 1fr;
}
.live-bdcst-time {
    grid-area: live-bdcst-time;
    background-color: #d2e4f5;
    padding: 0.2em;
    text-align: right;
}
.live-bdcst-details {
    grid-area: live-bdcst-details;
    padding: 0.2em 0.5em;
}
.live-bdcst-info {
    grid-area: live-bdcst-info;
    padding: 0.2em 0.5em;
}

/* Daily schedule */
.daily-schedule-item {
    display: grid;
    width: 100%;
    border: solid 1px #ccc;
    margin: 0.1em 0;
    background-color: white;
}
@media screen and (max-width: 45.0em) {
    .daily-schedule-item {
        grid-template-areas: "daily-schedule-time"
                             "daily-schedule-details";
        grid-template-columns: 1fr;
    }
    .daily-schedule-time {
        text-align: left;
    }
}
@media screen and (min-width: 45.01em) {
    .daily-schedule-item {
        grid-template-areas: "daily-schedule-time daily-schedule-details";
        grid-template-columns: 6.0em 1fr;
    }
    .daily-schedule-time {
        text-align: right;
    }
}
.daily-schedule-time {
    grid-area: daily-schedule-time;
    background-color: #d2e4f5;
    padding: 0.2em;
}
.empty-daily-schedule-time {
    grid-area: daily-schedule-time;
}
.daily-schedule-details {
    grid-area: daily-schedule-details;
    padding: 0.2em 0.5em;
}
.daily-schedule-details a {
    font-size: 1.0em;
    font-weight: normal;
}
a:link, a:visited {
    color: steelblue;
    text-decoration: underline;
    font-size: 1.0em;
    font-weight: normal;
}

/* Misc text formatting */
.title-text {
    color: blue;
}
.live-highlight {
    font-weight: bold;
    color: tomato;
}
.preview-warning {
    font-size: 1.2em;
    font-weight: bold;
    color: tomato;
}
