@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --primary-dark-color: #414141; /* Primary colour used by elements such as buttons */
  --very-dark-primary-color: #414141;  /* Darker primary colour used for contrast or hover effects */
  --primary-light-color: #fff; /* lighter colour or secondary colour */
  --topbar-background-color: #FFF; /* background colour for the top bar of the navigation */
  --menu-background-color: #FFFFFF; /* background colour for the menu bar of the navigation */
  --menu-alternative-background-color: #FFFFFF; /* Alternative background colour for the menu bar, used by some buttons */
  --menu-foreground-color: #000000; /* font colour used in the menu bar */
  --link-color: #2199e8;
  --toc-link-color: #22175b; /* Colour used by text on TOC sidebar elements */
  --figure-caption-background-color: #003DAC; 
  --figure-caption-color: #FFFFFF;
}

body, 
footer ul li a,
footer p,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header #main-menu li a {
  font-weight: 900;
  color: var(--menu-foreground-color);
  font-size: 18px;
  line-height: 28px;
  text-transform: uppercase;
}

header #main-menu li a:hover, header #main-menu li a:focus {
  color: white;
  background: #414141;
}

.main.top-bar {
  border-bottom: none;
}

header #main-menu {
  text-align: right;
}

header .top-bar ul.dropdown ul a, .top-bar-right .menu a {
  color: #414141;
}

header .top-bar ul.dropdown ul a:hover {
  color: white;
  background-color: #414141;
}

.top-bar-right.border-left, .top-bar-left.border-right {
    border-left: none;
  border-right: none;
}

@media screen and (min-width: 40em) {
  header .top-bar-image {
    margin-top: 0px;
  }
}

footer, footer.very-dark-primary-color {
  background-color: #3d3737;
  color: white;
}

footer .very-dark-primary-color {
  background-color: #3d3737;
}

footer {
  p, a, li, ul li a {
    color: white;
    font-size: 15px;
  }
}

.masthead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.masthead h2 {
    font-size: 2em;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
}

.masthead h3 {
    font-size: 1.5em;
    margin: 2em 0 1em;
}

.masthead .established {
    font-size: 1.2em;
    margin-bottom: 2em;
}

.masthead .roles p {
    margin: 0.5em 0;
}

.masthead .advisory-board {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 2em;
}

.masthead .advisory-board div {
    width: 48%;
}

.masthead .advisory-board p {
    margin-bottom: 1em;
  text-align: center;
}

.masthead .contributors p {
    margin: 1em 0;
}