/*!
Theme Name: Central Coast Research Institute
Theme URI: CCRI
Author: Beech.agency
Author URI: Beech.agency
Description: Description
Version: 1.0.0
Tested up to: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: guttentest
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

guttentest is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@font-face {
	font-family: "Matter";
	src: url("fonts/Matter-Medium.otf") format("opentype");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Matter";
	src: url("fonts/Matter-Medium.otf") format("opentype");
	font-weight: medium;
	font-style: normal;
}
@font-face {
	font-family: "Matter Square";
	src: url("fonts/MatterSQ-Medium.otf") format("opentype");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Matter Square";
	src: url("fonts/MatterSQ-Regular.otf") format("opentype");
	font-weight: medium;
	font-style: normal;
}
@font-face {
	font-family: "Tobias";
	src: url("fonts/Tobias-Light.otf") format("opentype");
	font-weight: 300;
	font-style: normal;
}



:root {
	--base-font-size : 18px;
	--base-line-height : 1.3333;
	
	--max-width: 1920px; /* 1920px @ 18px */
	--max-width-inner: calc(1920px - (82px * 2) - (111px *2) ) ; /* 1080px @ 18px */
	--max-width-wide: calc(1920px - 82px * 2);
	
	--gutter: 1.1111rem;
	
	/* Type */
	--ff-matter : 'Matter', "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--ff-mattersq : 'Matter Square', sans-serif;
	--ff-tobias :  'Tobias', sans-serif;

	--text-s3 : 0.422rem;
	--text-s2 : 0.563rem;
	--text-s1 : 0.75rem;
	--text-s0 : 0.8rem;
	--text-base : 1rem;
	--text-h1 : 5.5556rem;  /* 100px */
	--text-h2 : 2.7778rem;  /* 50px */
	--text-h3 : 2.2222rem;  /* 40px */
	--text-h4 : 1.7778rem;  /* 32px */
	--text-h5 : 1.3333rem;  /* 24px */
	--text-h6 : 1.1111rem;  /* 20px */

	--text-h1-m : 2.35rem;    /* 42px */
	--text-h2-m : 2.2222rem;  /* 40px */
	--text-h3-m : 1.95rem;    /* 35px */
	--text-h4-m : 1.7778rem;  /* 32px */
	--text-h6-m : 1rem;       /* 18px */

	--font-family-sans : var(--ff-matter);
	--font-family-serif : var(--ff-tobias);
	--font-family-mono : 'IBM Plex Mono', monospace;

	/* Fonts */
	--f-lightest : 200;
	--f-light : 300;
	--f-normal : 400;
	--f-medium : 500;
	--f-bold : 700;
	--f-black : 900;
	
	
	/* Colours */
	--white : #ffffff;
	--black : #000000;
	 
	--blue : #3658EE;
	--yellow : #FDE873;
	--green : #99D4C0;
	--orange : #EE7147;
	--purple : #62368B;
	--dark : #3E3E3E;
	--grey-dark : #555555;
	--grey-mid : #959595;
	--grey-light : #F8F8F8;
	--grey-darkest : #141414;
	
	
	/* Default */
	--body-text-color: var(--black);
	--body-bg-color: var(--white);
}

html {
    font-family: var(--font-family-sans);
    font-size: var(--base-font-size);
    color: var(--primary);
}
* {
	box-sizing: border-box;
}
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | 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 iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 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;
	font-size: 1em;
}

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

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bold;
}

/**
 * 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;
	font-size: 1em;
}

/**
 * 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.25em;
}

sup {
	top: -0.5em;
}

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

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

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

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * 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.35em 0.75em 0.625em;
}

/**
 * 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;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
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;
	padding: 0;
}

/**
 * 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;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[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;
	font: inherit;
}

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

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: var(--font-family-sans);
	font-size: 1rem;
	line-height: 1.5;
	text-rendering: geometricPrecision;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

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

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

img {
	max-width: 100%;
	display: block;
	transition: all 250ms ease;
}
/*
img:hover {
	filter: invert(1);
}*/

h1 {
	font-family: var(--ff-tobias);
	font-size: var(--text-h1);
	line-height: 1;
	font-weight: var(--f-light);
	margin-top: 2.5rem;
	margin-bottom: 0.5rem;
}
h2 {
	font-family: var(--ff-mattersq);
	font-size: var(--text-h2);
	line-height: 1;
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-weight: var(--f-medium);
}
h3 {
	font-family: var(--ff-mattersq);
	font-size: var(--text-h3);
	margin-bottom: 1rem;
	margin-top: 2rem;
	font-weight: var(--f-normal);
	line-height: 1;
}
h4 { 
	font-family: var(--ff-mattersq);
	font-size: var(--text-h4); 
	line-height: var(--base-line-height);
	font-weight: var(--f-medium);
	line-height: 1.1;
}
h5 { 
	font-family: var(--ff-mattersq);
	font-size: var(--text-h5); 
	font-weight: var(--f-normal);
	line-height: 1.4;
}
h6 { 
	font-family: var(--ff-mattersq);
	font-size: var(--text-h6); 
	font-weight: var(--f-medium);
	line-height: 1.1;
}
p { 
	font-family: var(--ff-mattersq);
	font-size: var(--text-base); 
	line-height: var(--base-line-height);
	font-weight: var(--f-lightest);
}

@media screen and (max-width: 767px) {
	h1 { font-size: var(--text-h1-m); }
	h2 { font-size: var(--text-h2-m); }
	h3 { font-size: var(--text-h3-m); }
	h4 { font-size: var(--text-h4-m); }
	/* h5 = same size */
	h6 { font-size: var(--text-h6-m); }
}

/* Paragraph variations 
---------------------------------------------- */
.small-p {
	font-size: var(--text-s0);
}
.large-p {
	font-size: var(--text-h5);
}

