@import url("https://use.typekit.net/hno7xrs.css");
  
  @font-face {
   font-family: liberation-mono;
   src: url(https://ih.edihon.org/media/journals/2/LiberationMono-Regular.ttf);
}

:root {
--primary-dark-color: #479b9e; /* Primary colour used by elements such as buttons */
--very-dark-primary-color: #479b9e;  /* Darker primary colour used for contrast or hover effects */
--primary-light-color: #fff; /* lighter colour or secondary colour */
--topbar-background-color: #ecf2ec; /* background colour for the top bar of the navigation */
--menu-background-color: #479b9e; /* background colour for the menu bar of the navigation */
--menu-alternative-background-color: #479b9e; /* Alternative background colour for the menu bar, used by some buttons */
--menu-foreground-color: #ecf2ec; /* font colour used in the menu bar */
--link-color: #479b9e;
--toc-link-color: #22175b; /* Colour used by text on TOC sidebar elements */
--figure-caption-background-color: #479b9e; 
--figure-caption-color: #FFFFFF; 
--inset-100: 3rem; /* WIP */
}

body {
  font-family: liberation-sans, sans-serif;
}

header {
  font-family: liberation-mono, sans-serif;
}

h1, h2, h3, h4, h5, h6, h7, h8 {
  font-family: liberation-sans, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #2d0505
}

main {
  background-color: #ecf2ec;
}

.wrapper {
  background-color: #ecf2ec;
}

header .top-bar ul.dropdown ul {
    background-color: var(--menu-background-color);
}

header .top-bar ul.dropdown ul li a {
    background-color: var(--menu-background-color);
  color: white;
}
/*
.box {
  background-color: #FFFFFF;
  padding: 12px;
}

.box .content {
  padding: 1.3rem 0 1.3rem 0 ;
}

.box img {
  height: 200px;
}
*/
footer {
  background-color: #479b9e;
  color: #FFF;
  font-family: liberation-mono;
}

footer p, footer ul li a, footer a {
  color: #FFF;
  font-family: liberation-mono;
}

.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
  border-color: #ecf2ec transparent transparent;
}

.button.success:hover, .button.success.focus {
  background-color: #8c4b47;
}

.pagination .current {
  background-color: #ff6555;
}

.pagination li {
  background-color: #ff6555;
  color: #FFF;
}

.pagination a, .pagination button {
    color: #FFF;
}

.pagination a:hover, .pagination button:hover {
  background-color: #8c4b47;
}

.button {
  background-color: #ff6555;
}

.button:hover {
  background-color: #8c4b47;
}

.mini-bar {
  background-color: #ffb58f !important;
}

.mini-bar ul.menu li:hover {
  background-color: #ecf2ec;
}

.mini-bar ul.menu li a {
  color: #2d0505;
}

.summary .top {
  color: #2d0505;
  background: transparent;
  border-bottom: border: 1px var(--menu-background-color) solid;
}

.summary {
  border: 1px var(--menu-background-color) solid;
}

.summary .bottom {
  background: transparent;
  border-top: border: 1px var(--menu-background-color) solid;
}

.summary h4 {
  color: #2d0505;
}

.summary h5 {
  color: #2d0505;
}

.summary p {
  color: #000000;
}

#article a {
  color: var(--primary-dark-color);
}

footer .very-dark-primary-color {
  background-color: #479b9e;

}

footer .columns {
  background-color: var(--very-dark-primary-color);
  min-height: 100px;
}

header .top-bar ul.dropdown ul a:hover {
  background-color: #310909;
}

footer img {
  height: 70px;
  width: 140px;
}

pre:has(code) {
  padding: 15px var(--inset-100) 0 var(--inset-100);
}

code {
  background: #ffffff;
  padding: 0px;
  border: 0px solid #ECECEC
}
/*
.orbit-caption h3 {
  color: #000 !important;
  background-color: rgb(255, 255, 255, 0.9);
  padding: 5px;
}

.orbit-caption p {
  color: #000 !important;
  background-color: rgb(255, 255, 255, 0.9);
  padding: 5px;
}

.orbit .orbit-caption a {
  color: #000;
  padding-bottom: 0.34722rem;
  border-bottom: 1px solid #000000;
}
*/
.large-8.columns.border-right { /*background of articles white */
    background: white;
    padding: 2rem 4rem;
}

.fig-inline-img-set { /*margin around figures */
    margin: 2rem 2rem 0 2rem; /* top, right, bottom, left */
}

.acta-fig-image-caption-wrapper { /*margin between figure and description (fig-label) */
  	margin-bottom: 2rem;
}

.fig-label {
    font-size: 0.9rem;
    font-family: sans-serif;
    font-weight: 400;
	line-height: 1.6;
    margin-bottom: 0;
}

.fig-caption { /*background of description */
   	background: white;
   	margin-bottom: 0;
}
.article-section pre {
	border-left: 0px;
}

pre + p {
   margin: 15px var(--inset-100);
}
/* To make tables in article view take full width of their container, issue 359 */
table.article-table {
  overflow-x: auto;
  display: table;
}

table-wrap {
  overflow-x: auto;
}

/* To make links wrap correctly in article view, right sidebar. Issue #367 */
#content aside ul li {
  word-wrap: break-word;
}

.list-inline.comma-and-sep {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.5rem;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.list-inline.comma-and-sep,
.list-inline.comma-and-sep * {
  color: #000000 !important;
}
footer img {
    height: 40px;
    width: 200px;
}