/* ------------------- */
/* STYLESHEET SECTIONS */
/* ------------------- */
/* 1__CSS Resets
   2__Layout helpers
   3__Header
   4__Main content
   5__Footer
   6__Typo3 Overrides
   7__Bootstrap overrides
   8__Media queries
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,600;0,700;1,300&family=Playfair+Display:wght@400;700&display=swap');

:root {
	--colour-primary: #F9B91B;
	--colour-primary-lighter: #FDCB54;
	--colour-primary-darker: #EE9702;
	--colour-primary-darker2: #D68600;
	--colour-black: #000;
	--colour-secondary: #017e44;
	--colour-secondary-darker: #016838;
	--colour-secondary-darker2: #01502b;
	--asr-50: 50%;
	--asr-75: 75%;
	--asr-100: 100%;
}

/* ------------------------ */
/* 1__CSS Resets            */
/* ------------------------ */
/* Limited CSS reset */
/* See normalize-4.1.1.css */

html, body, button, input, select, textarea {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
}

html {
	height: 100%;
	font-size: 20px; /* This is the base size the rem unit refers to */
}

body {
	position: relative;
	font-size: 1rem;
	min-height: 100%;
	margin: 0;
	padding: 0;
	color: var(--colour-black);
}

/* ------------------ */
/* 2__Layout helpers  */
/* ------------------ */
.constrain-825w {
	position: relative;
	/*position: inherit;*/
	max-width: 825px;
	margin: 0 auto;
}

.constrain-1240w {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
}

.constrain-1440w {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
}

.mobile-only-block,
.mobile-only-inline {
	display: none;
}

.desktop-only-block {
	display: block;
}

.desktop-only-inline {
	display: inline-block;
}

/* START object-fit:cover Fix for IE & IE Edge */
/* Note, requires JS to write the "compat-object-fit class to appropriate container element */
.compat-object-fit {
	background-size: cover;
	background-position: center center;
}

.compat-object-fit-x-left {
	background-size: cover;
	background-position-x: left;
}

.compat-object-fit-x-center {
	background-size: cover;
	background-position-x: center;
}

.compat-object-fit-x-right {
	background-size: cover;
	background-position-x: right;
}

.compat-object-fit-y-top {
	background-size: cover;
	background-position-y: top;
}

.compat-object-fit-y-center {
	background-size: cover;
	background-position-y: center;
}

.compat-object-fit-y-bottom {
	background-size: cover;
	background-position-y: bottom;
}

/* Hide the image if object fit is not supported in IE/Edge - opacity to 0 for the link area */
.compat-object-fit img {
	opacity: 0;
}

/* Responsive container for 16:9 video clips (eg Youtube). The video iframe should be a child of a div with a class of
  "video-container-16-9". If creating such a container is not possible because you don't have access to the HTML eg in
  a CMS content element, you can call the ICIT responsifyYoutubeClips() JavaScript function to do it programmatically.
*/
.video-container-16-9 {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.video-container-16-9 iframe,
.video-container-16-9 object,
.video-container-16-9 embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ------------------------ */
/* 3__Header styles         */
/* ------------------------ */
#top-header {
	position: absolute;
	z-index: 1000;
	color: black;
}

#top-header .header-inner-wrap {
	position: relative;
}

#top-header .header-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: var(--colour-primary);
	/*clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);*/
	clip-path: polygon(50px 0%, 100% 0%, calc(100% - 50px) 100%, 0% 100%);
	overflow: visible;
}

#top-header .header-content {
	padding: 0;
}

.header-grid {
	display: grid;
	grid-template-columns: 1fr 170px;
	grid-template-areas: "header-menu-box header-cta";
	grid-column-gap: 20px;
}

.header-grid .header-logo-box img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.header-grid .header-menu-box {
	grid-area: header-menu-box;
	/*padding-left: 20px;*/
	display: flex;
}

.header-grid .header-cta {
	grid-area: header-cta;
	text-align: right;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#top-header .header-contact-methods {
	font-size: 1.6em;
}

#top-header .header-contact-methods a,
#top-header .header-contact-methods a:visited {
	display: inline-block;
	text-decoration: none;
	color: var(--colour-black);
}

