/**
 * Stylesheet for the Lyrical Ballads project
 * 
 * 
 */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* cormorant-garamond-300 - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-300.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-300.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-300italic - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-300italic.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-300italic.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-italic - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-italic.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-italic.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-regular - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-regular.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-regular.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-500 - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-500.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-500.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-500italic - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-500italic.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-500italic.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-600 - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-600.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-600.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-700 - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-700.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-700.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-600italic - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-600italic.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-600italic.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* cormorant-garamond-700italic - latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 700;
  src: local(""), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-700italic.woff2") format("woff2"), url("../fonts/cormorant-garamond/cormorant-garamond-v10-latin-700italic.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
:root, html {
  font-size: 1rem;
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond";
  font-size: 1.2rem;
  background-color: #fafafa;
  overflow-x: hidden;
}

/* Document structure */
ul[data-type=toc] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration-skip: ink;
  text-decoration-color: rgba(161, 46, 37, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 1px;
}

nav {
  background: white;
  display: flex;
  width: 100%;
  border-bottom: 1px solid #efefef;
  justify-content: center;
}

nav > ul {
  display: flex;
  width: 85rem;
  margin: 0 auto;
  justify-content: space-between;
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: baseline;
}
nav > ul > li {
  text-align: center;
  width: 100%;
}
nav > ul > li > * {
  width: 100%;
  padding: 1rem 0;
  display: block;
}
nav > ul > li > a {
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: border-bottom-color 0.1s ease-in-out;
}
nav > ul > li > a:hover, nav > ul > li > a:visited {
  color: inherit;
  text-decoration: none;
}
nav > ul > li > a:hover {
  border-bottom-color: #a12e25;
}

nav ul ul {
  display: none;
}

nav ul > li:hover > ul {
  display: block;
  position: absolute;
  top: 0;
}

main {
  max-width: 80rem;
  margin: 0 auto;
}

article ul[data-type=toc] li {
  text-indent: -1em;
  padding-left: 1em;
}

article {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1.5rem;
  max-width: 52.5rem;
  margin: -9em auto 2rem auto;
  background: white;
}
@media (max-width: 768px) {
  article {
    margin: -9em 1rem 2rem 1rem;
  }
}

aside > a {
  display: inline-block;
  padding: 0.6rem 0.6rem;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
  border: 1px dashed #bcbcbc;
  background-color: #fcfcfc;
  color: black;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease-in-out;
}
aside > a:hover {
  background-color: #efefef;
}

.next-prev {
  position: sticky;
  top: 50%;
  min-height: 2em;
}
.next-prev#prev-btn {
  margin-right: calc(100% - 4rem);
}
.next-prev#next-btn {
  margin-left: calc(100% - 4rem);
}
.next-prev > a[href="#"] {
  visibility: hidden;
  mouse-events: none;
}
.next-prev > a {
  font-size: 1rem;
  aspect-ratio: 1/2;
  display: grid;
  place-items: center;
  border-radius: 2px;
  text-decoration: none;
  color: #ccc;
  padding: 0.25rem 0.5rem;
}
.next-prev > a:hover, .next-prev > a:visited {
  color: inherit;
  text-decoration: none;
}
.next-prev > a:hover > svg {
  opacity: 0.8;
}
.next-prev > a > svg {
  width: 2em;
  height: 2em;
  color: black;
  opacity: 0.25;
  transition: opacity 0.3s ease-in-out;
}

.page {
  display: grid;
  grid-template-columns: 27rem auto;
  padding: 4rem 0.75rem;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .page {
    grid-template-columns: auto;
    justify-content: center;
  }
  .page .text {
    order: 2;
  }
  .page .image {
    order: 1;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #efefef;
  }
}
.page:first-of-type {
  padding-top: 1.5rem;
}

.page + .page {
  border-top: 1px solid black;
}

:not(.pageNum, .tei-speaker) + :is(.tei-sp, .tei-lg) {
  margin-top: 1em;
}

.tei-l {
  white-space: nowrap;
}

.image {
  margin: 0 auto;
}

.tei-figure {
  font-size: 1rem;
}
.tei-figure.double-line {
  margin-top: 1.1rem;
  height: 1px;
  border: none;
  border-top: 2px solid #555;
  padding-bottom: 1px;
  border-bottom: 1px solid #555;
}

img {
  max-height: 30rem;
  max-width: 100%;
  height: auto;
  width: auto;
}

.pageNum {
  text-align: center;
  margin-bottom: 2rem;
}

.text {
  line-height: 1.45;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.5rem;
}

tr {
  vertical-align: top;
}

.footnote {
  align-self: end;
  margin-top: 1.5em;
  font-size: 0.88em;
  text-indent: 1em;
}
.footnote.editorial:before {
  content: "[";
}
.footnote.editorial:after {
  content: "]";
}

footer {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 0.8rem;
  color: #949494;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#search aside {
  display: none;
}

ul.ssSearchInCheckboxList {
  display: flex;
  gap: 0.8rem;
  overflow-y: inherit;
}

ul.ssSearchInCheckboxList li {
  align-items: baseline;
  gap: 0.3rem;
}

/**
 * Quick fade on target to attract user attention
 */
:target {
  animation: target-fade 1s ease-in-out 0.5s;
  scroll-margin-top: 2rem;
}

@keyframes target-fade {
  0% {
    background-color: rgba(0, 0, 0, 0.1);
  }
  100% {
    background-color: rgba(0, 0, 0, 0);
  }
}
div#ssResults > ul > li > div > ul.kwic > li > a {
  font-size: 1em;
}

/*# sourceMappingURL=ballads.css.map */
