/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
:root {
	--colour-background: #e5e5e5;
	--colour-filters-panel-background: #f3f1ee;
	--colour-primary-pms-282: #002147;
	--colour-primary-white: #fff;
	--colour-charcoal-90percent-black: #3c3c3b;
	--colour-secondary-dark-bodleian-red: #ac182d;
	--colour-secondary-dark-bodleian-dark-green: #5f7462;
	--colour-secondary-dark-bodleian-royal-blue: #0355bc;
	--colour-secondary-dark-bodleian-purple: #66477b;
	--colour-secondary-dark-bodleian-charcoal: #3c3c3b;
	--colour-secondary-mid-bodleian-gold: #c99044;
	--colour-secondary-mid-bodleian-orange: #e87722;
	--colour-secondary-mid-bodleian-coral: #e94b5f;
	--colour-secondary-mid-bodleian-aqua: #00adbb;
	--colour-secondary-mid-bodleian-green: #14ad88;
	--colour-secondary-mid-bodleian-lime: #b7d43b;
	--colour-secondary-light-bodleian-warm-grey: #bfb7af;
	--colour-secondary-light-bodleian-cream: #f3dbb2;
	--colour-secondary-light-bodleian-moss: #a6bcaf;
	--colour-secondary-light-bodleian-ivory: #f6f0d6;
	--colour-secondary-light-bodleian-sky: #a6bbd6;
	--colour-secondary-light-bodleian-turqouise: #84dade;
	--colour-web-gold: #bf9862;
	--colour-web-black: #14120f;
	--colour-web-bronze: #524747;
	--colour-web-blue: #337ab7;
	--colour-web-green: #25af8e;
	--colour-web-red: #a5122a;
	--colour-web-charcoal: #3a3a3a;
	--colour-web-yellow: #f5d55a;
	--colour-web-pale-yellow: #fee69c;
	--colour-web-brown: #855c36;
	--colour-web-additional-92aba0: #92aba0;
	--colour-web-additional-657b77: #657b77;
	--colour-web-additional-db2828: #db2828;
	--colour-web-additional-c3c9d5: #c3c9d5;
	--colour-web-additional-faf8f5: #faf8f5;
	--colour-web-additional-e2e2e2: #e2e2e2;
	--colour-web-additional-b2b2b2: #b2b2b2;
	--colour-web-additional-707070: #707070;
	--colour-web-additional-425e5a: #425e5a;
	--colour-web-additional-5ebebc: #5ebebc;
	--colour-web-additional-e6e3dc: #e6e3dc;
	--colour-web-additional-f9f5ee: #f9f5ee;
	--colour-web-additional-2e2d2c: #2e2d2c;
	--colour-web-additional-2b2b2b: #2b2b2b;
	--colour-web-additional-4a4a4a: #4a4a4a;
	--colour-web-additional-3a3a3a: #3a3a3a;
}
h1 {
	font-family: gill-sans-nova, sans-serif;
	font-size: 24px;
	line-height: 30px;
	color: var(--colour-primary-white);
	border-left: 5px solid var(--colour-primary-white);
	padding-bottom: 0.15em;
	padding-left: 15px;
	margin-top: 30px;
}
.site-layout {
	min-height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
	grid-template-columns: 100%;
}

.site-header {
	position: relative;
	padding: 35px;
	z-index: 2;
}

.site-header__content {
	z-index: 1;
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
}

.site-header__logos-navigation {
	display: flex;
}

.site-content {
	padding: 10px 25px;
}
.homepage .site-content {
	padding: 0;
}

.site-content__content {
	max-width: 1280px;
	height: 100%;
	margin: 0 auto;
}

.site-footer {
	box-shadow: inset 0 7px 20px -15px rgba(0, 0, 0, 0.8);
	background-color: var(--colour-secondary-dark-bodleian-purple);
	padding: 35px;
}

.site-footer__content {
	max-width: 1280px;
	margin: 0 auto;
}

.site-header__background-image {
	z-index: 0;
	position: absolute;
	left: 0;
	top: 0;
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	filter: saturate(0);
}

.site-header__background-wash {
	z-index: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: var(--colour-secondary-dark-bodleian-purple);
	opacity: 0.75;
}

.site-header__logos {
	display: flex;
}
.site-header__logos a {
	margin-right: 10px;
	display: block;
	width: 50%;
	max-width: 80px;
}
.site-header__logos svg {
	display: block;
	height: 78px;
}

.site-header__navigation {
	margin-left: auto;
	display: flex;
	justify-content: flex-end;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

  body {
    	font-family: "Noto Sans", sans-serif;
	font-size: 15px;
	line-height: 22px;

  }
  form {
    display: grid;
  }