#top-header .header-contact-methods a:hover {
	color: var(--colour-black);
	opacity: .5;
}

#top-header .header-contact-methods a:focus,
#top-header .header-contact-methods a:active {
	color: var(--colour-black);
	opacity: .4;
}

#top-header .header-contact-methods a:not(:last-child) {
	margin-right: 20px;
}

.header-grid .header-mobile-nav-btn-box {
	grid-area: header-mobile-nav-btn-box;
	display: none;
}

.frame.frame-narrowframe {
	width: 100%;
	max-width: 850px;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------ */
/* 4__Main Content          */
/* ------------------------ */
#top-hero-wrap {
	position: relative;
	min-height: 400px;
}

#top-hero-wrap .cover {
	padding: 150px 0 70px;
	min-height: 400px;
}

#top-hero-wrap.short {
	position: relative;
	min-height: 480px;
}

#top-hero-wrap.short .cover {
	padding: 130px 0 50px;
	min-height: 480px;
}

#top-hero-wrap .overlay-fill {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

#top-hero-wrap .cover > img {
	display: none;
}

#top-hero-wrap .hero-text-wrap {
	position: relative;
	z-index: 100;
	/*margin-left: 0;*/
}

#top-hero-wrap .hero-logo {
	margin: 0 0 30px;
	width: 300px;
	max-width: 60%;
	height: auto;
}

#top-hero-wrap.short .hero-logo {
	margin: 0 0 30px;
	width: 250px;
	max-width: 100%;
	height: auto;
}

#top-hero-wrap .hero-text {
	margin: 0 auto;
	width: 100%;
	max-width: 90%;
	color: white;
	text-align: center;
}

#top-hero-wrap .hero-text p {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 2.1em;
	margin-bottom: 0;
}

#top-hero-wrap.short .hero-text p {
	font-size: 2em;
}

#top-hero-wrap + #main-content {
	margin-top: 100px;
}

/*
#main-content {
	margin-top: 100px;
}
*/

h1,
body[data-page-id="2"] h2 {
	font-weight: 700;
	font-size: 2.38em;
	line-height: 1.2;
	color: var(--colour-black);
	text-transform: uppercase;
	margin-bottom: .7em;
}

h1 > span,
body[data-page-id="2"] h2 > span {
	position: relative;
}

