/* Local fonts using the tool: https://github.com/majodev/google-webfonts-helper */
/* lato-regular - latin */
/* Lato: Body text, Playfair Display: headings */
/* lato-regular - latin */

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: normal;
    src:
        url('/fonts/lato-v15-latin-regular.woff2') format('woff2');
    font-display: swap;
}

/* lato-italic - latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: normal;
    src:
        url('/fonts/lato-v15-latin-italic.woff2') format('woff2');
    font-display: swap;
}

/* lato-700 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: bold;
    src:
        url('/fonts/lato-v15-latin-700.woff2') format('woff2');
    font-display: swap;
}

/* lato-700italic - latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: bold;
    src:
        url('/fonts/lato-v15-latin-700italic.woff2') format('woff2');
    font-display: swap;
}
/* playfair-display-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: normal;
  src: url('/fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
}

/* playfair-display-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: normal;
  src: url('/fonts/playfair-display-v37-latin-italic.woff2') format('woff2');
}

/* playfair-display-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: bold;
  src: url('/fonts/playfair-display-v37-latin-700.woff2') format('woff2');
}

/* playfair-display-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: bold;
  src: url('/fonts/playfair-display-v37-latin-700italic.woff2') format('woff2');
}



/* =============== */
/* Variables */
:root {
    --main-bg-colour: #313639;
    --body-bg-colour: white;
    --border-colour: #26bb98;
    --table-border-colour: #26bb98;
    --heading-colour: #0000cd;
    --blockquote-bg-colour: #FAFAD2;
    --link-colour: #FF0000;
    --link-colour-hover: #94bb26;
    --link-colour-visited: #DAA520;
    --footer-sidebar-colour: #525252;
    --body-font: 'Lato';
    --heading-font: 'Playfair Display';
}

/* End variables */

body {
    background: var(--body-bg-colour) scroll;
    font-family: var(--body-font), sans-serif;
    font-weight: normal;
    line-height: 1.2em;
    color: black;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.25em;
    margin: 0.75em 0 0.5em 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-colour);
    font-family: var(--heading-font), serif;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1em;
}

main, footer {
    border: 1px solid var(--border-colour);
}

#colleft, #colright {
    font-size: 0.9em;
}

sup {
    font-size: 80%;
}

.cgraphic {
    margin: 0 auto 0.5em auto;
    padding: 0;
    width: 100%;
    border: 1px solid var(--border-colour);
}

.cclogo {
    border-width: 0;
    display: inline-block;
    float: left;
    margin: 0.5em 0.5em 0 0;
    padding: 0;
    vertical-align: bottom;
}

figure {
    page-break-inside: avoid;
}

figcaption {
    padding: 0 0 0.25em 0;
}

.dropcap {
    float: left;
    font-size: 200%;
    line-height: 83%;
    margin-right: 0.5em;
    margin-top: 0;
}

.yahweh {
    font-variant: small-caps;
}

div.biblequote {
    font-family: 'Times', 'Times New Roman', serif;
    font-size: 100%;
    margin: 0 2em 0 2em;
}

div.thumbnail::after {
    clear: both;
    content: '';
    display: table;
}

#TOC {
    border: 1px solid var(--border-colour);
}

#TOC::before {
    content: 'On this page';
    font-size: 1em;
    font-weight: bold;
}

figcaption {
    margin: 0.25em 0 0.5em 0;
}

#TOC, #generalinfo, #navinfo {
    color: var(--footer-sidebar-colour);
}

figcaption, footer {
    color: var(--footer-sidebar-colour);
    font-size: 0.9em;
}
figure {
    margin: 0 0 0 0;
    border: 0;
}
/* These are n0t picked up by browsers, but the same in common.css is, so temp fix there. */

#navinfo, #subinfo, #generalinfo, #relatedinfo, #pluginfo {
    border: 1px solid var(--border-colour);
    /*  color: black; */
    font-size: 1em;
    line-height: 1em;
}

#subinfo::before {
    /* Otherwise treated as inline */
    content: 'How to listen';
    display: block;
    font-size: 1em;
    font-weight: bold;
    margin: 0 0 0.5em 0;
    text-align: center;
}

#navinfo::before {
    /* Otherwise treated as inline */
    content: "Other Rooms in Dr Garry's Terrace";
    font-size: 1em;
    font-weight: bold;
}

#relatedinfo:before {
    /* Otherwise treated as inline */
    content: 'Related';
    font-size: 1em;
    font-weight: bold;
}

#subinfo, #pluginfo {
    line-height: 1em;
    margin-bottom: 2em;
    padding: 0.5em;
}

#subinfo p, #pluginfo p {
    padding: 0;
}

main a:link {
color: var(--link-colour);
    text-decoration: underline;
    font-weight: normal;
}

main a:visited {
    color: var(--link-colour-visited);
}

main a:hover {
    color: var(--link-colour-hover);
} /* Must be after a:link and a:visited */

blockquote.quote {
    background-color: var(--blockquote-bg-colour);
    border-left: 1px solid var(--border-colour);
    border-right: 1px solid var(--border-colour);
}

p.episodename {
    font-weight: bold;
}

.ep {
    font-size: 1em;
    line-height: 1.2em;
}

ul li {
    line-height: 1.4em;
}

table.full-width {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
}
