body {
  font-family: 'Nimbus Sans', sans-serif;
  color: #4a4a4a;
  font-size: 1.125rem;
  line-height: 1.75;
}

h1 {
  font-family: Merriweather, serif;
  color: #e21c1b;
  font-size: 4.375rem;
  line-height: 1.32857;
  }

h2 {
  font-family: Merriweather, serif;
  color: #000000;
  font-size: 1.875rem;
  font-weight: 700
}

h3 {
  font-family: Nimbus Sans,sans-serif;
  color: #000000;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.42857;
}

h4 {
  font-family: Nimbus Sans, sans-serif;
  font-size: 1.125rem;
  line-height: 1.38889;
}

h5 {
  font-family: Nimbus Sans, sans-serif;
  font-size: 1rem;
  line-height: 1.5625;
}

h6 {
  font-family: Nimbus Sans, sans-serif;
  color: #1a2a36;
}

header {
  font-family: 'Nimbus Sans', sans-serif !important;
}

:root {
--primary-dark-color: #e21c1b; /* Primary colour used by elements such as buttons */
--very-dark-primary-color: #e21c1b;  /* Darker primary colour used for contrast or hover effects */
--primary-light-color: #606263; /* lighter colour or secondary colour */
--topbar-background-color:#ffffff; /* background colour for the top bar of the navigation */
--menu-background-color: #e21c1b; /* background colour for the menu bar of the navigation */
--menu-alternative-background-color: #000; /* Alternative background colour for the menu bar, used by some buttons */
--menu-foreground-color: #ffffff; /* font colour used in the menu bar */
--link-color: #e21c1b;
--toc-link-color: #e21c1b; /* Colour used by text on TOC sidebar elements */
--figure-caption-background-color: #003DAC; 
--figure-caption-color: #FFFFFF;
}

a:hover {
  color:#a30000;
}

a {
  text-decoration: underline !important;
}

header #main-menu {
  margin-top: -.3125rem;
}

header #main-menu li a {
  font-family: 'Nimbus Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.625;
  text-decoration: none !important;
}

header #main-menu li a:hover {
  background-color: #e21c1b;
  color: #ffffff !important;
  text-decoration: underline #f9f9f9 0.4375rem !important;
}

header #main-menu {
  border-top-width: 0px;
  border-bottom-color: #000000;
  border-bottom-style: solid;
  border-bottom-width: 16px;
}

header .main.top-bar {
  background-color: #f0f0f4;
}

.top-bar-right {
  border-left: 0px;
}

.top-bar-right a {
  color: #921F29;
}

.top-bar-left {
  border-right: 0px;
}

body #article h1 {
  font-size: 3.0096rem;
}

body .button {
  border: .125rem solid #e21c1b;
  border-radius: 1.875rem;
  padding: .5rem 1.25rem .5rem 1.25rem;
  margin: .625rem 0;
  text-align: left;
  cursor: pointer;
  background-color: transparent !important;
  color: #e21c1b !important;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.38889;
  text-decoration: none !important;
  transition: color .2s ease-in-out,background-color .2s east-in-out,padding .2s ease-in-out;
  position: relative;
}

body .button:hover {
  background-color: #e21c1b !important;
  color: #fff !important;
}

body .callout.primary {
  background-color: #fff;
  border: 1px solid #e21c1b;
}

body .callout.primary h2 {
  font-family: Nimbus Sans,sans-serif;
  font-size: 1.125rem;
}

body .callout.primary dl {
  font-size: 1rem;
}

body .callout.primary p {
  font-size: 1rem;
}

body .fig {
  border-style: solid;
  border-width: 1px;
  border-color: #d3d3d3;
  margin: 12px 0px 24px 0px;
  padding: 12px 12px 12px 12px;
}

body .fig-label {
  font-weight: 700;
}

body .table-wrap {
  border-style: solid;
  border-width: 1px;
  border-color: #d3d3d3;
  margin: 12px 0px 24px 0px;
  padding: 12px 12px 12px 12px;
  }

body .table-foot {
  border-style: solid;
  border-width: 1px 0px 0px 0px;
  border-color: #d3d3d3;
}

body .table-label {
  font-weight: 700;
}

header .top-bar-left svg {
  height: 100% !important;
  max-width: none;
  max-height: none;
  vertical-align: center !important;
}

.cover-float-right {
  width: 20%; 
  float: right;
  padding-left: 16px;
  padding-bottom: 16px;
}

body #article h1 {
  font-size: 3.0096rem;
}