/* src/HtmlReader/ReadiumCss/ReadiumCSS-before.css */
@namespace url(http://www.w3.org/1999/xhtml);
@namespace epub url(http://www.idpf.org/2007/ops);
@namespace m url(http://www.w3.org/1998/Math/MathML/);
@namespace svg url(http://www.w3.org/2000/svg);
@-ms-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
  zoom: 1;
}
:root {
  --RS__oldStyleTf:
    "Iowan Old Style",
    "Sitka Text",
    Palatino,
    "Book Antiqua",
    serif;
  --RS__modernTf:
    Athelas,
    Constantia,
    Georgia,
    serif;
  --RS__sansTf:
    -apple-system,
    system-ui,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  --RS__humanistTf:
    Seravek,
    Calibri,
    Roboto,
    Arial,
    sans-serif;
  --RS__monospaceTf:
    "Andale Mono",
    Consolas,
    monospace;
  --RS__baseFontFamily: var(--RS__oldStyleTf);
  --RS__lineHeightCompensation: 1;
  --RS__baseLineHeight: calc( (1em + (2ex - 1ch) - ((1rem - 16px) * 0.1667)) * var(--RS__lineHeightCompensation) );
}
html {
  font-family: var(--RS__baseFontFamily);
  line-height: 1.6;
  line-height: var(--RS__baseLineHeight);
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3 {
  line-height: normal;
}
:lang(ja),
:lang(zh),
:lang(ko) {
  word-wrap: break-word;
  -webkit-line-break: strict;
  -epub-line-break: strict;
  line-break: strict;
}
math {
  font-family:
    "Latin Modern Math",
    "STIX Two Math",
    "XITS Math",
    "STIX Math",
    "Libertinus Math",
    "TeX Gyre Termes Math",
    "TeX Gyre Bonum Math",
    "TeX Gyre Schola",
    "DejaVu Math TeX Gyre",
    "TeX Gyre Pagella Math",
    "Asana Math",
    "Cambria Math",
    "Lucida Bright Math",
    "Minion Math",
    STIXGeneral,
    STIXSizeOneSym,
    Symbol,
    "Times New Roman",
    serif;
}
:lang(am) {
  --RS__baseFontFamily:
    Kefa,
    Nyala,
    Roboto,
    Noto,
    "Noto Sans Ethiopic",
    serif;
  --RS__lineHeightCompensation: 1.167;
}
:lang(ar) {
  --RS__baseFontFamily:
    "Geeza Pro",
    "Arabic Typesetting",
    Roboto,
    Noto,
    "Noto Naskh Arabic",
    "Times New Roman",
    serif;
}
:lang(bn) {
  --RS__baseFontFamily:
    "Kohinoor Bangla",
    "Bangla Sangam MN",
    Vrinda,
    Roboto,
    Noto,
    "Noto Sans Bengali",
    sans-serif;
  --RS__lineHeightCompensation: 1.067;
}
:lang(bo) {
  --RS__baseFontFamily:
    Kailasa,
    "Microsoft Himalaya",
    Roboto,
    Noto,
    "Noto Sans Tibetan",
    sans-serif;
}
:lang(chr) {
  --RS__baseFontFamily:
    "Plantagenet Cherokee",
    Roboto,
    Noto,
    "Noto Sans Cherokee";
  --RS__lineHeightCompensation: 1.167;
}
:lang(fa) {
  --RS__baseFontFamily:
    "Geeza Pro",
    "Arabic Typesetting",
    Roboto,
    Noto,
    "Noto Naskh Arabic",
    "Times New Roman",
    serif;
}
:lang(gu) {
  --RS__baseFontFamily:
    "Gujarati Sangam MN",
    "Nirmala UI",
    Shruti,
    Roboto,
    Noto,
    "Noto Sans Gujarati",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
}
:lang(he) {
  --RS__baseFontFamily:
    "New Peninim MT",
    "Arial Hebrew",
    Gisha,
    "Times New Roman",
    Roboto,
    Noto,
    "Noto Sans Hebrew" sans-serif;
  --RS__lineHeightCompensation: 1.1;
}
:lang(hi) {
  --RS__baseFontFamily:
    "Kohinoor Devanagari",
    "Devanagari Sangam MN",
    Kokila,
    "Nirmala UI",
    Roboto,
    Noto,
    "Noto Sans Devanagari",
    sans-serif;
  --RS__lineHeightCompensation: 1.1;
}
:lang(hy) {
  --RS__baseFontFamily:
    Mshtakan,
    Sylfaen,
    Roboto,
    Noto,
    "Noto Serif Armenian",
    serif;
}
:lang(iu) {
  --RS__baseFontFamily:
    "Euphemia UCAS",
    Euphemia,
    Roboto,
    Noto,
    "Noto Sans Canadian Aboriginal",
    sans-serif;
}
:lang(ja) {
  --RS__baseFontFamily:
    "\6e38\30b4\30b7\30c3\30af\4f53",
    YuGothic,
    "\30d2\30e9\30ae\30ce\4e38\30b4",
    "Hiragino Sans",
    "Yu Gothic UI",
    "Meiryo UI",
    "MS Gothic",
    Roboto,
    Noto,
    "Noto Sans CJK JP",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
  --RS__serif-ja:
    "\ff2d\ff33  \ff30\660e\671d",
    "MS PMincho",
    "Hiragino Mincho Pro",
    "\30d2\30e9\30ae\30ce\660e\671d  Pro W3",
    "\6e38\660e\671d",
    "YuMincho",
    "\ff2d\ff33  \660e\671d",
    "MS Mincho",
    "Hiragino Mincho ProN",
    serif;
  --RS__sans-serif-ja:
    "\ff2d\ff33  \ff30\30b4\30b7\30c3\30af",
    "MS PGothic",
    "Hiragino Kaku Gothic Pro W3",
    "\30d2\30e9\30ae\30ce\89d2\30b4  Pro W3",
    "Hiragino Sans GB",
    "\30d2\30e9\30ae\30ce\89d2\30b4\30b7\30c3\30af  W3",
    "\6e38\30b4\30b7\30c3\30af",
    "YuGothic",
    "\ff2d\ff33  \30b4\30b7\30c3\30af",
    "MS Gothic",
    "Hiragino Sans",
    sans-serif;
  --RS__serif-ja-v:
    "\ff2d\ff33  \660e\671d",
    "MS Mincho",
    "Hiragino Mincho Pro",
    "\30d2\30e9\30ae\30ce\660e\671d  Pro W3",
    "\6e38\660e\671d",
    "YuMincho",
    "\ff2d\ff33  \ff30\660e\671d",
    "MS PMincho",
    "Hiragino Mincho ProN",
    serif;
  --RS__sans-serif-ja-v:
    "\ff2d\ff33  \30b4\30b7\30c3\30af",
    "MS Gothic",
    "Hiragino Kaku Gothic Pro W3",
    "\30d2\30e9\30ae\30ce\89d2\30b4  Pro W3",
    "Hiragino Sans GB",
    "\30d2\30e9\30ae\30ce\89d2\30b4\30b7\30c3\30af  W3",
    "\6e38\30b4\30b7\30c3\30af",
    "YuGothic",
    "\ff2d\ff33  \ff30\30b4\30b7\30c3\30af",
    "MS PGothic",
    "Hiragino Sans",
    sans-serif;
}
:lang(km) {
  --RS__baseFontFamily:
    "Khmer Sangam MN",
    "Leelawadee UI",
    "Khmer UI",
    Roboto,
    Noto,
    "Noto Sans Khmer",
    sans-serif;
  --RS__lineHeightCompensation: 1.067;
}
:lang(kn) {
  --RS__baseFontFamily:
    "Kannada Sangam MN",
    "Nirmala UI",
    Tunga,
    Roboto,
    Noto,
    "Noto Sans Kannada",
    sans-serif;
  --RS__lineHeightCompensation: 1.1;
}
:lang(ko) {
  --RS__baseFontFamily:
    "Nanum Gothic",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    Roboto,
    Noto,
    "Noto Sans CJK KR",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
}
:lang(lo) {
  --RS__baseFontFamily:
    "Lao Sangam MN",
    "Leelawadee UI",
    "Lao UI",
    Roboto,
    Noto,
    "Noto Sans Lao",
    sans-serif;
}
:lang(ml) {
  --RS__baseFontFamily:
    "Malayalam Sangam MN",
    "Nirmala UI",
    Kartika,
    Roboto,
    Noto,
    "Noto Sans Malayalam",
    sans-serif;
  --RS__lineHeightCompensation: 1.067;
}
:lang(or) {
  --RS__baseFontFamily:
    "Oriya Sangam MN",
    "Nirmala UI",
    Kalinga,
    Roboto,
    Noto,
    "Noto Sans Oriya",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
}
:lang(pa) {
  --RS__baseFontFamily:
    "Gurmukhi MN",
    "Nirmala UI",
    Kartika,
    Roboto,
    Noto,
    "Noto Sans Gurmukhi",
    sans-serif;
  --RS__lineHeightCompensation: 1.1;
}
:lang(si) {
  --RS__baseFontFamily:
    "Sinhala Sangam MN",
    "Nirmala UI",
    "Iskoola Pota",
    Roboto,
    Noto,
    "Noto Sans Sinhala",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
}
:lang(ta) {
  --RS__baseFontFamily:
    "Tamil Sangam MN",
    "Nirmala UI",
    Latha,
    Roboto,
    Noto,
    "Noto Sans Tamil",
    sans-serif;
  --RS__lineHeightCompensation: 1.067;
}
:lang(te) {
  --RS__baseFontFamily:
    "Kohinoor Telugu",
    "Telugu Sangam MN",
    "Nirmala UI",
    Gautami,
    Roboto,
    Noto,
    "Noto Sans Telugu",
    sans-serif;
}
:lang(th) {
  --RS__baseFontFamily:
    "Thonburi",
    "Leelawadee UI",
    "Cordia New",
    Roboto,
    Noto,
    "Noto Sans Thai",
    sans-serif;
  --RS__lineHeightCompensation: 1.067;
}
:lang(zh) {
  --RS__baseFontFamily:
    "\65b9\4f53",
    "PingFang SC",
    "\9ed1\4f53",
    "Heiti SC",
    "Microsoft JhengHei UI",
    "Microsoft JhengHei",
    Roboto,
    Noto,
    "Noto Sans CJK SC",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
}
:lang(zh-Hant),
:lang(zh-TW) {
  --RS__baseFontFamily:
    "\65b9\9ad4",
    "PingFang TC",
    "\9ed1\9ad4",
    "Heiti TC",
    "Microsoft JhengHei UI",
    "Microsoft JhengHei",
    Roboto,
    Noto,
    "Noto Sans CJK TC",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
}
:lang(zh-HK) {
  --RS__baseFontFamily:
    "\65b9\9ad4",
    "PingFang HK",
    "\65b9\9ad4",
    "PingFang TC",
    "\9ed1\9ad4",
    "Heiti TC",
    "Microsoft JhengHei UI",
    "Microsoft JhengHei",
    Roboto,
    Noto,
    "Noto Sans CJK TC",
    sans-serif;
  --RS__lineHeightCompensation: 1.167;
}
:root {
  --RS__backgroundColor: #ffffff;
  --RS__textColor: #121212;
  --RS__selectionBackgroundColor: #b4d8fe;
  --RS__selectionTextColor: inherit;
}
:root {
  color: var(--RS__textColor) !important;
  background-color: var(--RS__backgroundColor) !important;
}
::-moz-selection {
  color: var(--RS__selectionTextColor);
  background-color: var(--RS__selectionBackgroundColor);
}
::selection {
  color: var(--RS__selectionTextColor);
  background-color: var(--RS__selectionBackgroundColor);
}
body {
  widows: 2;
  orphans: 2;
}
figcaption,
th,
td {
  widows: 1;
  orphans: 1;
}
h2,
h3,
h4,
h5,
h6,
dt,
hr,
caption {
  -webkit-column-break-after: avoid;
  page-break-after: avoid;
  break-after: avoid;
}
h1,
h2,
h3,
h4,
h5,
h6,
dt,
figure,
tr {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
body {
  -webkit-hyphenate-character: "-";
  -moz-hyphenate-character: "-";
  -ms-hyphenate-character: "-";
  hyphenate-character: "-";
  -webkit-hyphenate-limit-lines: 3;
  -ms-hyphenate-limit-lines: 3;
  hyphenate-limit-lines: 3;
}
h1,
h2,
h3,
h4,
h5,
h6,
dt,
figcaption,
pre,
caption,
address,
center,
code,
var {
  -ms-hyphens: none;
  -moz-hyphens: none;
  -webkit-hyphens: none;
  -epub-hyphens: none;
  hyphens: none;
}
body {
  font-variant-numeric: oldstyle-nums proportional-nums;
}
:lang(ja) body,
:lang(zh) body,
:lang(ko) body {
  font-variant-numeric: lining-nums proportional-nums;
}
h1,
h2,
h3,
h4,
h5,
h6,
dt {
  font-variant-numeric: lining-nums proportional-nums;
}
table {
  font-variant-numeric: lining-nums tabular-nums;
}
code,
var {
  font-variant-ligatures: none;
  font-variant-numeric: lining-nums tabular-nums slashed-zero;
}
rt {
  font-variant-east-asian: ruby;
}
:lang(ar) {
  font-variant-ligatures: common-ligatures;
}
:lang(ko) {
  font-kerning: normal;
}
hr {
  color: inherit;
  border-color: currentColor;
}
table,
th,
td {
  border-color: currentColor;
}
figure,
blockquote {
  margin: 1em 5%;
}
ul,
ol {
  padding-left: 5%;
}
dd {
  margin-left: 5%;
}
pre {
  white-space: pre-wrap;
  -ms-tab-size: 2;
  -moz-tab-size: 2;
  -webkit-tab-size: 2;
  tab-size: 2;
}
abbr[title],
acronym[title] {
  text-decoration: dotted underline;
}
nobr wbr {
  white-space: normal;
}
ruby > rt,
ruby > rp {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
*:lang(ja),
*:lang(zh),
*:lang(ko),
:lang(ja) cite,
:lang(ja) dfn,
:lang(ja) em,
:lang(ja) i,
:lang(zh) cite,
:lang(zh) dfn,
:lang(zh) em,
:lang(zh) i,
:lang(ko) cite,
:lang(ko) dfn,
:lang(ko) em,
:lang(ko) i {
  font-style: normal;
}
:lang(ja) a,
:lang(zh) a,
:lang(ko) a {
  text-decoration: none;
}
:root {
  --RS__maxMediaWidth: 100%;
  --RS__maxMediaHeight: 95vh;
  --RS__boxSizingMedia: border-box;
  --RS__boxSizingTable: border-box;
}
html {
  -webkit-line-box-contain: block glyphs replaced;
}
:lang(ja) {
  -webkit-line-box-contain: block inline replaced;
}
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  word-wrap: break-word;
}
div {
  max-width: var(--RS__maxMediaWidth);
}
img,
svg,
audio,
video {
  object-fit: contain;
  width: auto;
  height: auto;
  max-width: var(--RS__maxMediaWidth);
  max-height: var(--RS__maxMediaHeight) !important;
  box-sizing: var(--RS__boxSizingMedia);
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
table {
  max-width: var(--RS__maxMediaWidth);
  box-sizing: var(--RS__boxSizingTable);
}

/* src/HtmlReader/ReadiumCss/ReadiumCSS-after.css */
:root {
  --RS__colWidth: 45em;
  --RS__colCount: 1;
  --RS__colGap: 0;
  --RS__maxLineLength: 40rem;
  --RS__pageGutter: 20px;
}
@page {
  margin: 0 !important;
}
:root {
  position: relative;
  -webkit-column-width: var(--RS__colWidth);
  -moz-column-width: var(--RS__colWidth);
  column-width: var(--RS__colWidth);
  -webkit-column-count: var(--RS__colCount);
  -moz-column-count: var(--RS__colCount);
  column-count: var(--RS__colCount);
  -webkit-column-gap: var(--RS__colGap);
  -moz-column-gap: var(--RS__colGap);
  column-gap: var(--RS__colGap);
  -moz-column-fill: auto;
  column-fill: auto;
  width: 100%;
  height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  min-width: 100%;
  min-height: 100vh;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 100% !important;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  -webkit-perspective: 1;
  -webkit-touch-callout: none;
}
body {
  width: 100%;
  max-width: var(--RS__maxLineLength) !important;
  padding: 0 var(--RS__pageGutter) !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}
@media screen and (min-width: 35em) {
  :root {
    --RS__pageGutter: 30px;
  }
}
@media screen and (min-width: 45em) {
  :root {
    --RS__pageGutter: 40px;
  }
}
@media screen and (min-width: 75em) {
  :root {
    --RS__pageGutter: 50px;
  }
}
@media screen and (min-width: 60em), screen and (min-device-width: 36em) and (max-device-width: 47em) and (orientation: landscape) {
  :root {
    --RS__colWidth: 20em;
    --RS__colCount: 2;
    --RS__maxLineLength: 39.99rem;
  }
}
:root[style*=readium-scroll-on] {
  -webkit-columns: auto auto !important;
  -moz-columns: auto auto !important;
  columns: auto auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
}
:root[style*=readium-scroll-on] body {
  --RS__maxLineLength: 40rem !important;
  margin-top: var(--RS__pageGutter) !important;
  margin-bottom: var(--RS__pageGutter) !important;
}
.readiumCSS-yellow-highlight {
  background-color: rgba(255, 255, 0, 0.5);
}
.readiumCSS-green-highlight {
  background-color: rgba(0, 255, 0, 0.5);
}
.readiumCSS-orange-highlight {
  background-color: rgba(255, 165, 0, 0.5);
}
.readiumCSS-pink-highlight {
  background-color: rgba(255, 105, 180, 0.5);
}
.readiumCSS-mo-active-default {
  color: black !important;
  background-color: yellow !important;
}
:root[style*=readium-night-on] {
  --RS__backgroundColor: #000000;
  --RS__textColor: #fefefe;
  --RS__linkColor: #63caff;
  --RS__visitedColor: #0099e5;
  --RS__selectionBackgroundColor: #b4d8fe;
  --RS__selectionTextColor: inherit;
}
:root[style*=readium-night-on] *:not(a) {
  color: inherit !important;
  background-color: transparent !important;
  border-color: currentColor !important;
}
:root[style*=readium-night-on] svg text {
  fill: currentColor !important;
  stroke: none !important;
}
:root[style*=readium-night-on] a:link,
:root[style*=readium-night-on] a:link * {
  color: var(--RS__linkColor) !important;
}
:root[style*=readium-night-on] a:visited,
:root[style*=readium-night-on] a:visited * {
  color: var(--RS__visitedColor) !important;
}
:root[style*=readium-night-on] img[class*=gaiji],
:root[style*=readium-night-on] *[epub\:type~=titlepage] img:only-child {
  -webkit-filter: invert(100%);
  filter: invert(100%);
}
:root[style*=readium-night-on][style*=readium-darken-on] img {
  -webkit-filter: brightness(80%);
  filter: brightness(80%);
}
:root[style*=readium-night-on][style*=readium-invert-on] img {
  -webkit-filter: invert(100%);
  filter: invert(100%);
}
:root[style*=readium-night-on][style*=readium-darken-on][style*=readium-invert-on] img {
  -webkit-filter: brightness(80%) invert(100%);
  filter: brightness(80%) invert(100%);
}
:root[style*=readium-sepia-on] {
  --RS__backgroundColor: #faf4e8;
  --RS__textColor: #121212;
  --RS__linkColor: #0000ee;
  --RS__visitedColor: #551a8b;
  --RS__selectionBackgroundColor: #b4d8fe;
  --RS__selectionTextColor: inherit;
  --RS__maxLineLength: 40.01rem;
}
:root[style*=readium-sepia-on] body {
  color: inherit;
  background-color: var(--RS__backgroundColor);
}
:root[style*=readium-sepia-on] a:link,
:root[style*=readium-sepia-on] a:link * {
  color: var(--RS__linkColor);
}
:root[style*=readium-sepia-on] a:visited,
:root[style*=readium-sepia-on] a:visited * {
  color: var(--RS__visitedColor);
}
:root[style*=readium-sepia-on] svg,
:root[style*=readium-sepia-on] img {
  background-color: transparent !important;
  mix-blend-mode: multiply;
}
@media screen and (-ms-high-contrast: active) {
  :root {
    color: windowText !important;
    background-color: window !important;
  }
  :root :not(#\#):not(#\#):not(#\#),
  :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) {
    color: inherit !important;
    background-color: inherit !important;
  }
  .readiumCSS-mo-active-default {
    color: highlightText !important;
    background-color: highlight !important;
  }
}
@media screen and (-ms-high-contrast: white-on-black) {
  :root[style*=readium-night-on] img[class*=gaiji],
  :root[style*=readium-night-on] *[epub\:type~=titlepage] img:only-child {
    -webkit-filter: none !important;
    filter: none !important;
  }
  :root[style*=readium-night-on][style*=readium-invert-on] img {
    -webkit-filter: none !important;
    filter: none !important;
  }
  :root[style*=readium-night-on][style*=readium-darken-on][style*=readium-invert-on] img {
    -webkit-filter: brightness(80%);
    filter: brightness(80%);
  }
}
@media screen and (inverted-colors) {
  :root[style*=readium-night-on] img[class*=gaiji],
  :root[style*=readium-night-on] *[epub\:type~=titlepage] img:only-child {
    -webkit-filter: none !important;
    filter: none !important;
  }
  :root[style*=readium-night-on][style*=readium-invert-on] img {
    -webkit-filter: none !important;
    filter: none !important;
  }
  :root[style*=readium-night-on][style*=readium-darken-on][style*=readium-invert-on] img {
    -webkit-filter: brightness(80%);
    filter: brightness(80%);
  }
}
@media screen and (monochrome) {
}
@media screen and (prefers-reduced-motion) {
}
@media screen and (min-width: 60em), screen and (min-device-width: 36em) and (max-device-width: 47em) and (orientation: landscape) {
  :root[style*="--USER__colCount: 1"],
  :root[style*="--USER__colCount:1"],
  :root[style*="--USER__colCount: 2"],
  :root[style*="--USER__colCount:2"] {
    -webkit-column-count: var(--USER__colCount);
    -moz-column-count: var(--USER__colCount);
    column-count: var(--USER__colCount);
  }
  :root[style*="--USER__colCount: 1"],
  :root[style*="--USER__colCount:1"] {
    --RS__maxLineLength: 40rem !important;
    --RS__colWidth: 100vw;
  }
  :root[style*="--USER__colCount: 2"],
  :root[style*="--USER__colCount:2"] {
    --RS__colWidth: auto;
  }
}
:root[style*=--USER__pageMargins] body {
  padding: 0 calc(var(--RS__pageGutter) * var(--USER__pageMargins)) !important;
}
:root[style*=--USER__backgroundColor] {
  background-color: var(--USER__backgroundColor) !important;
}
:root[style*=--USER__backgroundColor] * {
  background-color: transparent !important;
}
:root[style*=--USER__textColor] {
  color: var(--USER__textColor) !important;
}
:root[style*=--USER__textColor] *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(pre) {
  color: inherit !important;
}
:root[style*=readium-advanced-on][style*=--USER__textAlign] {
  text-align: var(--USER__textAlign);
}
:root[style*=readium-advanced-on][style*=--USER__textAlign] body,
:root[style*=readium-advanced-on][style*=--USER__textAlign] *:not(blockquote):not(figcaption) p,
:root[style*=readium-advanced-on][style*=--USER__textAlign] li {
  text-align: inherit !important;
  -moz-text-align-last: auto !important;
  -epub-text-align-last: auto !important;
  text-align-last: auto !important;
}
:root[style*=readium-advanced-on][dir=rtl][style*="--USER__textAlign: left"],
:root[style*=readium-advanced-on][dir=rtl][style*="--USER__textAlign:left"],
:root[style*=readium-advanced-on][style*="--USER__textAlign: left"] *[dir=rtl],
:root[style*=readium-advanced-on][style*="--USER__textAlign:left"] *[dir=rtl] {
  text-align: right;
}
:root[style*=readium-advanced-on][dir=rtl][style*="--USER__textAlign: start"],
:root[style*=readium-advanced-on][dir=rtl][style*="--USER__textAlign:start"] {
  text-align: right;
}
:root[style*=readium-advanced-on][style*="--USER__textAlign: justify"] body,
:root[style*=readium-advanced-on][style*="--USER__textAlign:justify"] body {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -epub-hyphens: auto;
  hyphens: auto;
}
:root[style*=readium-advanced-on][style*="--USER__textAlign: left"] body,
:root[style*=readium-advanced-on][style*="--USER__textAlign:left"] body,
:root[style*=readium-advanced-on][style*="--USER__textAlign: right"] body,
:root[style*=readium-advanced-on][style*="--USER__textAlign:right"] body {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -epub-hyphens: none;
  hyphens: none;
}
:root[style*=readium-advanced-on][style*=--USER__bodyHyphens] {
  -webkit-hyphens: var(--USER__bodyHyphens) !important;
  -moz-hyphens: var(--USER__bodyHyphens) !important;
  -ms-hyphens: var(--USER__bodyHyphens) !important;
  -epub-hyphens: var(--USER__bodyHyphens) !important;
  hyphens: var(--USER__bodyHyphens) !important;
}
:root[style*=readium-advanced-on][style*=--USER__bodyHyphens] body,
:root[style*=readium-advanced-on][style*=--USER__bodyHyphens] p,
:root[style*=readium-advanced-on][style*=--USER__bodyHyphens] li,
:root[style*=readium-advanced-on][style*=--USER__bodyHyphens] div,
:root[style*=readium-advanced-on][style*=--USER__bodyHyphens] dd {
  -webkit-hyphens: inherit;
  -moz-hyphens: inherit;
  -ms-hyphens: inherit;
  -epub-hyphens: inherit;
  hyphens: inherit;
}
:root[style*=readium-font-on][style*=--USER__fontFamily] {
  font-family: var(--USER__fontFamily) !important;
}
:root[style*=readium-font-on][style*=--USER__fontFamily] body,
:root[style*=readium-font-on][style*=--USER__fontFamily] p,
:root[style*=readium-font-on][style*=--USER__fontFamily] li,
:root[style*=readium-font-on][style*=--USER__fontFamily] div,
:root[style*=readium-font-on][style*=--USER__fontFamily] dt,
:root[style*=readium-font-on][style*=--USER__fontFamily] dd {
  font-family: inherit !important;
}
:root[style*=readium-font-on][style*=--USER__fontFamily] i:not([lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] i:not([xml\:lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] em:not([lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] em:not([xml\:lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] cite:not([lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] cite:not([xml\:lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] b:not([lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] b:not([xml\:lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] strong:not([lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] strong:not([xml\:lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] span:not([lang]),
:root[style*=readium-font-on][style*=--USER__fontFamily] span:not([xml\:lang]) {
  font-family: inherit !important;
}
:root[style*=readium-font-on][style*=AccessibleDfA] {
  font-family:
    AccessibleDfA,
    Verdana,
    Tahoma,
    "Trebuchet MS",
    sans-serif !important;
  --RS__lineHeightCompensation: 1.167;
}
:root[style*=readium-font-on][style*="IA Writer Duospace"] {
  font-family:
    "IA Writer Duospace",
    Menlo,
    "DejaVu Sans Mono",
    "Bitstream Vera Sans Mono",
    Courier,
    monospace !important;
  --RS__lineHeightCompensation: 1.167;
}
:root[style*=readium-font-on][style*=readium-a11y-on] {
  font-family: var(--USER__fontFamily) !important;
  --RS__lineHeightCompensation: 1.167;
}
:root[style*=readium-font-on][style*=AccessibleDfA],
:root[style*=readium-font-on][style*="IA Writer Duospace"],
:root[style*=readium-font-on][style*=readium-a11y-on] {
  font-style: normal !important;
  font-weight: normal !important;
}
:root[style*=readium-font-on][style*=AccessibleDfA] *:not(code):not(var):not(kbd):not(samp),
:root[style*=readium-font-on][style*="IA Writer Duospace"] *:not(code):not(var):not(kbd):not(samp),
:root[style*=readium-font-on][style*=readium-a11y-on] *:not(code):not(var):not(kbd):not(samp) {
  font-family: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
}
:root[style*=readium-font-on][style*=AccessibleDfA] *,
:root[style*=readium-font-on][style*="IA Writer Duospace"] *,
:root[style*=readium-font-on][style*=readium-a11y-on] * {
  text-decoration: none !important;
  font-variant-caps: normal !important;
  font-variant-numeric: normal !important;
  font-variant-position: normal !important;
}
:root[style*=readium-font-on][style*=AccessibleDfA] sup,
:root[style*=readium-font-on][style*="IA Writer Duospace"] sup,
:root[style*=readium-font-on][style*=readium-a11y-on] sup,
:root[style*=readium-font-on][style*=AccessibleDfA] sub,
:root[style*=readium-font-on][style*="IA Writer Duospace"] sub,
:root[style*=readium-font-on][style*=readium-a11y-on] sub {
  font-size: 1rem !important;
  vertical-align: baseline !important;
}
:root[style*=--USER__fontSize] {
  font-size: var(--USER__fontSize) !important;
}
:root[style*=readium-advanced-on][style*=--USER__lineHeight] {
  line-height: calc((var(--USER__lineHeight) + (2ex - 1ch) - ((1rem - 16px) * 0.1667)) * var(--RS__lineHeightCompensation)) !important;
}
:root[style*=readium-advanced-on][style*=--USER__lineHeight] body,
:root[style*=readium-advanced-on][style*=--USER__lineHeight] p,
:root[style*=readium-advanced-on][style*=--USER__lineHeight] li,
:root[style*=readium-advanced-on][style*=--USER__lineHeight] div {
  line-height: inherit;
}
:root[style*=readium-advanced-on][style*=--USER__paraSpacing] p {
  margin-top: var(--USER__paraSpacing) !important;
  margin-bottom: var(--USER__paraSpacing) !important;
}
:root[style*=readium-advanced-on][style*=--USER__paraIndent] p {
  text-indent: var(--USER__paraIndent) !important;
}
:root[style*=readium-advanced-on][style*=--USER__paraIndent] p *,
:root[style*=readium-advanced-on][style*=--USER__paraIndent] p:first-letter {
  text-indent: 0 !important;
}
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] h1,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] h2,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] h3,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] h4,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] h5,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] h6,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] p,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] li,
:root[style*=readium-advanced-on][style*=--USER__wordSpacing] div {
  word-spacing: var(--USER__wordSpacing);
}
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] h1,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] h2,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] h3,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] h4,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] h5,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] h6,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] p,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] li,
:root[style*=readium-advanced-on][style*=--USER__letterSpacing] div {
  letter-spacing: var(--USER__letterSpacing);
  font-variant: none;
}
:root[style*=readium-advanced-on] {
  --USER__typeScale: 1.2;
}
:root[style*=readium-advanced-on] p,
:root[style*=readium-advanced-on] li,
:root[style*=readium-advanced-on] div,
:root[style*=readium-advanced-on] pre,
:root[style*=readium-advanced-on] dd {
  font-size: 1rem !important;
}
:root[style*=readium-advanced-on] h1 {
  font-size: 1.75rem !important;
  font-size: calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
}
:root[style*=readium-advanced-on] h2 {
  font-size: 1.5rem !important;
  font-size: calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
}
:root[style*=readium-advanced-on] h3 {
  font-size: 1.25rem !important;
  font-size: calc(1rem * var(--USER__typeScale)) !important;
}
:root[style*=readium-advanced-on] h4,
:root[style*=readium-advanced-on] h5,
:root[style*=readium-advanced-on] h6 {
  font-size: 1rem !important;
}
:root[style*=readium-advanced-on] small {
  font-size: smaller !important;
}
:root[style*=readium-advanced-on] sub,
:root[style*=readium-advanced-on] sup {
  font-size: 67.5% !important;
}
:root[style*=readium-advanced-on][style*=--USER__typeScale] h1 {
  font-size: calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
}
:root[style*=readium-advanced-on][style*=--USER__typeScale] h2 {
  font-size: calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
}
:root[style*=readium-advanced-on][style*=--USER__typeScale] h3 {
  font-size: calc(1rem * var(--USER__typeScale)) !important;
}

