@charset "UTF-8";
/**
 * @file
 * Styles are organized (loosely) using the SMACSS technique. @see smacss.com
 */
/*
 * Website by
  _____                _         _
 |_   _|__  _   _  ___| |__   __| |_ __ ___  __ _ _ __ ___  ___
   | |/ _ \| | | |/ __| '_ \ / _` | '__/ _ \/ _` | '_ ` _ \/ __|
   | | (_) | |_| | (__| | | | (_| | | |  __/ (_| | | | | | \__ \ -
   |_|\___/ \__,_|\___|_| |_|\__,_|_|  \___|\__,_|_| |_| |_|___/ .co.za

 */
/**
 * @file
 * Variables
 */
/* 30em @ 16px font size */
/* 60em @ 16px font size */
/* 60em @ 16px font size */
/* 80em @ 16px font size */
:root {
  --header-stack-width: 850px;
  --site_max_width: 1200px;
  --text-max-width: 42rem;
  --header-height: 60px;
  --nav-height: 40px;
  --footer-height: 100px;
  --sidebar-width: 30%;
  /* used in width functions */
  --w-narrow: 480px;
  --w-regular: 960px;
  --w-average: 960px;
  --w-wide: 1200px;
  --gutter-narrow: 3%;
  --gutter-regular: 5%;
  --gutter-wide: 7%;
  --site_padding-narrow: 5%;
  --button-padding: 0.6em 0.8em;
  --menu-link-padding: var(--button-padding);
  --pointer_target-line-height: 1.3em; /* Assuming font-size: 1rem; */
  --data-field-padding: 0.3em 0.5em; /* used by table cells and text fields */
  --carousel-footer-height: 70px;
  --corner_radius-large: 8px;
  --corner_radius-regular: 5px;
  --corner_radius-small: 3px;
  --transition-duration-regular: 0.4s;
}

:root {
  --font-size: 1em;
  --line-height: 1.4;
  --font-size-h1: 2.5em;
  --font-size-h2: 1.5em;
  --font-size-h3: 1.3em;
  --font-size-h4: 1.1em;
  --font-size-h5: 0.83em;
  --font-size-h6: 0.67em;
  --line-height-h1: 1;
  --line-height-h2: 1.15;
  --line-height-h3: 1.3;
  --line-height-h4: 1.38;
  --line-height-h5: 1.45;
  --line-height-h6: 1.5;
}

:root {
  --base-font-family: var(--font-body);
  --font-weight-body: 400;
  --font-weight-links: 600;
}

:root {
  --colour-near_white: #f5f5f5;
  --colour-dark_grey: #444;
  --colour-medium_grey: #999;
  --colour-dividers: rgba(0, 0, 0, 0.2);
  --colour-selection: #40b6ff;
  --colour-danger: #c72100;
  --colour-error: #e62600;
  --colour-warning: #e09600;
  --colour-success: #77b259;
  /* Social media */
}

:root {
  --colour-secondary: var(--colour-medium_grey);
  --colour-bg-body: var(--colour-near_white);
  --colour-text-body: var(--colour-dark_grey);
  --colour-links: var(--colour-primary);
  --colour-subtle: var(--colour-text-body);
  --colour-banner: darkblue;
  --colour-bg-footer: var(--colour-dark_grey);
  --colour-text-footer: var(--colour-medium_grey);
}

/** ----------------------------------------------------------------------------
 *                              From Zen theme
 */
/* element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
.element-invisible,
.element-focusable {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* Turns off the element-invisible effect. */
.element-focusable:active, .element-focusable:focus {
  position: static !important;
  clip: auto;
  height: auto;
  width: auto;
  overflow: auto;
}

/*
  Originally based on Formalize.
*/
/*------------------------------------------------------------------------
                              UI Consistency
*/
input[type=search]::-webkit-search-decoration {
  display: none;
}

input:invalid,
button:invalid,
a.button:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}
input:focus,
button:focus,
a.button:focus,
select:focus,
textarea:focus {
  border-color: transparent !important;
  box-shadow: var(--colour-links) 0 0 0 2px;
  z-index: 1;
}

input[type=file]:focus, input[type=file]:active,
input[type=radio]:focus,
input[type=radio]:active,
input[type=checkbox]:focus,
input[type=checkbox]:active {
  box-shadow: none;
}

.form-checkboxes:after,
.form-radios:after {
  content: "";
  display: table;
  clear: both;
}

input[type=radio],
input[type=checkbox] {
  margin-top: 0.3em;
}

label {
  font-weight: 600;
  line-height: 1.1;
  display: inline-block;
}
main label {
  font-size: 1.1em;
}
input[type=radio] + label, input[type=checkbox] + label {
  min-width: 0;
  padding-left: 0.2em;
}

/*------------------------------------------------------------------------
                              Buttons
*/
button,
a.button,
input[type=reset],
input[type=submit],
input[type=button] {
  font-size: 0.9em;
  line-height: 1.1;
  padding: var(--button-padding);
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.12s ease;
  appearance: none;
  border-radius: var(--corner_radius-regular);
  background-clip: padding-box;
  border: none;
  cursor: pointer;
  color: white;
  outline: 0;
  overflow: visible;
  margin-top: 0.6em;
  margin-right: 0.6em;
  vertical-align: top;
  width: auto;
  background-color: var(--colour-links);
  text-transform: capitalize;
}
button:hover, button:focus,
a.button:hover,
a.button:focus,
input[type=reset]:hover,
input[type=reset]:focus,
input[type=submit]:hover,
input[type=submit]:focus,
input[type=button]:hover,
input[type=button]:focus {
  color: white;
  text-decoration: none;
}
button:active,
a.button:active,
input[type=reset]:active,
input[type=submit]:active,
input[type=button]:active {
  box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
  border-color: #999 #bbb #ddd;
}
button::-moz-focus-inner,
a.button::-moz-focus-inner,
input[type=reset]::-moz-focus-inner,
input[type=submit]::-moz-focus-inner,
input[type=button]::-moz-focus-inner {
  border: 0;
  padding: 0;
}
button.outlined,
a.button.outlined,
input[type=reset].outlined,
input[type=submit].outlined,
input[type=button].outlined {
  background: none;
  border: solid 1px var(--colour-links);
  box-shadow: none;
  color: var(--colour-links);
}
button.outlined:hover, button.outlined:focus,
a.button.outlined:hover,
a.button.outlined:focus,
input[type=reset].outlined:hover,
input[type=reset].outlined:focus,
input[type=submit].outlined:hover,
input[type=submit].outlined:focus,
input[type=button].outlined:hover,
input[type=button].outlined:focus {
  color: var(--colour-links);
  background: rgba(0, 0, 0, 0.08);
}
button.text,
a.button.text,
input[type=reset].text,
input[type=submit].text,
input[type=button].text {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--colour-links);
  padding-left: 0;
  padding-right: 0;
}
button.text:hover, button.text:focus,
a.button.text:hover,
a.button.text:focus,
input[type=reset].text:hover,
input[type=reset].text:focus,
input[type=submit].text:hover,
input[type=submit].text:focus,
input[type=button].text:hover,
input[type=button].text:focus {
  color: var(--colour-links);
}

/*------------------------------------------------------------------------
                              Text Fields
*/
textarea,
select,
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week] {
  box-sizing: border-box;
  background-clip: padding-box;
  border-radius: var(--corner_radius-small);
  -webkit-appearance: none;
  background-color: white;
  border: 1px solid;
  border-color: #848484 #c1c1c1 #e1e1e1;
  color: black;
  outline: 0;
  margin: 0;
  padding: var(--data-field-padding);
  text-align: left;
  font-size: 0.9em;
  height: auto;
  vertical-align: top;
  max-width: 100%;
}
textarea[disabled],
select[disabled],
input[type=date][disabled],
input[type=datetime][disabled],
input[type=datetime-local][disabled],
input[type=email][disabled],
input[type=month][disabled],
input[type=number][disabled],
input[type=password][disabled],
input[type=search][disabled],
input[type=tel][disabled],
input[type=text][disabled],
input[type=time][disabled],
input[type=url][disabled],
input[type=week][disabled] {
  background-color: #eee;
}
aside textarea,
aside select,
aside input[type=date],
aside input[type=datetime],
aside input[type=datetime-local],
aside input[type=email],
aside input[type=month],
aside input[type=number],
aside input[type=password],
aside input[type=search],
aside input[type=tel],
aside input[type=text],
aside input[type=time],
aside input[type=url],
aside input[type=week] {
  background: white;
  border-color: #b5b5b5;
}

