:root, .print-mode {
  --text-color-header: #212121;
  --text-color-primary: #424242;
  --text-color-secondary: #757575;
  --text-color-disabled: #9E9E9E;
  --text-color-code: #D32F2F;
  --text-color-success: #4CAF50;
  --text-color-warning: #FF8F00;
  --text-color-error: #F44336;
  --primary-color: #212121;
  --primary-color-low-contrast: #212121;
  --primary-color-high-contrast: #212121;
  --secondary-color: #212121;
  --secondary-color-low-contrast: #212121;
  --secondary-color-high-contrast: #212121;
  --bg-color-primary: rgba(0, 0, 0, 0);
  --bg-color-secondary: #F5F5F5;
  --bg-color-highlight: #FFCC80;
  --border-color-primary: #BDBDBD;
  --border-color-secondary: #9E9E9E;
  --cutout-success-bg-color: rgba(0, 0, 0, 0);
  --cutout-success-border-color: #4CAF50;
  --cutout-warning-bg-color: rgba(0, 0, 0, 0);
  --cutout-warning-border-color: #FF9800;
  --cutout-error-bg-color: rgba(0, 0, 0, 0);
  --cutout-error-border-color: #F44336;
  --cutout-lore-bg-color: rgba(0, 0, 0, 0);
  --cutout-lore-border-color: #AB47BC;
  --cutout-item-bg-color: rgba(0, 0, 0, 0);
  --cutout-item-border-color: #42A5F5;
  --cutout-npc-bg-color: rgba(0, 0, 0, 0);
  --cutout-npc-border-color: #26A69A;
  --outer-background-color: rgba(0, 0, 0, 0);
  --outer-title-color: rgba(0, 0, 0, 0);
  --outer-text-color: rgba(0, 0, 0, 0);
  --outer-link-color: rgba(0, 0, 0, 0);
  --outer-link-color-dark: rgba(0, 0, 0, 0);
  --outer-link-color-light: rgba(0, 0, 0, 0);
}

/* Manually forked from Normalize.css */
/* normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 3 */
  -webkit-text-size-adjust: 100%;
  /* 3 */
}

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

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  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
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
  /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8 (removed).
 */
/**
 * 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. (removed)
 * 2. Correct the odd `em` font sizing in all browsers.
 */
/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0;
}

/**
 * Modify default styling of address.
 */
address {
  font-style: normal;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. (removed)
 */
/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit;
}

/**
 * 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,
pre,
samp {
  font-family: "Roboto Mono", "SF Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Courier, monospace;
  /* 1 (changed) */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-. (Removed)
 */
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
  font-weight: 400;
  /* (added) */
}

/**
 * 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
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

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

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 (changed) */
  font-size: inherit;
  /* 1 (changed) */
  line-height: inherit;
  /* 1 (changed) */
  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;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

/**
 * 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 (removed).
 */
