/*Reset everything, time to take actual control...*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, and, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, select {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    font-family: 'Karla', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-y: hidden;
    color: #fff;
}

.underlay {
    width: 55%;
    margin: 0 0 0 40%;
    background: rgba(25, 25, 25, 0.8);
    height: 100%;
    box-shadow: 2px 0 6px 1px rgba(25, 25, 25, 0.8), -2px 0 6px 1px rgba(25, 25, 25, 0.8);
}

.maintable {
    margin: 0 auto 0 auto;
    width: 100%;
    text-align: center;
}

.maintable tr td {
    padding: 10px;
}

.maintable .cremname {
    font-size: 48px;
    font-weight: bold;
}

.maintable .oos {
    font-size: 40px;
}

.maintable .date {
    font-size: 40px;
}

.maintable .chapelname {
    font-size: 32px;
}

.maintable .chapelname td {
    height: 100px;
}

.maintable .noservices {
    font-size: 24px;
    padding-top: 80px;
}

.servicelist {
    display: inline-block;
}

.servicelist tr td {
    padding: 5px;
    vertical-align: top;
}

.servicelist .serviceline1 {
    font-size: 32px;
}

.servicelist .serviceline2 {
    font-size: 26px;
    vertical-align: top;
}

.servicelist .serviceline3 {
    line-height: 8px;
}

.servicelist .serviceline3 td {
    padding: 8px 4px;
}

.tablecontainer {
    vertical-align: top;
}

@media screen and (orientation: portrait) {
    .maintable .cremname td,
    .maintable .oos td,
    .maintable .date td,
    .maintable .chapelname td {
        padding: 15px;
    }

    .underlay {
        width: 80%;
        margin: 0 0 0 10%;
    }

    .servicelist {
    }
}

@media screen and (orientation: landscape) {
    .maintable .cremname td,
    .maintable .oos td,
    .maintable .date td,
    .maintable .chapelname td {
        padding: 15px;
    }
}