h1 > span:after,
body[data-page-id="2"] h2 > span:after {
	content: ' ';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 52px;
	border-bottom: 4px solid var(--colour-primary);
	border-radius: 0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

h2 {
	font-weight: 700;
	font-size: 1.8em;
	line-height: 1.22;
	color: var(--colour-black);
}

h3 {
	font-weight: 700;
	font-size: 1.35em;
	line-height: 1.22;
	color: var(--colour-black);
}

h4 {
	font-weight: 700;
	font-size: 1.1em;
	color: var(--colour-black);
}

p.md-text {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 1.667em;
	line-height: 1.22;
	color: var(--colour-black);
}


a,
a:visited {
	color: var(--colour-primary);
	text-decoration: underline;
}

a:hover,
a:focus,
a:active {
	color: var(--colour-primary);
	text-decoration: none;
}

.md-text {
	font-size: 1.4em;
}

p {
	margin-bottom: .9em;
	line-height: 1.4;
}

hr {
	border-top: 2px solid #ddd;
	width: 80%;
	margin: 2em auto;
}

ul.two-col-list {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	/*margin: 1em 0 0 0;*/
	margin: 0 -15px 0;
	padding: 0;
}

ul.two-col-list li {
	flex: 0 0 calc(50% - 30px);
	margin: 0 15px 35px;
	padding: 0 0 0 24px;
	position: relative;
	font-family: 'Playfair Display', serif;
	font-size: 1.6em;
}

ul.two-col-list li:before {
	position: relative;
	content: '\f111';
	font-family: "Font Awesome 5 Free";
	margin-left: -2em;
	margin-right: 1em;
	font-size: .375em;
	line-height: .5em;
	font-weight: 700;
	top: -0.55em;
	color: var(--colour-primary);
}

/* START: Full width grey panel 3 column card grid */
.card-grid-3-col {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-left: -13px;
	margin-right: -13px;
	margin-bottom: -40px;
}

.card-grid-3-col .card-no-bs {
	flex: 0 0 calc(33.33% - 28px);
	position: relative;
	margin: 0 14px 40px;
	padding: 34px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background-color: var(--colour-primary);
	word-wrap: break-word;
	text-decoration: none;
	justify-content: space-between;
	text-align: center;
	transition: all .2s;
}

.card-grid-3-col a.card-no-bs,
.card-grid-3-col a.card-no-bs:visited {
	color: var(--colour-black);
}

.card-grid-3-col a.card-no-bs:hover,
.card-grid-3-col a.card-no-bs:focus,
.card-grid-3-col a.card-no-bs:active {
	background-color: var(--colour-primary-lighter);
	transform: scale(1.02);
}

.card-grid-3-col a.card-no-bs:focus,
.card-grid-3-col a.card-no-bs:active {
	background-color: var(--colour-primary);
}

.card-grid-3-col .card-no-bs .card-title h4 {
	text-transform: uppercase;
	font-size: 1.23em;
}

.card-grid-3-col .card-no-bs .card-body {
	padding: 0;
}

.card-grid-3-col .card-no-bs *:last-child {
	margin-bottom: 0;
}

/* END: Full width grey panel 3 column card grid */

.staff-profile {
	margin: 50px 0;
}

.staff-profile .item {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-areas: "staff-name staff-name" "staff-bio staff-photo";
	grid-column-gap: 40px;
}

.staff-profile .item .staff-name {
	grid-area: staff-name;
}

.staff-profile .item .staff-name h3 {
	color: var(--colour-primary);
	font-size: 1.5em;
	margin-bottom: .3em;
}

.staff-profile .item .staff-bio {
	grid-area: staff-bio;
	padding-bottom: 30px;
}

.staff-profile .item .staff-bio *:last-child {
	margin-bottom: 0;
}

.staff-profile .item .staff-photo {
	grid-area: staff-photo;
}

.staff-profile .item .staff-photo img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/* START: Contact forms */
form.contact-us-form {
	overflow: hidden;
	margin-left: -15px;
	margin-right: -15px;
}

form.contact-us-form .form-group.powermail_fieldwrap_type_submit {
	margin-bottom: 0;
}

form.contact-us-form .form-control:focus {
	box-shadow: 0 0 0 0.1rem rgba(93, 175, 190, .25);
}

form.contact-us-form .form-control {
	border-radius: 0;
}

form.contact-us-form label {
	margin-bottom: .2em;
	font-weight: bold;
}

form.contact-us-form .powermail_fieldset_1 > .row {
	display: inline-block;
	width: 49.5%;
	margin-left: 0;
	margin-right: 0;
}

@media screen and (max-width: 576px) {
	form.contact-us-form .powermail_fieldset_1 > .row {
		width: 100%;
		display: block;
	}
}

form.contact-us-form .powermail_fieldset_1 > .row > .powermail_fieldwrap {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

form.contact-us-form .optional {
	font-size: .8em;
	font-weight: 400;
}

/* END: Contact forms  */

/* ------------------------ */
/* 5__Footer Content        */
/* ------------------------ */
/* A sticky footer. Requires:
		1. "position: relative;" to be set on the body tag.
		2. Javascript to dynamically determine footer height (on initial page launch and upon browser resizing
		   & set appropriate bottom padding on #site-body tag. Eg. function setStickyFooter() */
footer {
	position: absolute;
	padding: 40px 0;
	font-size: 1.238em;
	bottom: 0;
	width: 100%;
	z-index: 10001;
	background-color: #000;
	color: white;
}

footer .footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "footer-box-1 footer-box-2" "footer-box-3 footer-box-3";
	grid-gap: 30px 30px;
}

footer .footer-grid .box-1 {
	grid-area: footer-box-1;
}

footer .footer-grid .box-2 {
	grid-area: footer-box-2;
}

footer .footer-grid .box-3 {
	grid-area: footer-box-3;
}

footer h3.highlight-hd {
	font-size: 2.42em;
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	line-height: 1;
	text-transform: capitalize;
	color: white;
}

footer #footer-copyright {
	margin-top: 1em;
	font-size: .6em;
}