.resizable-textarea textarea {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/*------------------------------------------------------------------------
                              Other
*/
button[disabled],
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled],
a.button_disabled {
  box-shadow: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  color: #888;
  cursor: default;
}

button[disabled],
input[type=submit][disabled] {
  background-color: #d5d5d5;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #888;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #888;
}

input.placeholder_text,
textarea.placeholder_text {
  color: #888;
}

textarea,
select[size],
select[multiple] {
  height: auto;
}

/*------------------------------------------------------------------------
                              Select lists
*/
select[size="0"],
select[size="1"] {
  height: 1.8em;
}

@media (-webkit-min-device-pixel-ratio: 0) {
  select[size],
  select[multiple],
  select[multiple][size] {
    background-image: none;
    padding-right: 3px;
  }
  select,
  select[size="0"],
  select[size="1"] {
    background-image: url(data:image/png;base64,R0lGODlhDQAEAIAAAAAAAP8A/yH5BAEHAAEALAAAAAANAAQAAAILhA+hG5jMDpxvhgIAOw==);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
  }
  ::-webkit-validation-bubble-message {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
    color: white;
    overflow: hidden;
    padding: 15px 15px 17px;
    text-shadow: black 0 0 1px;
    min-height: 16px;
  }
  ::-webkit-validation-bubble-arrow,
  ::-webkit-validation-bubble-top-outer-arrow,
  ::-webkit-validation-bubble-top-inner-arrow {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #666;
    border-color: #666;
  }
}
/*------------------------------------------------------------------------
                              Other elements
*/
textarea {
  min-height: 40px;
  overflow: auto;
  resize: vertical;
  width: 100%;
}

optgroup {
  color: black;
  font-style: normal;
  font-weight: normal;
}
optgroup::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/*
  Website   Touchdreams
  Author    Dane Rossenrode
  Creation  April 2013
  Updated   October 2014
*/
/* -------------------------------------------------------------------------------------------
                                CONTENTS
  Individual tags
  Headings
  Forms
  Links
  Tables
  Lists
 */
/* -------------------------------------------------------------------------------------------
                                HTML5 Boilerplate: Base styles: opinionated defaults
*/
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
html {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em auto !important;
  padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */
audio,
canvas,
img,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* -------------------------------------------------------------------------------------------
                                Individual tags
*/
html {
  scroll-behavior: smooth;
}

body {
  background: var(--colour-bg-body) repeat;
  font-family: var(--font-body);
  color: var(--colour-text-body);
}
@media only screen and (max-width: 960px) {
  body {
    font-size: 0.92em;
  }
}
@media only screen and (max-width: 480px) {
  body {
    font-size: 0.86em;
  }
}

* + p {
  margin-top: 1.2em;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  position: relative;
}

figcaption {
  box-sizing: border-box;
  display: block;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.3em 0.5em;
  color: #FFF;
}
figcaption .title {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.3em;
}

figure figcaption {
  position: absolute;
  bottom: 0px;
  width: 100%;
}

fieldset,
details {
  border: solid 2px rgba(126, 126, 126, 0.3098039216) !important;
}

fieldset {
  padding: 0.9em 1.2em !important;
  box-sizing: border-box;
  min-width: 5em;
}
fieldset legend {
  padding-left: 0.6em !important;
  padding-right: 0.6em !important;
}

acronym, abbr {
  border-bottom: 1px dotted #222;
  cursor: help;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--colour-dividers);
  margin: 1em 0;
  padding: 0;
  width: 70%;
  margin: 2.6em auto;
}

blockquote {
  margin: 1.5em 4%;
  position: relative;
  background: rgba(0, 0, 0, 0.04);
  padding: var(--data-field-padding);
  /* the following rules insert large quotation marks */
}
blockquote p {
  margin: 0;
}
blockquote:before, blockquote:after {
  font-size: 2.5em;
  position: absolute;
}
blockquote:before {
  content: "“";
  left: -0.5em;
  top: 0.4em;
}
blockquote:after {
  content: "”";
  right: -0.5em;
  bottom: 0;
}

/*------------------------------------------------------------------------
                              Details & summary
*/
@keyframes slideDown {
  0% {
    opacity: 0;
    height: 0;
  }
  100% {
    opacity: 1;
    height: var(--details-height-open, "100%");
  }
}
html {
  --details-transition-time: 400ms;
}

details {
  transition: all ease-out var(--details-transition-time, 0);
  max-height: var(--details-height-closed, auto);
}
details[open] {
  max-height: var(--details-height-open, auto);
}
details > summary, details > div {
  padding: 0.4em 0.5em;
}
details > div {
  transition: all ease-out var(--details-transition-time, 0);
  max-height: var(--details-content-height-closed, auto);
  overflow: hidden;
  animation-name: slideDown;
  animation-duration: var(--details-transition-time);
}
details.is--open div {
  max-height: var(--details-content-height-open, auto);
}

/*------------------------------------------------------------------------
                              Links
*/
a {
  color: var(--colour-links);
  text-decoration: none;
  word-wrap: break-word;
  font-weight: 600;
}
a:hover, a:focus {
  color: var(--colour-links);
}
a:active { /* a link when it is 'clicked' on */
  color: var(--colour-links);
}
a.active, a[aria-selected=true] {
  font-weight: bold;
  color: inherit;
}
a[aria-disabled=true] {
  opacity: 50%;
  pointer-events: none;
}

/*------------------------------------------------------------------------
                              Headings
*/
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  line-height: 1.1;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}
h1 a, h2 a, h3 a, h4 a {
  display: block;
  color: inherit;
  font-weight: inherit;
}

h3, h4 {
  font-weight: 600;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  text-align: center;
  margin-top: 0;
  margin-bottom: 1em;
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
}

/* -------------------------------------------------------------------------------------------
                                Tables
*/
table {
  border-collapse: collapse;
  font-size: 0.9em;
  margin: 1.5em 0;
}
table[style*=inline] {
  display: inline-block !important;
}
table td, table th {
  border: solid 1px #bbb;
  padding: var(--data-field-padding);
}
table.borderless td, table.borderless th {
  border: none;
}
table.gaps td, table.gaps th {
  padding: 1em;
}
table th {
  text-align: left;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.05);
}
table th.active {
  background: rgba(0, 0, 0, 0.15);
}
table th[scope=row] {
  font-weight: bold;
  text-align: right;
}
table thead {
  font-size: 1.1em;
  font-family: var(--font-headings);
  font-weight: bold;
  text-transform: uppercase;
}
table .even {
  background: none;
}
table .odd {
  background: none;
}

/* -------------------------------------------------------------------------------------------
                                Lists
*/
ul,
ol {
  /*line-height: 1.1;*/
}
ul.non-list,
ol.non-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
ul.non-list li,
ol.non-list li {
  padding-left: 0;
  line-height: inherit;
}

li + li {
  margin-top: 0.5em;
}

.menu {
  padding-left: 1.2em;
  margin: 0;
}
.menu .menu__link {
  display: block;
}
nav ul li {
  margin: 0;
}

ul.buttons {
  padding: 0;
}
ul.buttons li {
  display: inline-block;
}
ul.buttons img {
  border-radius: var(--corner_radius-small);
}

/**
 * @file
 * Positioning for a responsive layout.
 *
 */
.page-max-width {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
}

.site-max-width > * {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
}

.text-max-width > *,
table.text-max-width {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
  max-width: 42rem;
}

header[role=banner] > [role=presentation],
nav[data-primary] > [role=presentation],
.page-content > [role=presentation],
footer[role=contentinfo] > [role=presentation],
[id=postfooter] > [role=presentation] {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
}

.view-empty,
.feed-icons {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
  max-width: 30em;
  text-align: center;
}

article.profile {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
}

form[class^=user-], main form[class^=user-][class*=webform],
form[class^=contact-],
main form[class^=contact-][class*=webform],
.path-user .block-local-tasks-block {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
  max-width: 42rem;
}

.search-form,
.search-form + h2,
.search-results {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
  max-width: 42rem;
}

.search-results li {
  margin-left: 0;
}

/** ----------------------------------------------------------------------------
 *                              Sticky footer
 */
.layout-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.layout-container > * {
  flex: 0 1 auto;
}
.layout-container .page-content {
  flex-grow: 1;
}

