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

#page-info-with-image {
    display: grid;
    width: 100%;
    padding: 0.1em;
    margin: 0.2em 0;
}
@media screen and (max-width: 45.0em) {
    #page-info-with-image {
        grid-template-areas: "info-image"
                             "info-text";
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 45.01em) {
    #page-info-with-image {
        width: 100%;
        grid-template-areas: "info-text info-image";
        grid-template-columns: 3fr 1fr;
    }
}
#intro-text {
    grid-area: info-text;
    text-align: center;
    font-size: 1.0em;
    padding: 0.2em;
}
#page-image {
    grid-area: info-image;
    padding: 0.2em;
}
.featured-image {
    max-width: calc(100% - 0.4em);
}
#intro-text-full-width, #add-intro-text {
    display: block;
    width: calc(100% - 2.0em);
    padding: 1.0em;
    margin: 0.2em 0;
    text-align: center;
    font-size: 1.0em;
}
.title-text {
    color: blue;
    font-weight: bold;
}
#body-text {
    display: block;
    width: calc(100% - 2.0em);
    padding: 1.0em;
    margin: 0.2em 0;
    font-size: 1.0em;
}

.audio-item1, .audio-item2, .audio-item3 {
    display: grid;
    margin: 0.2em auto 0;
    width: 96%;
    padding: 0;
    grid-column-gap: 2px;
    border: solid 1px #ccc;
    border-right: none;
}
@media screen and (max-width: 45.0em) {
    .audio-item1 {
        margin-top: 0.4em;
    }
}
.audio-item2, .audio-item3 {
    margin-top: 0;
    border-top: none;
}
.header-row {
    background-color: #fffff0;
}
.col1 {
    grid-area: field1;
}
.col2 {
    grid-area: field2;
}
.col3 {
    grid-area: field3;
}
.col4 {
    grid-area: field4;
}
.col5 {
    grid-area: field5;
}
.col6 {
    grid-area: field6;
}
.col7 {
    grid-area: field7;
}
.col8 {
    grid-area: field8;
}
.edit-link {
    grid-area: editlink;
}
.right-aligned {
    text-align: right;
}
.grid-cell {
    padding: 0.3em 0.2em;
    border-right: solid 1px #ccc;
}
.sub-heading {
    background-color: #e8e8e8;
}
