/*
Theme Name: Kinneir Dufort
Author: Stuart Magog for Winter Design
Author URI: https://www.winterdesign.co.uk/
Version: 1.0.0
*/

/* @font-face {
    font-family: 'New Rail Alphabet';  
	src: url(fonts/NewRailAlphabet-BoldWEB.woff2), url(fonts/NewRailAlphabet-BoldWEB.woff);
}
@font-face{
	font-family:"Neue Helvetica W05";
	src:url("fonts/f9c5199e-a996-4c08-9042-1eb845bb7495.woff2") format("woff2"), url("fonts/2a34f1f8-d701-4949-b12d-133c1c2636eb.woff") format("woff");
	font-weight: 300;
	font-style: normal;
}
@font-face{
	font-family:"Neue Helvetica W05";
	src:url("fonts/5e4f385b-17ff-4d27-a63a-9ee28546c9a8.woff2") format("woff2"), url("fonts/116cde47-4a07-44a5-9fac-cbdcc1f14f79.woff") format("woff");
	font-weight: 300;
	font-style: italic;
}
@font-face{
	font-family:"Neue Helvetica W05";
	src:url("fonts/800da3b0-675f-465f-892d-d76cecbdd5b1.woff2") format("woff2"), url("fonts/7b415a05-784a-4a4c-8c94-67e9288312f5.woff") format("woff");
	font-weight: 700;
	font-style: normal;
} */