/**
 * Change the border, margin, and padding in all browsers (opinionated) (changed).
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/**
 * 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 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
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 and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[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 IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}

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

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

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

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 20px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg-color-primary);
  color: var(--text-color-primary);
  font-family: "Vollkorn", Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 0.95rem;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary-color-high-contrast);
  outline: none;
  text-decoration: none;
}

a:focus {
  box-shadow: 0 0 0 0.1rem rgba(var(--primary-color), 0.2);
}

a:focus, a:hover, a:active, a.active {
  color: var(--primary-color);
  text-decoration: none;
}

a:visited {
  color: var(--primary-color-high-contrast);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Vollkorn", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  color: var(--text-color-header);
  line-height: 1.2;
  margin-bottom: .5em;
  margin-top: 0;
}

h1 a, h1 a:visited,
h2 a,
h2 a:visited,
h3 a,
h3 a:visited,
h4 a,
h4 a:visited,
h5 a,
h5 a:visited,
h6 a,
h6 a:visited {
  color: var(--text-color-header);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Vollkorn", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  color: var(--text-color-header);
}

h1,
.h1 {
  font-size: 2rem;
}

h2,
.h2 {
  font-size: 1.6rem;
}

h3,
.h3 {
  font-size: 1.4rem;
}

h4,
.h4 {
  font-size: 1.2rem;
}

h5,
.h5 {
  font-size: 1rem;
}

h6,
.h6 {
  font-size: .8rem;
}

p {
  margin: 0 0 1.25rem;
}

a,
ins,
u {
  text-decoration-skip: ink edges;
}

abbr[title] {
  border-bottom: 0.05rem dotted;
  cursor: help;
  text-decoration: none;
}

kbd {
  border-radius: 0.1rem;
  line-height: 1.2;
  padding: .1rem .2rem;
  color: var(--bg-color-primary);
  background: var(--secondary-color-high-contrast);
  font-size: 0.8rem;
}

mark {
  color: var(--text-color-primary);
  background: var(--bg-color-highlight);
  border-radius: 0.1rem;
  padding: .05rem;
}

code {
  border-radius: 0.1rem;
  line-height: 1.2;
  padding: .1rem .2rem;
  color: var(--text-color-code);
  background: var(--bg-color-secondary);
  font-size: 85%;
}

pre {
  overflow-x: auto;
  padding: 0.2rem;
  margin-bottom: 1.25rem;
}

blockquote {
  border-left: 0.1rem solid var(--border-color-primary);
  margin-left: 0;
  padding: 0.4rem 0.8rem;
}

blockquote p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 1.25rem 0 1.25rem 0.2rem;
  list-style-position: outside;
  padding: 0;
  break-inside: avoid-column;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin: 0.4rem 0 0.4rem 0.2rem;
}

ul li,
ol li {
  margin-top: 0.4rem;
  margin-left: 1.25rem;
}

ul {
  list-style: disc outside;
}

ul ul {
  list-style-type: circle;
}

ol {
  list-style: decimal outside;
}

ol ol {
  list-style-type: lower-alpha;
}

dl {
  margin-bottom: 1.25rem;
}

dl dt {
  font-weight: bold;
}

dl dd {
  margin: 0.4rem 0 0.8rem 0.4rem;
}

/* Credit: https://github.com/richleland/pygments-css/blob/master/friendly.css */
.highlight .hll {
  background-color: var(--bg-color);
}

.highlight {
  background: #f0f0f0;
}

.highlight .c {
  color: #60a0b0;
  font-style: italic;
}

/* Comment */
.highlight .err {
  border: 1px solid #FF0000;
}

/* Error */
.highlight .k {
  color: #007020;
  font-weight: bold;
}

/* Keyword */
.highlight .o {
  color: #666666;
}

/* Operator */
.highlight .ch {
  color: #60a0b0;
  font-style: italic;
}

/* Comment.Hashbang */
.highlight .cm {
  color: #60a0b0;
  font-style: italic;
}

/* Comment.Multiline */
.highlight .cp {
  color: #007020;
}

/* Comment.Preproc */
.highlight .cpf {
  color: #60a0b0;
  font-style: italic;
}

/* Comment.PreprocFile */
.highlight .c1 {
  color: #60a0b0;
  font-style: italic;
}

/* Comment.Single */
.highlight .cs {
  color: #60a0b0;
  background-color: #fff0f0;
}

/* Comment.Special */
.highlight .gd {
  color: #A00000;
}

/* Generic.Deleted */
.highlight .ge {
  font-style: italic;
}

/* Generic.Emph */
.highlight .gr {
  color: #FF0000;
}

/* Generic.Error */
.highlight .gh {
  color: #000080;
  font-weight: bold;
}

/* Generic.Heading */
.highlight .gi {
  color: #00A000;
}

/* Generic.Inserted */
.highlight .go {
  color: #888888;
}

/* Generic.Output */
.highlight .gp {
  color: #c65d09;
  font-weight: bold;
}

/* Generic.Prompt */
.highlight .gs {
  font-weight: bold;
}

/* Generic.Strong */
.highlight .gu {
  color: #800080;
  font-weight: bold;
}

/* Generic.Subheading */
.highlight .gt {
  color: #0044DD;
}

/* Generic.Traceback */
.highlight .kc {
  color: #007020;
  font-weight: bold;
}

/* Keyword.Constant */
.highlight .kd {
  color: #007020;
  font-weight: bold;
}

/* Keyword.Declaration */
.highlight .kn {
  color: #007020;
  font-weight: bold;
}

/* Keyword.Namespace */
.highlight .kp {
  color: #007020;
}