/* Elements
--------------------------------------------- */
body {
	background: var(--grey-light);
	color: var(--grey-dark);
	font-family:var(--font-family-sans);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0em;
	
	font-family: var(--ff-mattersq);
    font-size: var(--text-base);
    line-height: var(--base-line-height);
    font-weight: var(--f-lightest);
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li {
	margin-bottom: 0.5rem;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.text-center {
	text-align: center;
}

/* Links
--------------------------------------------- */
a {
	color: var(--blue);
	transition: all 150ms ease;
	text-underline-offset: 2px;
}

a:visited {
	color: var(--blue);
}

a:hover,
a:focus,
a:active {
	color: inherit;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.menu a:not(:hover, :focus, :active) {
	color: inherit;
}

/* Buttons
--------------------------------------------- */
a.button {
	padding: 12px 43px;
	border-radius: 40px;
	line-height: 1;
	font-size: var(--text-h5);
	text-decoration: none;
	display: inline-block;
}
.has-blue-border {
	border: 2px solid var(--blue);
}
.has-white-border {
	border: 2px solid var(--white);
}
.has-dark-border {
	border: 2px solid var(--dark);
}
.has-blue-hover:hover {
	background-color: var(--blue);
	color: var(--white);
}
.has-white-hover:hover {
	background-color: var(--white);
	color: var(--dark);
}
.has-yellow-border-hover:hover {
	border: 2px solid var(--yellow);
}

.button-with-icon {
	display: inline-block;
	text-decoration: none !important;
	font-size: var(--text-h6);
	font-weight: var(--f-medium);
}
.button-with-icon.icon-right:after {
	content: url('images/icon-arrow-circle-blue.svg');
	vertical-align: middle;
	margin-left: 15px;
	transition: all 150ms ease;
}
.button-with-icon.icon-left:before {
	content: url('images/icon-arrow-circle-blue.svg');
	vertical-align: middle;
	margin-right: 15px;
	transition: all 150ms ease;
}
.button-with-icon.icon-download:after {
	content: url('images/icon-download-circle.svg');
	vertical-align: middle;
	margin-left: 15px;
}
.button-with-icon.icon-download.has-white-color:after {
	content: url('images/icon-download-circle-white.svg');
}

.button-with-icon.icon-right.has-white-color:after,
.button-with-icon.icon-left.has-white-color:before { 
	content: url('images/icon-arrow-circle-white.svg'); 
}
.button-with-icon.icon-right.has-dark-color,
.button-with-icon.icon-left.has-dark-color {
	color: var(--dark) !important;
}
.button-with-icon.icon-right.has-dark-color:after,
.button-with-icon.icon-left.has-dark-color:before { 
	content: url('images/icon-arrow-circle-dark.svg') !important; 
}

.button-with-icon:hover {
	color: var(--blue) !important;
}
.button-with-icon.has-dark-color:hover {
	color: var(--blue) !important;
}
.button-with-icon.has-white-color:hover {
	color: var(--yellow) !important;
}
.button-with-icon.icon-right.has-white-color:hover:after,
.button-with-icon.icon-left.has-white-color:hover:before {
	content: url('images/icon-arrow-circle-yellow.svg'); 
}
.button-with-icon.icon-left.has-dark-color:hover:before {
	content: url('images/icon-arrow-circle-blue.svg') !important;
	margin-right: 25px;
}
.button-with-icon.icon-download.has-white-color:hover:after {
	content: url('images/icon-download-circle-yellow.svg');
}

.button-with-icon.icon-right:hover:after {
	margin-left: 25px;
}

/* buttons on blue sections */
.has-blue-background-color a {
	color: var(--white) !important;
}
.has-blue-background-color a:hover {
	color: var(--yellow) !important;
}
.has-blue-background-color a.button-with-icon.icon-right:after,
.has-blue-background-color a.button-with-icon.icon-left:before {
	content: url('images/icon-arrow-circle-white.svg');
}
.has-blue-background-color a.button-with-icon.icon-right:hover:after,
.has-blue-background-color a.button-with-icon.icon-left:hover:before,
.has-blue-background-color > a.button-with-icon.icon-right:hover:after,
.has-blue-background-color > a.button-with-icon.icon-left:hover:before{
	content: url('images/icon-arrow-circle-yellow.svg');
}

@media screen and (max-width: 767px) {
	a.button {
		padding: 10px 31px;
		font-size: var(--text-base);
	}
}

/* Forms
--------------------------------------------- */
.has-yellow-background-color button,
.has-yellow-background-color input[type="button"],
.has-yellow-background-color input[type="reset"],
.has-yellow-background-color input[type="submit"] {
	border: 2px solid var(--dark);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
    background: var(--yellow);
    color: var(--dark);
    padding: 12px 35px;
    border-radius: 40px;
    line-height: 1 !important;
    font-size: var(--text-h6);
	cursor: pointer;
	transition: all 150ms ease-in;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: var(--white);
	border-color: var(--white);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	color: #666;
	border: 1px solid #fff;
	border-radius: 10px;
	padding: 10px 15px !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
	color: #111;
	outline: 2px solid var(--grey-mid);
}

textarea {
	width: 100%;
}

input::placeholder, textarea::placeholder {
    color: var(--grey-mid) !important;
}

.gform_wrapper.gravity-theme .gfield_label {
	font-weight: var(--f-medium) !important;
	font-size: var(--text-h6) !important;
}
.gform_wrapper.gravity-theme .gfield input.large,
.gform_wrapper.gravity-theme .gfield select.large,
.gform_wrapper.gravity-theme .gfield textarea {
    font-size: var(--text-base) !important;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*
 * Content Blocks
*/
.content-block {
	margin-top: 5rem;
	margin-bottom: 5rem;
}
.content-block.has-blue-background-color, 
.content-block.has-yellow-background-color, 
.content-block.has-grey-light-background-color, 
.content-block.has-white-background-color, 
.content-block.block__text_image_background,
.content-block.type_contact {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
	padding-top: 5rem !important;
}
@media screen and (max-width: 767px) {
	.content-block {
		margin-top: 4rem;
		margin-bottom: 4rem;
	}
	.content-block.has-grey-light-background-color {
		padding-top: 2rem !important;
	}
	.flex-row {
		padding-left: calc(var(--gutter) * 2);
		padding-right: calc(var(--gutter) * 2);
	}
	.flex-row.alignwide,
	.flex-row.address-row {
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.content-block {
		margin-top: 3rem;
		margin-bottom: 3rem;
	}
	.flex-row {
		padding-left: 3rem;
		padding-right: 3rem;
	}
	.flex-row.alignwide,
	.flex-row.address-row {
		padding-left: 0;
		padding-right: 0;
	}
}

/*
 * block text and image
*/
.block__text_and_image.img-expanded .flex-row,
.block__text_and_image.img-rounded .flex-row {
	max-width: var(--max-width);
	padding-left: 0;
	padding-right: 0;
}
.block__text_and_image.img-inline, .block__text_and_image.img-expanded {
    padding: 3rem 0 !important; /* was 5 */
}
.cards-title {
	margin-bottom: 2rem;
}

.block__text_and_image .wrapper-image {
	width: 60%;
}
.block__text_and_image .wrapper-text {
	width: 40%;
	max-width: 498px;
    margin: 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.block__text_and_image .wrapper-text h2 {
	color: var(--blue);
}
.block__text_and_image .wrapper-text h5,
.block__text_columns_two .wrapper-text h5 {
    margin-top: 0.25rem !important;
}
.block__text_and_image.has-blue-background-color .wrapper-text h2 {
	color: var(--white);
}

.block__text_and_image.img-left .wrapper-text > ul,
.block__text_image_background .content-box > ul {
    padding-left: 1rem;
}
.block__text_image_background .content-box > ul li ul {
    padding-left: 1rem;
    margin-left: 0;
    margin-top: 0.5rem;
    list-style-type: circle;
}

/* swap position if layout is image-left */
.block__text_and_image.img-expanded.img-left .wrapper-image, 
.block__text_and_image.img-inline.img-left .wrapper-image {
	order: 1;
	margin-left: 0 !important;
	margin-right: var(--gutter);
}
.block__text_and_image.img-expanded.img-left .wrapper-text,
.block__text_and_image.img-inline.img-left .wrapper-text {
	order: 2;
}

/* rounded image */
.block__text_and_image.img-rounded {
	padding-top: 6rem;
}
.block__text_and_image.img-rounded .wrapper-image {
	overflow: hidden;
    border-radius: 100% 0 0 0;
	height: auto;
	max-height: 100vh;
	width: 55%;
}

.block__text_and_image.img-right .wrapper-text {
    margin-left: 0;
}

.block__text_and_image.img-right.img-expanded .wrapper-text {
	width: 100%;
	margin-left: auto; 
	margin-right: 0;
}
.block__text_and_image.img-right.img-rounded .wrapper-text {
	width: 100%;
	max-width: calc(var(--max-width-inner) / 2 - var(--gutter) * 6 );
	margin-left: auto;padding-right: calc(var(--gutter) * 8);
	margin-right: 0;
}

.block__text_and_image.img-rounded .wrapper-image img {
    min-height: 50vw;
    object-fit: cover;
}

.block__text_and_image.img-left .wrapper-text {
    margin-right: 0;
}

.block__text_and_image.img-expanded.img-left .wrapper-text {
    max-width: 423px;
    margin-right: calc( (100% - var(--max-width-inner)) / 2);
}

@media screen and (max-width: 600px) {
	.block__text_and_image.img-rounded .wrapper-image {
		height: auto !important;
		max-height: 100vw !important;	
	}
	.block__text_and_image.img-inline {
		padding: 3rem 0;
	}
	.block__text_and_image.img-inline, .block__text_and_image.img-expanded {
		padding: 2rem 0 !important;
	}
	.block__text_and_image {
		margin-top: 0rem !important;
		margin-bottom: 0rem !important;
	}
	.block__centered_heading_images {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}
	.block__centered_heading_images img {
		max-width: 100%;
	}
}

@media screen and (min-width: 768px) {
	.block__text_and_image.img-right.img-expanded .wrapper-text {
		max-width: calc( var(--max-width-inner) * 0.4 - var(--gutter) * 3 ); 
		padding-right: calc(var(--gutter) * 3);
	}
}

@media screen and (max-width: 1024px) {
	.block__text_and_image {
		margin-top: 5rem;
		margin-bottom: 5rem;
	}
	.block__text_and_image .wrapper-image,
	.block__text_and_image .wrapper-text,
	.block__text_and_image.img-rounded .wrapper-image {
		width: 100%;
	}
	.block__text_and_image.img-rounded.has-blue-background-color {
		padding-top: 3rem;
	}
	.block__text_and_image.img-rounded .wrapper-image {
		height: auto;
	}
	.block__text_and_image .wrapper-image {
		order: 2 !important;
		margin-left: 0 !important;
		margin-top: 2rem;
	}
	.block__text_and_image .wrapper-text {
		order: 1 !important;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		max-width: 600px;
	}
	.block__text_and_image.img-inline .wrapper-text {
		padding-left: 0;
		padding-right: 0;
	}
}

@media screen and (min-width: 1280px) and (max-width: 1560px) {
	.block__text_and_image.img-right.img-expanded .wrapper-text {
		max-width: calc( var(--max-width-inner) * 0.4 - var(--gutter) * 6 );
	}

	.block__text_and_image .wrapper-image {
		width: 55% !important;
	}
}

@media screen and (min-width: 1280px) {
	.block__text_and_image.img-right.img-expanded .wrapper-text {
		-webkit-box-pack: start;
		    -ms-flex-pack: start;
		        justify-content: flex-start;
		margin-top: 5%;
	}
}

/*
 * Block - single column
*/
.block__body_content .wrapper-text {
	padding: 3rem 0;
	width: 50%;
	max-width: 650px;
}
@media screen and (max-width: 1280px) {
	.block__body_content .wrapper-text {
		padding: 3rem 0;
		width: 75%;
	}
}
@media screen and (max-width: 767px) {
	.block__body_content .wrapper-text {
		width: 100%;
	}
}


/*
 * Block - 2 Columns
 */
.block__text_columns_two .wrapper-text {
    width: 35%;
}
.block__text_columns_two .wrapper-link-group,
.block__text_columns_two .wrapper-img-group {
    width: 55%;
    margin-left: 0 !important; 
    padding-left: 0;
}

/* Type Contact */
.block__text_columns_two.type_contact {
	background-color: var(--grey-light);
	padding: 5rem 0;
}
.flex-row.address-row {
    justify-content: flex-start;
}
.wrapper-contact-info {
    width: 50%;
}
.contact-details {
    margin-bottom: 30px;
	padding-top: 5rem;
}
.contact-details a {
    margin-bottom: 10px !important;
}
.type_contact .wrapper-text h5 {
    margin-bottom: 3rem !important;
}
.address-row .post, .address-row .address {
    max-width: 200px;
	margin-right: 30px;
}
.address-row post, .address-row address {
	font-style: normal !important;
}
.address-row .post span, .address-row .address span {
    display: block;
    font-size: var(--text-h6);
    font-style: normal !important;
    margin-bottom: 5px;
}
@media screen and (max-width: 767px) {
	.wrapper-contact-info {
		width: 100%;
	}
	.address-row .address,
	.wrapper-contact-info {
		margin-left: 0 !important;
	}
	.block__text_columns_two.type_contact {
		padding: 3rem 0;
	}
}


/* Link Group */
.block__text_columns_two.type_link .wrapper-link-group > li {
	list-style: none;
	border-bottom: 2px solid var(--dark);
	padding: 30px 0;
}
.block__text_columns_two.type_link .wrapper-link-group > li:first-of-type {
	border-top: 2px solid var(--dark);
}
.block__text_columns_two.type_link .wrapper-link-group > li a {
    text-decoration: none;
    color: inherit !important;
    display: block;
    position: relative;
    padding-right: 70px;
}
.block__text_columns_two.type_link .wrapper-link-group > li a:after {
    content: url('images/icon-arrow-circle-dark.svg');
    position: absolute;
    top: 0;
    right: 10px;
    max-width: 50px;
	transition: all 150ms ease-in;
}
.block__text_columns_two.type_link .wrapper-link-group > li a:hover:after {
	transform: translateX(10px);
}
.block__text_columns_two.type_link .wrapper-link-group > li h4 {
	margin: 0 auto 10px;
}
.block__text_columns_two.type_link .wrapper-link-group > li p {
	margin: 0 auto;
}


/* Has blue background color */
.block__text_columns_two.type_link.has-blue-background-color {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.block__text_columns_two.type_link.has-blue-background-color .wrapper-link-group > li {
    border-color: var(--white);
}
.block__text_columns_two.type_link.has-blue-background-color .wrapper-link-group > li a:after {
    content: url('images/icon-arrow-circle-white.svg');
}

/* Image Group */
.block__text_columns_two.type_img h2 {
	color: var(--blue);
	margin-top: 0;
}
.block__text_columns_two.type_img .wrapper-img-group {
	display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.block__text_columns_two.type_img .wrapper-img-group > li {
	list-style: none;
	width: 28%;
	margin-bottom: 2.5rem;
}
.block__text_columns_two.type_img .wrapper-img-group > li img {
	max-height: 70px;
    width: auto;
}

@media screen and (max-width: 767px) {
	.block__text_columns_two .wrapper-text,
	.block__text_columns_two .wrapper-link-group,
	.block__text_columns_two .wrapper-img-group {
		width: 100%;
		margin-bottom: 2rem;
	}
	.block__text_columns_two.type_img .wrapper-img-group > li {
		width: 100%;
	}
	.block__text_columns_two.type_img .wrapper-img-group > li:last-child {
		margin-bottom: 0 !important;
	}
	.block__text_columns_two.type_img .wrapper-img-group > li img {
		margin: 0 auto;
	}
	.block__text_columns_two.type_link.has-blue-background-color {
		padding: 4rem 0;
	}
}

@media screen and (max-width: 1024px) {
	.block__text_columns_two.type_img .wrapper-text,
	.block__text_columns_two.type_img .wrapper-img-group {
		width: 100%;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.block__text_columns_two .wrapper-text {
		width: 75% !important;
		margin-bottom: 2rem;
	}
	.block__text_columns_two .wrapper-link-group,
	.block__text_columns_two .wrapper-img-group {
		width: 100%;
	}
}



/*
 * Block - 3 columns
*/
.block__text_columns_three .flex-row div{
	width: 30%;
	margin: 0;
}
.block__text_columns_three.has-blue-background-color {
    padding: 5rem 0;
}

@media screen and (max-width: 1023px) {
	.block__text_columns_three .flex-row div{
		width: 100%;
		margin-bottom: 2rem;
	}
}


/*
 * Block - image background
*/
.block__text_image_background {
    padding: 3rem 0;
    min-height: 100vh;
	background-size: cover;
	background-position: center;
}
.block__text_image_background .content-box-outer-wrapper {
	max-width: var(--max-width-inner);
	height: 100vh;
	margin: 0 auto;
	display: flex;
}
.block__text_image_background .content-box {
	background-color: var(--white);
	padding: 2.5rem;
	max-width: 500px;
}
.block__text_image_background .content-box h2 {
	margin-top: 0 !important;
	color: var(--blue);
}
.block__text_image_background .mobile-image {
	display: none;
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.block__text_image_background .content-box-outer-wrapper {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}
 
/* set different positions */
.block__text_image_background.box-position-top-right .content-box-outer-wrapper {
	align-items: flex-start;
	justify-content: flex-end;
}
.block__text_image_background.box-position-top-left .content-box-outer-wrapper {
	align-items: flex-start;
	justify-content: flex-start;
}
.block__text_image_background.box-position-top-center .content-box-outer-wrapper {
	align-items: flex-start;
	justify-content: center;
}

.block__text_image_background.box-position-middle-right .content-box-outer-wrapper {
	align-items: center;
	justify-content: flex-end;
}
.block__text_image_background.box-position-middle-left .content-box-outer-wrapper {
	align-items: center;
	justify-content: flex-start;
}
.block__text_image_background.box-position-middle-center .content-box-outer-wrapper {
	align-items: center;
	justify-content: center;
}

.block__text_image_background.box-position-bottom-right .content-box-outer-wrapper {
	align-items: flex-end;
	justify-content: flex-end;
}
.block__text_image_background.box-position-bottom-left .content-box-outer-wrapper {
	align-items: flex-end;
	justify-content: flex-start;
}
.block__text_image_background.box-position-bottom-center .content-box-outer-wrapper {
	align-items: flex-end;
	justify-content: center;
}

@media screen and (max-width: 1024px) {
	.block__text_image_background {
		background-image: none !important;
		height: auto;
		padding: 0;
	}
	.block__text_image_background .content-box-outer-wrapper {
		height: auto !important;
		justify-content: flex-start !important;
	}
	.block__text_image_background .mobile-image {
		display: block;
	}
	@supports (object-fit: cover) {
		.block__text_image_background .mobile-image img {
			height: 100vh;
			max-height: 640px;
			width: 100%;
			object-fit: cover;
			object-position: center;
		}
	}
}


/*
 * Block centered
*/
.block__centered_heading_images {
    padding: 5rem 1.5rem;
}
.block__centered_heading_images .wrapper-text {
    margin-bottom: 2rem;
}
.block__centered_heading_images .flex-row.flex-row.justify-center * {
	margin: 10px 20px;
}


/* 
 * Highlight bar
*/
.block__highlight_bar.has-yellow-background-color {
    padding: 3.5rem 0 !important;
}
.block__highlight_bar.has-yellow-background-color h5 {
	margin-top: 0 !important;
}
.block__highlight_bar .flex-row.alignwide {
    max-width: var(--max-width-inner);
}
.block__highlight_bar .wrapper-text {
    max-width: 650px;
}

@media screen and (max-width: 1440px) {
	.block__highlight_bar .flex-row.alignwide {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}

@media screen and (max-width: 1280px) {
	.block__highlight_bar .wrapper-text {
		max-width: 75%;
	}
}
@media screen and (max-width: 767px) {
	.block__highlight_bar .wrapper-text {
		max-width: 100%;
	}
	.block__highlight_bar .flex-row.alignwide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media screen and (min-width: 1440px) and (max-width: 1560px) {
	.block__highlight_bar.has-yellow-background-color {
		padding-left: calc(var(--gutter) *2) !important;
    	padding-right: calc(var(--gutter) *2) !important;
	}
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	/*display: none;*/
	list-style: none;
	margin: 0;
	padding-left: 0;
}
/*
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}
*/
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.site-header .nav-wrapper {
	display: block;
    height: 100vh;
    background-color: var(--blue);
    position: absolute;
    top: 0;
    z-index: 5;
    padding: 6.5rem 2rem 2rem;
	overflow-y: auto;
	
	width: 55vw; /*50vw;*/

    max-width: 100%;
    left: calc(-58vw);

	transition: all 150ms ease;
}
.site-header .nav-wrapper.nav-open {
    left: 0;
}
.site-header .nav-wrapper-inner {
    /*max-width: calc(  var(--max-width-inner)/2 - var(--gutter) *3 );*/
	max-width: calc(  var(--max-width-inner)/2 - var(--gutter) *3 + 3rem + 5vw);
    margin-left: auto;
    width: 100%;
}

.header-row {
    position: relative;
    z-index: 10;
	display: flex;
	justify-content: space-between;
	
	max-width: var(--max-width-inner);
    margin: 0 auto;
}

.menu-button {
    background-color: transparent;
    color: var(--white);
    border: none;
	cursor: pointer;
}
.menu-button:hover {
	background-color: transparent !important;
	border: none;
}
.menu-icon {
    margin-right: 10px;
}

.main-navigation ul.menu {
    color: var(--white);
}
.main-navigation ul.menu a:hover {
    color: var(--yellow);
}

/* nav menu */
#primary-menu > li {
	font-size: var(--text-h4);
	padding-right: 0;
}
#primary-menu > li > a {
	margin-bottom: 0.75rem;
}
#primary-menu > li.current-menu-item > a {
	text-decoration: underline;
}
#primary-menu ul.sub-menu > li.current_page_item > a {
	text-decoration: underline;
}
.main-navigation #primary-menu > li.active .sub-menu {
	max-height: none;
	margin-bottom: 1.5rem !important;
}
.main-navigation .sub-menu {
	max-height: 0;
	overflow: hidden;
	margin-bottom: 0 !important;
	transition: all 150ms ease-in;
}
.sub-menu > li {
	font-size: var(--text-base);
	margin-bottom: 0.75rem;
}
.toggle-submenu {
	display: none;
}
.main-navigation #primary-menu > li .toggle-submenu {
	display: block;
    position: absolute;
    top: 20px;
    right: 0;
    width: 23px;
}
.main-navigation #primary-menu > li.active .toggle-submenu {
	transform: rotate(180deg);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (max-width: 1440px) {
	.site-header .nav-wrapper {
		width: 100vw;
		left: -102vw;
	}
	.site-header .nav-wrapper-inner {
		margin-left: 0;
	}
}

@media screen and (min-width: 1440px) {
	/*
	#primary-menu > li#menu-item-548, #primary-menu > li#menu-item-543 {
		margin-left: -3rem;
	}*/
}

@media screen and (min-width: 768px) {
	#primary-menu {
		-webkit-columns: 2;
		-moz-columns: 2;
		columns: 2;
		-webkit-column-gap: 0;
		   -moz-column-gap: 0;
		        column-gap: 0;
		list-style-position: inside;
	}
	.site-header .nav-wrapper {
		padding: 10rem 0 0 3rem;  /*10rem 3rem 3rem;*/
	}
	#primary-menu > li {
		font-size: var(--text-h3);
		break-inside: avoid-column;
	}
	.main-navigation .sub-menu {
		display: block;
		max-height: none !important;
		margin-bottom: 1.5rem !important;
	}
	.main-navigation .sub-menu > li {
		font-size: var(--text-h5);
		padding-right: 2rem;
	}
	.main-navigation #primary-menu > li .toggle-submenu {
		display: none;
	}
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Burger Menu */
button.menu-button {
	display: flex; 
	align-items: center;
	padding: 0 !important;
}

.menu-icon .bar1, .menu-icon .bar2, .menu-icon .bar3 {
	width: 30px;
	height: 2px;
	background-color: var(--white);
	margin: 6px 0;
	transition: all 150ms ease;
}

.menu-button[aria-expanded="true"] .menu-icon .bar1 {
	-webkit-transform: rotate(-45deg) translate(-5px, 3px);
	transform: rotate(-45deg) translate(-5px, 3px); }
.menu-button[aria-expanded="true"] .menu-icon .bar2 {
	-webkit-transform: rotate(45deg) translate(-2px, -2px);
	transform: rotate(45deg) translate(-2px, -2px); }

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 0em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 2.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/*
 * Page
*/
.type-page .entry-content {
	margin-top: 0 !important;
}
.type-page .content-block.block__body_content .wrapper-text {
	margin-top: 0;
	margin-bottom: 0;
}
.privacy-policy .entry-content {
    max-width: var(--max-width-inner);
    margin: 0 auto;
}
.privacy-policy .entry-content .flexbox {
    max-width: 100%;
    margin: 0 auto;
}
.privacy-policy .entry-content > h2, 
.privacy-policy .entry-content > p {
    max-width: 650px !important;
    margin: 0;
}
.privacy-policy .entry-content > h2 {
    font-family: var(--ff-mattersq);
    font-size: var(--text-h4);
    font-weight: var(--f-medium);
    color: var(--grey-dark);
    line-height: 1.1;
    margin-top: 1.33em;
    margin-bottom: 1rem;
}
.privacy-policy .block__body_content .wrapper-text {
	max-width: 750px !important;
	padding-top: 0 !important;
}
.privacy-policy .block__body_content .wrapper-text h6 {
    margin-top: 0;
}
.privacy-policy .block__body_content .wrapper-text h4 {
    margin-bottom: 1rem !important;
}
.privacy-policy .block__body_content .wrapper-text ul {
    padding-left: 1rem !important;
}
@media screen and (max-width: 767px) {
	.privacy-policy .entry-content > h2,
	.privacy-policy .entry-content > p {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.privacy-policy .entry-content > h2,
	.privacy-policy .entry-content > p {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}
@media screen and (min-width: 1441px) and (max-width: 1560px) {
	.privacy-policy .entry-content > h2,
	.privacy-policy .entry-content > p {
		padding-left: calc(var(--gutter) *2);
    	padding-right: calc(var(--gutter) *2);
	}
}
/*
 * Posts | News and Research pages
*/ 
.type-post {
    background-color: var(--grey-light);
}
.posted-on {
	text-transform: uppercase;
	font-size: var(--text-s0);
}
.feature-post {
    margin: 3rem 0;
}
.feature-post .post-item-featured.flex-row {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.feature-post .post-featured-image {
	width: 100%;
}
.feature-post .post-featured-image img {
	width: 100%;
	margin-bottom: 1.5rem;
}
.feature-post .post-intro {
	width: 100%;
	margin-left: 0 !important;
}
.feature-post .post-intro .entry-title {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
	max-width: 500px;
}
.feature-post .post-intro .post-excerpt {
	max-width: 500px;
}
.type-post .entry-content.alignwide,
.type-research .entry-content.alignwide {
	max-width: var(--max-width-inner);
}
.type-post .entry-content.alignwide > *,
.type-post .entry-content.alignwide img,
.type-research .entry-content.alignwide > * {
	max-width: 980px;
	margin-left: 0;
}
.type-post .entry-content.alignwide p, 
.type-post .entry-content.alignwide ul {
    max-width: 650px !important;
}
.type-post .list-filter {
	margin-bottom: 1.5rem;
}
.type-post .list-filter .filter-label {
	display: block;
	margin-bottom: 0.5rem;
}
.type-post .entry-meta .posted-on {
	display: inline-block;
    margin-right: 1.5rem;
}
.type-post .entry-title {
	margin-bottom: 2rem !important;
}
.type-post .entry-content a.icon-download {
	margin-bottom: 30px;
}
.type-post .entry-content p {
	width: 100%;
	margin-left: 0 !important;
}
.type-research .tag.status {
	display: inline-block;
    margin-top: 2.5rem;
}
.type-research .research-info .border-top {
    border-top: 2px solid #555555;
	margin-top: 2.5rem;
	padding-top: 2.5rem;
}
.type-post .entry-footer .see-all,
.type-research .entry-footer .see-all {
	display: block !important;
	text-align: right;
	padding: 0;
}

.type-research .research-info .border-top {
	padding-left: 0;
	padding-right: 0;
}
.type-research .research-info .flex-row {
    justify-content: flex-start;
}
.type-research .research-info .col-2 {
    width: 100%;
}
.type-research .research-info .flex-row > *:not(:first-child) {
    margin-left: calc( var(--gutter) * 4 );
}
.type-research .research-info .research-start, 
.type-research .research-info .research-funder,
.type-research .research-info .research-team,
.type-research .research-info .research-partners {
    margin-bottom: 2rem;
}
.type-research .research-info .research-partners .info,
.type-research .research-info .research-summary,
.type-research .research-info .research-outputs {
	max-width: 650px;
}
.type-research .research-info span {
	display: block;
}
.type-research .research-info span.info {
    margin-top: 0.25rem;
}
.block__post_grid .block-row .wrapper-text h2 {
	margin-bottom: 2rem !important;
}
@media screen and (max-width: 767px) {
	.type-post .entry-content.alignwide,
	.type-research .entry-content.alignwide {
		padding-left: 1.5rem;
    	padding-right: 1.5rem;
	}
	.type-research .research-info .flex-row > *:not(:first-child) {
		margin-left: 0;
	}
	.type-research .research-info .research-end,
	.type-research .research-info .research-contact {
		margin-bottom: 2rem;
	}
}
@media screen and (min-width: 768px) {
	.block__body_content .wrapper-text {
		width: 75%;
	}
	.type-research .research-info .col-2 {
		width: 40%;
		max-width: 300px;
	}
}
@media screen and (min-width: 1280px) {
	.feature-post {
		margin: 5rem 0;
	}
	.feature-post .post-intro {
		width: 55%;
	}
	.feature-post .post-featured-image {
		width: 40%;
	}
	.type-post .entry-content.alignwide {
		margin-top: 5rem;
	}
	.type-post .entry-content p {
		width: 50%;
		max-width: 650px;
	}
}
@media screen and (min-width: 768px) and (max-width: 1560px) {
	.type-post .entry-content.alignwide,
	.type-research .entry-content.alignwide {
		padding-left: calc(var(--gutter) *2);
    	padding-right: calc(var(--gutter) *2);
	}
}


/* Pagination
----------------------------------------------*/
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
	padding: 2rem 0;
}
.pagination > .page-numbers, 
.pagination .page-numbers.current {
    display: inline;
    padding: 0 10px;
}
.pagination > .page-numbers {
	color: var(--dark) !important;
	text-decoration: none !important;
}
.pagination > .page-numbers.current {
	color: var(--blue) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}


/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
#page {
	position: relative;
	width: 100%;
}

#page .wp-block-column:not(:first-child) {
	margin-left: var(--gutter);
}
.alignleft {
	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
.entry-content > * {
	/*max-width: var(--max-width-inner);*/
	margin-left: auto;
	margin-right: auto;
}

.entry-content > .alignwide {
	max-width: var(--max-width-wide);
}
.entry-content > .alignfull {
	max-width : var(--max-width);
}
.entry-content > .wp-block-cover.alignfull {
	max-width: 100%;
}
.alignfull img {
	width: 100vw;
}
/*
#page .wp-block-cover > .wp-block-cover__inner-container {
	max-width: var(--max-width-inner);
	width: 100%;
	margin-left: calc((100vw - var(--max-width-inner)) /2 );
	margin-right: calc((100vw - var(--max-width-inner)) /2 );
} */
.wp-block-cover {
	padding: 0;
}
.wp-block-cover__inner-container {
	overflow: hidden;
}
.wp-block-cover__inner-container > * {
	max-width: var(--max-width-inner);

	margin-left: auto;
	margin-right: auto;
	
	/*margin-left: calc((100vw - var(--max-width-inner)) /2 );
	margin-right: calc((100vw - var(--max-width-inner)) /2 );  */
}
.wp-block-cover__inner-container > .alignwide, 
.wp-block-cover__inner-container > .alignwide ~ * {
	/*margin-left:  calc((100vw - var(--max-width-wide) )/2 );
	margin-right: calc((100vw - var(--max-width-wide) )/2 ); */
	max-width: var(--max-width-wide);
	margin-left: auto;
	margin-right: auto;
}
.wp-block-cover__inner-container > .alignfull, 
.wp-block-cover__inner-container > .alignfull ~ * {
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto; 
}

.wp-block-image {
	margin-bottom: 0;
}
figure.wp-block-image.radius-left img {
	border-radius: 100% 0 0 0;
}

/*
 * Colours! 
 *
 */

.has-blue-background-color { background-color: var(--blue); }
.has-blue-color { color: var(--blue); }

.has-yellow-background-color { background-color: var(--yellow); }
.has-yellow-color { color: var(--yellow); }

.has-orange-background-color { background-color: var(--orange); }
.has-orange-color { color: var(--orange); }
.has-orange-background-color { background-color: var(--orange); }

.has-purple-color { color: var(--purple); }
.has-purple-background-color { background-color: var(--purple); }

.has-dark-color { color: var(--dark); }
.has-dark-background-color { background-color: var(--dark); }

.has-grey-dark-color { color: var(--grey-dark); }
.has-grey-dark-background-color { background-color: var(--grey-dark); }


.has-grey-mid-color { color: var(--grey-mid); }
.has-grey-mid-background-color { background-color: var(--grey-mid); }

.has-grey-light-color { color: var(--grey-light); }
.has-grey-light-background-color { background-color: var(--grey-light); }

.has-white-color { color: var(--white); }
.has-white-background-color { background-color: var(--white); }

.has-grey-darkest-color { color: var(--grey-darkest); }
.has-grey-darkest-background-color { background-color: var(--grey-darkest); }

.has-black-color { color: var(--black); }
.has-black-background-color { background-color: var(--black); }

/*
 * Grid!
 * 
 *
 */
:root {
	--grid-columns-desktop : 16;
	--grid-columns-tablet : 8;
	--grid-columns-mobile : 4;

	--grid-base-column-width : calc( 100% / var(--grid-columns-desktop) );
	--grid-offset-1 : var(--grid-base-column-width);
	--grid-offset-2 : calc( var(--grid-base-column-width) * 2);
	--grid-offset-3 : calc( var(--grid-base-column-width) * 3);
	--grid-offset-4 : calc( var(--grid-base-column-width) * 4);

	--grid-outset : 10px;
}
.spacer {
	margin-left: auto;
	margin-right: auto;
	margin-top: calc(var(--gutter) * 10);
	margin-bottom: calc(var(--gutter) * 10);
	max-width: var(--max-width);
}

.flex-row {
	display: flex;    
	flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	
	max-width: var(--max-width-inner);
}

.flex-row.justify-center {
	justify-content: center;
}

.flex-row.aligninner {
	max-width: var(--max-width-inner);
}
.flex-row.alignwide {
	max-width: var(--max-width-wide);
}
.flex-row.alignfull {
	max-width: var(--max-width);
}

.aligninner { max-width: var(--max-width-inner); margin-left: auto; margin-right: auto;}
.alignwide { max-width: var(--max-width-wide); margin-left: auto; margin-right: auto;}
.alignfull { max-width: var(--max-width); margin-left: auto; margin-right: auto; }

.flex-row.align-top { align-items: flex-start; }
.flex-row.align-middle { align-items: center; }
.flex-row.align-bottom { align-items: flex-end; }
.flex-row.align-stretch { align-items:stretch; }

.flex-row > *:not(:first-child) {
	margin-left: var(--gutter);
}


.align-left-expanded {
	margin-left: calc( (var(--max-width) - var(--max-width-wide))/2 )
}

.offset-1-on-left {
	margin-left: calc( ((var(--max-width) - var(--max-width-wide))/2) + (100%/16) - var(--gutter)/2 );
}
/*
.grid-row {
	border: 1px solid red;
	margin-left: auto;
	margin-right: auto;
	display: grid;
	column-gap: var(--gutter);
	grid-template-columns: [gutter] calc( (var(--max-width) - var(--max-width-wide))/2 - var(--gutter) ) [item1] auto [item2] auto [item3] auto [item4] auto [item5] auto [item6] auto [item7] auto [item8] auto [item9] auto [item10] auto [item11] auto [item12] auto [item13] auto [item14] auto [item15] auto [item16] auto [gutter] calc( (var(--max-width) - var(--max-width-wide))/2 - var(--gutter) ) [end];
}*/


.grid-row {
	margin-left: auto;
	margin-right: auto;
	display: grid;
	column-gap: var(--gutter);
	/*grid-template-columns: [gutter] calc( (var(--max-width) - var(--max-width-wide))/2 - var(--gutter) ) [item1] auto [item2] auto [item3] auto [item4] auto [item5] auto [item6] auto [item7] auto [item8] auto [item9] auto [item10] auto [item11] auto [item12] auto [item13] auto [item14] auto [item15] auto [item16] auto [gutter] calc( (var(--max-width) - var(--max-width-wide))/2 - var(--gutter) ) [end];*/
	grid-template-columns: [item1] calc( (100% / 16) - var(--gutter) ) [item2] calc( (100% / 16) - var(--gutter) ) [item3] calc( (100% / 16) - var(--gutter) ) [item4] calc( (100% / 16) - var(--gutter) ) [item5] calc( (100% / 16) - var(--gutter) ) [item6] calc( (100% / 16) - var(--gutter) ) [item7] calc( (100% / 16) - var(--gutter) ) [item8] calc( (100% / 16) - var(--gutter) ) [item9] calc( (100% / 16) - var(--gutter) ) [item10] calc( (100% / 16) - var(--gutter) ) [item11] calc( (100% / 16) - var(--gutter) ) [item12] calc( (100% / 16) - var(--gutter) ) [item13] calc( (100% / 16) - var(--gutter) ) [item14] calc( (100% / 16) - var(--gutter) ) [item15] calc( (100% / 16) - var(--gutter) ) [item16] calc( (100% / 16) - var(--gutter) ) [end];
}
.item-span-2 {
	grid-column: 1 / span 2;
}

.item-span-3 {
	grid-column: 1 / span 3;
}
.item-span-4 {
	grid-column: 1 / span 4;
}
.item-span-5 {
	grid-column: 1 / span 5;
}
.item-span-6 {
	grid-column: 1 / span 6;
}
.item-span-7 {
	grid-column: 1 / span 7;
}
.item-span-8 {
	grid-column: 1 / span 8;
}
.item-span-9 {
	grid-column: 1 / span 9;
}
.item-span-10 {
	grid-column: 1 / span 10;
}
.item-span-11 {
	grid-column: 1 / span 11;
}
.item-span-12 {
	grid-column: 1 / span 12;
}
.item-span-13 {
	grid-column: 1 / span 13;
}
.item-span-14 {
	grid-column: 1 / span 14;
}
.item-span-15 {
	grid-column: 1 / span 15;
}
.item-span-16 {
	grid-column: 1 / span 16;
}

.item-offset-1 {
	grid-column-start: 1;
}

/*
 * Cards
 */
.block__research_cards.has-grey-light-background-color {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.block__research_cards {
    padding: 2rem;
}
.block__research_cards .cards-title {
    margin-bottom: 4rem;
}
.block__research_cards .cards-title h3 {
	margin-top: 0 !important;
}

.cards-wrapper {
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto;
}
.cards-inner-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.card-item {
	width: 24%;
    border-radius: 20px;
    padding: 50px;
    min-height: 330px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.card-item h4 {
    margin-top: 0;
    margin-bottom: 0;
}
.card-item, .card-item > * {
	transition: all 150ms ease;
}
.card-item.highlight-blue:hover { background-color: var(--blue) !important; }
.card-item.highlight-blue h4, .card-item.highlight-blue a { color: var(--blue); }
.card-item.highlight-green:hover { background-color: var(--green) !important; }
.card-item.highlight-green h4, .card-item.highlight-green a { color: var(--green); }
.card-item.highlight-purple:hover { background-color: var(--purple) !important; }
.card-item.highlight-purple h4, .card-item.highlight-purple a { color: var(--purple); }
.card-item.highlight-orange:hover { background-color: var(--orange) !important; }
.card-item.highlight-orange h4, .card-item.highlight-orange a { color: var(--orange); }

.card-item a {
	text-decoration: none;
}
.card-item a:after {
	margin-left: 15px;
	vertical-align: middle;
	transition: all 150ms ease 0s;
}
.card-item.highlight-blue a:after { content: url('images/icon-arrow-circle-blue.svg'); }
.card-item.highlight-green a:after { content: url('images/icon-arrow-circle-green.svg'); }
.card-item.highlight-purple a:after { content: url('images/icon-arrow-circle-purple.svg'); }
.card-item.highlight-orange a:after { content: url('images/icon-arrow-circle-orange.svg'); }

.card-item:hover {
	transform: translateY(-10px);
}
.card-item:hover h4, .card-item:hover a,  .card-item:hover p {
	color: var(--white);
}
.card-item:hover img,
.card-item:hover a:after {
	filter: brightness(100);
}
.card-item:hover a:after {
	margin-left: 20px;
}

@media screen and (max-width: 767px) {
	.block__research_cards {
		padding: 1.5rem;
	}
	.cards-inner-wrapper {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}
	.card-item {
		width: 100% !important;
	}
	.card-item:last-child {
		margin-bottom: 0 !important;
	}
}
@media screen and (max-width: 1024px) {
	.card-item {
		width: 48%;
		margin-bottom: 2rem;
	}
}
.footer-logos .logo-list {display: flex;flex-wrap: nowrap;gap: 2rem;}
.block__centered_heading_images img {max-width: 17rem;height: auto;object-fit: contain;}
/*
 *  News & Events / Research
 */
 .flex-row > .alignwide {
	 width: 100%;
 }
article .entry-footer {
	max-width: var(--max-width);
	margin: 8rem auto 5rem;
	padding: 0 2rem;
}
 .post-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    gap: 1.25%;
}
.post-item {
    display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
	background-color: var(--white);
	-webkit-box-shadow: 0 20px 26px rgb(0 0 0 / 2%);
	        box-shadow: 0 20px 26px rgb(0 0 0 / 2%);
    border-radius: 20px;
    overflow: hidden;
	width: 24%;
	-webkit-transition: all 150ms ease;
	-o-transition: all 150ms ease;
	transition: all 150ms ease;
	border: 2px solid transparent;
	margin-bottom: 2rem;
}
.post-item:hover {
	transform: translateY(-10px);
	border-color: var(--blue);
}
.post-item:hover .entry-title {
    color: var(--blue);
}
.post-item:hover a.read-more.button-with-icon.icon-right:after {
    margin-left: 25px;
}
.post-item img{
	width: 100%;
	aspect-ratio: 364 / 242;
	height: auto;
	object-fit: cover;
}
.post-content {
    padding: 20px 25px 35px;
}
.post-item .item-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
    max-width: 100%;
}
.post-item .item-meta .category, .category:not(body), .type-research .tag.status {
    font-size: var(--text-s1);
	font-weight: var(--f-medium);
    text-transform: uppercase;
    display: inline-block;
    background-color: var(--yellow);
    padding: 6px 12px;
    border-radius: 8px;
	max-width: 55%;
}

.category a {
    text-decoration: none;
    color: inherit;
}
.post-item .item-meta .posted-on {
    font-size: var(--text-s1) !important;
    text-transform: uppercase;
    display: inline-block;
	text-align: right;
}
.post-item .entry-title {
    margin: 25px 0;
	font-weight: var(--f-medium) !important;
} 
@media screen and (max-width: 767px) {
	article .entry-footer {
		margin: 5rem auto;
	}
	.post-list {
		justify-content: center;
	}
	.post-content {
		padding: 20px 20px 30px;
	}
	.post-item {
		width: 100% !important;
	}
	.post-item:last-child {
		margin-bottom: 0 !important;
	}
	.post-item .item-meta .category, .category {
		margin-bottom: 12px;
		font-size: 11px;
	}
	.post-item .item-meta .posted-on {
		font-size: 12px;
		text-align: left !important;
		width: 100%;
	}
}
@media screen and (max-width: 1024px) {
	.post-item {
		width: 48%;
		margin-bottom: 2rem;
	}
}

/*
 *  Profile Cards
 */
.block__post_grid {
	padding-left: 3rem;
	padding-right: 3rem;
}
.block__profile_grid .block-row, .block__post_grid .block-row {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}
.block__profile_grid.has-grey-light-background-color {
	padding-top: 4rem;
	/* padding-bottom: 4rem; */
}
.block__profile_grid {
    padding: 0 3rem;
}
.block__profile_grid .wrapper-text {
    margin-bottom: 35px;
}
.block__profile_grid .wrapper-text h3 {
	margin-top: 0 !important;
	text-align: center;
}
.block__profile_grid + .block__profile_grid {
    margin-top: 0;
    padding-top: 0 !important;
}

.profile-list {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0;
}
.profile-list > li {
	width: 23.75%;
	margin-bottom: 1.25rem;
	margin-right: 1.25%;
}
.profile-list > li:last-child {
    margin-right: 0;
}
.profile-card {
	display: block;
    width: 100% !important;
	display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
	background-color: var(--white);
	-webkit-box-shadow: 0 20px 26px rgb(0 0 0 / 2%);
	        box-shadow: 0 20px 26px rgb(0 0 0 / 2%);
    border-radius: 20px;
	padding: 40px;
    overflow: hidden;
	width: 24%;
	height: 100%;
	-webkit-transition: all 150ms ease;
	-o-transition: all 150ms ease;
	transition: all 150ms ease;
	border: 2px solid transparent;
	text-decoration: none;
}
.profile-card:hover {
	transform: translateY(-10px);
	border-color: var(--blue);
}
.profile-card:hover .profile-name, .profile-card:hover .readmore {
	color: var(--blue) !important;
}
.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
}
.profile-name {
	margin: 25px 0 15px;
	color: var(--dark);
}
.profile-title {
	display: block;
	margin: 0 0 15px;
	color: var(--dark);
	font-size: var(--text-h5);
}
.modal-outer {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
    z-index: 2;
}
.modal-outer.open {
	display: block;
}
.modal-inner {
    background-color: var(--white);
    width: 80%;
    max-width: 1090px;
	max-height: 80vh;
	overflow-y: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    position: absolute;
    padding: 50px 80px 60px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	border-radius: 20px;
}
.profile-description {
	width: calc(95% - 160px);
}
.profile-contact {
	margin: 40px 0 10px;
}
.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
	color: transparent;
	font-size: 0;
}
.close-modal:after {
	content: url('images/icon-close.svg');
}

@media screen and (max-width: 767px) {
	.block__profile_grid,
	.block__post_grid {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
	.profile-list {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		margin-bottom: 0 !important;
	}
	.profile-list > li {
		width: 100% !important;
		margin-right: 0;
	}
	.profile-list > li:last-child {
		margin-bottom: 0 !important;
	}
	.modal-inner {
		max-height: 90vh;
		max-width: 95%;
		padding: 50px 30px 30px;
		overflow-y: scroll;
	}
	.profile-description {
		width: 100%;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.profile-list > li {
		width: 48%;
		margin-bottom: 2rem;
		margin-right: 4%;
	}
	.profile-list > li:nth-child(even) {
		margin-right: 0;
	}
}

/*
 * Header
 */ 
.site-header {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	padding: 1.5rem 3rem;
}
@media screen and (max-width: 767px) {
	.site-header {
		padding: 1rem;
	}
	.site-branding {
		max-width: 45% !important;
	}
}

/* Pages header = 100% */
.entry-header.header-image {
	position: relative;
	min-height: 100vh;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;    
	-webkit-box-orient: horizontal;    
	-webkit-box-direction: normal;    
	    -ms-flex-direction: row;    
	        flex-direction: row;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}
.entry-header.header-image .header-image {
    height: auto;
}
.entry-header.header-image .arrow-down {
	display: block;
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	height: 55px;
	width: 13px;
	background-image: url('images/icon-arrow-down.svg');
	background-size: contain;
	background-repeat: no-repeat;
}
.header-mobile-bg {
    min-height: 100vh;
	width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

/* Reaserch header = 60% */
.post .header-image, .research .header-image.post-header {
	width: 100%;
	height: 60vh;
	overflow: hidden;
}
.post .header-image img, .research .header-image.post-header img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: center;
	   object-position: center;
}
.header-inner-wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: var(--max-width-inner);
}
.header-inner-wrapper h1 {
	margin-top: 0 !important;
}


@media screen and (min-width: 480px) {
	.header-mobile-bg {
		background-image: none !important;
		width: 100%;
		min-height: 0 !important;
	}
}

@media screen and (max-width: 767px) {
	.header-mobile-bg {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		padding-bottom: 80px;
		background-attachment: initial;
	}
	.entry-header.header-image .arrow-down {
		display: none;
	}
}

/* FOOTER 
------------------------------------- */

.footer-contact-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
	padding: 5rem 0;
}
.contact-intro {
	min-width: 20%;
}
.contact-intro h4 {
    margin: 0 0 20px;
}
.signup {
	max-width: 75%;
	border-left: 2px solid var(--dark);
	padding-left: 5rem;
}
.signup h4 {
	margin-top: 0;
	margin-bottom: 10px;
	max-width: 500px;
}
.footer-contact-row .signup label {
    display: none !important;
}
.footer-contact-row .signup form > div {
	display: inline-block;
}
.footer-contact-row .signup form div.gform_body {
	width: 100%;
    max-width: 300px;
    margin-right: 15px;
}

.footer-content {
	padding: 5rem 0;
}
.footer-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.footer-row a {
	color: var(--white);
}
.footer-row a.privacy-link {
	text-decoration: none;
}
.footer-row .site-info .footer-logo img {
	width: 220px;
	display: inline-block;
    margin-bottom: 0.5rem !important;
}
.footer-row .site-info p.footer-name {
	font-size: var(--text-h6);
}
.footer-row .site-info, .footer-logos {
	width: 30%;
}
.footer-menu-col {
	width: 40%;
}
.footer-logos {
	padding-left: 10%;
}

#footer-menu li {
	list-style: none;
	break-inside: avoid-column;
}
#footer-menu > li {
	font-size: var(--text-h5);
	margin-bottom: 10px;
}
#footer-menu li a {
	text-decoration: none;
}
#footer-menu, #footer-menu .sub-menu,
.footer-logos .logo-list {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.footer-logos .logo-list li {
	list-style: none;
	margin-bottom: 20px;
	width: 50%;
}
#footer-menu .sub-menu {
	margin-top: 0.5rem;
	margin-bottom: 1.75rem;
}
#footer-menu .sub-menu > li {
	font-size: var(--text-h6);
}