footer .footer-logo {
	margin-bottom: 30px;
}

footer .footer-logo img {
	width: 100%;
	max-width: 223px;
	height: auto;
}

footer .footer-contact-methods {
	font-size: 1.6em;
}

footer .footer-contact-methods a,
footer .footer-contact-methods a:visited {
	display: inline-block;
	text-decoration: none;
}

footer .footer-contact-methods a:hover {
	color: var(--colour-primary-lighter);
}

footer .footer-contact-methods a:focus,
footer .footer-contact-methods a:active {
	color: var(--colour-primary-darker);
}

footer .footer-contact-methods a:not(:last-child) {
	margin-right: 20px;
}


/* ------------------------ */
/* 6__Typo3 Overrides       */
/* ------------------------ */

/* ------------------------ */
/* 7__Bootstrap Overrides   */
/* ------------------------ */
.btn {
	font-size: 1em;
}

a.btn-primary,
.btn-primary {
	padding: 1em 1.4em;
	color: var(--colour-black);
	background-color: var(--colour-primary);
	border: none;
	border-radius: 0;
	letter-spacing: 1px;
	font-size: .86em;
	font-weight: 600;
	text-decoration: none;
}

.btn-primary:hover {
	color: var(--colour-black);
	background-color: var(--colour-primary-lighter);
	border: none;
	text-decoration: none;
}

.btn-primary:focus,
.btn-primary.focus {
	color: var(--colour-black);
	background-color: var(--colour-primary-darker2);
	outline: none;
	border: none;
	text-decoration: none;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
	color: var(--colour-black);
	background-color: var(--colour-primary-darker2);
	border: none;
}

.btn-primary.focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
	box-shadow: none;
	border: none;
}

a.btn-primary-reverse,
.btn-primary-reverse {
	padding: 1em 1.4em;
	color: var(--colour-primary);
	background-color: white;
	border: 2px solid var(--colour-primary);
	border-radius: 0;
	letter-spacing: 1px;
	font-size: .86em;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s;
}

.btn-primary-reverse:hover {
	color: #fff;
	background-color: var(--colour-primary);
	text-decoration: none;
}

.btn-primary-reverse:focus,
.btn-primary-reverse.focus {
	color: #fff;
	background-color: var(--colour-primary-darker2);
	outline: none;
	text-decoration: none;
	border: 2px solid var(--colour-primary);
}

.btn-primary-reverse:not(:disabled):not(.disabled).active,
.btn-primary-reverse:not(:disabled):not(.disabled):active,
.show > .btn-primary-reverse.dropdown-toggle {
	color: #fff;
	background-color: var(--colour-primary-darker2);
	border: 2px solid var(--colour-primary-darker2);
}

.btn-primary-reverse.focus,
.btn-primary-reverse:focus,
.btn-primary-reverse:not(:disabled):not(.disabled).active:focus,
.btn-primary-reverse:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary-reverse.dropdown-toggle:focus {
	box-shadow: none;
	border: 2px solid var(--colour-primary-darker2);
}


/* ------------------------ */
/* 8__Media Queries         */
/* ------------------------ */
@media only screen and (max-width: 1420px) {
	.header-content-wrap {
		width: 100%;
		max-width: 100%;
		padding: 0 70px 0 55px;
	}

	.header-grid .header-menu-box {
		padding-left: 0;
	}
}

@media only screen and (max-width: 1250px) {
	#top-hero-wrap .hero-text p {
		font-size: 2em;
	}

	#top-hero-wrap.short .hero-text p {
		font-size: 1.9em;
	}
}

