/*
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 elements */
body {
    font-size: 85%;
}
#main {
    display: grid;
    grid-gap: 1.0em;
    padding: 0.5em;
    max-width: 68.0em;
}

/* Page Grid & Link Boxes */
@media screen and (max-width: 45.0em) {
    #main {
        grid-template-areas: "top"
                             "enter"
                             "broadcasts"
                             "history"
                             "webcam"
                             "help"
                             "contact"
                             "facebook";
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 45.01em) {
    #main {
        grid-template-areas: "top top top"
                             "broadcasts enter help"
                             "history enter contact"
                             "webcam enter facebook";
        grid-template-columns: 3fr 7fr 3fr;
    }
}
#top {
    grid-area: top;
}
#enter {
    grid-area: enter;
}
#broadcasts {
    grid-area: broadcasts;
    padding-bottom: 0.5em;
}
#history {
    grid-area: history;
    padding-bottom: 0.5em;
}
#webcam {
    grid-area: webcam;
    padding-bottom: 0.5em;
}
#help {
    grid-area: help;
    padding-bottom: 0.5em;
}
#contact {
    grid-area: contact;
    padding-bottom: 0.5em;
}
#facebook {
    grid-area: facebook;
    padding-bottom: 0.5em;
}
.box-container {
    display: block;
    width: 100%;
    height: 98%;
    border: solid 1px #002078;
    border-top-width: 1.5em;
    border-radius: 1.0em;
    background-image: url(./images/cell_background.jpg);
    background-size: contain;
    background-repeat: repeat-x;
    text-align: center;
}
.linespace {
    height: 1.0em;
    clear: both;
}
.image-link {
    display: block;
    width: 80%;
    margin: 0 auto;
}
.link-image {
    width: 100%;
    height: auto;
}
.box-title {
    display: block;
    width: 100%;
    margin-top: 0.5em;
    font-weight: bold;
    font-size: 1.1em;
}
.box-info {
    display: block;
    width: 100%;
    margin-top: 0.5em;
    font-size: 1.1em;
    color: steelblue;
}
.main-enter-link:link,
.main-enter-link:visited {
    font-size: 1.8em;
    font-weight: bold;
    color: red;
    text-decoration: underline;
}