.footer-email-signup {
	width: 70%;
	max-width: 450px;
}
.gform_wrapper.gravity-theme .gform_footer {
    padding-bottom: 0 !important;
}
.footer-email-signup .gform_body label {
	display: none !important;
}
.footer-email-signup .gform_body input[type="email"] {
	background-color: transparent;
	border: 2px solid var(--white);
	color: var(--white);
	outline: none !important;
}
.footer-email-signup .gform_body input[type="email"]::placeholder {
	color: var(--white) !important;
}
.footer-email-signup p {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 320px;
}
.footer-email-signup form > div {
	display: inline-block;
}
.footer-email-signup form > div.gform_body {
	width: 100%;
    max-width: 220px;
    margin-right: 15px;
}

.footer-spacer {
	width: 0%;
}

.footer-copyright {
	width: 30%;
	padding-left: 10%;
}

.footer-acknowledgement {
	padding: 2.5rem 0;
}
.footer-acknowledgement .flags {
	width: 30%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.footer-acknowledgement .acknowledgement {
	width: 70%;
	padding-right: 20%;
}

@media screen and (min-width: 768px) {
	#footer-menu {
		columns: 2;
		-webkit-columns: 2;
		-moz-columns: 2;
	}
}

@media screen and (max-width: 1280px) {
	.signup {
		max-width: 70%;
		padding-left: 2rem;
	}
	.contact-intro {
		min-width: 30%;
	}
	.footer-email-signup p {
		margin-bottom: 0.5rem;
	}
}

