.r, .psalm-tone-selector .psalm-tone a.selected, .psalm-tone-selector .psalm-tone.selected strong {
  color: darkred; }

body {
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", "Segoe UI", "Lucida Grande", "Helvetica Neue", "Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;
  padding: 18vh 1rem;
  max-width: 40em;
  margin: 0 auto 0 auto; }

nav a {
  margin-right: 0.3em; }

footer {
  margin-top: 5em;
  font-size: 70%; }

h1 {
  text-align: center; }

h2 {
  margin-top: 1.2em;
  border-bottom: 1px solid #a2a9b1; }

h2.hour-section {
  border: none;
  font-variant: small-caps;
  font-weight: normal; }

a {
  color: rgba(0, 0, 0, 0.7); }
  a:focus, a:hover {
    color: rgba(0, 0, 0, 0.6); }

.psalm-tone-selector .psalm-tone {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.3em;
  white-space: nowrap; }
  .psalm-tone-selector .psalm-tone a {
    padding: 0.15em; }

.notation {
  margin: 0.5em 0 0.7em 0;
  height: 3.8em;
  max-width: 100%; }

.psalm-wrapper {
  margin-bottom: 4em; }
  .psalm-wrapper.skipped {
    display: none; }

.single-psalm .title {
  display: none; }

.psalm .title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5em; }

.psalm .strophe {
  margin-bottom: 0.6em; }

.psalm .strophe + .title {
  display: none; }

.psalm .doxology:has(+ .strophe), .psalm .doxology:has(+ .title) {
  display: none; }

.psalm .verse {
  padding-left: 1em;
  text-indent: -1em; }

.psalm .verse:first-line {
  text-indent: 0; }

.psalm.verse-part-newlines .verse, .psalm.verse-part-newlines .verse:first-line {
  padding-left: 0;
  text-indent: 0; }

.psalm.verse-part-newlines .verse_part {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
  margin-left: 1em; }
  .psalm.verse-part-newlines .verse_part:first-line {
    text-indent: 0; }
  .psalm.verse-part-newlines .verse_part:first-child {
    margin-left: 0;
    padding-left: 2em;
    text-indent: -2em; }

.psalm.loading {
  background-color: #ccc;
  -webkit-animation: 1s infinite alternate loading-pulse;
          animation: 1s infinite alternate loading-pulse; }

@-webkit-keyframes loading-pulse {
  from {
    opacity: 0.2; }
  to {
    opacity: 0.8; } }

@keyframes loading-pulse {
  from {
    opacity: 0.2; }
  to {
    opacity: 0.8; } }

.psalms-list > a, .psalms-list > em, .psalms-list > span {
  display: inline-block;
  margin: 0 0.2em; }

.error {
  padding: 1em;
  color: darkred;
  border: 1px solid darkred;
  border-radius: 5px; }

@media print {
  body {
    padding: 1rem 1rem; }
  nav, footer,
  .psalm-tone:not(.selected), .psalm-tone * {
    display: none; }
  .psalm-tone-selector {
    font-size: small;
    text-align: center; }
  .psalm-tone.selected strong, .psalm-tone.selected a.selected {
    display: inline;
    color: #333 !important;
    text-decoration: none;
    font-weight: normal; }
  .psalm .title a {
    text-decoration: none; }
  .error {
    padding: 0;
    border: none;
    color: #333; }
    .error a::after {
      content: ": " attr(href); }
  .psalm-wrapper:has(.error) .psalm-tone-selector, .psalm-wrapper:has(.error) .notation {
    display: none; } }