/* src/HtmlReader/ReadiumCss/ReadiumCSS-default.css */
:root {
  --RS__compFontFamily: var(--RS__baseFontFamily);
  --RS__codeFontFamily: var(--RS__monospaceTf);
  --RS__typeScale: 1.125;
  --RS__baseFontSize: 100%;
  --RS__flowSpacing: 1.5rem;
  --RS__paraSpacing: 0;
  --RS__paraIndent: 1em;
  --RS__linkColor: #0000ee;
  --RS__visitedColor: #551a8b;
  --RS__primaryColor: ;
  --RS__secondaryColor: ;
}
mark {
  background: yellow;
}
mark.current {
  background: orange;
}
body {
  font-size: var(--RS__baseFontSize);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--RS__compFontFamily);
}
blockquote,
figure,
p,
pre,
aside,
footer,
form,
hr {
  margin-top: var(--RS__flowSpacing);
  margin-bottom: var(--RS__flowSpacing);
}
p {
  margin-top: var(--RS__paraSpacing);
  margin-bottom: var(--RS__paraSpacing);
  text-indent: var(--RS__paraIndent);
}
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p,
hr + p {
  text-indent: 0;
}
pre {
  font-family: var(--RS__codeFontFamily);
}
code,
kbd,
samp,
tt {
  font-family: var(--RS__codeFontFamily);
}
sub,
sup {
  position: relative;
  font-size: 67.5%;
  line-height: 1;
}
sub {
  bottom: -0.2ex;
}
sup {
  bottom: 0;
}
:link {
  color: var(--RS__linkColor);
}
:visited {
  color: var(--RS__visitedColor);
}
h1 {
  margin-top: calc(var(--RS__flowSpacing) * 2);
  margin-bottom: calc(var(--RS__flowSpacing) * 2);
  font-size: calc(((1em * var(--RS__typeScale)) * var(--RS__typeScale)) * var(--RS__typeScale));
}
h2 {
  margin-top: calc(var(--RS__flowSpacing) * 2);
  margin-bottom: var(--RS__flowSpacing);
  font-size: calc((1em * var(--RS__typeScale)) * var(--RS__typeScale));
}
h3 {
  margin-top: var(--RS__flowSpacing);
  margin-bottom: var(--RS__flowSpacing);
  font-size: calc(1em * var(--RS__typeScale));
}
h4 {
  margin-top: var(--RS__flowSpacing);
  margin-bottom: var(--RS__flowSpacing);
  font-size: 1em;
}
h5 {
  margin-top: var(--RS__flowSpacing);
  margin-bottom: var(--RS__flowSpacing);
  font-size: 1em;
  font-variant: small-caps;
}
h6 {
  margin-top: var(--RS__flowSpacing);
  margin-bottom: 0;
  font-size: 1em;
  text-transform: lowercase;
  font-variant: small-caps;
}
dl,
ol,
ul {
  margin-top: var(--RS__flowSpacing);
  margin-bottom: var(--RS__flowSpacing);
}
table {
  margin: var(--RS__flowSpacing) 0;
  border: 1px solid currentColor;
  border-collapse: collapse;
  empty-cells: show;
}
thead,
tbody,
tfoot,
table > tr {
  vertical-align: top;
}
th {
  text-align: left;
}
th,
td {
  padding: 4px;
  border: 1px solid currentColor;
}

/* src/HtmlReader/styles.css */
/*# sourceMappingURL=styles.css.map */