/* Keyword.Pseudo */
.highlight .kr {
  color: #007020;
  font-weight: bold;
}

/* Keyword.Reserved */
.highlight .kt {
  color: #902000;
}

/* Keyword.Type */
.highlight .m {
  color: #40a070;
}

/* Literal.Number */
.highlight .s {
  color: #4070a0;
}

/* Literal.String */
.highlight .na {
  color: #4070a0;
}

/* Name.Attribute */
.highlight .nb {
  color: #007020;
}

/* Name.Builtin */
.highlight .nc {
  color: #0e84b5;
  font-weight: bold;
}

/* Name.Class */
.highlight .no {
  color: #60add5;
}

/* Name.Constant */
.highlight .nd {
  color: #555555;
  font-weight: bold;
}

/* Name.Decorator */
.highlight .ni {
  color: #d55537;
  font-weight: bold;
}

/* Name.Entity */
.highlight .ne {
  color: #007020;
}

/* Name.Exception */
.highlight .nf {
  color: #06287e;
}

/* Name.Function */
.highlight .nl {
  color: #002070;
  font-weight: bold;
}

/* Name.Label */
.highlight .nn {
  color: #0e84b5;
  font-weight: bold;
}

/* Name.Namespace */
.highlight .nt {
  color: #062873;
  font-weight: bold;
}

/* Name.Tag */
.highlight .nv {
  color: #bb60d5;
}

/* Name.Variable */
.highlight .ow {
  color: #007020;
  font-weight: bold;
}

/* Operator.Word */
.highlight .w {
  color: #bbbbbb;
}

/* Text.Whitespace */
.highlight .mb {
  color: #40a070;
}

/* Literal.Number.Bin */
.highlight .mf {
  color: #40a070;
}

/* Literal.Number.Float */
.highlight .mh {
  color: #40a070;
}

/* Literal.Number.Hex */
.highlight .mi {
  color: #40a070;
}

/* Literal.Number.Integer */
.highlight .mo {
  color: #40a070;
}

/* Literal.Number.Oct */
.highlight .sa {
  color: #4070a0;
}

/* Literal.String.Affix */
.highlight .sb {
  color: #4070a0;
}

/* Literal.String.Backtick */
.highlight .sc {
  color: #4070a0;
}

/* Literal.String.Char */
.highlight .dl {
  color: #4070a0;
}

/* Literal.String.Delimiter */
.highlight .sd {
  color: #4070a0;
  font-style: italic;
}

/* Literal.String.Doc */
.highlight .s2 {
  color: #4070a0;
}

/* Literal.String.Double */
.highlight .se {
  color: #4070a0;
  font-weight: bold;
}

/* Literal.String.Escape */
.highlight .sh {
  color: #4070a0;
}

/* Literal.String.Heredoc */
.highlight .si {
  color: #70a0d0;
  font-style: italic;
}

/* Literal.String.Interpol */
.highlight .sx {
  color: #c65d09;
}

/* Literal.String.Other */
.highlight .sr {
  color: #235388;
}

/* Literal.String.Regex */
.highlight .s1 {
  color: #4070a0;
}

/* Literal.String.Single */
.highlight .ss {
  color: #517918;
}

/* Literal.String.Symbol */
.highlight .bp {
  color: #007020;
}

/* Name.Builtin.Pseudo */
.highlight .fm {
  color: #06287e;
}

/* Name.Function.Magic */
.highlight .vc {
  color: #bb60d5;
}

/* Name.Variable.Class */
.highlight .vg {
  color: #bb60d5;
}

/* Name.Variable.Global */
.highlight .vi {
  color: #bb60d5;
}

/* Name.Variable.Instance */
.highlight .vm {
  color: #bb60d5;
}

/* Name.Variable.Magic */
.highlight .il {
  color: #40a070;
}

/* Literal.Number.Integer.Long */
blockquote.greentext {
  border: 0;
  margin: 0;
  color: #789922;
  font-size: 21px;
  display: block;
}

blockquote.greentext p:before {
  content: "> ";
  float: left;
  display: block;
}

span.authors, p.authors {
  font-variant: small-caps;
}

span.success, p.success {
  color: var(--text-color-success);
}