@media screen and (max-width: 767px) {
	.footer-content {
		padding: 3rem 0;
	}
	.footer-acknowledgement .flags {
		width: 100%;
		margin-bottom: 30px;
	}
	.footer-acknowledgement .acknowledgement {
		width: 100%;
		padding-right: 0;
	}
	.signup {
		max-width: 100%;
		border-top: 2px solid var(--dark);
		border-left: none;
		padding-top: 2rem;
		margin-top: 2rem;
		padding-left: 0;
	}
	.signup h4 {
		margin-bottom: 30px;
	}
	.footer-email-signup, .footer-spacer, .footer-copyright {
		width: 100%;
	}
	.footer-copyright {
		padding-left: 0;
	}
}

@media screen and (max-width: 1024px) {
	.footer-row .site-info, .footer-logos {
		width: 100%;
		margin-bottom: 30px;
		padding-left: 0 !important;
	}
	.footer-menu-col {
		width: 100%;
	}
}

span.edit-link {
    position: fixed;
    left: -3rem;
    color: var(--white);
    top: 90vh;
    transition: all 150ms ease;
}

span.edit-link a {
    color: inherit;
    text-decoration: none;
    padding: var(--gutter);
    background-color: var(--orange);
    border-radius: 0 100% 100% 0;
    box-shadow: 0px 7px 4px 0px rgba(0,0,0,0);
    transition: all 450ms ease;
}
span.edit-link:hover {
	left: 0;
}

