/********************/
/* Colors variables */
/********************/

:root {
  --main-color-text: hsla( 0, 0%, 30%, 1 );
  --bg-color-white:  hsla( 22, 100%, 99%, 1 );
  --color-middle-brown: hsla( 21, 30%, 57%, 1 );
  --color-middle-gray: hsla( 0, 0%, 50%, 1 );
}



/*Font imports */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* ! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

body {
  color : var( --main-color-text );
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

footer {
  min-height: 50vh;
}
/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1rem 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1rem; /* 2 */
}


blockquote {
  quotes: "\201C""\201D""\2018""\2019";
  margin: 0;
}

  blockquote:before {
    color: var(  --color-middle-brown );
    content: open-quote;
    font-size: 6rem;
    line-height: 0.5rem;
    margin-right: 1rem;
    vertical-align: bottom;
  }

  blockquote:after {
    color: var(  --color-middle-brown );
    content: close-quote;
    font-size: 6rem;
    line-height: 0.5rem;
    margin-left: 1rem;
    vertical-align: bottom;
  }

  blockquote p {
    display: inline;
  }

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
  transition: all 0.1s;
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1rem; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

p {
  line-height: 1.75rem;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25rem;
}

sup {
  top: -0.5rem;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

  img.responsive {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
  }

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35rem 0.75rem 0.625rem;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

/*****************/
/* END NORMALIZE */
/*****************/

/*************/
/* CLEARFIX  */
/*************/
/* As per Nicolas Gallagher - http://nicolasgallagher.com/micro-clearfix-hack/ */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/************/
/* TOP MENU */
/************/
.top-menu-container {
  display: block;
  z-index: 9999;
}

  .top-menu-container h3 {
    display: none;
  }

/**********/
/* NAVBAR */
/**********/
/* Props to https://codepen.io/philhoyt/pen/BnybJ for the code */

.primary-navigation-container {
  z-index: 1;
  position: relative;
}

.main-navigation {
}

  /*Hamburger button for mobile navigation */
  .main-navigation .close-button {
    display: none;
  }

  .main-navigation ul {
    display:  inline-block;
    list-style: none;
    position: relative;
  }


  .main-navigation ul li {
    position: relative;
    float: left;
  }
  
    .main-navigation ul li a {
      padding: 0.5rem 1rem;
      border-top: 1px solid transparent;
    }

      .main-navigation ul li a:hover {
        /*text-decoration: underline;*/
        border-top: 1px solid var( --color-middle-brown );
      }
    
    .main-navigation ul li.current-menu-item {
    }

      .main-navigation ul li.current-menu-item a {
        background-color: var( --color-middle-brown );
        color: white;
      }

.main-navigation-hamburger-container {
  display: none;
}

/******************/
/* GENERAL STYLES */
/******************/

h1, h2 {
  font-size: inherit;
  font-weight: 500;
  line-height: 3.0rem;
}

h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 300;
  line-height: 2rem;
}

h1.with-leafs:before, h2.with-leafs:before, h3.with-leafs:before, h4.with-leafs:before, h5.with-leafs:before, h6.with-leafs:before {
  content: "❧";
  margin-right: 1rem;
}

h1.with-leafs:after, h2.with-leafs:after, h3.with-leafs:after, h4.with-leafs:after, h5.with-leafs:after, h6.with-leafs:after {
  content: "❧";
  margin-left: 1rem;
  transform: scale( -1, 1 ); /* Flip horizontally */
  display: inline-block; /* Otherwise, scale won't work */
}

  @media (max-width: 800px ){
    h1.with-leafs:before, h2.with-leafs:before, h3.with-leafs:before, h4.with-leafs:before, h5.with-leafs:before, h6.with-leafs:before,
    h1.with-leafs:after, h2.with-leafs:after, h3.with-leafs:after, h4.with-leafs:after, h5.with-leafs:after, h6.with-leafs:after {
      content: "";
      margin: 0;
    }

  }
  

a {
  color: var( --color-middle-brown );
  text-decoration: none;
  border-bottom: 1px solid var( --color-middle-brown );
}

  a:hover {
    /*color: red;*/
  }

  a.no-color-effect {
    color: var( --main-color-text );
  }

  a.no-underline,
  a.no-underline:hover {
    text-decoration: none;
  }

  a.no-border {
    border-bottom: none;
  }

