* {
  font-family: sans-serif;
  color: rgb(23, 23, 23);
  font-weight: 400;
}

body {
  background-color: rgb(255,255,255);
  margin: 0;
}

h1 {
  font-size: 2em;
  font-weight: 700;
}

h2 {
  font-size: 1.66em;
  font-weight: 700;
}

h2.slim {
    margin-bottom: 0;
}

h3 {
  font-size: 1.11em;
  font-weight: 700;
}

h4 {
    font-size: 1em;
    margin: 0;
    padding: 0;
}

p {
  text-align: left;
  font-size: 1em;
}
b {
  font-size: 1em;
  font-weight: 600;
}

figure {
    margin: auto;
}

table {
    text-align: left;
    border-collapse: collapse;
    display: table-row;
}

tr {
    border-bottom: 1px solid rgb(230, 230, 230);
}

td, th{
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    padding-left: 5px;
    padding-right: 5px;

}

th {
    text-align: left;
    font-weight: 700;
}

p.footer-content {
    padding-top: 3em;
    padding-bottom: 3em;
    text-align: center;
}

div.sticky {
  align-self: start;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

a:link {
  color: rgb(42, 99, 173);
  text-decoration: none;
}

/* visited link */
a:visited {
  color: rgb(42, 99, 173);
  text-decoration: none;
}
/* mouse over link */
a:hover {
  text-decoration: underline;
  color: rgb(42, 99, 173);
}
/* selected link */
a:active {
  color: rgb(42, 99, 173);
}
/* For the general nav links: */
.nav a:link
{
    color: rgb(24, 23, 23);
    text-decoration: none;
}
.nav a:hover
{
  color: rgb(24, 23, 23);
  text-decoration: underline;
  text-decoration-thickness: 0.15em;
}
.nav a:visited
{
    color: rgb(24, 23, 23);
}
.nav a:active
{
    color: rgb(24, 23, 23);
}
/* For the nav link of the active page: */
.nav-active a:link
{
    color: rgb(24, 23, 23);
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
}
.nav-active a:hover
{
  color: rgb(24, 23, 23);
  text-decoration: underline;
  text-decoration-thickness: 0.15em;
}
.nav-active a:visited
{
    color: rgb(24, 23, 23);
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
}
.nav-active a:active
{
    color: rgb(24, 23, 23);
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
}

/* For the left navigation */

.left-nav a:link
{
    color: rgb(23, 23, 23);
    text-decoration: none;
    font-size: 0.9em;
}
.left-nav a:hover
{
  color: rgb(23, 23, 23);
  font-size: 0.9em;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
}
.left-nav a:visited
{
    color: rgb(23, 23, 23);
}
.left-nav a:active
{
    color: rgb(23, 23, 23);
}

/* For the left nav link of the active page: */
.left-nav-active a:link
{
    color: rgb(23, 23, 23);
    font-size: 0.9em;
    font-weight: 700;
}
.left-nav-active a:hover
{
  color: rgb(23, 23, 23);
  font-size: 0.9em;
  text-decoration: underline;
  text-decoration-thickness: 0.11em;
}
.left-nav-active a:visited
{
    color: rgb(23, 23, 23);
    font-size: 0.9em;
}
.left-nav-active a:active
{
    color: rgb(23, 23, 23);
    font-size: 0.9em;
}

div.left-nav-active
{
    background-color: rgb(242, 242, 242);
    padding-left: 1em;
    padding-right: 0.1em;
    margin-top: 0.3em;
}
div.left-nav 
{
    padding-left: 1em;
    padding-right: 0.1em;
    margin-top: 0.3em;
}

hr {
  border-top: 4px rgb(230, 230, 230);
}

/* Grid styling adapted from:  https://www.w3schools.com/cssref/pr_grid.asp */

.g-header {grid-area: header;}
.g-menu {grid-area: menu;}
.g-main { grid-area: main; }
.g-right { grid-area: right; width: 250px;}
.g-footer {
  grid-area: footer; 
  background-color: rgb(230, 230, 230);
}

.grid-container {
  display: grid;
  grid:
  'header header header header'
  'menu main main right'
  'footer footer footer footer';
  grid-template-columns: minmax(20fr,20fr) 70fr minmax(10fr,10fr);
}

.grid-container > div {
  padding: 0;
  padding-left: 1em;
  padding-right: 1em;
  margin: 0;
}

@media screen and (max-width: 600px) {
.grid-container {
  display: grid;
  grid:
  'header header header'
  'menu menu menu'
  'right right right'
  'main main main'
  'footer footer footer';}
div.sticky {
  align-self: start;
  position: -webkit-relative; /* Safari */
  position: relative;
  top: 0;
}

.flex-container {
  display: flex;
  flex-direction: column;
  vertical-align: text-top;
  margin-top: 0.1em;
  height: auto;
  line-height: auto;
}
.article-flex-head {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    margin-bottom: 0;
}

}

.article-flex-head {
    display: flex;
    vertical-align: text-top;
}


/* Flexbox styling adapted from:  https://www.w3schools.com/css/css3_flexbox.asp */

.flex-container {
  display: flex;
  vertical-align: text-top;
}

.flex-container > div {
  margin-top: 0.5em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  padding: 1px;
  height: 46px;
  line-height: 46px;
}