span.edit-link a:hover {
    background-color: var(--blue);
    box-shadow: -2px 7px 4px -2px rgba(0,0,0,0.7); 
}

section.error-404.not-found {
    padding-top: 7rem;
    /* padding-inline: 3rem; */
}

@media screen and (max-width : 1560px) and (min-width: 1440px ) {
    section:not(.block__text_and_image.img-rounded), .header-inner-wrapper, section.block__text_columns_two, footer > *, footer .footer-content, .footer-acknowledgement .inner-wrapper {
        padding-left: calc(var(--gutter) *2);
        padding-right: calc(var(--gutter) *2);
    }
    .block__text_and_image.img-expanded.img-left .wrapper-text,
    .block__text_and_image.img-inline.img-left .wrapper-text {
        margin-right: calc(var(--gutter) *2);
    }
    .block__text_and_image.img-right.img-rounded .wrapper-text {
        width: 40%;
        max-width: 100%;
        margin-left: 0;
        padding-left: calc(var(--gutter) *2);
    }
}

@media screen and (max-width : 1440px) {
	:root {
		--gutter : 1.5rem;
	}
    .block__text_and_image.img-expanded.img-left .wrapper-text {
        margin-right: auto;
    }
	.header-inner-wrapper, footer > *, footer .footer-content, .footer-acknowledgement .inner-wrapper, section.error-404.not-found {
        padding-left: calc(var(--gutter) *2);
        padding-right: calc(var(--gutter) *2);
    }
    .block__text_and_image.img-right.img-rounded .wrapper-text {
        width: 40%;
        max-width: 100%;
        margin-left: 0;
        padding-left: calc(var(--gutter) *2);
		padding-right : 0;
    }
}
@media screen and (max-width: 768px) {
    :root {
        --text-h1 : 4.2rem;
    }

    .header-inner-wrapper {
        margin-top: 7rem;
    }

    .block__text_and_image.img-right.img-rounded .wrapper-text {
        width: 100%;
        padding-right: calc(var(--gutter) * 2);
    }

    .block__text_and_image.img-expanded .wrapper-text {
        max-width: 100%;
        padding-left: calc(var(--gutter) * 2);
        padding-right: calc(var(--gutter) * 2);
    }
    .block__text_and_image .wrapper-text {
        padding-left:0;
        margin-left:0;
    }
    .block__text_image_background .content-box-outer-wrapper .content-box {
        width: 100%;
        max-width: 100%;
        padding-left: calc(var(--gutter) * 2);
        padding-right: calc(var(--gutter) * 2);
    }
    #page section .wrapper-image {
        margin-right: 0;
    }

}