span.warning, p.warning {
  color: var(--text-color-warning);
}

span.error, p.error {
  color: var(--text-color-error);
}

.section-context {
  color: var(--text-color-primary);
  margin-bottom: 0;
  font-style: italic;
}

.pre-title {
  margin-bottom: 0;
}

.post-title {
  margin-top: 0;
}

@font-face {
  font-family: 'davewarnock-icons';
  src: url("../icon/davewarnock-icons.ttf?45qr4p") format("truetype"), url("../icon/davewarnock-icons.woff?45qr4p") format("woff"), url("../icon/davewarnock-icons.svg?45qr4p#davewarnock-icons") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'davewarnock-icons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"].icon-2x, [class*=" icon-"].icon-2x {
  font-size: 1.6rem;
}

[class^="icon-"].icon-3x, [class*=" icon-"].icon-3x {
  font-size: 2.4rem;
}

[class^="icon-"].icon-4x, [class*=" icon-"].icon-4x {
  font-size: 3.2rem;
}

.icon-file-o:before {
  content: "\f016";
}

.icon-book:before {
  content: "\f02d";
}

.icon-pencil:before {
  content: "\f040";
}

.icon-chevron-left:before {
  content: "\f053";
}

.icon-chevron-right:before {
  content: "\f054";
}

.icon-chevron-up:before {
  content: "\f077";
}

.icon-chevron-down:before {
  content: "\f078";
}

.icon-feed:before {
  content: "\f09e";
}

.icon-rss:before {
  content: "\f09e";
}

.icon-wrench:before {
  content: "\f0ad";
}

.icon-briefcase:before {
  content: "\f0b1";
}

.icon-bars:before {
  content: "\f0c9";
}

.icon-navicon:before {
  content: "\f0c9";
}

.icon-reorder:before {
  content: "\f0c9";
}

.icon-caret-right:before {
  content: "\f0da";
}

.icon-comment-o:before {
  content: "\f0e5";
}

.icon-file-text-o:before {
  content: "\f0f6";
}

.icon-gamepad:before {
  content: "\f11b";
}

.icon-terminal:before {
  content: "\f120";
}

.icon-code:before {
  content: "\f121";
}

.icon-code-fork:before {
  content: "\f126";
}

.icon-file:before {
  content: "\f15b";
}

.icon-file-text:before {
  content: "\f15c";
}

.icon-file-pdf-o:before {
  content: "\f1c1";
}

.icon-file-word-o:before {
  content: "\f1c2";
}

.icon-file-excel-o:before {
  content: "\f1c3";
}

.icon-file-powerpoint-o:before {
  content: "\f1c4";
}

.icon-file-image-o:before {
  content: "\f1c5";
}

.icon-file-photo-o:before {
  content: "\f1c5";
}

.icon-file-picture-o:before {
  content: "\f1c5";
}

.icon-file-archive-o:before {
  content: "\f1c6";
}

.icon-file-zip-o:before {
  content: "\f1c6";
}

.icon-file-audio-o:before {
  content: "\f1c7";
}

.icon-file-sound-o:before {
  content: "\f1c7";
}

.icon-file-movie-o:before {
  content: "\f1c8";
}

.icon-file-video-o:before {
  content: "\f1c8";
}

.icon-file-code-o:before {
  content: "\f1c9";
}

.icon-map-o:before {
  content: "\f278";
}

.icon-th-list:before {
  content: "\f00b";
}

.icon-tag:before {
  content: "\f02b";
}

.icon-tags:before {
  content: "\f02c";
}

.icon-collections_bookmark:before {
  content: "\e431";
}

.breadcrumb {
  list-style: none;
  margin: 0.2rem 0;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0;
}

.breadcrumb .breadcrumb-item {
  color: var(--text-color-secondary);
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0;
}

.breadcrumb .breadcrumb-item:not(:last-child) {
  margin-right: 0.2rem;
}

.breadcrumb .breadcrumb-item:not(:last-child) a {
  color: var(--text-color-secondary);
}

.breadcrumb .breadcrumb-item:not(:first-child)::before {
  color: var(--text-color-disabled);
  content: "/";
  padding-right: 0.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 1.25rem;
  background: var(--bg-color-secondary);
  border: 0.05rem solid var(--border-color-primary);
  border-radius: 0.1rem;
  padding: 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.19);
  transition: box-shadow 0.25s;
}

