/* 
 * Main site CSS style sheet.
 * Copyright 2012, 2018, 2021 David Egan Evans
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without restriction,
 * including, without limitation, the rights to use, copy, modify,
 * merge, publish, distribute, sublicense, and sell copies of
 * the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies, or substantial portions, of the Software;
 *
 * THE SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
 * NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING
 * FROM, OUT OF, OR IN CONNECTION WITH, THE SOFTWARE, OR THE USE OF,
 * OR OTHER DEALINGS IN, THE SOFTWARE.
 */

body, html {
 font-family: "Bitstream Vera Sans", "Liberation Sans", sans-serif;
 font-size: 1em;
 background-color: white;
 color: black;
 text-align: left;
 margin: 0px;
 padding: 0 3% 1em !important;
}
a:link {
  color: #666666;
  background-color: white;
}
a:visited {
  color: #000033;
  background-color: white;
}
a:hover {
  margin-top: 0px;
  margin-bottom: 0px;
  color: #000033;
  background-color: white;
  text-decoration: underline;
}
.bold { font-weight: bold; }
.centre { text-align: center; }
.head {
 font-weight: bold;
 color: #000033;
 border: 0px none;
 background-color: #000000;
}
.italic {
 font-size: 1em;
 font-style: italic;
 color: #000033;
 background-color: white;
}
.red {
 color: red;
 background-color: white;
}
blockquote {
 margin: 1.12em 0;
 margin-left: 40px;
 margin-right: 40px;
 font-size: 1em;
 background-color: white;
 color: #000033;
 display: block;
}
dd {
 font-size: 1em;
 color: #000033;
 background-color: white;
 display: block;
}
.copyright {
 color: #000033;
 background-color: white;
 font-size: .8em; 
 padding: 5px;
/* border-color: #666666;
 border-style: solid;
 border-width: thin; */
 display: block;
}
h1 {
 font-size: 2em;
 margin: .67em 0;
 color: #000033;
 background-color: white;
 display: block;
}
h2 {
 font-size: 1.5em;
 margin: .75em 0;
 color: #000033;
 background-color: white;
 display: block;
}
h3 {
 font-size: 1.17em;
 margin: .83em 0;
 color: #000033;
 background-color: white;
 display: block;
}
h4 {
 margin: .9em 0;
 font-size: 1.12em;
 color: #000033;
 background-color: white;
 display: block;
}
h5 {
 font-size: 1.10em;
 color: #000033;
 background-color: white;
 margin: .95em 0;
 display: block;
}
h6 { 
 font-size: 1em;
 color: #000033;
 background-color: white;
 margin: .98em 0;
 display: block;
}
footer, header, nav { display: block; }
img {
 border: 0 none #485068;
}

ol, p, ul {
 font-size: 1em;
 color: #000033;
 background-color: white;
 display: block;
}
pre {
 color: #f5deb3;
 font-size: 1em; 
 display: block;
 width: fit-content;
 padding: 3px;
 block-size: fit-content;
 border: 1px solid #485068;
 background-color: #666666;
}
q:lang(en) {
  quotes: '\2018' '\2019' '\201C' '\201D';
}
q:before { content: open-quote; }
q:after {
  content: close-quote;
}
span, td {
 font-size: 1em;
 font-style: normal;
}

/* Default CSS 2.1 Styles */
address, div, dl, dt, fieldset, form, frame, frameset, noframes,
center, dir, hr, menu { display: block }
li              { display: list-item }
head            { display: none }
table           { display: table }
tr              { display: table-row }
thead           { display: table-header-group }
tbody           { display: table-row-group }
tfoot           { display: table-footer-group }
col             { display: table-column }
colgroup        { display: table-column-group }
td, th          { display: table-cell }
caption         { display: table-caption }
th              { font-weight: bolder; text-align: center }
caption         { text-align: center }
p, ul,
fieldset, form,
ol, dl, dir,
menu            { margin: 1.12em 0 }
h1, h2, h3, h4, h5, h6,
b, strong       { font-weight: bolder }
i, cite, em,
var, address    { font-style: italic }
pre, tt, code,
kbd, samp       { font-family: monospace }
pre             { white-space: pre }
button, textarea,
input, select   { display: inline-block }
big             { font-size: 1.17em }
small, sub, sup { font-size: .83em }
sub             { vertical-align: sub }
sup             { vertical-align: super }
table           { border-spacing: 2px; }
thead, tbody,
tfoot           { vertical-align: middle }
td, th          { vertical-align: inherit }
s, strike, del  { text-decoration: line-through }
hr              { border: 1px inset }
ol, ul          { margin-left: 1em }
dir, menu, dd   { margin-left: 40px }
ol              { list-style-type: decimal }
ol ul, ul ol,
ul ul, ol ol    { margin-top: 0; margin-bottom: 0 }
u, ins          { text-decoration: underline }
br:before       { content: "\A" }
:before, :after { white-space: pre-line }
center          { text-align: center }
:link           { text-decoration: underline }
:visited        { text-decoration: none }
/* :focus          { outline: thin dotted invert } */
:focus          { outline: none }

/* Begin bidirectionality settings (do not change) */
BDO[DIR="ltr"]  { direction: ltr; unicode-bidi: bidi-override }

BDO[DIR="rtl"]  { direction: rtl; unicode-bidi: bidi-override }

*[DIR="ltr"]    { direction: ltr; unicode-bidi: embed }
*[DIR="rtl"]    { direction: rtl; unicode-bidi: embed }

@media print {
  h1            { page-break-before: always }
  h1, h2, h3,
  h4, h5, h6    { page-break-after: avoid }
  ul, ol, dl    { page-break-before: avoid }
}