.post-list.filter-news .post-item, 
.post-list.filter-updates .post-item, 
.post-list.filter-education .post-item, 
.post-list.filter-event .post-item,
.post-list.filter-report .post-item {
    display: none;
}

.post-list.filter-event .post-item[data-category='event'],
.post-list.filter-news .post-item[data-category='news'],
.post-list.filter-updates .post-item[data-category="update"],
.post-list.filter-education .post-item[data-category="education"],
.post-list.filter-report .post-item[data-category="report"] {
    display: block;
}

.type_contact h2 {
    margin-top: 0;
}

footer svg.footer-flag {
    width: 62px;
    height: 42px;
    margin-right: 1.5rem;
    border: solid 1px white;
}

.footer-acknowledgement .flags {
    padding-top: 1.5rem;
}

ol li > h5 {
	margin-top: 0;
	margin-bottom: 0;
}

section.no-results.not-found {
    margin-bottom: 5rem;
    margin-top: 4rem;
}

.post-list.post-archive {
    margin-top: 4rem;
}
.rm_hidden {
	display: none !important;
}
p.image-caption {
    margin-top: 0.25rem;
    margin-bottom: 0;
    font-size: var(--text-s0);
    padding-left: 0.25rem;
}
.wrapper-image img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}
header .caption-wrap {
    position: absolute;
    bottom: 0;
    width: 100%;
}

