@charset "utf-8";
@import url('./fonts.css');
@import url('./grid.css');

/*
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #1e1f23;
    --secondary-color: #232428;
    --text-dark: #efefef;
    --text: #c4c5c9;
    --text-light: #6c6d71;
    --text-lighter: #8e8f93;
    --link-color:  #efefef;;
  }
}
*/

@page {
  size: 8.5in 11in portrait; /* letter */
  margin: 0.25in;
}
/* @bottom-right-corner {
  content: counter(page);
}
*/

@media all {
  body {
    font-variant: normal;
    max-width: 55em;
    text-align: left;
  }

  a {
    /* color: var(--link-color); */
    text-decoration-line: none;
  }

  p {
    margin: 0.375em 0;
  }

  sup {
    font-size: 0.75em;
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
  }

}

@media screen {
  body {
    /* background: var(--background-color); */
    /* color: var(--text); */
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1em;
    margin-left: 1em;
  }
}

@media print {
  body {
    font-family: 'IBM Plex Serif', serif;
    font-size: 0.875em;
  }

  a {
    color: black;
  }

  p {
    widows: 3;
  }

  sup {
    font-size: smaller;
  }
}

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

.elca {
  font-family: 'Century Gothic', sans-serif;
  font-style: normal;
  font-weight: bold;
}

.chapter, .sov {
  font-family: 'Gauge Regular';
}

.edition, .draft {
  font-weight: 600;
}
.draft {
  color: red;
}
.elca, .sov, .edition, .draft {
  text-align: center;
}

/* Text Formatting */

@media all {
  .c-code, .c-sub, .c-text,
  .b-code, .b-sub, .b-text,
  .r-code, .r-sub, .r-text,
  .text {
    font-style: normal;
    font-variant: normal;
    text-align: left;
  }
  .cite,
  .text {
    font-weight: 450;
  }
  .c-code, .c-sub, .c-text {
    font-weight: 600;
  }
  .b-code, .b-sub, .b-text {
    font-weight: 500;
  }
  .r-code, .r-sub, .r-text {
    font-weight: 400;
  }
  .r-code, .r-sub {
    font-style: italic;
  }
}

@media screen {
  .c-code, .c-sub, .c-text,
  .b-code, .b-sub, .b-text,
  .r-code, .r-sub, .r-text,
  .text {
    font-size: 1em;
    line-height: 1.5em;
  }
  .text {
    margin-left: 1em;
  }
  .cite, .text {
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .c-code, .c-sub, .c-text {
    font-family: 'Noto Sans', sans-serif;
  }
  .b-code, .b-sub, .b-text {
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .r-code, .r-sub, .r-text {
    font-family: 'Source Sans Pro', sans-serif;
  }
}

@media print {
  .c-code, .c-sub, .c-text,
  .b-code, .b-sub, .b-text,
  .r-code, .r-sub, .r-text,
  .text {
    font-size: 0.875em;
    line-height: 1.3125em;
  }
  .text {
    margin-left: 0.875em;
  }
  .cite, .text {
    font-family: 'IBM Plex Serif', serif;
  }
  .c-code, .c-sub, .c-text {
    font-family: 'Noto Serif', serif;
  }
  .b-code, .b-sub, .b-text {
    font-family: 'IBM Plex Serif', serif;
  }
  .r-code, .r-sub, .r-text {
    font-family: 'Source Serif Pro', serif;
  }
}

/* Text Formatting */

@media screen {
  .chapter, .elca {
    font-size: 1.4em;
  }
  .sov {
    font-size: 2em;
  }
}

@media print {
  .chapter, .elca {
    font-size: 1.225em;
  }
  .sov {
    font-size: 1.75em;
  }
}

.chapter, .elca, .sov {
  font-style: normal;
}

.chapter, .sov, .days {
  font-weight: 700;
}

@media all {
  .chapter {
    text-align: left;
    width: 100%;
  }
}

@media print {
  .chapter {
    break-after: avoid;
  }
}

/* Proposed Ammendments */

@media screen {
  .amend-elca {
    background-color: lightgreen;
    /* color: var(--text-light); */
  }
  .amend-sov {
    background-color: #DAF7A6;
    /* color: var(--text-light); */
  }
}

@media print {
  .amend-elca {
    text-decoration: double black underline;
  }
  .amend-sov {
    text-decoration: solid grey underline;
  }
}

/* Proposed Deletions */

@media all {
  .strike {
    text-decoration: line-through solid black;
  }
}
@media screen {
  .strike {
    background-color: gold;
    /* color: var(--text-light); */
  }
}

.head {
  font-style: italic;
}
.bold, .head {
  font-weight: bolder;
}
.both {
  display: inherit;
}

.option {
  background-color: #D4EFDF;
}
.question {
  background-color: peachpuff;
}
.revise {
  background-color: lightgoldenrodyellow;
}

.choice-blue {
  background-color: lightBlue;
}

.choice-green {
  background-color: lightGreen;
}

.choice-wheat {
  background-color: wheat;
}