@media only screen and (max-width: 1049px) {
	#top-header {
		padding: 0;
	}

	#top-header .header-bg {
		clip-path: none;
	}

	.header-content-wrap {
		/*padding: 0 70px 0 70px;*/
		padding: 0 25px;
	}

	#top-hero-wrap .hero-text p,
	#top-hero-wrap.short .hero-text p {
		font-size: 1.7em;
	}

	#top-hero-wrap .hero-logo {
		width: 250px;
		max-width: 60%;
	}

	#top-hero-wrap.short .hero-logo {
		width: 230px;
		max-width: 60%;
	}

	.header-grid {
		display: grid;
		grid-template-columns: 1fr 50px;
		grid-template-areas: "header-cta header-mobile-nav-btn-box" "header-menu-box header-menu-box";
		grid-column-gap: 20px;
	}

	.header-grid .header-mobile-nav-btn-box {
		grid-area: header-mobile-nav-btn-box;
		display: block;
	}

	.header-grid .header-cta {
		justify-content: flex-start;
	}

	#top-hero-wrap + #main-content {
		margin-top: 75px;
	}

	h1 {
		font-size: 2.1em;
	}

	h2 {
		font-size: 1.65em;
	}

	h3 {
		font-size: 1.30em;
	}

	p.md-text {
		font-size: 1.36em;
	}
}

@media only screen and (max-width: 850px) {
	#top-hero-wrap .hero-logo,
	#top-hero-wrap.short .hero-logo {
		width: 210px;
	}

	#top-hero-wrap .hero-text p,
	#top-hero-wrap.short .hero-text p {
		font-size: 1.5em;
	}
}

@media only screen and (max-width: 768px) {
	body {
		font-size: .9em;
	}

	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.523em;
	}

	h3 {
		font-size: 1.15em;
	}
}

@media only screen and (max-width: 725px) {
	#top-hero-wrap .cover {
		min-height: 250px;
		padding: 120px 0 50px;
	}

	#top-hero-wrap.short .cover {
		min-height: 250px;
		padding: 110px 0 45px;
	}

	#top-hero-wrap,
	#top-hero-wrap.short {
		min-height: 250px;
	}

	.card-grid-3-col .card-no-bs {
		flex: 0 0 calc(50% - 26px);
		margin: 0 13px 26px;
	}

	footer .footer-grid {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas: "footer-box-2" "footer-box-1" "footer-box-3";
		grid-gap: 30px 30px;
	}
}

@media only screen and (max-width: 600px) {
	body {
		font-size: .8em;
	}

	#top-hero-wrap .hero-text p {
		font-size: 1.4em;
	}

	.card-grid-3-col .card-no-bs {
		padding: 25px;
	}

	.card-grid-3-col .card-no-bs .card-title h4 {
		font-size: 1.15em;
	}

	.card-grid-3-col .card-no-bs {
		flex: 0 0 calc(50% - 20px);
		margin: 0 10px 20px;
	}

	ul.two-col-list {
		margin: 0 -10px 0;
	}

	ul.two-col-list li {
		flex: 0 0 calc(50% - 20px);
		margin: 0 10px 35px;
		padding: 0 0 0 24px;
		font-size: 1.3em;
	}

	ul.two-col-list li:before {
		margin-left: -2em;
		margin-right: .9em;
		font-size: .475em;
		line-height: .5em;
		top: -0.45em;
		color: var(--colour-primary);
	}
}


@media only screen and (max-width: 500px) {
	.staff-profile .item {
		grid-template-columns: 1fr;
		grid-template-areas: "staff-name" "staff-photo" "staff-bio";
	}

	.staff-profile .staff-photo {
		padding-bottom: 20px;
	}
}

@media only screen and (max-width: 480px) {
	#top-hero-wrap .cover,
	#top-hero-wrap.short .cover {
		padding: 100px 0 40px;
	}

	#top-hero-wrap .hero-logo {
		max-width: 50%;
	}

	#top-hero-wrap.short .hero-logo {
		max-width: 50%;
	}

	ul.two-col-list {
		margin: 0 -10px 0;
	}

	ul.two-col-list li {
		flex: 0 0 calc(50% - 20px);
		margin: 0 10px 35px;
		padding: 0 0 0 24px;
		font-size: 1.1em;
	}

	ul.two-col-list li:before {
		margin-left: -2em;
		margin-right: .9em;
		font-size: .475em;
		line-height: .5em;
		top: -0.55em;
		color: var(--colour-primary);
	}

	.card-grid-3-col .card-no-bs {
		flex: 0 0 calc(100% - 30px);
		margin: 0 15px 20px;
	}

	.mobile-only-block {
		display: block;
	}

	.mobile-only-inline {
		display: inline;
	}

	.desktop-only-block,
	.desktop-only-inline {
		display: none;
	}
}