header .caption-wrap .image-caption {
    max-width: var(--max-width);
    margin: 0 auto 1rem;
    text-align: right;
}

.img-rounded p.image-caption {
    margin-top: -1.75rem;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
}

.content-block .video-wrapper {
    max-width: var(--max-width-inner);
    margin: 5rem auto 3rem;
}

.content-block .video-wrapper iframe {
    display: block;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 60rem;
}

@media screen and (max-width: 1280px) and (min-width: 1024px) {
	.content-block .flex-row {
		flex-wrap: nowrap; 
	}
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
    
    .block__text_and_image .wrapper-text {
        margin-left: 0;
    }
    
    .block__text_and_image.img-right.img-rounded .wrapper-text {
        width: 100%;
        padding-right: calc(var(--gutter) * 2);
    }
}

@media screen and (max-width: 480px) {
    .flex-row, .block__text_and_image.img-right.img-rounded .wrapper-text, 
    .header-inner-wrapper, footer > *, 
    footer .footer-content, 
    .footer-acknowledgement 
    .inner-wrapper, section.error-404.not-found, .site-header, .site-header .nav-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
	.img-rounded p.image-caption {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}

	.block__text_and_image.img-rounded .wrapper-text {
		padding-inline: var(--gutter);
	}

	.block__text_image_background .content-box-outer-wrapper .content-box {
		padding-inline: var(--gutter);
	}

	section.content-block.block__text_image_background {
		background-color: white;
		padding-top: 1rem !important;
	}

	.page-id-504 section#row4 .mobile-image img {
		object-position: left;
	}
}