/** ----------------------------------------------------------------------------
 *                              Sidebar
*/
.page-content .central-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(2em, 8%, 100px);
}
.page-content .central-content > * {
  flex: 1 1 auto;
}
@media all and (min-width: 800px) {
  .page-content .central-content {
    flex-wrap: nowrap;
  }
  .page-content .central-content > * {
    flex: 1 1 auto;
  }
  .page-content .central-content aside[role=complementary] {
    flex: 0 1 auto;
  }
  .page-content .central-content main[data-primary] {
    flex: 1 3 auto;
  }
  .page-content main[data-primary] {
    width: 100%-var(--sidebar-width);
  }
  .page-content aside[role=complementary] {
    width: var(--sidebar-width);
  }
}

/**
 * @file
 * Small helper classes.
 */
.visually-hidden {
  display: none;
}

a[role=block] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

ul.inline li {
  padding: 0;
}

.frame {
  border: solid 1px #acacac;
  background: white;
  border-radius: 4px;
  box-shadow: 4px 4px 0 hsla(0, 0%, 0%, 0.04) inset;
}
.frame img {
  border-radius: 4px;
}

/* -----------------------------------------------------------------------------
                              Tailwind-inspired utility classes
*/
.mt-1 {
  margin-top: 0.25rem; /* 4px */
}

.mt-2 {
  margin-top: 0.5rem; /* 8px */
}

.mt-4 {
  margin-top: 1rem; /* 16px */
}

/* -----------------------------------------------------------------------------
                              Rotations
*/
[data-rotated="90deg"],
[data-rotated="-270deg"] {
  transform: rotate(90deg);
}

[data-rotated="180deg"] {
  transform: rotate(180deg);
}

[data-rotated="270deg"],
[data-rotated="-90deg"] {
  transform: rotate(270deg);
}

.subtle {
  color: var(--colour-subtle);
}

/* -----------------------------------------------------------------------------
                              Overlap-bottom (labels)
*/
/* -----------------------------------------------------------------------------
                              Left and right floats
*/
.left,
.right {
  z-index: 1;
  position: relative;
}

.left {
  float: left;
  margin: 0 2em 2em 0;
}
.left.small {
  margin: 0 1em 1em 0;
}

.right {
  float: right;
  margin: 0 0 2em 2em;
}

@media all and (max-width: 480px) {
  .left,
  .right {
    float: none;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }
}
.align-center {
  text-align: center;
}

a[rel=more],
a.more,
.more-link {
  text-align: right; /* LTR */
  float: right;
}

.floating {
  position: absolute;
  z-index: 20;
  margin-left: 1em;
}

/* -----------------------------------------------------------------------------
                              Unpublished content
*/
:root {
  --colour-unpublished: #CF5541;
}

.node-unpublished {
  background: none;
  border: solid 4px var(--colour-unpublished);
  padding: 0 1.4em 2em;
  border-radius: 0.5em;
}

.unpublished::before {
  content: "Unpublished";
  display: inline-block;
  height: auto;
  text-align: left;
  font-family: inherit;
  color: white;
  background-color: var(--colour-unpublished);
  padding: 0.3em 0.6em;
  margin-bottom: 0.5em;
}

.unpublished {
  border: solid 2px var(--colour-unpublished);
}

/* List of links generated by theme_links(). */
.inline {
  display: inline;
  padding: 0;
}
.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

/* The inline field label used by the Fences module. */
span.field-label {
  padding: 0 1em 0 0; /* LTR */
}

span.label {
  background: #5a5a5a;
  color: #d9d9d9;
  padding: 0.1em 0.4em;
  border-radius: var(--corner_radius-small);
  display: inline-block;
  max-width: 200px;
  min-width: 1.5em;
  text-align: center;
}
.label + span.label {
  margin-left: 0.4em;
}
span.label a, span.label a:hover, span.label a:focus {
  color: white;
  font-weight: bold;
}

.background-dark {
  background-color: var(--colour-dark_grey);
  color: white;
}
.background-dark a {
  color: inherit;
}
.background-dark a:hover, .background-dark a:focus {
  color: inherit;
  text-decoration: underline;
}

/**
 * Columns
 * v2.2
 */
