/* CSS for Tales of the Future  */
/* (c) 2020 by Jeff and Jordan Diewald */
/* web/source/stylesheets/site.css.scss */
/* Our interesting CSS */
/* This is how SCSS does variables */
@media print {
  html {
    margin: 0;
    margin-left: 1.5em;
    padding: 0; } }

@media screen {
  html {
    margin: 0;
    padding: 0; } }

a.navigation {
  color: blue;
  text-decoration: none; }

a.navigation:hover {
  color: red; }

article, footer, header, nav {
  display: block; }

@media screen {
  article {
    float: right;
    margin: 0 0 1em 0;
    width: 79%; } }

@media print {
  /* This takes the whole page. */
  article {
    margin: 0.5em 0 0.5em 0; } }

article h1,
article h2,
article h3,
article h4 {
  border-top: 1px solid rgba(0, 0, 127, 0.9);
  border-left: 1px solid rgba(0, 0, 127, 0.9);
  font-weight: normal;
  margin-top: 0.5em;
  padding: 3px; }

article h1 {
  font-size: 150%; }

article h2 {
  font-size: 125%; }

article h3 {
  font-size: 125%; }

article h4 {
  font-size: 100%;
  font-weight: bold; }

body {
  font: 100% Optima Regular;
  margin: 1em;
  padding: 0; }

div.challenge,
div.warning {
  background-color: ivory;
  border: 1px solid rgba(0, 0, 127, 0.9);
  margin-left: 2em;
  margin-right: 2em;
  padding-left: 5px;
  padding-right: 5px; }

footer {
  border-top: 1px solid rgba(0, 0, 127, 0.9);
  border-left: 1px solid rgba(0, 0, 127, 0.9);
  clear: both;
  font-size: 100%;
  margin: 0.5em 0 0 0;
  padding: 0.25em; }

@media screen {
  header {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    margin: 0;
    padding: 0;
    width: 100%; }
  header.Content {
    background-image: url("../images/NMS_Dawn_Of_Dinosaurs.jpg");
    color: white; }
  header.Costuming {
    background-image: url("../images/NMS_Emerald_Radiant_In_Space.jpg");
    color: white; }
  header.Credits {
    background-image: url("../images/NMS_Zima_Blue_Abandoned_Station.jpg");
    color: white; }
  header.History {
    background-image: url("../images/NMS_Stars_Abound_Pad.jpg");
    color: black; }
  header.Home {
    background-image: url("../images/NMS_Zima_Blue_Over_Desert.jpg");
    color: white; }
  header.Logistics {
    background-image: url("../images/NMS_Borealis_Biodomes.jpg");
    color: black; }
  header.Notable {
    background-image: url("../images/NMS_Exuberant_Vista.jpg");
    color: black; }
  header.Questionnaire {
    background-image: url("../images/NMS_Koyaanisqatsi_Approach.jpg");
    color: white; }
  header.Rules {
    background-image: url("../images/NMS_Hills_Are_Alive_Outpost.jpg");
    color: black; }
  header.Universe {
    background-image: url("../images/NMS_Emerald_Radiant_On_Derelict.jpg");
    color: white; }
  header h1 {
    /* color: white; -- now per image */
    font-size: 200%;
    font-weight: normal;
    margin: 0;
    padding: 20px 0 0 0;
    text-align: center; } }

@media print {
  /* This just disappears. */
  header {
    display: none; } }

@media screen {
  nav {
    float: left;
    margin: 0.75em 0 2em 0;
    width: 18%; } }

@media print {
  /* This just disappears. */
  nav {
    display: none; } }

p.navigation {
  background-color: ivory;
  border-bottom: 1px solid rgba(0, 0, 127, 0.9);
  border-left: 1px solid rgba(0, 0, 127, 0.9);
  border-right: 1px solid rgba(0, 0, 127, 0.9);
  margin: 0;
  padding: 5px;
  text-align: center; }

p.navigationFirst {
  border-top: 1px solid rgba(0, 0, 127, 0.9); }

/* not currently used
p.navigationHeader {
    background-color: $navBackgroundColor;
    border-bottom: 1px solid $borderColor;
    color: white;
    margin: 0;
    padding: 5px;
    text-align: center;
}
*/
table {
  border-bottom: 1px solid rgba(0, 0, 127, 0.9);
  border-right: 1px solid rgba(0, 0, 127, 0.9);
  border-collapse: collapse;
  margin: 0.5em 0;
  padding: 0; }

td.volume {
  text-align: center; }

td {
  border-top: 1px solid rgba(0, 0, 127, 0.9);
  border-left: 1px solid rgba(0, 0, 127, 0.9);
  padding: 5px; }

tr.evenRow {
  background-color: rgba(0, 0, 127, 0.1); }

tr.headerRow {
  background-color: ivory;
  color: black; }

tr.oddRow {
  background-color: white; }