/* -------------------------------------------------------------------------------------------------------------------
Normalize
------------------------------------------------------------------------------------------------------------------- */
html,mark{color:#000}body,figure,form,h1,h2,h3,h4,h5,h6{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{background:#fff;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}button,html,input,select,textarea{font-family:sans-serif}body{padding:0}a:focus{outline:dotted thin}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0}dl,menu,ol,p,pre,ul{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:after,q:before{content:'';content:none}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 16px}nav ol,nav ul{list-style:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.nomargin{margin:0 !important;}

/* -------------------------------------------------------------------------------------------------------------------
Variables
------------------------------------------------------------------------------------------------------------------- */
:root {
    /* Colors */
    --blue: #002B49; /* RGB: 0, 43, 73 */
	--red: #F9423A; /* RGB: 249, 66, 58 */
	--grey: #F2F4F5; /* RGB: 229, 233, 236 */
	--lightblue: #298FC2; /* RGB 41, 143, 194 */

    /* Font sizes */
	/* h4-h6 not used in XD */
    --h1: 3.5em; /* Short titles */
	--h1-small: 3.5em; /* Long titles */
    --h2: 2.2em;
    --h3: 1.875em;
	--h4: 1.5em;
	--p: 1.15em;
	--large: 1.35em; /* Large paragraphs */
    --medium: 1.15em; /* Regular paragraphs, form fields, labels, buttons, top nav */
    --small: 0.75em; /* Small paragraphs */
    --tiny: 0.75em; /* Meta/tag, small buttons */
	--striking: 1.875em; /* Very Large paragraphs */
	--striking-large: 2.2em; /* Page intro */
	--striking-small: 1.55em; /* Small page intro */
}
@media (min-width:1024px){
	:root {
		--p: 1em;
	}
}
@media (min-width:1280px){
	:root {
		--h1: 5em;
		--h1-small: 4.375em;
		--h4: 1.35em;
		--large: 1.25em;
		--medium: 0.95em;
		--tiny: 0.625em;
		--striking-large: 3.125em;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Logged-in users
------------------------------------------------------------------------------------------------------------------- */
.logged-in.admin-bar #wpadminbar {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
}
body.logged-in.admin-bar .mainheader { /* Height of admin bar = 46px */
    top: 46px;
}
body.logged-in.admin-bar .nav-btn { /* top = 38px + 46px */
    top: 84px;
}
@media screen and (max-width: 600px) {
	.logged-in.admin-bar #wpadminbar {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
	}
}
@media (min-width:783px) { /* Height of admin bar = 32px */
    body.logged-in.admin-bar .mainheader {
        top: 32px;
    }
	body.logged-in.admin-bar .nav-btn { /* top = 38px + 32px */
		top: 70px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
General
------------------------------------------------------------------------------------------------------------------- */
html {
	font-smoothing: antialiased;
    scroll-behavior: smooth;
	scroll-padding-top: 140px;
	/* background: url(assets/img/grid16.gif); */
}
@-moz-document url-prefix() {
  h1, h2 {
    font-weight: 500 !important;
  }
}
@media (min-width: 768px) {
	.mobile-only {
		display: none;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Typography
------------------------------------------------------------------------------------------------------------------- */
html {
	font-size: 12px;
}
body {
	font-family: "Neue Helvetica W05", helvetica, arial, sans-serif;
	font-weight: 300;
  	line-height: 1.5;
  	color: var(--blue);
}
p {
    font-size: var(--p);
	margin: 0 0 1.25em;
	letter-spacing: 0.05em;
}
p strong, p b {
	letter-spacing: 0.025em;
}
li {
    font-size: var(--p);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
	margin: 0 0 0.5em;
}
h1 {
	font-size: var(--h1);
	font-family: 'New Rail Alphabet';
}
h2, .h2 {
	font-size: var(--h2);
}
h2 {
	font-family: 'New Rail Alphabet';
}
h3, .h3 {
	font-size: var(--h3);
	line-height: 1.3;
}
h4 {
	font-size: var(--large);
}
h5 {
	font-size: var(--medium);
}
h6 {
	font-size: var(--medium);
}
.large-text{
	font-size: var(--large);
	letter-spacing: 0;
}
.large-text * {
	letter-spacing: 0;	
}
.medium-text{
	font-size: var(--medium);
}
.strikingFormat{
	font-size: var(--striking);
	letter-spacing: 0;
}
p.strikingFormatLarge, li.strikingFormatLarge{
	font-family: 'New Rail Alphabet';
	font-size: var(--striking-large);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.45em;
	letter-spacing: 0;
}
p.strikingFormatSmall, li.strikingFormatSmall{
	font-size: var(--striking-small);
	letter-spacing: 0;
}
.strikingFormatSmall * {
	letter-spacing: 0;
}
small, .small-text {
	font-size: var(--small);
	line-height: 1.3;
}
.tiny{
	font-size: var(--tiny);
	letter-spacing: 0.1em;
}
li {
	letter-spacing: 0.05em;
}
li ul {
	margin: 0 !important;
}
li ul li {
	font-size: 1em !important;
}
/*
 p + h1, p + h2, p + h3, p + h4, p + h5, p + h6{
	margin-top: 1em;
}
ul + h1, ul + h2, ul + h3, ul + h4, ul + h5, ul + h6{
	margin-top: 1em;
} 
*/
@media (min-width:1024px){
	html{
		font-size: 16px;
	}
}
@media (min-width: 1400px) {
	ul {
		padding:0 0 0 18px;
	}
	ol {
		padding:0 0 0 21px;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Common styles and classes
------------------------------------------------------------------------------------------------------------------- */
::-moz-selection {
  background: #F1B434;
  text-shadow: none; }

::selection {
  background: #F1B434;
  text-shadow: none;
}
a {
	color: var(--blue);
    border-bottom: 1px solid;
	outline: 0 !important;
    text-decoration: none;
    transition: color 0.25s;
}
a:hover, a:active {
	color: var(--lightblue);
	text-decoration: none;
}
.full-width-img, .full-width-image {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
}
.w75{
	width: 75%;
}
.pointer {
	cursor: pointer;
}
.float-left {
	float: left;
	width: 50%;
}
.float-right {
	float: right;
	width: 50%;
	text-align: right;
}
.intro-with-border{
	border-top: 1px solid var(--blue);
	padding-top: 22px;
}
.opacity50 {
	opacity: 0.5;
	transition: all 1s;
}
hr {
	clear: both;
	border: 0;
}
/* -------------------------------------------------------------------------------------------------------------------
Buttons
------------------------------------------------------------------------------------------------------------------- */
a.button, button {
    font-size: var(--tiny);
	line-height: 42px;
	height: 40px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
	color: var(--blue);
	background-color: transparent;
	border: 1px solid var(--blue);
	padding: 0 16px;
	display: inline-block;
	transition: all 0.25s;
	border-radius: 0;
	margin: 0;
}
a.button:hover, a.button:focus,
button:hover, button:focus,
a.button:active, a.button:active {
	text-decoration: none;
	color: #fff;
	background-color: var(--blue);
	transition: all 0.25s;
}
a.button-large {
	font-size: var(--large);
}
a.button-blue {
	color: #fff;
	background-color: var(--blue);
	border: 0;
	letter-spacing: 0.05em;
	text-transform: none;
}
/* -------------------------------------------------------------------------------------------------------------------
Layout
------------------------------------------------------------------------------------------------------------------- */
.main {
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}
.container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	clear: both;
	overflow: hidden;
	box-sizing: border-box;
}
.row {
	padding: 40px 0 20px;
	clear: both;
	overflow: hidden;
	width: 100%;
    box-sizing: border-box;
}
.slimrow {
	padding: 0;
	clear: both;
	overflow: hidden;
}
.row > .container > .strikingFormatLarge {
	margin-bottom: 32px;
}
@media (min-width:768px){
    .main {
        padding: 0;
    }
    .container {
        padding: 0 40px;
    }
}
@media (min-width:1024px){
    .row {
	    padding: 64px 0 32px;
    }
	/* prevent paragraphs from stretching full width of page */
	.container > p {
		max-width: 85%;
	}
	.row > .container > .strikingFormatLarge {
		margin-bottom: 64px;
	}
}
@media (min-width:1400px){
    .container {
        padding: 0;
    }
}
@media (min-width:1600px){
	.row {
		padding: 80px 0 40px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Flexible Column Layouts ** REMOVE UNUSED AT END OF DEV **
------------------------------------------------------------------------------------------------------------------- */
.flexcols, .flexcols1024, .flexcols1280{
	width: 100%;
	clear: both;
}
.flexcols > div, .flexcols1024 > div, .flexcols1280 > div{
    box-sizing: border-box;
	margin-bottom: 24px;
	overflow: hidden;
}
@media (min-width:768px){
	.flexcols{
		display: flex;
		flex-wrap: wrap;
        justify-content: flex-start;
	}
	.col1of2, .col1of4, .col1of8{
		width: 48%;
        margin: 0 4% 2% 0;
	}
    .col1of2:nth-child(even), .col1of4:nth-child(even), .col1of8:nth-child(even){
        margin-right: 0;
    }
    .col1of2tight, .col1of4tight, .col1of8tight{
        width: 50%;
    }
    .col1of3, .col1of5, .col1of6, .col1of7, .col1of9{
        width: 31.3333%;
        margin: 0 3% 2% 0;
    }
    .col1of3:nth-child(3n+0), .col1of5:nth-child(3n+0), .col1of6:nth-child(3n+0), .col1of7:nth-child(3n+0), .col1of9:nth-child(3n+0){
        margin-right: 0;
    }
    .col1of3tight, .col1of5tight, .col1of6tight, .col1of7tight, .col1of9tight{
        width: 33.3333%;
    }
	/* Sub columns */
	.flexcols .flexcols {
		display: block;
	}
	.flexcols .flexcols .col1of2 {
		width: 100%;
		margin: 0 0 2%;
	}
	.cols-thirds-col1{
		width: 48.5%;
		margin-right: 3%;
	}
	.cols-thirds-col2{
		width: 48.5%;
	}
}
@media (min-width:1024px){
    .flexcols1024{
		display: flex;
		flex-wrap: wrap;
        justify-content: center;
	}
	/* Sub columns */
	.flexcols .flexcols {
		display: flex;
	}
	.flexcols .flexcols .col1of2{
		width: 48%;
		margin: 0 2% 2% 0;
	}
	.flexcols .flexcols .col1of2:nth-child(even){
		margin-right: 0;
	}
	.cols-thirds-col1{
		width: 31%;
	}
	.cols-thirds-col2{
		width: 66%;
	}
}
@media (min-width:1280px){
    .flexcols1280{
		display: flex;
		flex-wrap: wrap;
        justify-content: center;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Mobile Navigation Button
------------------------------------------------------------------------------------------------------------------- */
.nav-btn{
	width: 24px;
	height: 22px;
	position: fixed;
	top: 38px;
	right: 24px;
    left: auto;
	z-index: 800;
	cursor: pointer;
	transition: all 0.25s;
}
.line1, .line2, .line3{
	width: 24px;
	height: 2px;
	display: block;
	margin-bottom: 5px;
	background: var(--blue);
	opacity: 1;
	transition: all 0.25s;
	border-radius: 50px;
}
.line3{
	margin-bottom: 0;
}
.line1-alt{
	transform: rotate(45deg);
	position: absolute;
	top: 7px;
}
.line2-alt{
	opacity: 0;
}
.line3-alt{
	transform: rotate(-45deg);
	position: absolute;
	top: 7px;
}
@media (min-width:768px){
    .nav-btn{
        top: 38px;
	    right: 40px;
    }
}
@media (min-width:1280px){
	.nav-btn{
		display: none;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Mobile Navigation Overlay
------------------------------------------------------------------------------------------------------------------- */
.navslide {
	width: 0;
	height: 100%;
    background: var(--blue);
	top: 0;
	left: 0;
	transition: all 0.25s;
	z-index: 600;
	position: fixed;
}
.navslide-active {
	width: 100%;
}

/* -------------------------------------------------------------------------------------------------------------------
Navigation Menu
------------------------------------------------------------------------------------------------------------------- */
.nav-elements{
	position: absolute;
	top: 120px;
	left: -3000px;
	opacity: 0;
}
.nav-elements.nav-active{
	left: 40px;
    right: 40px;
	opacity: 1;
}
.nav-elements ul{
	margin: 0;
	padding: 0;
}
.nav-elements ul li, .nav-elements p{
	font-size: var(--large);
	margin: 0 0 0.5em;
	letter-spacing: 0;
}
.nav-elements ul li{
    margin: 0;
	border-bottom: 1px solid rgba(255,255,255,0.25);
}
.nav-elements li a{
    color: #fff;
    text-decoration: none;
    border: none;
    display: block;
    padding: 12px 0;
}
.nav-elements a:hover{
    color: #fff;
}
.nav-elements ul.sub-menu{
    margin: 0;
	padding-bottom: 16px;
}
.nav-elements ul li ul li{
    font-size: 1em;
    border: none;
}
.nav-elements ul li ul li a{
    padding: 0 0 0.5em 0;
}
.nav-elements ul li ul li a::before{
    content: '- ';
}
@media (min-width:1280px){
	.navslide {
		display: none;
	}
	.nav-elements {
		position: initial;
		top: auto;
		left: auto;
		opacity: 1;
	}
	.nav-elements ul {
		margin: 0;
		text-align: right;
		position: absolute;
		top: 25px;
		right: 40px;
		display: flex;
	}
	.nav-elements ul li {
		font-size: var(--medium);
		font-weight: 700;
		margin: 0 20px;
		padding: 0;
		border: none;
		transition: background-color 0.25s;
		position: relative; /* required for dropdown */
	}
	.nav-elements li a {
		border: none;
		color: var(--blue);
		display: inline-block;
		padding: 0;
		height: 40px;
		line-height: 40px;
		position: relative;
		display: -webkit-inline-box;
		-webkit-box-pack: center;
		-webkit-box-align: center;
	}
	.nav-elements li a::before{
		content: '';
		background: var(--blue);
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 0;
		height: 2px;
		transition: all 0.3s ease-in-out;
	}
	.nav-elements li a:hover {
		color: var(--blue);
	}
	.nav-elements li:hover a::before{
		width: 100%;
	}
	.nav-elements li.current-menu-item,
	.nav-elements li.current-page-ancestor{
	 	background-color: var(--blue);
	 	margin: 0;
	 	padding: 0 20px;
	}
	.nav-elements li.current-menu-item:hover,
	.nav-elements li.current-page-ancestor:hover{
		background-color: var(--lightblue);
	}
	.nav-elements li.current-menu-item a,
	.nav-elements li.current-page-ancestor a{
	 	color: #fff;
		background: none;
		-webkit-text-fill-color: #fff;
	}
	.nav-elements li.current-menu-item a::before,
	.nav-elements li.current-page-ancestor a::before{
	 	display: none;
	}
	.single-case_study .nav-elements li#menu-item-28,
	.post-type-archive-case_study .nav-elements li#menu-item-28,
	.single-thinking .nav-elements li#menu-item-983,
	.post-type-archive-thinking .nav-elements li#menu-item-983,
	.single-vacancy li#menu-item-25,
	.single-post #menu-item-23 {
		background-color: var(--blue);
		padding: 0 20px;
	}
	.single-case_study .nav-elements li#menu-item-28 a,
	.post-type-archive-case_study .nav-elements li#menu-item-28 a,
	.single-thinking .nav-elements li#menu-item-983 a,
	.post-type-archive-thinking .nav-elements li#menu-item-983 a,
	.single-vacancy li#menu-item-25 a,
	.single-post #menu-item-23 a {
		color: #fff;
	}
	/* ----- Dropdowns ----- */
    .nav-elements ul.sub-menu{
        visibility: hidden;
        opacity: 0;
        transition: all 0.35s;
        padding: 0;
        position: absolute;
        top: 49px;
        left: -20px;
        width: 160px;
		display: block;
		background-color: var(--blue);
		text-align: left;
		border-top: 8px solid #fff;
    }
	.nav-elements .sub-menu li {
		background: none !important;
        display: block;
        margin: 0;
		padding: 0;
        border: none;
		height: 46px;
    }
    .nav-elements li:hover .sub-menu{
        visibility: visible;
        opacity: 0.99;
		top: 42px;
    }
	.nav-elements .sub-menu li a{
		padding: 0 18px;
		height: 48px;
		line-height: 48px;
		color: #fff;
		background-color: var(--blue);
		display: block;
		transition: all 0.25s;
	}
	.nav-elements .sub-menu li a:hover{
		background-color: var(--lightblue);
	}
    .nav-elements .sub-menu li a::before{
		display: none !important;
    }
}
@media (min-width:1400px){
	.nav-elements ul{
		right: 0;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Header
------------------------------------------------------------------------------------------------------------------- */
.mainheader{
    position: fixed;
	width: 100%;
	clear: both;
	top: 0;
	z-index: 700;
	height: 90px;
	box-sizing: border-box;
    background: #fff;
}
.main{
    margin-top: 90px; /* Height of header */
}
.mainheader .container{
    position: relative;
	padding: 0 24px;
    overflow: visible /* required for dropdown menu */
}
.mainheader a{
    border: none;
}
.mainheader .logo{
    position: absolute;
    top: 15px;
    left: 24px;
}
.mainheader .logo a {
	display: block;
	width: 60px;
	height: 40px;
}
@media (min-width:768px) {
    .mainheader .container{
	    padding: 20px 40px;
    }
    .mainheader .logo{
		left: 40px;
    }
}
@media (min-width:1400px){
	.mainheader .container{
		padding: 0;
	}
    .mainheader .logo{
        left: 0;
    }
}

/* -------------------------------------------------------------------------------------------------------------------
Fixed Header
------------------------------------------------------------------------------------------------------------------- */
header.fixed-header{
	z-index: 700;
    position: fixed;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------------------------------------------------------------------
Footer
------------------------------------------------------------------------------------------------------------------- */
.mainfooter{
    width: 100%;
	clear: both;
	overflow: hidden;
	padding: 80px 0 0;
}
.mainfooter p{
	margin: 0;
}
.mainfooter ul{
	list-style: none;
	padding: 0;
}
.mainfooter a{
	border-color: transparent;
}
.mainfooter a:hover{
	border-color: inherit;
}
/* ----- Flexcols ----- */
.mainfooter .flexcols > div{
	margin-bottom: 32px;
}
.mainfooter .w75{
	width: 100%;
}
/* ----- Menu ----- */
.menu-footer-menu-container li{
	font-size: var(--large);
}
.menu-footer-menu-container li a{
	border-color: inherit;
}

/* ----- Social Media ----- */
.social-media{
	list-style: none;
	margin: 24px 0;
	padding: 0;
}
.social-media li{
	font-size: var(--h3);
	display: inline;
	margin: 0 24px 0 0;
}
.social-media a{
	border: none;
}

/* ----- Accreditations ----- */
.accreditations{
	margin: 0 0 10px;
}
.accreditations li{
	display: inline-block;
	margin: 0 4px 0 0;
	max-width: 74px;
}
.accreditations a{
	border: none;
}
@media (min-width:400px) {
	.accreditations li{
		margin: 0 16px 0 0;
	}
}
@media (min-width:768px) {
	.mainfooter {
		padding-bottom: 40px;
	}
	/* Align footer columns to bottom */
	.mainfooter .col1of2{
		display:flex;
		flex-direction:column;
	}
	.mainfooter .col1of3 {
		width: 100%;
	}
	.mainfooter .col1of2 > *{
		margin-top: auto;
	}
	.mainfooter .flexcols > .col1of3:last-of-type {
		margin-bottom: 0;
	}
	/* ----- Accreditations ----- */
	.accreditations{
		text-align: right;
	}
	.accreditations li{
		margin: 0 0 0 32px;
	}
}
@media (min-width:1024px) {
	.mainfooter .col1of3:nth-child(1) {
		width: 25%;
	}
	.mainfooter .col1of3:nth-child(2) {
		width: 31%;
		padding-right: 4%;
	}
	.mainfooter .col1of3:nth-child(3) {
		width: 34%;
	}
	.mainfooter .flexcols > .col1of2 {
		width: 30%;
		margin: 0;
	}
	.mainfooter .flexcols > .col1of2:first-of-type {
		width: 70%;
		padding-right: 4%;
	}
	.mainfooter .flexcols > div {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		margin-bottom: 0;
	}
	#menu-footer-menu {
		margin-bottom: 4px;
	}
	.accreditations {
		margin-bottom: 4px;
	}
	.accreditations li{
		margin: 0 0 0 16px;
	}
	.mainfooter .col1of3 .small-text p:last-of-type {
		margin-bottom: 4px;
	}
	.social-media{
		margin: 0 0 16px;
	}
	.social-media li{
		font-size: var(--h4);
		margin: 0 12px 0 0;
	}
	.mainfooter .col1of3 .large-text {
		font-size: var(--p);
	}
}
@media (min-width:1280px) {
	.mainfooter .w75{
		width: 75%;
	}
	.accreditations li{
		margin: 0 0 0 32px;
	}
	.social-media li{
		margin: 0 24px 0 0;
	}
	.mainfooter .col1of3 .large-text {
		font-size: var(--large);
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Photo Panel (used for CTA & block quotes)
------------------------------------------------------------------------------------------------------------------- */
.photo-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 344px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	margin-top: 40px;
}
@media (min-width:768px) {
	.photo-panel {
		height: 660px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
CTA Panel (background photo, message and button)
------------------------------------------------------------------------------------------------------------------- */
.cta {
	width: 80%;
	padding: 24px;
	box-sizing: border-box;
	background-image: url(assets/img/corner-white-br.svg);
	background-size:cover;
	background-position: bottom right;
	background-repeat: no-repeat;
}
.cta p{
	margin-bottom: 0.5em;
}
@media (min-width:768px) {
	.cta {
		width: 40%;
		padding: 56px 48px;
		min-width: 420px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
New CTA Panel
------------------------------------------------------------------------------------------------------------------- */
.cta-panel {
	background-color: var(--grey);
}
.cta-image {}
.cta-text {
	padding: 24px;
	box-sizing: border-box;
}
.cta-image img {
	width: 100%;
	height: auto;
}
@media (min-width:768px) {
	.cta-panel {
		display: flex;
	}
	.cta-image {
		width: 50%;
		overflow: hidden;
		position: relative;
	}
	.cta-image img {
		object-fit: cover;
		width: auto;
		height: auto;
		max-height: 100%;
		min-width: 100%;
		min-height: 100%;
		position: absolute;
		top: 0;
		right: 0;
	}
	.cta-text {
		width: 50%;
		padding: 88px 32px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.cta-text p:last-of-type {
		margin-bottom: 0;
	}
}
@media (min-width:1024px) {
	.cta-image {
		width: 38%;
	}
	.cta-image img {
		max-width: 100%;
	}
	.cta-text {
		width: 62%;
		padding: 88px 24px 88px 54px;
	}
	
}
/* -------------------------------------------------------------------------------------------------------------------
Footer CTA Panel (team member related post)
------------------------------------------------------------------------------------------------------------------- */
.footer-cta {
    background-color: var(--grey);
    padding: 40px;
}
.footer-cta--image {
	margin: 0 0 40px;
}
body.single .footer-cta {
	margin-top: 40px;
}
@media (min-width:500px) {
	.footer-cta {
		display: flex;
	}
	.footer-cta--image {
		width: 40%;
		max-width: 200px;
		margin: 0;
	}
	.footer-cta--text {
		width: 60%;
		max-width: 440px;
		padding-left: 5%;
		box-sizing: border-box;
	}
	.footer-cta--text .strikingFormatLarge {
		margin: 0 0 0.1em;
	}
	.footer-cta--text p:last-of-type{
		margin-bottom: 0;
	}
}
@media (min-width:768px) {
	.footer-cta--text {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}
@media (min-width:1280px) {
    .footer-cta {
        padding: 60px 60px 60px 26%;
    }
	body.single .footer-cta {
		margin-top: 80px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Quote Panel (quote & cite)
------------------------------------------------------------------------------------------------------------------- */
.quote-panel {
	background-color: var(--blue);
	background-image: url("assets/img/white-cut-br.svg");
	background-size: 72px 72px;
	background-position: bottom right;
	background-repeat: no-repeat;
    color: #fff;
	padding: 40px;
	box-sizing: border-box;
}
.quote-panel--quote-text p {
	margin-bottom: 0;
}
.quote-panel--quote-text {
	background-image: url(assets/img/quote-white-left.svg), url(assets/img/quote-white-right.svg);
    background-size: 35px 32px, 35px 32px;
    background-position: top 0 left 0, bottom 8px right 0;
    background-repeat: no-repeat;
	padding: 40px 0 48px;
}
.quote-panel--image {
	max-width: 200px;
}
.quote-panel--image img {
	width: 100%;
	height: auto;
	margin-bottom: 40px;
}
@media (min-width:768px) {
	.quote-panel {
		display: flex;
	}
	.quote-panel--image {
		width: 21%;
		max-width: 272px;
		max-height: 272px;
		margin-right: 5%;
	}
	.quote-panel--image + .quote-panel--quote {
		width: 75%;
	}
}

@media (min-width:1024px) {
	.quote-panel--quote-text {
		background-position: top 0 left 0, bottom 22px right 0;
		padding: 2px 50px 32px;
	}
	.quote-panel--quote .large-text {
		padding-left: 50px;
	}
}
/* Block Quote */
blockquote {
	background-color: var(--blue);
/* 	background-image: url(assets/img/quote-white-left.svg), url(assets/img/quote-white-right.svg);
    background-size: 35px 32px, 35px 32px;
	background-position: top 40px left 40px, bottom 40px right 40px; */
	background-image: url(assets/img/quote-white-left.svg);
    background-size: 35px 32px;
	background-position: top 40px left 40px;
    background-repeat: no-repeat;
	padding: 54px 0 24px 96px;
	margin: 2.5em 0;
	color: #fff !important;
}
blockquote > * {
/* 	margin-top: 1.25em; */
	margin: 0 40px 0 0;
}
blockquote > p:first-of-type, blockquote > h2:first-of-type, blockquote > h3:first-of-type, blockquote > h4:first-of-type, blockquote > h5:first-of-type, blockquote > h6:first-of-type {
	position: relative;
	padding: 0 60px 16px 0;
}
blockquote > p:first-of-type:after, blockquote > h2:first-of-type:after, blockquote > h3:first-of-type:after, blockquote > h4:first-of-type:after, blockquote > h5:first-of-type:after, blockquote > h6:first-of-type:after {
	content: '';
	width: 35px;
	height: 32px;
	background-image: url(assets/img/quote-white-right.svg);
    background-size: 35px 32px;
	background-position: bottom 0 right 0;
    background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	right: 0;
}
blockquote cite {
	display: block;
	font-style: normal;
	font-size: var(--small);
	margin-top: 1.25em;
}
/* -------------------------------------------------------------------------------------------------------------------
Page Banner
------------------------------------------------------------------------------------------------------------------- */
.banner .container {
	max-height: 720px;
	min-height: 500px;
	padding: 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}
.banner .container::after {
	content: '';
	background-image: linear-gradient( to right, rgba(0,0,0,0.5), rgba(0,0,0,0) );
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.banner h1 {
	margin: 0;
	color: #fff;
	position: relative;
	z-index: 1;
	line-height: 1;
}
.banner p {
	position: relative;
	z-index: 1;
	margin-top: 16px;
}
.banner a {
	padding: 0 48px 0 24px;
	background-image: url("assets/img/icon-arrow.svg");
	background-repeat: no-repeat;
	background-position: center right 24px;
	background-size: 9px 12px;
	font-size: var(--p);
	letter-spacing: 0.05em;
	line-height: 50px;
	height: 50px;
}
/* @media (max-width:767px) {
	.banner a {
		padding: 0 48px 0 24px;
		line-height: 50px;
		height: 50px;
	}
} */
@media (min-width:768px) {
	.banner .container {
		padding: 40px;
	}
	.banner .container::after {
		width: 85%;
	}
}
@media (min-width:1400px) {
	.banner .container{
		padding: 250px 90px;
	}
	.banner h1 {
		max-width: 60%;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Page Title (for pages without a banner image)
------------------------------------------------------------------------------------------------------------------- */
.pagetitle{
	padding-top: 40px;
	margin-top: 21px;
}
@media (min-width: 1024px) {
	.pagetitle{
		padding-top: 64px;
	}
}
@media (min-width: 1600px) {
	.pagetitle{
		padding-top: 80px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Logo Grid
------------------------------------------------------------------------------------------------------------------- */
.logo-grid{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.logo-grid--logo {
	max-width: 264px;
	max-height: 168px;
	width: 50%;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100px;
}
.logo-grid--logo img {
	opacity: 0.37;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  	filter: grayscale(100%);
	max-width: 80%;
	max-height: 100%;
	width: auto;
	height: auto;
	margin: auto;
}
@media (min-width:600px) {
	.logo-grid--logo{
		width: 33.33%;
		padding: 20px;
		margin-bottom: 12px;
	}
	.logo-grid--logo img{
		max-width: 80%;
		max-height: 80%;
	}
}
@media (min-width:840px) {
	.logo-grid--logo {
		height: 168px;
	}
}
@media (min-width:1024px) {
	.logo-grid--logo{
		width: 20%;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Team Media Object Button (for opening the team grid section)
------------------------------------------------------------------------------------------------------------------- */
a[href="#team"] {
    background-color: var(--blue);
	background-image: none !important;
	color: #fff;
	font-weight: 700;
	border-radius: 0;
	border: 0;
	font-size: var(--large);
	text-transform: none;
	letter-spacing: 0.05em;
	padding-right: 60px;
	position: relative;
}
a[href="#team"]::after {
	content: '';
	background-image: url("assets/img/icon-plus.svg");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	width: 17px;
	height: 17px;
	position: absolute;
	top: 16px;
	right: 16px;
	transition: all 0.25s;
}
a[href="#team"]:hover::after {
	transform: rotate(45deg);
}
a.open-team {
	background-color: var(--lightblue);
}
a.open-team::after {
	transform: rotate(45deg);
}

/* -------------------------------------------------------------------------------------------------------------------
Team Grid
------------------------------------------------------------------------------------------------------------------- */
.team-grid {
	display: none;
}
.team-grid--member {
	display: flex;
}
.team-grid--member--headshot {
	width: 54%;
	margin-right: 3%;
}
.team-grid--member--headshot img {
	width: 100%;
	height: auto;
}
.team-grid--member--meta {
	width: 43%;
}
.team-grid--member--meta p.tiny {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}
.team-grid--member--meta h4 {
	border-top: 1px solid var(--blue);
	padding-top: 8px;
	margin-bottom: 0.75em;
}
.team-grid--member--meta .far,
.team-grid--member--meta .fab {
	font-size: 18px;
}
.team-grid--member--meta a {
	border: 0;
	margin-right: 8px;
}
@media (min-width:768px) and (max-width:1023px) {
	.team-grid .col1of3 {
		width: 48%;
		margin: 0 1% 2%;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Team Modal
------------------------------------------------------------------------------------------------------------------- */
.modal {
	opacity: 0;
	display: flex;
	position: fixed;
	z-index: -1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.75);
	transition: opacity 0s;
}
.modal-active {
	z-index: 999999;
	opacity: 1;
	transition: opacity 0.25s;
}
.team-popup {
	background-color: #fff;
	padding: 32px;
	box-sizing: border-box;
	position: relative;
	max-width: 880px;
	margin: auto;
}
.team-popup-close {
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	position: absolute;
	top: 32px;
	right: 32px;
	z-index: 2;
	cursor: pointer;
}
.team-modal--slides--slide {
	margin-top: 32px;
}
.team-modal--slides .team-grid--member--headshot {
	width: 100%;
	margin-right: 0;
	margin-bottom: 40px;
}
.team-modal--slides .team-grid--member--headshot div{
	width: 100%;
}
.team-modal--slides--slide img{
	margin-bottom: 12px;
}
.team-modal--slides--slide a {
	border: 0;
	margin-right: 2px;
	color: #fff;
	background-color: var(--blue);
	padding: 8px 10px;
	transition: all 0.25s;
}
.team-modal--slides--slide a:hover {
	background-color: var(--lightblue);
}
.team-modal--slides--slide .team-grid--member--meta{
	width: 100%;
}
@media (min-width:1024px){
	.team-popup{
		background-color: transparent;
		background-image: url(assets/img/corner-white-br-small.svg);
		background-size:cover;
		background-position: bottom right;
		background-repeat: no-repeat;
		padding: 0;
	}
	.team-modal--slides--slide {
		display: flex;
		padding: 3.6666%;
		margin-top: 0;
	}
	.team-modal--slides .team-grid--member--headshot {
		width: 32%;
		margin-right: 3.6666%;
		margin-bottom: 0;
	}
	.team-modal--slides .team-grid--member--meta {
		width: 57%;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Image Galleries
------------------------------------------------------------------------------------------------------------------- */
.gallery {
	clear: both !important;
}
.gallery + style + .gallery {
	margin-top: -32px !important;
}
.gallery::after{
	content: '';
	clear: both;
	height: 1px;
}
.gallery .gallery-item dt {
	width: 100% !important;
	height: 100% !important;
	display: block;
}
.gallery img {
	border: none !important;
	object-fit: cover !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	height: auto;
}
.gallery a{
	border: 0;
	display: block;
}
@media (max-width: 767px) {
	.gallery .gallery-item {
		width: 100% !important;
		float: none !important;
	}
}
@media (min-width:768px) {
	.gallery-columns-2, .gallery-columns-4 {
		display: flex;
		flex-wrap: wrap;
	}
	.gallery-columns-3, .gallery-columns-5 {
		display: grid !important;
		box-sizing: border-box;
	/*	grid-auto-columns: 32%;*/
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 30px;
		grid-row-gap: 30px;
	}
	.gallery-columns-5 {
		grid-template-rows: repeat(3, 1fr);
	}
	.gallery-columns-3 img, .gallery-columns-5 img {
		width: auto;
		height: auto;
		min-width: 100%;
		min-height: 100%;
	}
	.gallery-columns-2 .gallery-item, .gallery-columns-4 .gallery-item {
		width: 49% !important;
		height: auto !important;
		max-width: 646px !important;
		margin: 0 1% 1% 0;
	}
	.gallery-columns-2 .gallery-item:nth-child(even), .gallery-columns-4 .gallery-item:nth-child(even) {
		margin: 0 0 1% 1%;
	}
	.gallery-columns-3 .gallery-item, .gallery-columns-5 .gallery-item {
		margin: 0 !important;
	}
	.gallery-columns-3 .gallery-item, .gallery-columns-5 .gallery-item {
		float: none !important;
		width: auto !important;
	}
	.gallery-columns-3 .gallery-item:nth-child(1),
	.gallery-columns-5 .gallery-item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 2; /* row / col / span row / span col */
	}
	.gallery-columns-3 .gallery-item:nth-child(2),
	.gallery-columns-5 .gallery-item:nth-child(2) {
		grid-area: 1 / 3 / span 1 / span 1;
	}
	.gallery-columns-3 .gallery-item:nth-child(3),
	.gallery-columns-5 .gallery-item:nth-child(3) {
		grid-area: 2 / 3 / span 1 / span 1;
	}
	.gallery-columns-3 .gallery-item:nth-child(4),
	.gallery-columns-5 .gallery-item:nth-child(4) {
		grid-area: 3 / 1 / span 1 / span 1;
	}
	.gallery-columns-3 .gallery-item:nth-child(5),
	.gallery-columns-5 .gallery-item:nth-child(5) {
		grid-area: 3 / 2 / span 1 / span 2;
	}
}


/* -------------------------------------------------------------------------------------------------------------------
Related Work (single)
------------------------------------------------------------------------------------------------------------------- */
.related-work {
	margin: 40px 0 0;
}
.related-work--image {
	aspect-ratio: 1/1;
	overflow: hidden;
	margin-bottom: 24px;
}
.related-work--post img{
	min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.related-work--post h3{
	font-size: var(--striking);
	line-height: 1.3;
}
.related-work--post a {
	border: 0;
}
.related-work--meta p.tiny{
	text-transform: uppercase;
	margin: 0 0 8px;
	padding-top: 1px;
}
.related-work--meta h3 {
	clear: both;
}
@media (min-width:768px) {
	.related-work--post {
		padding-top: 32px;
		border-top: 2px solid var(--blue);
	}
	.related-work--meta p.tiny{
		margin: 0 0 18px;
	}
}
@media (min-width:1024px) {
	.related-work {
		margin: 80px 0 0;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Homepage Case Studies Grid
------------------------------------------------------------------------------------------------------------------- */
.cs-grid a {
	border: 0;
}
.cs-grid--item {
	margin-bottom: 40px;
	
}
.cs-grid--item--meta {
/*	padding-top: 24px;*/
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.cs-grid--item--meta > * {
	margin: 0 auto 0.25em;
	text-align: center;
}
.cs-grid--item--meta p {
	border-top: 1px solid var(--blue);
	padding-top: 12px;
}
.cs-grid--item--meta a, a.cs-grid--item--meta {
	color: var(--blue);
}
@media (min-width: 768px) {
	.cs-grid {
		display: grid;
		grid-auto-columns: 32%;
		grid-column-gap: 2%;
		grid-row-gap: 2%;
	}
	.cs-grid--item {
		position: relative;
		overflow: hidden;
		margin: 0;
	}
	.cs-grid--item img {
		width: auto;
		height: auto;
		min-width: 100%;
		min-height: 100%;
		max-width: 100%;
		max-height: 100%;
		object-fit: cover;
	}
/*
	.cs-grid--item--info {
		width: 24px;
		height: 24px;
		background-color: #fff;
		background-image: url("assets/img/info.svg");
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 2px 12px;
		position: absolute;
		bottom: 8px;
		left: 8px;
		border-radius: 100%;
		opacity: 0.5;
		cursor: pointer;
		z-index: 4;
		transition: all 0.25s;
	}
	.cs-grid--item--info a{
		width: 24px;
		height: 24px;
		display: block;
	}
*/
	.cs-grid--item::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		background: rgba(255,255,255,1);
		z-index: 2;
		width: 100%;
		height: 100%;
		opacity: 0;
		transition: all 0.25s ease-in-out;
	}
	.cs-grid--item--meta {
		width: 100%;
		height: 100%;
/*		padding: 16px;*/
		box-sizing: border-box;
		position: absolute;
		top: 0;
		left: -1000px;
		z-index: 3;
		opacity: 0;
		transition: opacity 0.1s;
	}
	/* Hover States */
/*
	.cs-grid--item--info:hover{
		background-image: url("assets/img/info-white.svg");
		background-color: rgba(7,43,73,0.5);
		opacity: 1;
	}
*/
	.cs-grid--item.active::after {
		opacity: 0.8;
	}
	.cs-grid--item.active .cs-grid--item--meta {
		opacity: 1;
		transition: opacity 1s;
		left: 0;
	}
	.cs-grid--item--meta > * {
/*		margin: 0 16px 0 0;*/
		line-height: 1.2;
		max-width: 480px;
	}
	.cs-grid--item--meta h3 {
		margin: 0 auto 0.5em;
		line-height: 1.2;
	}
	.cs-grid--item--meta p{
		display: none;
	}
	.cs-grid .cs-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 1 / span 1; /* row / col / span row / span col */
	}
	.cs-grid .cs-grid--item:nth-child(2) {
		grid-area: 1 / 2 / span 2 / span 2;
	}
	.cs-grid .cs-grid--item:nth-child(3) {
		grid-area: 2 / 1 / span 1 / span 1;
	}
	.cs-grid .cs-grid--item:nth-child(4) {
		grid-area: 3 / 1 / span 2 / span 2;
	}
	.cs-grid .cs-grid--item:nth-child(5) {
		grid-area: 3 / 3 / span 1 / span 1;
	}
	.cs-grid .cs-grid--item:nth-child(6) {
		grid-area: 4 / 3 / span 1 / span 1;
	}
	.cs-grid .cs-grid a {
		display: block;
		width: 100%;
		height: 100%;
	}
}
@media (min-width: 1280px) {
	.cs-grid--item--meta {
/*		padding: 40px;*/
	}
	.cs-grid--item--meta > * {
/*		margin: 0 40px 0 0;*/
	}
	.cs-grid--item--meta p{
		display: block;
	}
/*
	.cs-grid--item--info {
		width: 36px;
		height: 36px;
		bottom: 16px;
		left: 16px;
		background-size: 3px 18px;
	}
	.cs-grid--item--info a{
		width: 36px;
		height: 36px;
	}
*/
}

/* -------------------------------------------------------------------------------------------------------------------
Work Page Case Studies Grid
------------------------------------------------------------------------------------------------------------------- */
@media (min-width: 768px) {
	#case-studies .cs-grid {
		grid-template-columns: repeat(6, 1fr);
		grid-template-rows: repeat(auto, 1fr);
		grid-column-gap: 20px;
		grid-row-gap: 20px;
		margin-bottom: 20px;
	}
	#case-studies .cs-grid .cs-grid--item {
		aspect-ratio: 4/3;
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 2; /* row / col / span row / span col */
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(2) {
		grid-area: 3 / 1 / span 2 / span 2;
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(3) {
		grid-area: 1 / 3 / span 4 / span 4;
		aspect-ratio: 4/3.04;
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(4) {
		grid-area: 5 / 1 / span 3 / span 3;
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(5) {
		grid-area: 5 / 4 / span 3 / span 3;
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(6) {
		grid-area: 8 / 1 / span 4 / span 4;
		aspect-ratio: 4/3.04;
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(7) {
		grid-area: 8 / 5 / span 2 / span 2;
	}
	#case-studies .cs-grid .cs-grid--item:nth-child(8) {
		grid-area: 10 / 5 / span 2 / span 2;
	}
}
@media (min-width: 1024px) {
	#case-studies .cs-grid {
		grid-column-gap: 26px;
		grid-row-gap: 26px;
		margin-bottom: 26px;
	}
}
@media (max-width: 767px) {
	#case-studies .cs-grid--item a:first-of-type {
		width: calc(100vw - 48px);
		height: calc(100vw - 48px);
		display: block;
		overflow: hidden;
	}
	#case-studies .cs-grid--item a img {
		min-width: 100%;
		max-width: 100%;
		min-height: 100%;
		max-height: 100%;
		width: calc(100vw - 48px);
		height: calc(100vw - 48px);
		aspect-ratio: 1/1;
		object-fit: cover;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Services Page
------------------------------------------------------------------------------------------------------------------- */
.subpages {
	border-top: 1px solid var(--blue);
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
}
.subpages li {
	font-size: var(--large);
	font-weight: 700;
	letter-spacing: 0;
}
.subpages a {
	border: none;
	border-bottom: 1px solid var(--blue);
	padding: 12px 16px;
	display: block;
	transition: all 0.25s;
}
.subpages a:hover,
.subpages a.hover-state{
	background-color: var(--blue);
	color: #fff;
}

/* -------------------------------------------------------------------------------------------------------------------
Services Grid
------------------------------------------------------------------------------------------------------------------- */
.services-grid {
	display: none;
}
@media (min-width:768px){
	.services-grid {
		display: grid;
		grid-column-gap: 1%;
		grid-row-gap: 1%;
		margin-bottom: 0 !important;
	}
	.services-grid--item {
		background-color: #000;
	}
	.services-grid--item a{
		border: 0;
	}
	.services-grid--item img {
		width: auto;
		height: auto;
		min-width: 100%;
		min-height: 100%;
		max-width: 100%;
		max-height: 100%;
		object-fit: cover;
		transition: opacity 0.25s;
	}

	/* 1 Image */
	.services-grid-1 .services-grid--item {
	}
	/* 2 Images */
	.services-grid.services-grid-2 {
		grid-auto-columns: 50%;
	}
	.services-grid-2 .services-grid--item {
		grid-area: 1 / auto / span 1 / span 1; /* row / col / span row / span col */
	}
	/* 3 Images */
	.services-grid.services-grid-3 {
		grid-auto-columns: 33%;
		grid-row-gap: 2%;
	}
	.services-grid-3 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 2; /* row / col / span row / span col */
	}
	.services-grid-3 .services-grid--item:nth-child(2) {
		grid-area: 1 / 3 / span 1 / span 1;
	}
	.services-grid-3 .services-grid--item:nth-child(3) {
		grid-area: 2 / 3 / span 1 / span 1;
	}
	/* 4 Images */
	.services-grid.services-grid-4 {
		grid-auto-columns: 20%;
		grid-row-gap: 2%;
	}
	.services-grid-4 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 3 / span 3; /* row / col / span row / span col */
	}
	.services-grid-4 .services-grid--item:nth-child(2) {
		grid-area: 1 / 4 / span 1 / span 2;
	}
	.services-grid-4 .services-grid--item:nth-child(3) {
		grid-area: 2 / 4 / span 1 / span 1;
	}
	.services-grid-4 .services-grid--item:nth-child(4) {
		grid-area: 2 / 5 / span 1 / span 1;
	}
	/* 5 Images */
	.services-grid.services-grid-5 {
		grid-auto-columns: 33.333%;
		grid-row-gap: 1.5%;
	}
	.services-grid-5 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 2; /* row / col / span row / span col */
	}
	.services-grid-5 .services-grid--item:nth-child(2) {
		grid-area: 3 / 1 / span 1 / span 1;
	}
	.services-grid-5 .services-grid--item:nth-child(3) {
		grid-area: 3 / 2 / span 1 / span 1;
	}
	.services-grid-5 .services-grid--item:nth-child(4) {
		grid-area: 1 / 3 / span 1 / span 1;
	}
	.services-grid-5 .services-grid--item:nth-child(5) {
		grid-area: 2 / 3 / span 3 / span 1;
	}
	/* 6 Images */
	.services-grid.services-grid-6 {
		grid-auto-columns: 25%;
	}
	.services-grid-6 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 1 / span 1; /* row / col / span row / span col */
	}
	.services-grid-6 .services-grid--item:nth-child(2) {
		grid-area: 2 / 1 / span 1 / span 1;
	}
	.services-grid-6 .services-grid--item:nth-child(3) {
		grid-area: 1 / 2 / span 2 / span 2;
	}
	.services-grid-6 .services-grid--item:nth-child(4) {
		grid-area: 1 / 4 / span 2 / span 1;
	}
	.services-grid-6 .services-grid--item:nth-child(5) {
		grid-area: 3 / 1 / span 2 / span 2;
	}
	.services-grid-6 .services-grid--item:nth-child(6) {
		grid-area: 3 / 3 / span 2 / span 2;
	}
	/* 7 images */
	.services-grid.services-grid-7{
		grid-auto-columns: 12.5%;
		grid-row-gap: 1.5%;
	}
	.services-grid-7 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 2; /* row / col / span row / span col */
	}
	.services-grid-7 .services-grid--item:nth-child(2) {
		grid-area: 3 / 1 / span 2 / span 2;
	}
	.services-grid-7 .services-grid--item:nth-child(3) {
		grid-area: 1 / 3 / span 4 / span 4;
	}
	.services-grid-7 .services-grid--item:nth-child(4) {
		grid-area: 1 / 7 / span 3 / span 2;
	}
	.services-grid-7 .services-grid--item:nth-child(5) {
		grid-area: 5 / 1 / span 2 / span 3;
	}
	.services-grid-7 .services-grid--item:nth-child(6) {
		grid-area: 5 / 4 / span 2 / span 3;
	}
	.services-grid-7 .services-grid--item:nth-child(7) {
		grid-area: 4 / 7 / span 3 / span 2;
	}
	/* 8 images */
	.services-grid.services-grid-8{
		grid-auto-columns: 25%;
	}
	.services-grid-8 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 1 / span 1; /* row / col / span row / span col */
	}
	.services-grid-8 .services-grid--item:nth-child(2) {
		grid-area: 2 / 1 / span 1 / span 1;
	}
	.services-grid-8 .services-grid--item:nth-child(3) {
		grid-area: 1 / 2 / span 2 / span 2;
	}
	.services-grid-8 .services-grid--item:nth-child(4) {
		grid-area: 1 / 4 / span 1 / span 1;
	}
	.services-grid-8 .services-grid--item:nth-child(5) {
		grid-area: 3 / 1 / span 2 / span 2	;
	}
	.services-grid-8 .services-grid--item:nth-child(6) {
		grid-area: 3 / 3 / span 1 / span 1;
	}
	.services-grid-8 .services-grid--item:nth-child(7) {
		grid-area: 4 / 3 / span 1 / span 1;
	}
	.services-grid-8 .services-grid--item:nth-child(8) {
		grid-area: 2 / 4 / span 3 / span 1;
	}
	/* 9 images */
	.services-grid.services-grid-9{
		grid-auto-columns: 25%;
	}
	.services-grid-9 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 1; /* row / col / span row / span col */
	}
	.services-grid-9 .services-grid--item:nth-child(2) {
		grid-area: 3 / 1 / span 2 / span 1;
	}
	.services-grid-9 .services-grid--item:nth-child(3) {
		grid-area: 1 / 2 / span 4 / span 2;
	}
	.services-grid-9 .services-grid--item:nth-child(4) {
		grid-area: 1 / 4 / span 2 / span 1;
	}
	.services-grid-9 .services-grid--item:nth-child(5) {
		grid-area: 3 / 4 / span 3 / span 1	;
	}
	.services-grid-9 .services-grid--item:nth-child(6) {
		grid-area: 5 / 1 / span 4 / span 2;
	}
	.services-grid-9 .services-grid--item:nth-child(7) {
		grid-area: 5 / 3 / span 2 / span 1;
	}
	.services-grid-9 .services-grid--item:nth-child(8) {
		grid-area: 7 / 3 / span 2 / span 1;
	}
	.services-grid-9 .services-grid--item:nth-child(9) {
		grid-area: 6 / 4 / span 3 / span 1;
	}
	/* 10 images */
	.services-grid.services-grid-10{
		grid-auto-columns: 20%;
	}
	.services-grid-10 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 1; /* row / col / span row / span col */
	}
	.services-grid-10 .services-grid--item:nth-child(2) {
		grid-area: 1 / 2 / span 2 / span 2;
	}
	.services-grid-10 .services-grid--item:nth-child(3) {
		grid-area: 1 / 4 / span 1 / span 2;
	}
	.services-grid-10 .services-grid--item:nth-child(4) {
		grid-area: 2 / 4 / span 1 / span 2;
	}
	.services-grid-10 .services-grid--item:nth-child(5) {
		grid-area: 3 / 1 / span 1 / span 2	;
	}
	.services-grid-10 .services-grid--item:nth-child(6) {
		grid-area: 4 / 1 / span 1 / span 1;
	}
	.services-grid-10 .services-grid--item:nth-child(7) {
		grid-area: 4 / 2 / span 1 / span 1;
	}
	.services-grid-10 .services-grid--item:nth-child(8) {
		grid-area: 3 / 3 / span 2 / span 2;
	}
	.services-grid-10 .services-grid--item:nth-child(9) {
		grid-area: 3 / 5 / span 1 / span 1;
	}
	.services-grid-10 .services-grid--item:nth-child(10) {
		grid-area: 4 / 5 / span 1 / span 1;
	}
	/* 11 images */
	.services-grid.services-grid-11{
		grid-auto-columns: 20%;
	}
	.services-grid-11 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 2; /* row / col / span row / span col */
	}
	.services-grid-11 .services-grid--item:nth-child(2) {
		grid-area: 1 / 3 / span 1 / span 1;
	}
	.services-grid-11 .services-grid--item:nth-child(3) {
		grid-area: 1 / 4 / span 2 / span 1;
	}
	.services-grid-11 .services-grid--item:nth-child(4) {
		grid-area: 1 / 5 / span 2 / span 1;
	}
	.services-grid-11 .services-grid--item:nth-child(5) {
		grid-area: 3 / 1 / span 2 / span 1	;
	}
	.services-grid-11 .services-grid--item:nth-child(6) {
		grid-area: 3 / 2 / span 1 / span 1;
	}
	.services-grid-11 .services-grid--item:nth-child(7) {
		grid-area: 2 / 3 / span 2 / span 1;
	}
	.services-grid-11 .services-grid--item:nth-child(8) {
		grid-area: 4 / 2 / span 1 / span 2;
	}
	.services-grid-11 .services-grid--item:nth-child(9) {
		grid-area: 3 / 4 / span 2 / span 1;
	}
	.services-grid-11 .services-grid--item:nth-child(10) {
		grid-area: 3 / 5 / span 1 / span 1;
	}
	.services-grid-11 .services-grid--item:nth-child(11) {
		grid-area: 4 / 5 / span 1 / span 1;
	}
	/* 12 images */
	.services-grid.services-grid-12{
		grid-auto-columns: 20%;
	}
	.services-grid-12 .services-grid--item:nth-child(1) {
		grid-area: 1 / 1 / span 2 / span 2; /* row / col / span row / span col */
	}
	.services-grid-12 .services-grid--item:nth-child(2) {
		grid-area: 1 / 3 / span 1 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(3) {
		grid-area: 1 / 4 / span 2 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(4) {
		grid-area: 1 / 5 / span 2 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(5) {
		grid-area: 3 / 1 / span 1 / span 1	;
	}
	.services-grid-12 .services-grid--item:nth-child(6) {
		grid-area: 3 / 2 / span 1 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(7) {
		grid-area: 2 / 3 / span 2 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(8) {
		grid-area: 4 / 2 / span 1 / span 2;
	}
	.services-grid-12 .services-grid--item:nth-child(9) {
		grid-area: 3 / 4 / span 2 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(10) {
		grid-area: 3 / 5 / span 1 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(11) {
		grid-area: 4 / 5 / span 1 / span 1;
	}
	.services-grid-12 .services-grid--item:nth-child(12) {
		grid-area: 4 / 1 / span 1 / span 1;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Work Sector Landing Pages
------------------------------------------------------------------------------------------------------------------- */
/* .page-template-pagetemplate-work-subpage .media-object:first-of-type > div >div {
	font-size: var(--large);
} */

/* -------------------------------------------------------------------------------------------------------------------
Case Studies Archive Page
------------------------------------------------------------------------------------------------------------------- */
.work-sub-pages .col1of3 {
	position: relative;
	height: 200px;
}
.work-sub-pages a.col1of3 {
	border-bottom: 0;
}
.work-sub-pages .col1of3 img {
	position: absolute;
	top: -60px;
	z-index: 1;
}
.work-sub-pages .col1of3::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background-image: linear-gradient( to top, rgba(0,0,0,0.5), rgba(0,0,0,0) );
	width: 100%;
	height: 50%;
	z-index: 2;
}
.work-sub-pages .col1of3 h4 {
	position: absolute;
	bottom: 12px;
	left: 14px;
	color: #fff;
	z-index: 3;
}
.work-sub-pages a {
	display: block;
	width: 100%;
	height: 100%;
}
.work-sub-pages a h4::after {
	content: '';
	width: 0;
	height: 2px;
	background-color: #fff;
	margin-top: 4px;
	display: block;
	transition: width 0.25s;
}
.work-sub-pages a:hover h4::after {
	width: 100%;
}
@media (max-width:599px) {
	.work-sub-pages a.col1of3 {
		overflow: hidden;
		margin-bottom: 24px;
	}
}
@media (min-width:600px) {
	.work-sub-pages.flexcols {
		display: flex;
	}
	.work-sub-pages .col1of3 {
		max-height: 409px;
        width: 31.3333%;
        margin: 0 3% 2% 0;
    }
    .work-sub-pages .col1of3:nth-child(3n+0) {
        margin-right: 0;
    }
	.work-sub-pages .col1of3 img {
		top: 0;
		min-width: 100%;
		min-height: 100%;
		max-height: 100%;
		object-fit: cover;
	}
	.work-sub-pages .col1of3::before {
		background-image: linear-gradient( to top, rgba(0,0,0,0.6), rgba(0,0,0,0) );
	}
}
@media (min-width:1024px) {
	.work-sub-pages .col1of3 {
		height: 409px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Archive Page Masonry Grid
------------------------------------------------------------------------------------------------------------------- */
.grid-item {
	opacity: 0;
}
/* show cols when images loaded */
.show-items .grid-item {
	opacity: 1;
}
.grid a {
	border: 0;
	display: block;
}
.grid-item > a {
	line-height: 0;
}
.grid-item::after {
	top: 0;
	right: 0;
	bottom: auto;
	left: auto;
	height: 100%;
}
.grid-sizer,
.grid-item {
	width: 100%;
}
/* This creates an overflow hidden effect: */
.grid-item {
	transform: scale(1);
}
.grid-item--title {
	padding: 22px 0;
	box-sizing: border-box;
	border-top: 1px solid var(--blue);
}
@media (min-width:768px){
	.grid-sizer,
	.grid-item {
		width: 32%;
	}
	.gutter-sizer {
		width: 2%;
	}
	.grid-item {
		margin-bottom: 2%;
		margin-bottom: 0;
		float: left;
	}
}
@media (min-width: 1400px) {
	.grid-item {
		width: 422px;
		height: 640px;
	}
	.grid-item.intro-with-border {
		height: auto !important;
		padding-bottom: 24px;
	}
}
@media (max-width: 1399px) {
	.grid-item {
		margin-bottom: 40px !important;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Blog Archive
------------------------------------------------------------------------------------------------------------------- */
.blog-thinking-top {
	margin-top: 21px;
}
.news-intro h1 {
	border-bottom: 1px solid var(--blue);
	padding-bottom: 39px;
	margin-bottom: 24px;
}
.post-preview {
	margin-bottom: 40px;
	overflow: hidden;
}
 .post-preview img {
	transition: all 0.5s;
	min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
	height: auto;
	width: auto;
	aspect-ratio: 1/1;
    object-fit: cover;
}
.post-preview:hover img {
	transform: scale(105%);
}
.post-preview > a {
	display: block;
	overflow: hidden;
}
.post-preview--meta {
	clear: both;
	width: 100%;
	float: left;
	overflow: hidden;
	margin: 12px 0 0;
}
.post-preview--meta p {
	letter-spacing: 0.1em;
}
.post-preview--meta p.float-left{
	text-transform: uppercase;
	padding-top: 1px;
}
.post-preview a {
	border: 0;
}
.post-preview a:hover {
	color: var(--lightblue);
}
@media (min-width:768px) {
	.post-preview {
		margin-bottom: 88px;
		margin-bottom: 0;
	}
	.post-preview > a {
		max-width: 422px;
		max-height: 422px;
		overflow: hidden;
	}
	.post-preview--meta {
		margin: 8px 0 4px;
	}
}
@media (min-width:1400px) {
	.post-preview > a {
		width: 422px;
		height: 422px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Blog Single
------------------------------------------------------------------------------------------------------------------- */
.post-meta {
	margin: 16px 0;
	width: calc(100% - 150px);
	box-sizing: border-box;
	float: right;
}
.post-meta p {
	text-transform: uppercase;
}
.post-meta-outer {
	clear: both;
	width: 100%;
	float: left;
	margin-bottom: 8px;
}
.post-meta-outer::after {	
	content: '';
	display: block;
	width: 0;
	height: 0;
	clear: both;
}
.post-meta-outer + * {
	clear: both;
}
.post-author {
	width: 150px;
	margin: 16px 0 0 0;
	float: left;
}
.post-author--image {
	width: 120px;
}

.related-work--meta p.float-right{
	text-transform: none;
}
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
	margin-top: 1.25em;
}

@media (min-width:768px){
	.post-meta {
		margin: 40px 0;
		width: 100%;
		float: none;
	}
	.post-author {
		margin: 0 36px 0 0;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Contact Us Page
------------------------------------------------------------------------------------------------------------------- */
#map {
	height: 546px;
	width: 100%;
}

/* -------------------------------------------------------------------------------------------------------------------
Homepage Video Banner
------------------------------------------------------------------------------------------------------------------- */
.video-banner {
	position: relative;
	aspect-ratio: 2/1;
	overflow: hidden;
	background-size: cover;
}
.video-banner video {
	width: 100%;
	height: auto;
}
.video-banner::after{
	content: '';
	background-image: linear-gradient( to right, rgba(0,0,0,0.5), rgba(0,0,0,0) );
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	z-index: 1;
}
.video-banner.no-title::after {
	display: none;
}
.video-overlay {
	position: absolute;
	top: 8px;
	left: 16px;
	width: 95%;
	height: 100%;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 2;
}
.video-banner .controls {
	display: none;
}
@media (max-width: 588px) {
	.video-banner {
		aspect-ratio: 1/1;
		background-image: none !important;
	}
}
@media (max-width:767px) {
	.video-overlay {
		font-size: 0.8em;
	}
}
@media (min-width:200px) {
	.video-banner::after{
		background-image: linear-gradient( to left, rgba(0,0,0,0.5), rgba(0,0,0,0) );
		width: 85%;
	}
	.video-overlay {
		top: 0;
		right: 90px;
		left: auto;
		width: 43%;
	}
	.video-banner .controls {
		display: block;
		position: absolute;
		bottom: 5px;
		right: 10px;
		z-index: 3;
	}
	.video-banner button {
		width: 38px;
		height: 38px;
		opacity: 0.9;
		border: 0;
		background-size: cover;
		background-position: top left;
		background-repeat: no-repeat;
		margin: 0 0 0 6px;
		transition: none;
	}
	#video-play-pause {
		background-image: url("assets/img/icon-play.svg");
	}
	#video-play-pause:hover {
		background-position: top 0 left -38px;
	}
	#video-play-pause.paused {
		background-position: top 0 left -76px;
	}
	#video-play-pause.paused:hover {
		background-position: top 0 left -114px;
	}
	#video-sound-mute {
		background-image: url("assets/img/icon-sound.svg");
	}
	#video-sound-mute:hover {
		background-position: top 0 left -38px;
	}
	#video-sound-mute.sound {
		background-position: top 0 left -76px;
	}
	#video-sound-mute.sound:hover {
		background-position: top 0 left -114px;
	}
	.video-banner button:hover,
	.video-banner button:focus{
		background-color: transparent;
	}
}
@media (min-width:768px) {
	.video-banner .controls {
		bottom: 40px;
		right: 40px;
	}
	.video-banner button {
		margin: 0 0 0 20px;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Careers Page - List of Vacancies
------------------------------------------------------------------------------------------------------------------- */
#current-vacancies h2 {
	padding-top: 24px;
	display: inline-block;
}
.job-preview {
	border-top: 1px solid var(--blue);
	padding: 24px 0;
	margin-bottom: 24px;
}
.job-preview:last-of-type {
	border-bottom: 1px solid var(--blue);
}
.job-preview h3 a {
	border: 0;
	display: block;
}
.job-preview h3 a:hover {
	color: var(--lightblue);
}
@media (min-width:768px) {
	#current-vacancies h2 {
		border-top: 1px solid var(--blue);
	}
	.job-preview h3 a {
		padding: 8px;
	}
	.job-preview h3 a:hover {
		color: #fff;
		background: var(--blue);
	}
	.job-preview p {
		margin-left: 8px;
		margin-right: 8px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Job Details - Careers Single Post
------------------------------------------------------------------------------------------------------------------- */
.job-details {
	max-width: 1024px;
}
.job-details ul {
	padding-left: 20px;
}
.job-details p,
.job-details li{
/* 	font-size: var(--large);
	letter-spacing: 0.05em; */
}
.job-details p strong u {
	font-size: var(--h3);
	letter-spacing: 0;
	text-decoration: none;
	width: 100%;
	padding-bottom: 12px;
}
.job-details p strong u::after{
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--blue);
}

/* -------------------------------------------------------------------------------------------------------------------
Media Object Adjustments
------------------------------------------------------------------------------------------------------------------- */
.container > .media-object:first-of-type {
/* 	margin-top: 0; */
}
@media (max-width: 859px) {
	h2 + .media-object,
	h3 + .media-object,
	p + .media-object {
		margin-top: 40px;
	}
}
.media-object img {
	height: auto !important;
	max-width: 100% !important;
}
.media-object > div:not(.videowrap) {
	margin: 40px 0 64px;
	letter-spacing: 0.05em;
	font-size: var(--p);
}
.media-object h2, .media-object h3{
	margin-bottom: 0.5em;
	letter-spacing: 0 !important;
}
.media-object > div p, .media-object > div li {
	font-size: 1em;
}

@-moz-document url-prefix() { 
 	.media-object > div li {
		margin-left: 16px;
	}
}
.media-object a.button {
	font-size: var(--p);
	text-transform: none;
	letter-spacing: 0.05em;
	margin-top: 40px;
	background-color: var(--blue);
	
	color: #fff;
	border: 0;
	line-height: 50px;
	height: 48px;
}
.media-object a.button:hover {
	background-color: var(--lightblue);
}
.media-object a.button[href="#case-studies"] {
	padding: 0 48px 0 24px;
	background-image: url("assets/img/icon-arrow.svg");
	background-repeat: no-repeat;
	background-position: center right 24px;
	background-size: 9px 12px;
}
/* Force Overlaid full width and style the content div: */
.media-object.layout-overlaid {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	aspect-ratio: 2/1;
	overflow: hidden;
}
.media-object.large.layout-overlaid > img {
	width: 100% !important;
}
.media-object.size-contentwidth.left.layout-overlaid > div {
	margin: auto !important;
	width: 56% !important;
	position: absolute;
	top: auto;
	bottom: auto;
	display: flex;
	background-color: transparent;
	background-image: url(assets/img/corner-blue-br.svg);
	background-size:cover;
	background-position: bottom -12px right -12px;
	background-repeat: no-repeat;
	padding: 80px 40px;
	border-top: 0 !important;
}
.media-object.size-contentwidth.left.layout-overlaid.medium > div {
	width: 38% !important;
}
.media-object.size-contentwidth.left.layout-overlaid h2 {
	font-size: var(--h2) !important;
	padding-top: 12px;
	border-top: 1px solid #fff;
	text-align: left;
	color: #fff;
}
@media (max-width:599px) {
	.media-object.layout-overlaid {
		aspect-ratio: auto;
	}
	.media-object.size-contentwidth.left.layout-overlaid > div {
		width: 90% !important;
		padding: 12px;
		margin: 10% 5% !important;
		box-sizing: border-box;
		background: rgba(0,43,73,0.8);
	}
	.media-object.size-contentwidth.left.layout-overlaid.medium > div {
		width: 90% !important;
	}
	.media-object.size-contentwidth.left.layout-overlaid h2 {
		padding-top: 0;
		border: 0;
		font-size: var(--medium) !important;
		line-height: 1.3;
	}
}
@media (min-width: 860px) {
	.media-object {
		align-items: flex-start;
	}
	.media-object > div {
		border-top: 1px solid var(--blue);
		padding-top: 40px;
	}
	/* Large */
	.media-object.large > img {
		width: 58%;
		height: auto;
	}
	.media-object.large > div {
		display: block;
	}
	.media-object.large > div:not(.videowrap) {
		width: 38%;
	}
	.media-object.size-contentwidth.left > div:not(.videowrap){
		margin: 0 0 0 4%;
	}
	.media-object.size-contentwidth.right > div:not(.videowrap){
		margin: 0 4% 0 0;
	}
	/* Small */
	.media-object.small > img {
		width: 33%;
		height: auto;
	}
	.media-object.small > div:not(.videowrap) {
		width: 63%;
	}
}


/* -------------------------------------------------------------------------------------------------------------------
Images
------------------------------------------------------------------------------------------------------------------- */
.aligncenter {
	margin: 2.5em auto;
}
.alignleft, .alignright {
	margin: 2.5em 0;
}
.alignright {
	float: right;
	margin-left: 100%;
}
img.aligncenter, img.alignleft, img.alignright {
	display: block;
	clear: both;
}

/* -------------------------------------------------------------------------------------------------------------------
Embedded Videos
------------------------------------------------------------------------------------------------------------------- */
.videowrapper {
	clear: both;
	margin: 30px 0;
	position: relative;
	text-align: center;
	width: 100%;
}
.videowrapper>div {
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
}
.videowrapper iframe {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}




.related-work--post img {
	min-width: auto;
	min-height: auto;
	max-width: auto;
	max-height: auto;
	object-fit: cover;
	width: 100%;
	aspect-ratio: 1 / 1;
}