.cols-2 {
  --columns-gap: 0;
  display: grid;
  gap: var(--columns-gap);
  grid-template-columns: 1fr;
  --columns-gap: 5vw;
}
.cols-2 > li + li {
  margin-top: 0;
}
@media all and (min-width: 680px) {
  .cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (min-width: 1340px) {
  .cols-2 {
    --columns-gap: 60px;
  }
}

.cols-3 {
  --columns-gap: 0;
  display: grid;
  gap: var(--columns-gap);
  grid-template-columns: 1fr;
  --columns-gap: 4vw;
}
.cols-3 > li + li {
  margin-top: 0;
}
@media all and (min-width: 700px) {
  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (min-width: 1340px) {
  .cols-3 {
    --columns-gap: 50px;
  }
}

.cols-4 {
  --columns-gap: 0;
  display: grid;
  gap: var(--columns-gap);
  grid-template-columns: repeat(2, 1fr);
  --columns-gap: 3vw;
}
.cols-4 > li + li {
  margin-top: 0;
}
@media all and (min-width: 740px) {
  .cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media all and (min-width: 1340px) {
  .cols-4 {
    --columns-gap: 34px;
  }
}

.cols-5 {
  --columns-gap: 0;
  display: grid;
  gap: var(--columns-gap);
  grid-template-columns: repeat(2, 1fr);
  --columns-gap: 2.2vw;
}
.cols-5 > li + li {
  margin-top: 0;
}
@media all and (min-width: 600px) {
  .cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (min-width: 800px) {
  .cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media all and (min-width: 1340px) {
  .cols-5 {
    --columns-gap: 30px;
  }
}

.cols-6 {
  --columns-gap: 0;
  display: grid;
  gap: var(--columns-gap);
  grid-template-columns: repeat(2, 1fr);
  --columns-gap: 1.5vw;
}
.cols-6 > li + li {
  margin-top: 0;
}
@media all and (min-width: 530px) {
  .cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (min-width: 720px) {
  .cols-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media all and (min-width: 850px) {
  .cols-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media all and (min-width: 1340px) {
  .cols-6 {
    --columns-gap: 20px;
  }
}

table[class*=cols-] {
  display: block;
}

/**
 * @file
 * UI elements that can be re-used anywhere on the site.
 */
/**
  CONTENTS

  Breadcrumbs
  Carousel (slideshow)
  Search
  Lightboxes
  Messages
*/
/** ----------------------------------------------------------------------------
 *                                                              Cards
 */
.card {
  background-color: white;
  position: relative;
  margin: 0; /* Because it's in a grid */
  border: solid 1px #d6d6d6;
  box-shadow: 0 1px 4px hsla(0, 0%, 0%, 0.1);
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.85em;
  padding: 1.5em 1.4em;
}
.card:hover, .card:focus {
  border-color: var(--colour-primary);
  outline: solid 1px var(--colour-primary);
}
@media (min-width: 850px) {
  .card {
    padding: 1.5em 2.4em;
  }
}
.card h2, .card h3 {
  margin-top: 0;
}
.card h2 {
  font-size: 1.3em;
}
.card h3 {
  font-size: 1.1em;
}
.card .field--type-text-long > :first-child, .card .field--type-text-long > div > :first-child {
  margin-top: 0;
}
.card .field--type-text-long > :last-child, .card .field--type-text-long > div > :last-child {
  margin-bottom: 0;
}

/** ----------------------------------------------------------------------------
 *                                                              Administration
 */
[id=layout-builder] .layout-builder-block {
  word-break: break-all;
  padding: 0 1rem;
  margin: 1rem 0;
}

/** ----------------------------------------------------------------------------
 *                                                              Scroll-triggered animations
 */
.scroll-triggered {
  transition: transform 0.5s, opacity 0.5s;
}
.scroll-triggered.slide-from-right {
  transform: translateX(200px);
  opacity: 0;
}
.scroll-triggered.active {
  transform: translateX(0);
  opacity: 1;
}

/** ----------------------------------------------------------------------------
 *                                                              Icons
 */
.icon.social {
  width: 24px;
}

.block-menu[id*=social] a {
  background-size: 22px;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0 !important;
  width: 40px !important;
  padding: 0 10px !important;
}
.block-menu[id*=social] a[href*=twitter] {
  background-image: url("/themes/camby/images/social_icons/twitter_icon_white_tight.png");
}
.block-menu[id*=social] a[href*=youtube] {
  background-image: url("/themes/camby/images/social_icons/youtube-logo-white.png");
}

/** ----------------------------------------------------------------------------
 *                                                              Phone menu toggle
 */
@media all and (min-width: 850px) {
  header .block[id*=toggle] {
    display: none;
  }
}
header .block[id*=toggle] button {
  margin: 0;
}

/** ----------------------------------------------------------------------------
 *                                                              Pager
 */
.pager .pager__item {
  padding: 0;
}
.pager .pager__item a {
  padding: 0.4em 0.8em;
}
.pager .pager__item a:hover, .pager .pager__item a:focus {
  background-color: rgba(0, 0, 0, 0.08);
}
.pager .pager__item.is-active a {
  color: inherit;
  font-weight: bold;
}

/** ----------------------------------------------------------------------------
 *                                                              Search block
 */
.block[role=search] input[type=submit],
.block[role=search] button[role=submit] {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--colour-links);
  padding-left: 0;
  padding-right: 0;
}
.block[role=search] input[type=submit]:hover, .block[role=search] input[type=submit]:focus,
.block[role=search] button[role=submit]:hover,
.block[role=search] button[role=submit]:focus {
  color: var(--colour-links);
}

/** ----------------------------------------------------------------------------
 *                                                              Search
 */
.path-search .search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em 1em;
  align-items: center;
}
.path-search .search-form label[for=edit-keys] {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.path-search .search-form input[type=submit] {
  margin-top: 0;
}

.search-results {
  padding-inline-start: 0;
}
.search-results > li {
  background-color: white;
  position: relative;
  margin: 0; /* Because it's in a grid */
  border: solid 1px #d6d6d6;
  box-shadow: 0 1px 4px hsla(0, 0%, 0%, 0.1);
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.85em;
  padding: 1.5em 1.4em;
  padding: 0.8em 1em;
}
.search-results > li:hover, .search-results > li:focus {
  border-color: var(--colour-primary);
  outline: solid 1px var(--colour-primary);
}
@media (min-width: 850px) {
  .search-results > li {
    padding: 1.5em 2.4em;
  }
}
.search-results > li h2, .search-results > li h3 {
  margin-top: 0;
}
.search-results > li h2 {
  font-size: 1.3em;
}
.search-results > li h3 {
  font-size: 1.1em;
}
.search-results > li .field--type-text-long > :first-child, .search-results > li .field--type-text-long > div > :first-child {
  margin-top: 0;
}
.search-results > li .field--type-text-long > :last-child, .search-results > li .field--type-text-long > div > :last-child {
  margin-bottom: 0;
}
.search-results > li + li {
  margin-top: 3%;
}
.search-results .search-result__info {
  margin-bottom: 0;
  opacity: 60%;
}
.search-results h3 > a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/** ----------------------------------------------------------------------------
 *                                                              Messages
 */
div.messages {
  max-width: var(--text-max-width);
  box-sizing: border-box;
  margin: 1em auto;
}
/** ----------------------------------------------------------------------------
 *                                                              Slick carousel
 */
/*.block-carousel {
  & > [role="presentation"] {
    @include page-max-width;
  }
}
.carousel {
  position: relative;

  p:first-child {
    margin-top: 0;
  }
  .slick-list {
    .slick-slide {
      margin-top: 0;
    }
  }
  .slick-arrow {
    background: none;
    border: none;
    width: 15px;
    padding: 2px 10px;
    box-sizing: content-box;
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;

    &.prev {
      // left: 0;
      right: 100%;
      img {
        transform: rotate(180deg);
      }
    }
    &.next {
      // right: 0;
      left: 100%;
    }
  }
  .slick-dots {
    @include non-list;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;

    li {
      margin: 0;

      button {
        margin: 0;
      }
    }
  }
  .paragraph {
    margin-bottom: 0;
  }
  .field--name-field-image {
    text-align: center;

    img {
      width: 100%;
    }
  }
}*/
/** ----------------------------------------------------------------------------
 *                                                              Splide carousel
 */
.splide {
  border-radius: 8px;
  overflow: hidden;
}

.splide__pagination {
  border-bottom: none !important;
}
.splide__pagination .splide__pagination__page {
  background: #a8a8a8;
}

.splide__arrow {
  bottom: 4px;
  top: initial;
  margin: 0;
}

.splide__slide {
  padding: 0;
}

/** ----------------------------------------------------------------------------
 *                                                              Slides
 */
article[data-type=slide][data-view-mode=teaser] h2 {
  display: none;
}
article[data-type=slide][data-view-mode=teaser] .node__content {
  /*display: grid;*/
}
article[data-type=slide][data-view-mode=teaser] .field {
  /*grid-column: 1 / 2;*/
  /*grid-row: 1 / 2;*/
}
article[data-type=slide][data-view-mode=teaser] .field--name-field-image {
  margin-block-end: 0;
}
article[data-type=slide][data-view-mode=teaser] .field--name-field-image img {
  width: 100%;
}
article[data-type=slide][data-view-mode=teaser] .field--name-body {
  margin: 0;
  background: black;
  color: white;
  padding: 0.5em 52px;
  height: var(--carousel-footer-height);
  display: flex;
  align-items: center;
}

.comment {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 50px;
}
.comment footer p:first-child {
  margin-top: 0;
}
.comment .content > h3:first-child {
  margin-top: 0;
}

/**
 * @file Forms
 */
/*
 * CONTENTS

  Mixins
  Menu
  Tabs
 */
/* -------------------------------------------------------------------------------------------
                                                                Menus
*/
ul.menu {
  width: 100%;
}
ul.menu a.is-active {
  color: inherit;
}

.block-menu ul.menu ul.menu {
  padding-left: 1.1em;
  font-size: 0.95em;
}
.block-menu ul.menu > li > :is(a, span, button) {
  font-size: 0.9em;
  line-height: 1.1;
  padding: var(--button-padding);
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.12s ease;
  padding: var(--menu-link-padding);
  border-radius: 0;
  display: flex;
  align-items: center;
  text-transform: var(--menu-case);
  transition: all 0.25s;
  width: 100%;
  box-sizing: border-box;
  color: var(--colour-links);
}
.block-menu ul.menu > li > :is(button) {
  margin: 0;
  line-height: initial;
  background-color: inherit;
}
.block-menu ul.menu > li.menu-item--active-trail > :is(a, span, button) {
  color: inherit;
}
.block-menu ul.menu > li.menu-item--expanded {
  list-style: none;
}
.block-menu ul.menu > li.menu-item--expanded ul.menu {
  display: none;
}
.block-menu ul.menu > li.menu-item--expanded > :is(a, span, button) {
  display: flex;
  justify-content: space-between;
}
.block-menu ul.menu > li.menu-item--expanded > :is(a, span, button)::after {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: "liga";
  -moz-osx-font-smoothing: grayscale;
  vertical-align: middle;
  content: "expand_more";
  vertical-align: text-top;
  line-height: 16px;
  transition: transform 0.2s ease-in-out;
}
.block-menu ul.menu > li.menu-item--expanded.expanded ul.menu {
  display: block;
}
.block-menu ul.menu > li.menu-item--expanded.expanded > :is(a, span, button)::after {
  transform: rotate(-180deg);
}

/* -------------------------------------------------------------------------------------------
                                                                Primary nav menu
*/
nav[data-primary] {
  position: relative;
  display: flex !important;
  justify-content: center;
}
nav[data-primary] button {
  background-color: transparent;
}
@media all and (min-width: 850px) {
  nav[data-primary] .block[id*=menutoggle] {
    display: none;
  }
}
nav[data-primary] .block-search.toggleable {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
  position: absolute;
  background: var(--colour-primary-dark);
  padding: 2em 3em;
  top: 100%;
  left: auto;
  right: auto;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  font-size: 1.2em;
  z-index: 50;
}
nav[data-primary] .block-search.toggleable [id=search-block-form] {
  max-width: none;
}
nav[data-primary] .block-search.toggleable input[type=search] {
  border: none;
  max-width: 100%;
}
nav[data-primary] .block-search.toggleable .form-actions {
  flex-grow: 0;
}
nav[data-primary] .block-menu > ul.menu {
  width: auto;
}
nav[data-primary] ul.menu {
  display: block;
  padding: 0;
  margin: 0;
  max-width: 28em;
}
nav[data-primary] ul.menu li {
  display: block;
}
nav[data-primary] ul.menu li a {
  text-align: left;
}
nav[data-primary] ul.menu ul.menu {
  font-size: 1em;
}
@media all and (min-width: 850px) {
  nav[data-primary] ul.menu ul.menu {
    padding-left: 0;
  }
}
nav[data-primary] ul.menu > li {
  padding: 0 !important;
  margin: 0;
}
nav[data-primary] ul.menu > li > :is(a, span, button) {
  color: white;
}
nav[data-primary] ul.menu > li > :is(a, span, button) span {
  display: block;
}
nav[data-primary] ul.menu > li > :is(a, span, button).is-active {
  color: inherit;
}
nav[data-primary] ul.menu > li:is(.expanded, :hover, focus) ul.menu {
  display: block;
}
nav[data-primary] ul.menu > li:is(.expanded, :hover, focus) > :is(a, span, button)::after {
  transform: rotate(-180deg);
}

.toggleable {
  display: none !important;
}
.toggleable.visible {
  display: block !important;
}

/* -------------------------------------------------------------------------------------------
                                                                Tabs
*/
:root {
  --colour-tabs-container-bg: white;
  --colour-tabs-link-bg: #dedede;
  --colour-tabs-hover-bg: #e9e9e9;
  --colour-tabs-border: #bbb;
}

ul.tabs,
[role=tablist] {
  list-style: none;
  border-bottom: 1px solid var(--colour-tabs-border);
  padding: 0 2px;
  white-space: nowrap;
}
ul.tabs:after,
[role=tablist]:after {
  content: "";
  display: table;
  clear: both;
}
ul.tabs > li, ul.tabs > button,
[role=tablist] > li,
[role=tablist] > button {
  float: left; /* LTR */
  margin-right: 3px;
  margin-bottom: -1px;
}
ul.tabs > li a, ul.tabs > button,
[role=tablist] > li a,
[role=tablist] > button {
  font-size: 0.9em;
  line-height: 1.1;
  padding: var(--button-padding);
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.12s ease;
  border-radius: 0;
  display: block;
  border: none;
  color: inherit;
  background: none;
  text-align: center;
  border-width: 0 0 2px;
  border-style: solid;
  border-color: transparent;
}
ul.tabs > li a:hover, ul.tabs > li a:focus, ul.tabs > button:hover, ul.tabs > button:focus,
[role=tablist] > li a:hover,
[role=tablist] > li a:focus,
[role=tablist] > button:hover,
[role=tablist] > button:focus {
  background-color: var(--colour-tabs-hover-bg);
  border-color: #b9b9b9;
}
ul.tabs > li a.is-active, ul.tabs > button[aria-selected=true],
[role=tablist] > li a.is-active,
[role=tablist] > button[aria-selected=true] {
  background: none;
  border-color: var(--colour-links);
  font-weight: bold;
}

/**
 * @file Forms
 */
:root {
  --form-horiz_gap: 3%;
  --form-first_w: 40%;
  --form-second_w: calc(100% - var(--form-first_w) - var(--form-horiz_gap));
  --form-v-margin: 0.8em;
}

.webform-submission-form.text-max-width > * {
  max-width: 32rem;
}
.webform-submission-form .description br {
  display: none;
}
.webform-submission-form .form-item > label:first-child {
  display: block;
  margin-bottom: 0.5em;
}
.webform-submission-form .form-type-webform-document-file .form-managed-file {
  background: white;
  border: solid 1px #aeaeae;
  padding: var(--data-field-padding);
  border-radius: 4px;
}

.field--type-datetime > * {
  display: inline;
}

main .field + .field {
  margin-top: 1em;
}
main .field[class*=-url], main .field.field--type-link {
  word-break: break-all;
}

.field--label-inline {
  display: table-row;
}
.field--label-inline .field__label {
  min-width: 4rem;
}
.field--label-inline > * {
  float: none;
  padding-bottom: 0.8rem;
  display: table-cell;
  vertical-align: top;
}
.field--label-inline > *:not(:first-child) {
  padding-left: 0.5em;
}
.field--label-inline .field__item:not(:last-child)::after {
  content: ", ";
}

.field--name-field-image img {
  width: 100%;
}

.field > iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.field--name-field-docs .field__item {
  margin-bottom: 0.5em;
}
.field--name-field-docs .field__item a::before {
  content: "";
  background-image: url("/themes/camby/images/pdf-icon.png");
  display: inline-block;
  width: 26px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 0.5em;
}

.field--name-field-files {
  margin-top: 1em;
}
.field--name-field-files .field__item {
  margin-bottom: 0.8em;
}

.views-field-field-mark-scheme {
  /*border: solid 1px grey;
  border-radius: 5px;
  padding: 1em;*/
  max-width: 600px;
  margin: 3vw auto 1em;
}
.views-field-field-mark-scheme > .views-label {
  display: block;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 1.5em;
}
.views-field-field-mark-scheme .media {
  background-color: white;
  position: relative;
  margin: 0; /* Because it's in a grid */
  border: solid 1px #d6d6d6;
  box-shadow: 0 1px 4px hsla(0, 0%, 0%, 0.1);
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.85em;
  padding: 1.5em 1.4em;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: flex-start;
  gap: 2em;
  position: relative;
}
.views-field-field-mark-scheme .media:hover, .views-field-field-mark-scheme .media:focus {
  border-color: var(--colour-primary);
  outline: solid 1px var(--colour-primary);
}
@media (min-width: 850px) {
  .views-field-field-mark-scheme .media {
    padding: 1.5em 2.4em;
  }
}
.views-field-field-mark-scheme .media h2, .views-field-field-mark-scheme .media h3 {
  margin-top: 0;
}
.views-field-field-mark-scheme .media h2 {
  font-size: 1.3em;
}
.views-field-field-mark-scheme .media h3 {
  font-size: 1.1em;
}
.views-field-field-mark-scheme .media .field--type-text-long > :first-child, .views-field-field-mark-scheme .media .field--type-text-long > div > :first-child {
  margin-top: 0;
}
.views-field-field-mark-scheme .media .field--type-text-long > :last-child, .views-field-field-mark-scheme .media .field--type-text-long > div > :last-child {
  margin-bottom: 0;
}
.views-field-field-mark-scheme .media a[type]::before {
  content: "";
  position: absolute;
  inset: 0;
}

.node .node__meta {
  margin-bottom: 1em;
  font-size: 0.85em;
  color: gray;
}

.has-first-sidebar h1 {
  text-align: left;
}

/** ----------------------------------------------------------------------------
 *                              Full
 */
article[data-view-mode=full] .node__meta {
  text-align: center;
}

/** ----------------------------------------------------------------------------
 *                              Teasers
 */
article[data-view-mode=teaser] {
  background-color: white;
  position: relative;
  margin: 0; /* Because it's in a grid */
  border: solid 1px #d6d6d6;
  box-shadow: 0 1px 4px hsla(0, 0%, 0%, 0.1);
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.85em;
  padding: 1.5em 1.4em;
}
article[data-view-mode=teaser]:hover, article[data-view-mode=teaser]:focus {
  border-color: var(--colour-primary);
  outline: solid 1px var(--colour-primary);
}
@media (min-width: 850px) {
  article[data-view-mode=teaser] {
    padding: 1.5em 2.4em;
  }
}
article[data-view-mode=teaser] h2, article[data-view-mode=teaser] h3 {
  margin-top: 0;
}
article[data-view-mode=teaser] h2 {
  font-size: 1.3em;
}
article[data-view-mode=teaser] h3 {
  font-size: 1.1em;
}
article[data-view-mode=teaser] .field--type-text-long > :first-child, article[data-view-mode=teaser] .field--type-text-long > div > :first-child {
  margin-top: 0;
}
article[data-view-mode=teaser] .field--type-text-long > :last-child, article[data-view-mode=teaser] .field--type-text-long > div > :last-child {
  margin-bottom: 0;
}
article[data-view-mode=teaser] .node__meta {
  margin-top: -0.5em;
}
article[data-view-mode=teaser] .submitted img {
  display: none;
}
article[data-view-mode=teaser] .node__links {
  text-align: right;
  margin-right: -0.5em;
  margin-bottom: -0.5em;
}
article[data-view-mode=teaser] .field--name-field-tags {
  font-size: 0.8em;
}
article[data-view-mode=teaser] h2 > a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/** ----------------------------------------------------------------------------
 *                              Carousel slides
 */
article[data-type=slide] {
  border: none;
  padding: 0;
  position: relative;
}
article[data-type=slide] .field {
  margin-top: 0;
}
article[data-type=slide] figcaption {
  padding: 0;
}
article[data-type=slide] figcaption a::after {
  content: "";
  position: absolute;
  inset: 0;
}
article[data-type=slide] h3 {
  margin: 0;
}
article[data-type=slide] .field--body > :first-child, article[data-type=slide] .field--body > div > :first-child {
  margin-top: 0;
}
article[data-type=slide] .field--body > :last-child, article[data-type=slide] .field--body > div > :last-child {
  margin-bottom: 0;
}

[data-type=test][data-view-mode=teaser] .show-tell,
[data-type=question-set][data-view-mode=teaser] .show-tell {
  display: grid;
  grid-template-columns: 100px auto;
  gap: 12px 5%;
  align-items: flex-start;
}

[data-type=question-set][data-view-mode=full] > .cols-2 {
  align-items: flex-start;
}

/** ----------------------------------------------------------------------------
 *                              Basic pages
 */
article[data-type=page][data-view-mode=full] {
  max-width: var(--text-max-width);
  margin-left: auto;
  margin-right: auto;
}
article[data-type=page][data-view-mode=full] .field--name-field-image {
  margin-bottom: 4%;
}

/** ----------------------------------------------------------------------------
 *                              Landing pages
 */
article[data-type=landing-page][data-view-mode=full] > .node__content {
  margin-left: 0;
  margin-right: 0;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

article[data-type=article][data-view-mode=teaser] {
  --layout-gap: 0;
  padding: 0;
  display: grid;
}
@media (min-width: 700px) {
  article[data-type=article][data-view-mode=teaser] {
    grid-template-columns: auto auto;
  }
  article[data-type=article][data-view-mode=teaser] .field--name-field-image {
    width: 300px;
  }
}
article[data-type=article][data-view-mode=teaser] .tell {
  padding: 1.5em 1.4em;
}
@media (min-width: 850px) {
  article[data-type=article][data-view-mode=teaser] .tell {
    padding: 1.5em 2.4em;
  }
}
article[data-type=event][data-view-mode=teaser] {
  padding: 0;
}
article[data-type=event][data-view-mode=teaser] .layout .layout-regions {
  --layout-gap: 0;
}
article[data-type=event][data-view-mode=teaser] .layout .layout-regions > div:nth-child(2) {
  padding: 3.4% 5.1%;
}
article[data-type=event][data-view-mode=teaser] .tell {
  padding: 1.5em 1.4em;
}
@media (min-width: 850px) {
  article[data-type=event][data-view-mode=teaser] .tell {
    padding: 1.5em 2.4em;
  }
}
article[data-type=event][data-view-mode=full] > * {
  max-width: var(--site_max_width);
}
article[data-type=event][data-view-mode=full] .field--label-inline .field__label {
  min-width: 5rem;
}
article[data-type=event][data-view-mode=full] .field--name-field-image img {
  border-radius: 6px;
}

/** ----------------------------------------------------------------------------
 *                              Assignments
 */
@media (min-width: 500px) {
  article[data-type=assignment][data-view-mode=full] .field--name-field-image {
    width: 50%;
    float: right;
    margin: 0 0 1em 2em;
  }
}
article[data-type=assignment][data-view-mode=full] .field + .field {
  margin-bottom: 1em;
}
article[data-type=assignment][data-view-mode=full] .field--label-above .field__label {
  font-size: var(--font-size-h2);
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}
article[data-type=assignment][data-view-mode=full] .media--type-remote-video .field--name-name {
  font-size: var(--font-size-h2);
}

.media--type-remote-video .field--name-name {
  margin-top: 0;
  margin-bottom: 1em;
  font-weight: bold;
}

s .field--name-field-paragraphs {
  clear: both;
}

.paragraph:not(:last-of-type) {
  margin-bottom: var(--gutter-wide);
}

/* -----------------------------------------------------------------------------
                                                Text
*/
.paragraph[data-type=formatted-text] .field--name-field-formatted-text {
  max-width: 50em;
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------------------------------------------------------
                                                Grid (or columns)
*/
.paragraph[data-type=columns] .paragraph > [role=presentation] {
  margin-left: 0;
  margin-right: 0;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}
.paragraph[data-type=columns] .field--name-field-sections {
  display: grid;
  grid-gap: calc(10px + 2vw);
}
@media all and (min-width: 750px) {
  .paragraph[data-type=columns][data-cols="2"] .field--name-field-sections {
    grid-template-columns: 1fr 1fr;
  }
}
@media all and (min-width: 750px) {
  .paragraph[data-type=columns][data-cols="3"] .field--name-field-sections {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media all and (min-width: 750px) {
  .paragraph[data-type=columns][data-cols="4"] .field--name-field-sections {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media all and (min-width: 750px) {
  .paragraph[data-type=columns][data-cols="6"] .field--name-field-sections {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
/* -----------------------------------------------------------------------------
                                                Image with text
*/
@media all and (min-width: 480px) {
  .paragraph[data-type=image-w-text] > [role=presentation] {
    display: flex;
  }
  .paragraph[data-type=image-w-text] > [role=presentation] > * {
    flex: 1 1 0;
  }
  .paragraph[data-type=image-w-text].image_position-right .field--name-field-formatted-text {
    padding-right: calc(var(--gutter-regular) * 2);
  }
  .paragraph[data-type=image-w-text].image_position-left .field--name-field-formatted-text {
    padding-left: calc(var(--gutter-regular) * 2);
  }
  .paragraph[data-type=image-w-text] .field--name-field-formatted-text {
    display: flex;
    align-items: center;
  }
}

/* -----------------------------------------------------------------------------
                                                Row of images
*/
.paragraph[data-type=row-of-images].gaps-1 .field--name-field-images > *:not(:first-child) {
  padding-top: var(--gutter-regular);
}
.paragraph[data-type=row-of-images].gaps-1 .field--name-field-images > *:not(:last-child) {
  padding-bottom: var(--gutter-regular);
}
@media all and (min-width: 480px) {
  .paragraph[data-type=row-of-images] .field--name-field-images {
    display: flex;
  }
  .paragraph[data-type=row-of-images] .field--name-field-images > * {
    flex: 1 1 0;
  }
  .paragraph[data-type=row-of-images].gaps-1 .field--name-field-images > *:not(:first-child) {
    padding-top: 0;
    padding-left: var(--gutter-regular);
  }
  .paragraph[data-type=row-of-images].gaps-1 .field--name-field-images > *:not(:last-child) {
    padding-bottom: 0;
    padding-right: var(--gutter-regular);
  }
}

.layout {
  --layout-gap: calc(10px + 2vw);
}
.layout .layout-regions {
  display: grid;
  grid-gap: var(--layout-gap);
}
.layout h2 {
  margin-top: 0;
}
.layout p:last-child {
  margin-bottom: 0;
}
.layout.page-max-width .layout-regions {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
}
.layout.no-gaps .layout-regions {
  --layout-gap: 0;
}

.layout[class*=col-section] h1 {
  margin-left: 0;
  margin-right: 0;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 2em;
  text-align: left;
}

@media all and (min-width: 750px) {
  .layout.twocol-section .layout-regions {
    grid-template-columns: repeat(2, 1fr);
    --layout-gap: 60px;
  }
  .layout.twocol-section.layout--twocol-section--67-33 > .layout-regions, .layout.twocol-section.layout--twocol-section--33-67 > .layout-regions {
    grid-template-columns: repeat(3, 1fr);
  }
  .layout.twocol-section.layout--twocol-section--33-67 > .layout-regions > :nth-child(2) {
    grid-column: 2/4;
  }
  .layout.twocol-section.layout--twocol-section--67-33 > .layout-regions > :nth-child(1) {
    grid-column: 1/3;
  }
  .layout.twocol-section.layout--twocol-section--75-25 > .layout-regions, .layout.twocol-section.layout--twocol-section--25-75 > .layout-regions {
    grid-template-columns: repeat(4, 1fr);
  }
  .layout.twocol-section.layout--twocol-section--25-75 > .layout-regions > :nth-child(2) {
    grid-column: 2/5;
  }
  .layout.twocol-section.layout--twocol-section--75-25 > .layout-regions > :nth-child(1) {
    grid-column: 1/4;
  }
}

@media all and (min-width: 750px) {
  .layout.threecol-section .layout-regions {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media all and (min-width: 750px) {
  .layout.fourcol-section .layout-regions {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.block-layout-builder[class*=background-] {
  padding: 20px;
}

.block-inline-blockimage .field {
  text-align: center;
}
.block-inline-blockimage .field--name-field-text {
  margin-top: 0.6em;
}

.block + [id=block-page-title] h1 {
  margin-top: 1em;
}

.view .results-inline > li {
  display: inline;
}
.view .results-inline > li > * {
  display: inline;
}
.view .results-inline > li:not(:last-child)::after {
  content: ", ";
}
.view .views-exposed-form {
  padding-left: 1em;
  border-left: solid 4px rgba(128, 128, 128, 0.42);
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
}
.view .views-exposed-form label {
  margin-right: 0.8em;
}
.view .views-exposed-form textarea,
.view .views-exposed-form select,
.view .views-exposed-form input[type=date],
.view .views-exposed-form input[type=datetime],
.view .views-exposed-form input[type=datetime-local],
.view .views-exposed-form input[type=email],
.view .views-exposed-form input[type=month],
.view .views-exposed-form input[type=number],
.view .views-exposed-form input[type=password],
.view .views-exposed-form input[type=search],
.view .views-exposed-form input[type=tel],
.view .views-exposed-form input[type=text],
.view .views-exposed-form input[type=time],
.view .views-exposed-form input[type=url],
.view .views-exposed-form input[type=week] {
  width: 14em;
}
.view .form--inline {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5em 1em;
}
.view .form--inline .form-item,
.view .form--inline .form-actions,
.view .form--inline input[type=submit] {
  margin-top: 0;
  margin-bottom: 0;
}
.view .form--inline .form-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

main .block-views > div > h2 {
  margin-top: 2.4em;
  margin-bottom: 1em;
  text-align: center;
}
main .views-row:not(:first-child) {
  margin-top: 4%;
}

.view .views-row.margin-top-small {
  margin-top: 1%;
}

:root {
  --search-block-width: 20em;
}

.block[id*=carousel] {
  max-width: 100vw;
}

.block[role=search] {
  flex-grow: 0;
  max-width: var(--search-block-width);
  position: relative;
  display: flex;
}
.block[role=search] > * {
  flex: 1 1 auto;
  vertical-align: middle;
}
.block[role=search] form {
  position: relative;
}
.block[role=search] .form-item,
.block[role=search] .form-actions {
  margin-top: 0;
  margin-bottom: 0;
}
.block[role=search] input[type=search] {
  max-width: var(--search-block-width);
  width: 100%;
  font-size: 1em;
  padding-right: 4em;
}
.block[role=search] input[type=submit] {
  margin: 0;
  position: absolute;
  padding: 0.2em 0.4em;
  right: 0.2em;
  top: 50%;
  transform: translateY(-50%);
}

.block[id$=announcement] {
  min-width: 12em;
}

/** ----------------------------------------------------------------------------
 *                              CONTENTS
  Navigation
  Mobile navigation
  Main
  Sidebar
  Comments
 */
/** ----------------------------------------------------------------------------
 *                              Main
*/
.page-content {
  padding-top: 3em;
  padding-bottom: 3em;
}

main .field-name-body h2, main .field-name-body h3 {
  clear: both;
}
main .subtitle {
  margin-bottom: 20px;
  font-style: italic;
}
main li {
  padding-left: 0.5em;
  line-height: 1.3em;
}
/** ----------------------------------------------------------------------------
 *                              Sidebar
*/
.has-first-sidebar.has-second-sidebar {
  --sidebar-width: 20%;
}
.has-first-sidebar.has-second-sidebar .page-content .central-content {
  gap: clamp(2em, 5%, 100px);
}

aside[role=complementary] {
  --search-block-width: 100%;
}
aside[role=complementary] .block {
  background: rgba(199, 194, 183, 0.3);
  padding: 1em 1.3em;
  box-sizing: border-box;
  border-radius: 4px;
}
aside[role=complementary] .block + .block {
  margin-top: 1em;
}
aside[role=complementary] h2 {
  font-size: 1.2em;
}
aside[role=complementary] :first-child > h2 {
  margin-top: 0;
}
aside[role=complementary] ul.menu {
  width: 100%;
}
aside[role=complementary] ul.menu > li :is(a, span, button) {
  font-weight: normal;
  padding-left: 0;
  padding-right: 0;
}

/** ----------------------------------------------------------------------------
 *                              Comments
*/
.comments h2 {
  margin-top: 2em;
  line-height: 1em;
}
.comments #comment-form .form-type-item,
.comments #comment-form .form-type-textfield {
  display: table-row;
}
.comments #comment-form .form-type-item > *,
.comments #comment-form .form-type-textfield > * {
  display: table-cell;
}
.comments #comment-form .form-type-item > label,
.comments #comment-form .form-type-textfield > label {
  padding: 0.3em 0.8em 0.3em 0;
}
.comments a[role=button] {
  overflow: hidden;
  transition: all 0.4s ease;
  width: 20px;
}
.comments a[aria-disabled=true] {
  width: 0%;
}
.comments .defaultSkin [role=toolbar] {
  width: 100%;
}

header[role=banner] {
  --colour-links: white;
  position: relative;
  background: var(--colour-primary);
  color: white;
  box-sizing: border-box;
}
header[role=banner]:after {
  content: "";
  display: table;
  clear: both;
}
header[role=banner] .region-pre-header {
  margin-top: 10px;
  margin-bottom: 10px;
}
header[role=banner] .region-pre-header img {
  height: 26px;
  width: auto;
}
header[role=banner] .region-header {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}
header[role=banner] .region-header > * {
  flex: 0 1 auto;
  vertical-align: middle;
}
@media only screen and (max-width: 850px) {
  header[role=banner] .region-header > * {
    display: block;
    text-align: center !important;
  }
}
header[role=banner] .block[id$=branding] > div {
  display: flex;
  align-items: center;
}
header[role=banner] .block[id$=branding] .site-name {
  font-size: calc(1em + 1vw);
  font-weight: bold;
  margin-left: 0;
}
@media only screen and (max-width: 850px) {
  header[role=banner] .site-logo {
    height: var(--header-height);
  }
}
header[role=banner] .site-logo > * {
  flex: 1;
}
header[role=banner] .site-logo {
  max-width: 200px;
}
@media only screen and (min-width: 680px) {
  header[role=banner] .site-logo {
    width: auto;
  }
}
header[role=banner] .site-logo a {
  color: inherit;
  text-decoration: none;
}
header[role=banner] .site-logo h1 {
  font-size: 3.5em;
  margin: 0;
  color: #fff;
  line-height: 1em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
header[role=banner] .site-logo img {
  margin: 13px 0;
  max-width: 100%;
}
@media all and (min-width: 380px) {
  header[role=banner] .site-logo img {
    max-width: 335px;
    max-height: calc(100% - 26px);
  }
}
header[role=banner] .block-title {
  display: none;
}

nav[data-primary] {
  background: var(--colour-primary-dark);
  color: white;
}
nav[data-primary] .region {
  display: flex;
  justify-content: space-between;
}
nav[data-primary] a {
  color: inherit;
}
nav[data-primary] a.is-active {
  border-bottom-color: white !important;
}
nav[data-primary] button {
  margin: 0;
  border-radius: 0;
}
nav[data-primary] .block {
  display: flex;
  align-items: center;
}
nav[data-primary] .block.menu--main {
  flex: 1 1 auto;
}
nav[data-primary] .block[role=search] form {
  margin: 0;
}
nav[data-primary] .block-menu > .menu {
  display: flex;
  height: 100%;
}
nav[data-primary] ul.menu {
  max-width: none;
}
nav[data-primary] ul.menu > li {
  height: 100%;
}
nav[data-primary] ul.menu > li > :is(a, span, button) {
  height: 100%;
}
nav[data-primary] h2 {
  display: none;
}
nav[data-primary] input[type=submit] {
  margin: 0;
}

nav .menu {
  display: flex;
  margin: 0;
  display: inline-block;
}
nav .menu li {
  position: relative;
  flex: 1 1 auto;
}
/** ----------------------------------------------------------------------------
 *                              Mobile navigation
 */
.region .block[id*=phonemenubutton] {
  display: flex;
  align-items: center;
}
@media all and (min-width: 850px) {
  .region .block[id*=phonemenubutton] {
    display: none;
  }
}
.region .block[id*=phonemenubutton] button {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--colour-links);
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}
.region .block[id*=phonemenubutton] button:hover, .region .block[id*=phonemenubutton] button:focus {
  color: var(--colour-links);
}

@media all and (min-width: 850px) {
  :is(.region-header, .region-nav) .block > .menu li {
    position: relative;
  }
  :is(.region-header, .region-nav) .block > .menu li > :is(a, span, button) {
    border-style: solid;
    border-color: transparent;
  }
  :is(.region-header, .region-nav) .block > .menu > li > :is(a, span, button) {
    border-width: 2px 0;
  }
  :is(.region-header, .region-nav) .block > .menu > li > a.is-active {
    border-bottom-color: var(--colour-text-body);
  }
  :is(.region-header, .region-nav) .block > .menu > li > a:hover, :is(.region-header, .region-nav) .block > .menu > li > a:focus {
    border-bottom-color: rgba(var(--colour-text-body), 0.3);
  }
  :is(.region-header, .region-nav) .block > .menu > li ul li > :is(a, span, button) {
    border-width: 0 2px;
  }
  :is(.region-header, .region-nav) .block > .menu > li ul li > :is(a, span, button).is-active {
    border-left-color: white;
  }
  :is(.region-header, .region-nav) .block > .menu > li ul li > :is(a, span, button):hover, :is(.region-header, .region-nav) .block > .menu > li ul li > :is(a, span, button):focus {
    border-left-color: rgba(var(--colour-text-body), 0.3);
  }
  :is(.region-header, .region-nav) .block > .menu > li > ul {
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    min-width: 10em;
    background: var(--colour-primary-dark);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    display: none;
  }
  :is(.region-header, .region-nav) .block > .menu > li:hover ul, :is(.region-header, .region-nav) .block > .menu > li:focus ul {
    display: block;
  }
}
@media all and (max-width: 850px) {
  :is(.region-header, .region-nav) .block-menu {
    background: var(--colour-primary-dark);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    overflow: hidden;
    transition: width 0.3s ease;
    width: 0;
  }
  :is(.region-header, .region-nav) .block-menu.expanded {
    width: 300px;
  }
  :is(.region-header, .region-nav) .block-menu > .menu {
    width: 300px;
    display: block !important;
    max-width: none;
  }
  :is(.region-header, .region-nav) .block-menu > .menu > li > :is(a, span, button) {
    border-width: 0 2px;
  }
  :is(.region-header, .region-nav) .block-menu > .menu > li > a.is-active {
    border-left-color: var(--colour-text-body);
  }
  :is(.region-header, .region-nav) .block-menu > .menu > li > a:hover, :is(.region-header, .region-nav) .block-menu > .menu > li > a:focus {
    border-left-color: rgba(var(--colour-text-body), 0.3);
  }
  :is(.region-header, .region-nav) .block-menu > .menu > li ul {
    position: relative;
    padding-left: 0.6em;
    display: none;
  }
  :is(.region-header, .region-nav) .block-menu > .menu > li.expanded ul {
    display: block;
  }
}

footer[role=contentinfo] {
  --colour-links: white;
  --menu-link-padding: 0.5em 0;
  padding: 2em 0;
  background: lightgrey;
  font-size: 0.85em;
  background: var(--colour-primary);
  color: white;
}
footer[role=contentinfo] a {
  color: inherit;
}
footer[role=contentinfo]::after {
  clear: both;
}
footer[role=contentinfo]::after:after {
  content: "";
  display: table;
  clear: both;
}
footer[role=contentinfo] .region {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: space-between;
}
footer[role=contentinfo] .region > * {
  flex: 0 1 auto;
}
footer[role=contentinfo] .region > *:not(:first-child) {
  margin-left: calc(20px + 3vw);
}
footer[role=contentinfo] .region > .block-menu {
  flex-grow: 1;
  max-width: 20em;
}
footer[role=contentinfo] .block {
  box-sizing: border-box;
}
footer[role=contentinfo] .block:first-child {
  padding-left: 0;
}
footer[role=contentinfo] .block:last-child {
  padding-right: 0;
}
footer[role=contentinfo] .center:after {
  content: "";
  display: table;
  clear: both;
}
footer[role=contentinfo] h2 {
  border-bottom: solid 1px #b0b0b0;
  padding-bottom: 0.2em;
  font-size: 1.1em;
  text-transform: uppercase;
}
footer[role=contentinfo] ul, footer[role=contentinfo] #footer #footer li {
  list-style: none;
}
footer[role=contentinfo] .prefix {
  width: 2em;
}
footer[role=contentinfo] form .form-item {
  margin: 0.5em 0;
}
footer[role=contentinfo] form input[type=text],
footer[role=contentinfo] form textarea {
  width: 100% !important;
  border: 1px solid #555;
  color: inherit;
  background: #333;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) inset;
}
footer[role=contentinfo] form input[type=text]:focus,
footer[role=contentinfo] form textarea:focus {
  border: 1px solid #888;
}
footer[role=contentinfo] form textarea {
  height: 5em;
  min-height: 3.2em;
}
footer[role=contentinfo] .menu a:hover {
  color: var(--colour-links);
  background-color: rgba(0, 0, 0, 0.15);
}

[id=postfooter] {
  --colour-links: white;
  background-color: #0d0d0d;
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
}
[id=postfooter] p {
  margin: 0;
}
[id=postfooter] .region-postfooter {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
/*----------------------------------------------------------------------------
                                            Home (front)
*/
body.path-frontpage .page-content {
  padding-top: 0;
}
body.path-frontpage .page-content [role=presentation] {
  margin-left: 0;
  margin-right: 0;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}
body.path-frontpage .region-content > .block:first-child > [role=presentation],
body.path-frontpage .paragraph > [role=presentation] {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: content-box;
}
body.path-frontpage .node__content > .field--name-field-sections > * + * {
  margin-top: 3.4vw;
}

.block.colour-background {
  position: relative;
  padding-top: 10px;
}
.block.colour-background::before {
  content: "";
  background-color: var(--colour-primary);
  width: 100%;
  height: calc(100% - var(--carousel-footer-height));
  top: 0;
  position: absolute;
}

/*----------------------------------------------------------------------------
                                           User pages
*/
body.path-user {
  /*.block-local-tasks-block {
    font-size: 0.9em;
  }*/
}
body.path-user form[id=user-login-form],
body.path-user form[id=user-pass],
body.path-user form[id=user-register-form],
body.path-user .block-local-tasks-block {
  max-width: 28rem;
}
body.path-user form[id=user-login-form] label,
body.path-user form[id=user-pass] label,
body.path-user form[id=user-register-form] label,
body.path-user .block-local-tasks-block label {
  display: block;
  margin-bottom: 0.3em;
}
body.path-user form[id=user-login-form] input[type=text],
body.path-user form[id=user-login-form] input[type=password],
body.path-user form[id=user-pass] input[type=text],
body.path-user form[id=user-pass] input[type=password],
body.path-user form[id=user-register-form] input[type=text],
body.path-user form[id=user-register-form] input[type=password],
body.path-user .block-local-tasks-block input[type=text],
body.path-user .block-local-tasks-block input[type=password] {
  display: block;
}

.block[id*=home-carousel] {
  max-width: var(--site_max_width);
}

/*----------------------------------------------------------------------------
                                           Style guide
*/
#styleguide-header {
  columns: 3 20em;
}
#styleguide-header .item-list {
  float: initial;
  width: initial;
  overflow: auto;
}

h2.styleguide {
  background: #484848;
  color: white;
  padding: 0.3em 0.7em;
  font-size: 0.8em;
  margin-bottom: 14px;
}

.styleguide-description {
  margin-top: -14px;
  background: #686868;
  color: white;
  padding: 0.3em 0.7em;
}

div.styleguide {
  border-top: none;
}

/**
 * @file
 * Print styling
 */
/**
 * By importing this CSS file as media "all", we allow this print file to be
 * aggregated with other stylesheets, for improved path-frontpage-end performance.
 */
@media print {
  /* Underline all links. */
  a:link,
  a:visited {
    text-decoration: underline !important;
    /* Don't underline header. */
  }
  a:link.header__site-link,
  a:visited.header__site-link {
    text-decoration: none !important;
  }
  #content {
    /* Add visible URL after links. */
    /* Only display useful links. */
    /* Add visible title after abbreviations. */
  }
  #content a[href]:after {
    content: " (" attr(href) ")";
    font-weight: normal;
    font-size: inherit;
  }
  #content a[href^="javascript:"]:after,
  #content a[href^="#"]:after {
    content: "";
  }
  #content abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /* Un-float the content. */
  #content {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Turn off any background colors or images. */
  body,
  #page,
  #main,
  #content {
    color: #000;
    background-color: transparent !important;
    background-image: none !important;
  }
  /* Hide sidebars and nav elements. */
  #skip-link,
  #toolbar,
  #navigation,
  .region-sidebar-first,
  .region-sidebar-second,
  #footer,
  .breadcrumb,
  .tabs,
  .action-links,
  .links,
  .book-navigation,
  .forum-topic-navigation,
  .pager,
  .feed-icons {
    visibility: hidden;
    display: none;
  }
}

/*# sourceMappingURL=theme.css.map */