.card:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card .card-image img {
  height: 378px;
  width: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 840px) {
  .card .card-image img {
    height: calc(56.25vw - 4.1rem);
  }
}

@media (max-width: 600px) {
  .card .card-image img {
    height: calc(56.25vw - 0.9rem);
  }
}

.card .card-header,
.card .card-body,
.card .card-footer {
  padding: 0.8rem;
  padding-bottom: 0;
}

.card .card-header:last-child,
.card .card-body:last-child,
.card .card-footer:last-child {
  padding-bottom: 0.8rem;
}

.card .card-footer {
  padding-top: 0;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Chrome */
  display: flex;
  /* NEW, Spec - Opera 12.1, Firefox 20+ */
  flex-wrap: wrap;
}

.card .card-footer .chip {
  margin: 0;
  margin-right: 0.4rem;
  margin-top: 0.4rem;
}

.card .card-header {
  display: flex;
  flex-flow: row nowrap;
  align-items: baseline;
  vertical-align: text-top;
  font-size: 1.8rem;
}

.card .card-header .card-title {
  font-family: "Vollkorn", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  color: var(--text-color-header);
  flex-grow: 1;
  display: block;
  line-height: 1;
}

.card .card-body {
  flex: 1 1 auto;
  margin-bottom: 0.4rem;
}

.card .card-body:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.card .card-body time, .card .card-body p {
  margin-bottom: 0.4rem;
}

.card .card-body p {
  color: var(--text-color-primary);
}

.card .card-body time {
  font-size: 0.8rem;
  color: var(--text-color-secondary);
  display: block;
}

.chip {
  border: 0.05rem solid var(--border-color-primary);
  border-radius: 0.1rem;
  align-items: center;
  color: var(--text-color-secondary);
  display: inline-flex;
  font-size: 90%;
  height: 1.2rem;
  line-height: 0.8rem;
  margin: 0.1rem;
  max-width: 100%;
  padding: 0.2rem 0.4rem;
  text-decoration: none;
  vertical-align: middle;
}

.chip:visited {
  color: var(--text-color-secondary);
}

.chip:focus, .chip:hover {
  color: var(--primary-color-high-contrast);
  border-color: var(--primary-color-high-contrast);
}

.chip.active, .chip:active {
  color: var(--text-color-secondary);
}

.chip .avatar {
  margin-left: -0.4rem;
  margin-right: 0.2rem;
}

