
@media screen {
  body {
    color: white;
	background: #e59c9c url(../Images/BabBeast.jpg) 50% 50% fixed no-repeat;
  }
  div#bgimg { visibility: hidden; }
  div#bghex { visibility: hidden; }
  a { color: #ff9; text-decoration: none; }
  a:hover { color: #fff; text-decoration: underline; }
  div#validator-info {
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 10px;
  }
  div.info-block {
    color: white;
    background: transparent url(../Images/shadow-30-pct) top left repeat;
    padding: 2px 8px;
    border: 1px solid #FC9;
  }
  div.info-block a {
    color: white;
    padding: 0 4px;
  }
  div.info-block a:hover {
    color: yellow;
    background: transparent url(../Images/shadow-30-pct) top left repeat;
    text-decoration: none;
    border: 1px solid white;
  }
  div#main-body-content {
    position: fixed;
    z-index: 5;
    top: 3em;
    left: 10%;
    right: 10%;
    bottom: 1.5em;
    overflow: auto;
    margin: 0;
    padding: 2em 0;
  }
  p.standout {
    color: white;
    background: green url(../Images/shadow-rolloff) center center repeat-x;
  }
  p.standout a {
    color: white;
  }
  p#dwtw {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  p#litl {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
  p#today-is {
    color: white;
    background: transparent url(../Images/shadow-30-pct) top left repeat;
    line-height: 2em;
    padding: 0 1em;
  }
}
@media print {
  body {
    color: black;
    background-color: white;
  }
  div#bgimg { visibility: hidden; }
  div#bghex { visibility: hidden; }
  div#footer,
  div#validator-info {
    display: none;
  }
  kbd { color: red; }
  h1,h2,h3 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  a:link, a:visited {
    color: black;
    text-decoration: none;
  }
}
@media handheld, projection, tv {
 body {
    color: #ff6;
    background-color: #cd5e5e;
 }
 kbd { color: white; background-color: #833; }
 div#footer,
 div#validator-info {
    display: none;
 }
}


body {
    font-family: sans-serif;
    line-height: 1.3em;
    margin: 0;
    padding: 1em 3em;
}

div#top-text {
    position: fixed;
    z-index: 9; top: 1.5em; bottom: 1em; left: 3em; right: 3em;
    background-color: transparent;
}

h1 {
    color: #366;
    letter-spacing: 0.2em;
    line-height: 110%;
}

div#liber-al-exam {
    display: block;
    width: 15em;
    float: right;
    font-size: smaller;
    text-align: center;
    color: #ff9;
}

div#content-main {
    width: 97%;
    padding: 1em;
    float: left;
}

div.info-block {
    width: 16em;
    margin: 1em auto;
}

h1, h2, h3 {
    text-align: center;
}
@media (min-width: 640px) {
  h1, h2, h3 {
    margin: 0.5em 3em 1em 3em;
  }
}
@media (max-width: 640px) {
  h1, h2, h3 {
    margin: 0.4em 0.1em 0.2em 0.1em;
  }
}

h1 span { font-variant: small-caps; }

p.standout {
    text-align: center;
    font-variant: small-caps;
    border-left: 1px solid #090;
    border-bottom: 2px solid #030;
}

div#footer {
    position: fixed;
    left: 120px;
    bottom: 5px;
}

p#info-msg {
    font-size: x-small;
    line-height: 1.5em;
    color: white;
}
p#info-msg a {
    color: #ff3;
}
p#today-is {
    display: block;
    text-align: center;
    width: 60%;
    min-width: 30em;
    margin: 0.2em auto;
}

div.mass-container {
    width: 20em;
    margin: 1em auto;
    padding: 0;
}
div#mass-list {
    width: 99%;
    background: transparent url(../Images/shadow-30-pct) top left repeat;
    margin: 0;
    border: 1px solid #FFC;
    padding: 0.5em;
}
div.m0:before, div.m1:before, div.m2:before,
div.m3:before, div.m4:before, div.m5:before {
    font-family: Courier, fixed;
    font-weight: normal;
    white-space: pre;
    padding-left: 8px;
}
div.m0:before { content: 'Date     : '; }
div.m1:before { content: 'Priest   : '; }
div.m2:before { content: 'Priestess: '; }
div.m3:before { content: 'Deacon   : '; }
div.m4:before { content: 'Positive : '; }
div.m5:before { content: 'Negative : '; }
div.m0, div.m1, div.m2, div.m3, div.m4, div.m5 {
    font-weight: bold;
    line-height: 1.5em;
}
div.m0 { border-bottom: 1px solid #FFC; margin-bottom: 0.2em; }
div.m1 { background-color: #FCC; color: black; }
div.m2 { background-color: #CCF; color: black; }
div.m3 { background-color: #FFC; color: black; }
div.m4 { background-color: #FFF; color: black; }
div.m6,
div.m5 { background-color: #EEE; color: black; }
div.m0 { color: #FFC; }
div#mass-history {
    width: 100%;
    padding: 0.5em;
    text-align: center;
}
div#mass-history img { display: inline; border: none; }
