/* CSS for The Journey of a Single Step...  */
/* (c) 2019-2020 by Jeff and Jordan Diewald */
/* web/source/stylesheets/site.css.scss */
/* Our interesting CSS */
@media print {
  html {
    margin: 0;
    margin-left: 1.5em;
    padding: 0; } }

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

a.navigation {
  color: rgba(0, 0, 127, 0.9); }

a.componentLink,
a.navigation {
  text-decoration: none; }

a.componentLink:hover,
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; } }

/* Must follow base article definitions above, to override them */
article.tale {
  float: none;
  margin-right: 1em;
  margin-left: 1em;
  width: auto; }

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 h3.taleCharacterName {
  border-right: 1px solid rgba(0, 0, 127, 0.9);
  text-align: center; }

article h1.taleHeader,
article h2.taleHeader,
article h3.taleHeader {
  border: 0;
  margin: 0;
  text-align: center; }

article h1 {
  font-size: 150%; }

article h2 {
  font-size: 125%; }

article h3 {
  font-size: 125%; }

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

article h4.pageBreak {
  page-break-before: always; }

body {
  font: 100% Arial, Times, serif;
  margin: 1em;
  padding: 0; }

div.challenge,
div.elevatorPitch,
div.importantNote {
  background-color: rgba(0, 0, 127, 0.1); }

div.challenge,
div.elevatorPitch,
div.importantNote,
div.ritual,
div.timeFieldManipulation {
  border: 1px solid rgba(0, 0, 127, 0.9); }

div.challenge,
div.elevatorPitch,
div.importantNote,
div.indentation,
div.ritual,
div.timeFieldManipulation {
  margin-left: 2em;
  margin-right: 2em;
  padding-left: 5px;
  padding-right: 5px; }

div.column1,
div.column2 {
  /* border: 1px solid red; */
  margin: 0;
  margin-top: -1.5em;
  padding: 0;
  width: 49%; }

div.column1 {
  float: left; }

div.column2 {
  float: right; }

div.ritual {
  text-align: center; }

div.timeFieldManipulation {
  margin-bottom: 2em; }

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-image: url("../images/hyperspace.jpg");
    background-position: center;
    background-repeat: no-repeat;
    height: 120px;
    margin: 0;
    padding: 0;
    width: 100%; }
  header h1 {
    color: white;
    font-size: 200%;
    font-weight: normal;
    margin: 0;
    padding: 20px 0 0 0;
    text-align: center; } }

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

img.map {
  display: block;
  margin-right: auto;
  margin-left: auto; }

img.triangle {
  float: left;
  height: 200px;
  margin-bottom: 0.5em;
  margin-right: 1.5em;
  margin-top: 0.5em;
  padding-right: 5px;
  width: 200px; }

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

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

p.actionId {
  font-size: 125%;
  margin-bottom: 5px;
  margin-top: 5px;
  padding: 0;
  text-align: center; }

p.errorMessage {
  font: 80% Courier;
  margin: 0;
  padding: 0;
  text-align: center; }

p.exhortation {
  font-size: 125%;
  text-align: center; }

p.manipulation {
  font-size: 150%;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  padding-bottom: 2px;
  text-align: center; }

p.navigation {
  background-color: rgba(0, 0, 127, 0.1);
  border-bottom: 1px solid rgba(0, 0, 127, 0.9);
  margin: 0;
  padding: 5px; }

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

p.navigationHeader {
  background-color: rgba(0, 0, 127, 0.6);
  border-bottom: 1px solid rgba(0, 0, 127, 0.9);
  color: white;
  margin: 0;
  padding: 5px;
  text-align: center; }

p.poeticNote,
p.poeticTitle {
  margin-bottom: 2px;
  margin-left: 1em;
  margin-top: 2px;
  padding: 0; }

p.poeticNote {
  font-size: 80%;
  font-style: italic;
  padding-top: 2px; }

p.poeticTitle {
  font-weight: bold;
  margin-bottom: 5px; }

p.powerChange {
  font-size: 125%;
  margin-bottom: 2px;
  margin-top: 6px;
  padding: 0;
  text-align: center; }

p.timingPhrase {
  font-size: 120%;
  font-style: italic;
  margin-bottom: 2px;
  margin-left: 1em;
  margin-top: 2px;
  padding: 0;
  text-align: center; }

span.funkyName {
  white-space: nowrap; }

span.green {
  background-color: lightgreen; }

span.orange {
  background-color: orange; }

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; }

table.headerBlockTable {
  border-bottom: 0;
  border-right: 0;
  width: 100%; }

table.headerBlockTable td {
  border-top: 0;
  border-left: 0;
  vertical-align: top; }

/* Must follow the td definition above, which resets the border */
table.characterStatisticsTable td {
  border-top: 1px solid rgba(0, 0, 127, 0.9);
  border-left: 1px solid rgba(0, 0, 127, 0.9);
  vertical-align: top; }

td.characterName,
td.characterRace {
  white-space: nowrap; }

td.characterId,
td.characterRace,
td.characterSpecies,
td.commandLength,
td.commandRole,
td.componentId,
td.componentName,
td.journeyStageTitle,
td.relativeTime,
td.statisticType,
td.statisticValue,
td.taleComponentCopyCount,
td.taleId,
td.templateType {
  text-align: center; }

td.characterStatistics {
  width: 15%; }

td.startingLocation {
  width: 85%; }

td.actionAtTime,
td.componentDescription,
td.componentId,
td.componentName,
td.journeyStageDescription,
td.journeyStageTitle,
td.relativeTime,
td.techDescription,
td.techTitle {
  margin: 0;
  padding-bottom: 0;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 0;
  vertical-align: top; }

td.journeyStageTitle,
td.techTitle {
  font-weight: bold; }

td.startingLocation {
  padding-top: 0.75em; }

td.startingLocation p {
  margin: 0;
  padding: 3px; }

td.taleName {
  font-style: italic; }

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: rgba(0, 0, 127, 0.6);
  color: white; }

tr.oddRow {
  background-color: white; }

/* Small indent at the outermost level */
ul.shipActionItems {
  margin: 0.5em;
  padding: 0; }

ul.shipActionSubitems {
  margin-left: 1.5em;
  padding: 0; }

ul.shipActionItems,
ul.shipActionSubitems {
  list-style: none; }

ul.shipActionItems li::before {
  content: "\25FC";
  /* square */
  display: inline-block;
  /* Add space between the bullet and the text */
  margin-left: -1em;
  /* Also needed for space (tweak if needed) */
  width: 1em;
  /* Also needed for space (tweak if needed) */ }

ul.shipActionItems li.shipActionItemGreen::before {
  color: green;
  /* Change the color */ }

ul.shipActionItems li.shipActionItemRed::before {
  color: red;
  /* Change the color */ }

ul.shipActionItems li.shipActionItemYellow::before {
  color: orange;
  /* Change the color */ }