.chip.category, .chip.series {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.chip.category:focus, .chip.category:hover, .chip.series:focus, .chip.series:hover {
  color: var(--primary-color-high-contrast);
  border-color: var(--primary-color-high-contrast);
}

.chip .btn-clear {
  transform: scale(0.75);
}

.chip [class^="icon-"], .chip [class*=" icon-"] {
  line-height: inherit;
  margin-right: 0.4rem;
}

.cutout, .meta_data_table {
  border: 0.05rem solid var(--border-color-primary);
  background-color: var(--bg-color-secondary);
  border-radius: 0.2rem;
  margin: 0 0 1.25rem 0;
}

.meta_data_table {
  width: 100%;
  padding: 0.4rem 0.8rem;
}

.meta_data_table th, .meta_data_table td, .meta_data_table tr, .meta_data_table tbody {
  font-size: 0.8rem;
}

.meta_data_table th {
  text-align: left;
  padding-right: 0.8rem;
}

.cutout {
  padding: 0.8rem;
}

.cutout :last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.cutout.success {
  border-color: var(--cutout-success-border-color);
  background-color: var(--cutout-success-bg-color);
}

.cutout.warning {
  border-color: var(--cutout-warning-border-color);
  background-color: var(--cutout-warning-bg-color);
}

.cutout.error {
  border-color: var(--cutout-error-border-color);
  background-color: var(--cutout-error-bg-color);
}

.cutout.lore {
  border-color: var(--cutout-lore-border-color);
  background-color: var(--cutout-lore-bg-color);
}

.cutout.narrative {
  border-color: var(--cutout-lore-border-color);
  background-color: var(--cutout-lore-bg-color);
}

.cutout.item {
  border-color: var(--cutout-item-border-color);
  background-color: var(--cutout-item-bg-color);
}

.cutout.character {
  border-color: var(--cutout-npc-border-color);
  background-color: var(--cutout-npc-bg-color);
}

.file-download {
  display: flex;
  align-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0;
  border-radius: 0.1rem;
  background-color: var(--bg-color-secondary);
}

.file-download .file-download-icon {
  align-items: stretch;
  flex: 0 0 auto;
  font-size: 2.0rem;
  vertical-align: baseline;
  margin: 0.8rem;
}

.file-download .file-download-icon[class^="icon-"], .file-download .file-download-icon[class*=" icon-"] {
  line-height: normal;
}

.file-download .file-download-content {
  flex: 1 1 auto;
  vertical-align: middle;
  margin: 0.4rem;
}

.file-download .file-download-title {
  font-size: 1.1rem;
  line-height: 1.25rem;
  color: var(--text-color-primary);
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.file-download .file-download-title a, .file-download .file-download-title a:visited {
  color: inherit;
}

.file-download .file-download-info {
  font-family: "Roboto Mono", "SF Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Courier, monospace;
  font-size: 0.8rem;
  color: var(--text-color-secondary);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
}

.file-download .file-download-info * {
  margin-right: 0.8rem;
}

.file-download a {
  text-decoration: none;
}

.file-download a:hover {
  text-decoration: none;
}

div.footnote {
  font-size: 0.8rem;
}

div.footnote ol {
  list-style: decimal outside;
}

div.footnote ol p {
  margin: 0;
}

.header-container {
  display: flex;
  font-size: 2rem;
  margin-bottom: .5em;
}

.header-container [class^="icon-"], .header-container [class*=" icon-"] {
  margin: 0 0.25em 0 0.2rem;
  display: inline-block;
  height: 1em;
  font-size: 1.2em;
  align-self: center;
  background-color: var(--text-color-primary);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 3px 3px rgba(255, 255, 255, 0.5);
}

@media (prefers-color-scheme: dark) {
  .header-container [class^="icon-"], .header-container [class*=" icon-"] {
    text-shadow: -2px -2px 3px rgba(0, 0, 0, 0.5);
  }
}

.header-container h1 {
  margin-bottom: 0;
}

.img-responsive {
  display: block;
  height: auto;
  max-width: 100%;
}

.img-fit-cover {
  object-fit: cover;
}

.img-fit-contain {
  object-fit: contain;
}

.video-responsive {
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.video-responsive::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
  border: 0;
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.youtube {
  margin-bottom: 1.25rem;
}

video.video-responsive {
  height: auto;
  max-width: 100%;
}

video.video-responsive::before {
  content: none;
}

.video-responsive-4-3::before {
  padding-bottom: 75%;
}

.video-responsive-1-1::before {
  padding-bottom: 100%;
}

figure {
  margin: 0 auto 1.25rem auto;
  background-color: var(--bg-color-secondary);
  border-radius: 0.1rem;
}

figure.inline {
  background: none;
  border-radius: 0;
}

figure .captionbox {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  align-content: flex-start;
  flex-wrap: wrap;
  padding: 0 0.8rem;
}

figure img, figure picture {
  margin: 0 auto 0 auto;
}

figure audio {
  padding: 0.4rem;
  padding-bottom: 0.2rem;
  width: 100%;
}

figure figcaption {
  color: var(--text-color-primary);
  margin: 0.2rem 0;
  border-collapse: collapse;
}

figure cite {
  font-size: 0.8rem;
  margin: 0.2rem 0 0.2rem auto;
}

figure figcaption + cite {
  margin: 0 0 0.2rem 0;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0.2rem 0;
  padding: 0.2rem 0;
}

.pagination .page-item {
  margin: 0.2rem 0.05rem;
}

.pagination .page-item span {
  display: inline-block;
  padding: 0.2rem 0.2rem;
}

.pagination .page-item a {
  border-radius: 0.1rem;
  color: var(--text-color-primary);
  display: inline-block;
  padding: 0.2rem 0.4rem;
  text-decoration: none;
}

.pagination .page-item a:focus, .pagination .page-item a:hover {
  color: var(--primary-color);
}

.pagination .page-item a:focus .page-item-subtitle, .pagination .page-item a:hover .page-item-subtitle {
  color: var(--primary-color);
}

.pagination .page-item.disabled a {
  cursor: default;
  color: var(--text-color-disabled);
  pointer-events: none;
}

.pagination .page-item.active a {
  background: var(--primary-color-low-contrast);
  color: var(--text-color-primary);
}

.pagination .page-item.page-prev, .pagination .page-item.page-next {
  flex: 1 0 50%;
}

.pagination .page-item.page-next {
  text-align: right;
}

.pagination .page-item .page-item-title {
  margin: 0;
}

.pagination .page-item .page-item-subtitle {
  margin: 0;
  color: var(--text-color-disabled);
}

aside.post-info {
  color: var(--text-color-secondary);
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-style: italic;
}

.table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  text-align: left;
  margin-bottom: 1.25rem;
}

.table.table-striped tbody tr:nth-of-type(odd) {
  background: var(--bg-color-secondary);
}

.table tbody tr.active, .table.table-striped tbody tr.active {
  background: var(--bg-color-secondary);
}

.table.table-hover tbody tr:hover {
  background: var(--bg-color-highlight);
}

.table.table-scroll {
  display: block;
  overflow-x: auto;
  padding-bottom: .75rem;
  white-space: nowrap;
}

.table td,
.table th {
  border-bottom: 0.05rem solid var(--border-color-primary);
  padding: 0.6rem 0.4rem;
}

.table th {
  border-bottom-width: 0.1rem;
}

section > table:not(.table), article > table:not(.table) {
  width: auto;
  margin-bottom: 1.25rem;
  border-spacing: 0px;
  border-top: 2px solid var(--border-color-primary);
  border-bottom: 2px solid var(--border-color-primary);
  /* add space between thead row and tbody */
}

section > table:not(.table).table-big, article > table:not(.table).table-big {
  width: 100%;
}

section > table:not(.table).table-small, article > table:not(.table).table-small {
  margin-left: auto;
  margin-right: auto;
}

section > table:not(.table).table-small th, section > table:not(.table).table-small td, article > table:not(.table).table-small th, article > table:not(.table).table-small td {
  padding-right: 0.7em;
  padding-left: 0.7em;
}

section > table:not(.table).table-striped tbody tr:nth-of-type(odd), article > table:not(.table).table-striped tbody tr:nth-of-type(odd) {
  background: var(--bg-color-secondary);
}

section > table:not(.table) tbody tr.active, section > table:not(.table).table-striped tbody tr.active, article > table:not(.table) tbody tr.active, article > table:not(.table).table-striped tbody tr.active {
  background: var(--bg-color-secondary);
}

section > table:not(.table).table-hover tbody tr:hover, article > table:not(.table).table-hover tbody tr:hover {
  background: var(--bg-color-highlight);
}

section > table:not(.table) th, article > table:not(.table) th {
  border-bottom: 1px solid var(--border-color-primary);
  padding: 0.65ex 0.5em 0.4ex 0.5em;
  text-align: left;
  font-weight: bold;
}

section > table:not(.table) th, section > table:not(.table) td, article > table:not(.table) th, article > table:not(.table) td {
  vertical-align: top;
}

section > table:not(.table) th.cmid, section > table:not(.table) th, article > table:not(.table) th.cmid, article > table:not(.table) th {
  border-bottom: 1px solid var(--border-color-secondary);
}

section > table:not(.table) th.nocmid, article > table:not(.table) th.nocmid {
  border-bottom: none;
}

section > table:not(.table) tbody tr:first-child td, section > table:not(.table) tr:first-child td, article > table:not(.table) tbody tr:first-child td, article > table:not(.table) tr:first-child td {
  padding-top: 0.65ex;
}

section > table:not(.table) td, article > table:not(.table) td {
  padding: 0.2ex 0.5em;
  text-align: left;
}

section > table:not(.table) caption, article > table:not(.table) caption {
  font-size: 90%;
  text-align: left;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1ex;
  caption-side: top;
}

section > table:not(.table) th.left, section > table:not(.table) td.left, article > table:not(.table) th.left, article > table:not(.table) td.left {
  text-align: left !important;
}

section > table:not(.table) th.center, section > table:not(.table) td.center, article > table:not(.table) th.center, article > table:not(.table) td.center {
  text-align: center !important;
}

section > table:not(.table) th.right, section > table:not(.table) td.right, article > table:not(.table) th.right, article > table:not(.table) td.right {
  text-align: right !important;
}

nav.toc {
  background: var(--bg-color-secondary);
  padding: 0.8rem;
  border: 0.05rem solid var(--border-color-primary);
  border-radius: 0.1rem;
  display: block;
  margin-bottom: 0.8rem;
}

nav.toc h6 {
  text-align: center;
  padding-bottom: 0.2rem;
}

nav.toc ul {
  list-style: outside none none !important;
  padding: 0;
  margin: 0;
  margin-left: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
}

nav.toc li {
  margin-left: 0;
  margin-top: 0;
}

/* Based on the example stylesheet from the article at Smashing Magazine
 * http:// coding.smashingmagazine.com/2011/11/24/how-to-set-up-a-print-style-sheet/
 * by Christian Krammer, ck@css3files.com
 *
 * To use it:
 * include the content of this file inside a media query:
 * @media print { ... }
 * and use the screen media query for the rest of the css:
 * @media screen { ... }
 * Or save as a separate file and use medi="print" in the css link
 */
/*
 * Check also the jquery print preview plugin:
 * https://github.com/etimbo/jquery-print-preview-plugin
 * Demo page:
 * http://etimbo.github.com/jquery-print-preview-plugin/example/index.html
 *
 */
/* page margins: does not work in Firefox */
/*
@page {
    margin: 0.5cm;
}
*/
/* You can also set page margins independently for odd and even pages */
/*
@page :left {
    margin: 0.5cm;
}
@page :right {
    margin: 0.8cm;
}
*/
/* Reset quotes */
q {
  quotes: none;
}

q:before, q:after {
  content: "";
}

/* Hide everything unneeded */
header.customheader, nav.toc, nav, footer {
  display: none;
}

/* Show printer-frindly logo.
 * In the html we have 2 logos: 1 for screen the other for print:
 * something like:
 * <header>
 * <a href="/" title="Home" class="logo">
 *   <img src="img/logo.png" alt="Smashing Winery" class="screen"/>
 *   <img src="img/logo_print.png" alt="" class="print"/>
 * </a>
 * </header>
 */
header .print {
  display: block;
}

/* Some browsers like to show a border around images. Switch it off */
img {
  border: 0;
}

/* Mover the header a little bit awy from the content */
header {
  margin-bottom: 40px;
}

/* Separate blockquotes a little bit from the rest */
blockquote {
  font-size: 13pt;
  font-style: italic;
}

p, li, td {
  /* Show the URL after each link, whereby internal links are preceeded by the site's URL */
  /* Ignore this entirely for anchors */
  /* External links don't get this treatment */
}

p a:after, li a:after, td a:after {
  content: " [https://davewarnock.com/" attr(href) "]";
  font-size: 80%;
  word-wrap: break-word;
  /* break long urls that don't fit the page width */
}

p a[href^="#"]:after, li a[href^="#"]:after, td a[href^="#"]:after {
  content: "";
}

p a[href^="http://"]:after, p a[href^="https://"]:after, li a[href^="http://"]:after, li a[href^="https://"]:after, td a[href^="http://"]:after, td a[href^="https://"]:after {
  content: " [" attr(href) "]";
}

/*
 * If you want to display links as a list of URIs appended as footnotes to the document
 * take a look at this script
 * http://www.v2.easy-designs.net/code/footnoteLinks/index.php
 */
/* Append the source of the citation */
q:after {
  content: " [" attr(cite) "]";
}

/* The Sidebar is placed under the content automatically.
 * To distinguish it from the rest a border and a gap is set before
 */
aside {
  border-top: 1px solid #bbb;
  margin-top: 30px;
  display: block;
  /*page-break-before: always; */
  /* Moves the sidebar to new page */
}

div.cutout {
  border: 1px solid #777;
  padding: 1em;
}

h1, h2, h3, h4, h5, h6 {
  page-break-after: avoid;
}

img {
  max-width: 100% !important;
}

ol, ul, img {
  page-break-inside: avoid;
}

kbd {
  color: #FFFFFF;
}