@media (max-width: 800px ){
  a.no-border-small {
    border-bottom: none;
  }
}

a.frame-btn {
  outline: none;
  background-color: transparent;
  box-shadow: none;
  border-bottom: none;
}

.frame-btn {
  display: inline-block;
  padding: 10px 15px;
  position: relative;
}
.frame-btn__text {
  transition: 300ms ease;
  position: relative;
  text-decoration: none;
}
.frame-btn:hover .frame-btn__text {
  color: white;
}
.frame-btn__solid {
  position: absolute;
  top: 0;
  left: 0;
  margin: 10px;
  background-color: #b2876f;
  width: calc(100% - (5px * 4));
  height: calc(100% - (5px * 4));
  transform-origin: 50%;
  transform: scale(0.85);
  opacity: 0;
  transition: 500ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.frame-btn:hover .frame-btn__solid {
  opacity: 1;
  transform: scale(1);
}
.frame-btn__outline {
  position: absolute;
  top: 0;
  left: 0;
}
.frame-btn__outline--tall {
  margin: 0 5px;
  width: calc(100% - (5px * 2));
  height: 100%;
}
.frame-btn__outline--flat {
  margin: 5px 0;
  height: calc(100% - (5px * 2));
  width: 100%;
}
.frame-btn__line {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.frame-btn__line--tall:before, .frame-btn__line--tall:after {
  height: 100%;
  width: 1px;
  top: 0;
}
.frame-btn:hover .frame-btn__outline--flat .frame-btn__line--tall:before, .frame-btn:hover .frame-btn__outline--flat .frame-btn__line--tall:after {
  transform: scaleY(0);
}
.frame-btn:hover .frame-btn__outline--tall .frame-btn__line--tall:before, .frame-btn:hover .frame-btn__outline--tall .frame-btn__line--tall:after {
  margin: 5px 0;
  height: calc(100% - (5px * 2));
}
.frame-btn__line--tall:before {
  left: 0;
}
.frame-btn__line--tall:after {
  right: 0;
}
.frame-btn__line--flat:before, .frame-btn__line--flat:after {
  width: 100%;
  height: 1px;
  left: 0;
}
.frame-btn:hover .frame-btn__outline--tall .frame-btn__line--flat:before, .frame-btn:hover .frame-btn__outline--tall .frame-btn__line--flat:after {
  transform: scaleX(0);
}
.frame-btn:hover .frame-btn__outline--flat .frame-btn__line--flat:before, .frame-btn:hover .frame-btn__outline--flat .frame-btn__line--flat:after {
  margin: 0 5px;
  width: calc(100% - (5px * 2));
}
.frame-btn__line--flat:before {
  top: 0;
}
.frame-btn__line--flat:after {
  bottom: 0;
}
.frame-btn__line:before, .frame-btn__line:after {
  content: "";
  display: block;
  position: absolute;
  background-color: #b2876f;
  transition: 800ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.frame-btn:hover .frame-btn__line:before, .frame-btn:hover .frame-btn__line:after {
  transition: 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}


hr {
    overflow: visible; /* For IE */
    padding: 0;
    border: none;
    border-top: medium double var( --main-color-text );
    text-align: center;
}

  hr.color-middle-brown {
    border-color: var( --color-middle-brown );
    color: var( --color-middle-brown );
  }

  hr.effect:after {
      /*content: "❦";*/
      display: inline-block;
      position: relative;
      top: -1.2rem;
      font-size: 2.0rem;
      padding: 0 0.25rem;
      /*background: white;*/
  }

    hr.effect.leaf:after {
      content: "❦";
    }

    hr.effect.diamond:after {
      content: "❖";
    }

    hr.effect.star:after {
      content: "✧";
    }

    hr.effect.asterisk:after {
      content: "✣";
    }

    hr.effect.quote:after {
      content: "❝ ❞";
    }

/**********/
/* BLOCKS */
/**********/

.column-half {
  display: inline-block;
  vertical-align: top;
  width: 49%;
  /*outline: 1px dotted blue;*/
}

  @media (max-width: 800px ){
    .column-half {
      width: 100%;
    }
  }

.column-third {
  display: inline-block;
  vertical-align: top;
  width: 32.5%;
  /*outline: 1px dotted blue;*/
}

  @media (max-width: 800px ){
    .column-third {
      width: 100%;
    }
  }

.column-quarter {
  display: inline-block;
  vertical-align: top;
  width: 24%;
  /*outline: 1px dotted blue;*/
}

  @media (max-width: 800px ){
    .column-quarter {
      width: 100%;
    }
  }

.rectangle-30x20 {
  width: 30rem;
  height: 20rem;
  max-width: 100%;
}

  @media (max-width: 800px ){
    .rectangle-30x20 {
      width: 100%;
    }
  }

/***************/
/* BACKGROUNDS */
/***************/

.bg-map {
  background: url( ../images/site/old-paper-invent.jpg) center center no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.bg-white {
  /*background-color: white;*/
  background-color: var( --bg-color-white );
}

/**********************/
/* MARGINS & PADDINGS */
/**********************/

/* Sets the margin for the lateral columns */
.wm {
  margin: 0 auto;
  width: 85%;
  /*outline: 1px dotted orange;*/
}

/* Sets the margin for the lateral columns and adds extra margin for visual impact */
.wem {
  margin: 0 auto;
  width: 70%;
  /*outline: 1px dotted red;*/
}

/* Margins */
.mt-none {
  margin-top: 0;
}

  @media (max-width: 500px ) {
    .mt-none-small {
      margin-top: 0 !important;
    }

    .mb-none-small {
      margin-bottom: 0 !important;
    }

    .ml-none-small {
      margin-left: 0 !important;
    }

    .mr-none-small {
      margin-right: 0 !important;
    }
  }

.mt {
  margin-top: 3rem;
}

.mt-small {
  margin-top: 2rem;
}

.mt-xsmall {
  margin-top: 1rem;
}

.mt-xxsmall {
  margin-top: 0.5rem;
}

.mt-large {
  margin-top: 4rem;
}

.mt-xlarge {
  margin-top: 6rem;
}

.mb {
  margin-bottom: 3rem;
}

.mb-small {
  margin-bottom: 2rem;
}

.mb-xsmall {
  margin-bottom: 1rem;
}

.mb-xxsmall {
  margin-bottom: 0.5rem;
}

.mb-large {
  margin-bottom: 4rem;
}

.mb-xlarge {
  margin-bottom: 6rem;
}

.mb-xxlarge {
  margin-bottom: 8rem;
}

.mb-none {
  margin-bottom: 0;
}

.mr-xsmall {
  margin-right: 1rem;
}

.mr-small {
  margin-right: 2rem;
}

.mr-xxsmall {
  margin-right: 0.5rem;
}

.mr {
  margin-right: 3rem;
}

.mr-large {
  margin-right: 4rem;
}

.ml-xxsmall {
  margin-left: 0.5rem;
}

.ml-xsmall {
  margin-left: 1rem;
}

.ml-small {
  margin-left: 2rem;
}

.ml {
  margin-left: 3rem;
}

.ml-large {
  margin-left: 4rem;
}


/************/
/* Paddings */
/************/

.pt-xsmall {
  padding-top: 0.25rem;
}

.pt-small {
  padding-top: 0.5rem;
}

.pt {
  padding-top: 1rem;
}

.pt-large {
  padding-top: 2rem;
}

.pt-xlarge {
  padding-top: 3rem;
}

.pt-xxlarge {
  padding-top: 5rem;
}

.pb-small {
  padding-bottom: 0.5rem;
}

.pb-xsmall {
  padding-bottom: 0.25rem;
}

.pb {
  padding-bottom: 1rem;
}

.pb-large {
  padding-bottom: 2rem;
}

.pb-xlarge {
  padding-bottom: 3rem;
}

.pl-small {
  padding-left: 0.5rem;
}

.pl {
  padding-left: 1rem;
}

.pl-large {
  padding-left: 2rem;
}

.pr-small {
  padding-right: 0.5rem;
}

.pr {
  padding-right: 1rem;
}

.pr-large {
  padding-right: 2rem;
}

/* Modifiers */

.debug {
  border: 2px dashed blue;
}

.hidden {
  display: none;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.top {
  vertical-align: top;
}

.inline {
  display: inline-block;
}

.center-flex { /* Used to center the rangeslider element */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.underline {
  text-decoration: underline;
}

.rounded-corners {
  border-radius: 0.75rem;
}

.flipped-h {
  transform: scale( -1, 1 );
}

.flipped-v {
  transform: scale( 1, -1 );
}

/*********/
/* FONTS */
/*********/

/* Colors */
.main-color-text {
  color: var( --main-color-text );
}

.color-middle-gray {
  color: var( --color-middle-gray );
}

.color-middle-brown {
  color: var( --color-middle-brown );
}

.color-orange {
  color: var( --color-middle-brown );
}
.invisible {
  opacity: 0; /* Cannot use visibility as it does not support transitions */
}


/* Weights and styles */
.text-thin {
  font-weight: 100;
}

.text-regular {
  font-weight: 500;
}

.text-bold {
  font-weight: 700;
}

.text-italic {
  font-style: italic;
}

.text-xxs {
  font-size: 60%;
}

.text-xs {
  font-size: 75%;
}

.text-sm {
  font-size: 90%;
}

.text-reg {
  font-size: 100%;
}

.text-med {
  font-size: 125%;
}

.text-lg {
  font-size: 150%;
}

.text-xl {
  font-size: 175%;
}

.text-xxl {
  font-size: 200%;
}

.text-xxxl {
  font-size: 250%;
}

.text-xxxxl {
  font-size: 300%;
}

  @media (max-width: 600px) {
    .text-xxxxl-small {
      font-size: 200%;
    }
  }

.nowrap {
  /*white-space:; nowrap;*/
  white-space: pre;
}

.no-text-select {
  user-select: none;
}

.pretty-decimals {
  font-size: 30%;
}

.first-letter-capital::first-letter {
  text-transform: capitalize;
}

.all-caps {
  text-transform: uppercase;
}

.small-caps {
  font-variant: small-caps;
}

/*********/
/* TABLE */
/*********/

table.table {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0px;
}

  table.table.center {
    margin: 0 auto;
  }

  table.table thead tr th {
    background-color: var( --color-middle-brown );
    color: white;
    font-weight: normal;
  }

    table.table.dark-theme thead tr th {
      background-color: transparent;
      color: hsla( 175, 40%, 50%, 1 );
      border-top: 1px solid hsla( 0, 0%, 73%, 0 );
      border-left: 1px solid hsla( 0, 0%, 73%, 0 );
      border-right: 1px solid hsla( 0, 0%, 73%, 0 );
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }

    table.table thead tr.pre-row th {
      background-color: white;
      /*color: #333447;*/
      border-top: 1px solid var( --color-middle-gray );
      border-left: 1px solid var( --color-middle-gray );
      border-right: 1px solid var( --color-middle-gray );
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
    }

    table.table thead tr th:first-of-type {
      border-top-left-radius: 5px;
    }

    table.table thead tr th:last-of-type {
      border-top-right-radius: 5px;
    }

  table.table tbody {}

    table.table tbody tr td:first-of-type {
      border-left: 1px solid var( --color-middle-gray );
    }

      table.table.dark-theme tbody tr td:first-of-type {
        border: none !important;
        text-align: right;
        color: orange;
        width: 5rem;
      }

      table.table.dark-theme tbody tr.current-hour td:first-of-type {
        background-color: rgba( 222, 97, 59, 0.15 );
      }


    table.table tbody tr td:last-of-type {
      border-right: 1px solid var( --color-middle-gray );
    }

    table.table tbody tr:last-of-type td {
      border-bottom: 1px solid var( --color-middle-gray );
    }

    table.table tbody tr:last-of-type td:first-of-type {
      border-bottom: 1px solid var( --color-middle-gray );
      border-bottom-left-radius: 5px;
    }

      table.table.dark-theme tbody tr:last-of-type td:first-of-type {
        border-bottom: none;
      }

    table.table tbody tr:last-of-type td:last-of-type {
      border-bottom: 1px solid var( --color-middle-gray );
      border-bottom-right-radius: 5px;
    }

    table.table .border-left {
      border-left: 1px solid var( --color-middle-gray );
    }

    table.table .border-right {
      border-right: 1px solid var( --color-middle-gray );
    }

    table.table.with-cell-borders tbody tr td {
      border: 1px solid var( --color-middle-gray );
      /*border-bottom: 1px solid var( --color-middle-gray );*/
      /*border-right: 1px solid var( --color-middle-gray );*/
    }
    
      table.table.dark-theme.with-cell-borders tbody tr td {
        border: 1px solid rgba( 225, 225, 225, 1 );
        /*border-bottom: 1px solid var( --color-middle-gray );*/
        /*border-right: 1px solid var( --color-middle-gray );*/
      }

      table.table tbody tr td.highlight {
        background-color: var( --color-middle-brown );
      }

    table.table tbody tr:hover td {
      background-color: rgba( 222, 97, 59, 0.15 );
    }

  table.table tfoot {

  }

    table.table tfoot.shadow tr td {
      box-shadow: 0 9px 10px 3px rgba( 0, 0, 0, 0.1);
    }

    table.table tfoot tr.post-row td {
      background-color: white;
      color: #333447;
      border-bottom: 1px solid var( --color-middle-gray );
      border-left: 1px solid var( --color-middle-gray );
      border-right: 1px solid var( --color-middle-gray );
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
    }

/***********/
/* COOKIES */
/***********/
  
.cookie-consent-container {
  background-color: rgba( 0, 0, 0, 0.8 );
  bottom: 0;
  color: white;
  margin: 0 1rem 1rem 1rem;
  padding: 0.8rem;
  position: fixed;
  right: 0;
  width: 50%;
  z-index: 1000000;
}

  .cookie-consent-container h4 {
    font-size: 1.0rem;
    margin: 0 0 0.5rem 0;
  }

  .cookie-consent-container p {
    font-size: 1.0rem;
    line-height: 1.5rem;
    margin: 0 0 0.5rem 0;
  }

  .cookie-consent-container button {
    background-color: #ffffff;
    border: none; 
    border-radius: 2px;
    cursor: pointer;
    float: right;
    font-weight: bold; 
    line-height: 2.0rem;
    margin: none;
  }

/***********/
/* SHADOWS */
/***********/

.shadow-sm {
  box-shadow:
    0px 1px 1px hsl(0 0% 30% / 0.7);
}
.shadow-md {
  box-shadow: 0px 15px 10px -10px rgba(0, 0, 0, 0.25);
}
.shadow-lg {
  box-shadow: 0px 25px 20px -20px rgba(0, 0, 0, 0.45);
}

/*****************/
/* Media Queries */
/*****************/

@media (max-width: 1023px) {
  h1.big {
    font-size: 3.5rem;
  }

  /* Battle Animation */
  .animation-container {
    padding-bottom: 75.10%;
  }
}

@media (max-width: 900px) {
  h1.big {
    font-size: 2.9rem;
  }

  /* Battle Animation */
  .animation-container {
    padding-bottom: 74.60%;
  }
}

@media (max-width: 768px) {

  /* Global styles */
  h2 {
    font-size: 2rem;
  }

  /* Top menu */
  .top-menu-container {
    /*width: 100%;*/
  }

    .top-menu-container h3 {
      display: block;
    }

  .main-navigation {
      position: fixed;
      overflow: auto;
      z-index: 100000;
      width: 100%;
      
      bottom: 0;
      left: -101%;
      top: 0;
      padding: 0;
      background-color: var( --bg-color-white );
      /*color: white;*/
      
      transition: left 0.25s;
    }

      .main-navigation.active {
        left: 0;
      }

        .main-navigation.active .close-button {
          left: 0;
        }

      .main-navigation .primary-navigation-container {
        /*outline: 1px solid red;*/
      }

    .main-navigation .close-button {
      cursor: pointer;
      display: block;
      font-size: 2.5rem;
      left: -100%;
      margin: 0;
      padding: 0.5rem 1rem;
      position: fixed;
      top: 0;
      transition: left 0.35s;
      z-index: 10000;
    }

      .main-navigation ul {
        margin: 0;
        text-align: center;
        padding: 0;
      }

        .main-navigation ul li {
          width: 100%;
          margin: 0;
          padding: 0;
          /*outline: 1px solid red;*/
        }

          .main-navigation ul li a,
          .main-navigation ul li .false-link {
            /*font-size: 1.25rem;*/
            margin: 0;
            padding: 0;
            /*outline: 1px solid blue;*/
            display: block;
          }

            .main-navigation ul li a:hover {
              /*color: inherit;*/
              border-top-color: transparent;
              background-color: var( --color-middle-gray );
              color: white;
            }
          
        .main-navigation .primary-navigation-container > li > a,
        .main-navigation ul li .false-link {
          /*font-weight: bold;*/
          padding: 0.5rem;
        }

        .main-navigation ul li .false-link {
          text-decoration: underline;
        }

          .main-navigation ul li.current-menu-item {
            text-decoration: none;
          }

        .main-navigation ul ul {
          background-color: transparent;
          box-shadow: none;
          display: block;
          position: relative;
        }

          .main-navigation ul ul:before {
            display: none; 
          }

          .main-navigation ul.no-bullet ul {
            margin-left: 0;
          }

        .main-navigation ul ul li {
          /*float: none;*/
          margin: 0;
          width: 100%;
        }

        .main-navigation ul ul a {
          padding: 0;
          font-weight: 100;
        }

        .main-navigation ul ul ul {
        }

  .main-navigation-hamburger-container {
    display: block;
    height: 3rem;
    /*position: relative;*/
    /*outline: 1px solid red;*/
  }
  
    .main-navigation-hamburger-container .open-button {
      cursor: pointer;
      font-size: 1rem;
      padding: 3px 6px;
      position: absolute;
      right: 8px;
      top: 8px;
    }

      /* Credits to css-tricks for the burger icon: https://css-tricks.com/three-line-menu-navicon/ */
      .main-navigation-hamburger-container .open-button:before {
        border-bottom: 0.125rem solid #000000;
        border-top: 0.375rem double #000000;
        content: '';
        height: 0.125rem;
        position: absolute;
        right: 100%;
        top: 0.5rem;
        width: 1rem;
      }

  /* Main title */
  .main-title-container {
    margin-bottom: 2rem;
  }

  /* Mega title */
    .main-title-container .mega-title h1 {
      font-size: 1.75rem;
      line-height: 2.5rem;
      padding-bottom: 2rem;
      padding-top: 2rem;
    }

    .main-title-container .mega-title h4 {
      font-size: 1.1rem;
      padding-top: 2rem;
      margin-bottom: -4rem;
    }

    .main-title-container .mega-title h6 {
      font-size: 1rem;
      font-weight: normal;
      margin: -2rem 1rem 1rem 1rem;
      padding-bottom: 2rem;
    }

  /* Home page */
  h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-top: 1rem;
  }
  
    h1.big {
      font-size: 3rem;
      /* letter-spacing: 3px; */
      margin-top: 1rem;
      margin-bottom: 3rem;
      text-align: center;
    }
    
    h1.big .main-title-subtitle, h1 .subtitle {
      font-size: 1rem;
      letter-spacing: initial;
      margin-top: 1rem;
    }

  h2 {
    text-align: center;
  }

  .home-grid-item .label {
    font-size: 1.4rem;
    text-align: center;
    padding-left: 0; 
  }

  /* Footer */

  .footer-language-selection-container {
    text-align: center;
    margin: 0.5rem 0 1rem 0;
    width: 100%;
  }

  .footer-miscellaneous-container {
    width: 100%;
  }

    .footer-miscellaneous-container .footer-link-author-container,
    .footer-miscellaneous-container .footer-copyright-container {
      text-align: center;
    }

    .footer-miscellaneous-container .footer-privacy-container {

    }

  /* Modifiers */
  .wm {
    width: 100%;
  }

  .wem {
    width: 90%;
  }

    /*.wem img.responsive {
      max-width: 100%;
      box-sizing: border-box;
    }*/
  
  /*.main-title-container .wem {
    width: 95%;
  }*/

  /* For elements hidden in small screens */
  .sm-hidden {
    display: none;
  }

  /* For elements that are displayed full width on small screens */
  .sm-full-width {
    width: 100%;
  }
}

@media (max-width: 700px) {

  /* Cookie consent policy */
  .cookie-consent-container {
    width: auto;
  }
  
}

@media (max-width: 500px) {

  p {
    hyphens: auto;
  }

}

