/*
Theme Name: P4G Custom 2023
Theme URI: https://p4gsecurity.co.nz
Author: MSS Security
Author URI: https://p4gsecurity.co.nz
Description: Custom WordPress theme for P4G Security.
Version: 1.0
License: GNU General Public License

-----------------------------------------------------------------*/
/* @group reset - eric myer reset v2.0 | 20110126
-----------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote::before, blockquote::after, q::before, q::after {
	content: "";
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Include Fonts
-----------------------------------------------------------------*/
@font-face {
   font-family: centuryGothic;
   src: url('fonts/CenturyGothic.woff') format('woff'), url('fonts/CenturyGothic.ttf') format('ttf');
}

/* Set CSS Variables
-----------------------------------------------------------------*/
:root {
	--primary: #3e97d3;
	--green: #698d38;
	--red: #e63529;
	--gold: #dc8e07;
	--grey: #4d4d4d;
	--main-font: centuryGothic, sans-serif;
	--heading-font: centuryGothic, sans-serif;
}

/* Set tags and general classes
-----------------------------------------------------------------*/
* {
	box-sizing: border-box;
	outline: none;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--main-font);
	font-size: 22px;
	font-weight: normal;
	color: var(--grey);
	line-height: 1.7;
	min-width: 320px;
	background-color: #fff;
}
@media all and (max-width: 580px) {
	body {
		font-size: 20px;
	}
}

h1, h2, h3, h4, h5 {
	font-family: var(--heading-font);
	font-weight: bold;
	margin-bottom: 30px;
	color: var(--primary);
	font-size: 26px;
	line-height: 1.3;
}
h1 {
	font-size: 42px;
}
h2 {
	font-size: 30px;
}
h3 {
	color: var(--green);
}

a {
	color: var(--green);
	text-decoration: none;
	transition: all .2s ease;
}
a:hover {
	color: var(--gold);
}

hr {
	width: 100%;
	border-top: 1px solid #919191;
	border-bottom: 1px solid #e0e0e0;
	border-left: 0;
	border-right: 0;
	margin: 50px auto;
}

label {
	display: inline-block;
	margin-bottom: 7px;
}
input:not([type="submit"]):not([type="checkbox"]),
select,
textarea {
	border: 2px solid #ddd;
	background: #f3f3f3;
	padding: 4px 16px;
	border-radius: 5px;
	font: inherit;
	font-size: 18px;
	width: 100%;
	margin-bottom: 15px;
	box-shadow: none;
	transition: all .3s;
}
select {
	-webkit-appearance: none;
	appearance: none;
	background: #f3f3f3 url('images/dropdown-arrow.png') no-repeat right 15px center;
    background-size: 18px 12px;
	padding-right: 40px;
}
select:focus {
	background-image: url('images/dropdown-arrow-up.png');
}
textarea {
	height: 180px;
	resize: none;
}
input:not([type="submit"]):focus,
select:focus,
textarea:focus {
	border-color: var(--primary);
}
button,
input[type="submit"] {
	display: inline-block;
	color: #fff;
	background: var(--primary);
	padding: 14px 40px;
	border: 2px solid var(--primary);
	border-radius: 25px;
	font-family: inherit;
	font-size: 15px;
	font-weight: bold;
	text-transform: uppercase;
	transition: all .2s ease;
	cursor: pointer;
}
button:hover,
input[type="submit"]:hover {
	color: var(--primary);
	background: #fff;
}
button.alt {
	color: var(--grey);
	border: 2px solid var(--grey);
	background: #fff;
}
button.alt:hover {
	background-color: var(--grey);
	color: #fff;
}
button.alt-reverse {
	border: 2px solid var(--grey);
	background-color: var(--grey);
	color: #fff;
}
button.alt-reverse:hover {
	color: var(--grey);
	background: #fff;
}
button.alt-white {
	color: #fff;
	border: 2px solid #fff;
	background: transparent;
}
button.alt-white:hover {
	background-color: #fff;
	color: var(--primary);
}
button.icon-phone {
	background-image: url('images/icon-phone.png');
	background-repeat: no-repeat;
	background-size: auto calc(100% - 6px);
	background-position: left 3px center;
	padding-left: 55px;
}

img, iframe, video {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}

p {
	margin-bottom: 15px;
}

.bold, strong, b {
	font-weight: bold;
}
.italic, em, i {
	font-style: italic;
}

.center {
	text-align: center;
}

/* Custom
-----------------------------------------------------------------*/
#page-wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	background: #fff;
}
.content-wrapper, .content-wrapper-no-pad {
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
}
.content-wrapper {
	padding: 0 20px;
}

.padding {
	padding-top: 80px;
	padding-bottom: 80px;
}
.padding-bottom {
	padding-bottom: 80px;
}
.padding-top {
	padding-top: 80px;
}

.wysiwyg-content ul {
	list-style: disc;
	margin: 0 0 25px 30px;
}
.wysiwyg-content ol {
	list-style: decimal;
	margin: 0 0 25px 30px;
}
.wysiwyg-content li ul, .wysiwyg-content li ol {
	margin-bottom: 0;
}
.wysiwyg-content img {
	height: auto;
	margin: 40px 0;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-wrapper iframe, .video-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.flex-half, .flex-two-one {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.flex-half > * {
	flex-basis: calc(50% - 20px);
}
.flex-two-one > *:first-of-type {
	flex-basis: calc(66.6666% - 20px);
}
.flex-two-one > *:last-of-type {
	flex-basis: calc(33.3333% - 20px);
}
@media all and (max-width: 880px) {
	.flex-half > *,
	.flex-two-one > *:first-of-type,
	.flex-two-one > *:last-of-type {
		flex-basis: 100%;
	}
}

.light-grey-bg {
	background: #ebebeb;
}

/* Site Specific
-----------------------------------------------------------------*/
header {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-end;
	font-size: 18px;
}
header #logo {
	margin: 15px 0;
	flex-basis: 160px;
}
header nav {
	text-align: right;
}
header nav > div {
	margin-bottom: 30px;
}
header nav > div > a {
	margin-left: 10px;
}
header nav > ul {
	display: block;
	padding-bottom: 8px;
}
header nav > ul > li {
	display: inline-block;
	margin-left: 40px;
}
header nav > ul ul {
	display: none;
}
header nav > ul > li.mobile-nav {
	display: none;
}
header nav > ul > li > a {
	color: var(--grey);
	text-transform: uppercase;
	text-decoration: none;
}
header nav > ul > li > a.active {
	color: var(--primary);
	font-weight: bold;
}
header nav > ul > li > a:hover {
	color: var(--primary);
}
header nav > ul > li > a.has-sub {
	position: relative;
	padding-right: 17px;
}
header nav > ul > li > a.has-sub::after {
	position: absolute;
	top: 3px;
	right: 0;
	content: "";
	display: block;
	border-bottom: 2px solid var(--grey);
	border-right: 2px solid var(--grey);
	width: 7px;
	height: 7px;
	transform: rotate(45deg);
	transition: all .2s ease;
}
header nav > ul > li > a.has-sub.open::after {
	top: 7px;
	transform: rotate(-135deg);
}
#search-open {
	position: relative;
	display: block;
	width: 18px;
	height: 15px;
}
#search-open img {
	position: absolute;
	width: 100%;
	transition: all .2s ease;
}
#search-open img:first-of-type {
	opacity: 0;
}
#search-open img:last-of-type {
	opacity: 1;
}
#search-open:hover img:first-of-type {
	opacity: 1;
}
#search-open:hover img:last-of-type {
	opacity: 0;
}
header #open-mobile-nav {
	display: none;
	cursor: pointer;
	z-index: 999999;
}
#open-mobile-nav > div {
	width: 40px;
	height: 5px;
	margin-bottom: 5px;
	background: var(--primary);
	opacity: 1;
	transition: all .3s;
}
header.nav-open #open-mobile-nav {
	padding: 12px 0;
}
header.nav-open #open-mobile-nav > div {
	background: #fff;
}
header.nav-open #open-mobile-nav > div:first-of-type {
	transform: rotate(45deg);
}
header.nav-open #open-mobile-nav > div:nth-of-type(2) {
	opacity: 0;
}
header.nav-open #open-mobile-nav > div:last-of-type {
	transform: rotate(-45deg);
	margin-top: -20px;
}
#search-bar {
	overflow: hidden;
	display: block;
	position: fixed;
	top: -100vh;
	left: 0;
	width: 100vw;
	height: 100vh;
	padding: 20px 291px;
	background: rgba(0, 0, 0, .95);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .2s ease;
	z-index: 99999999;
}
#search-bar.active {
	top: 0;
}
#search-bar form {
	width: 100%;
}
#search-bar input {
	width: calc(100% - 200px);
	padding: 3px 15px;
	border-radius: 5px 0 0 5px;
	margin-bottom: 0;
	float: left;
}
#search-bar input:focus {
	border: 2px solid #e9e9e9;
}
#search-bar input[type="submit"] {
	position: relative;
	width: 200px;
	border: 0;
	border-radius: 0 5px 5px 0;
	height: 41px;
	background: #ccc;
	background-image: url('images/icon-search.png');
	background-size: 20px 23px;
	background-position: center center;
	background-repeat: no-repeat;
	font-size: 0;
	padding: 0;
}
#search-bar input[type="submit"]:hover {
	background-color: #999;
}
#search-bar #search-close {
	position: absolute;
	top: calc(50% - 100px);
	right: 291px;
	color: #fff;
	font-size: 60px;
	line-height: 35px;
	text-decoration: none;
}
#search-bar #search-close:hover {
	color: var(--primary);
}
#sub-nav {
	position: absolute;
	top: 164px;
	left: 0;
	width: 100%;
	height: 0;
	background: #f6f6f6;
	font-size: 18px;
	z-index: 9999;
	transition: all .2s ease;
	overflow: hidden;
	border-top: 1px solid #d5d5d5;
}
#sub-nav > div {
	padding-top: 50px;
	padding-bottom: 50px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}
#sub-nav > div > div:first-of-type {
	flex-basis: 300px;
	font-size: 26px;
}
#sub-nav > div > div:first-of-type span {
	font-weight: bold;
	font-size: 18px;
}
#sub-nav .sub-navs {
	position: relative;
	flex-basis: 350px;
}
#sub-nav .sub-navs li a {
	position: relative;
	color: var(--grey);
	padding: 10px 0;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #b9b9b9;
}
#sub-nav .sub-navs li a:hover {
	color: var(--primary);
}
/*********************************************
* Directly below is MIN width
*********************************************/
@media all and (min-width: 1121px) {
	nav > ul > li > a.has-sub::before {
		position: absolute;
		bottom: -13px;
		width: 100%;
		content: "";
		border-bottom: 3px solid var(--primary);
		opacity: 0;
		z-index: 10000;
		transition: all .2s ease;
	}
	nav > ul > li > a.has-sub.open::before {
		opacity: 1;
	}
}
@media all and (max-width: 1120px) {
	header {
		align-items: center;
	}
	header nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		overflow-x: hidden;
		overflow-y: auto;
		background: var(--primary);
		text-align: center;
		transform: translateX(100%);
		transition: transform .3s;
		z-index: 999977;
		padding-top: 30px;
	}
	header.nav-open nav {
		transform: translateX(0);
	}
	header nav > div {
		display: none;
	}
	header nav > ul {
		margin-top: 100px;
	}
	header nav > ul > li {
		display: block;
		padding: 5px 0;
		margin: 0;
	}
	header nav > ul > li:last-of-type {
		display: none;
	}
	header nav > ul > li.mobile-nav {
		display: block;
	}
	header nav > ul > li > a,
	header nav > ul > li > a:hover,
	header nav > ul > li > a.active {
		display: block;
		color: #fff;
		padding: 10px 0;
		font-size: 24px;
		font-family: var(--heading-font);
		background: none;
	}
	header nav > ul > li > a.has-sub {
		padding-right: 0;
	}
	header nav > ul > li > a.has-sub::after {
		top: 24px;
		left: calc(50% + 140px);
		content: "";
		display: block;
		border-bottom: 2px solid #fff;
		border-right: 2px solid #fff;
		width: 10px;
		height: 10px;
		transform: rotate(45deg);
		transition: all .2s ease;
	}
	header nav > ul > li > a.has-sub.open::after {
		top: 31px;
		transform: rotate(-135deg);
	}
	header nav > ul > li > ul {
		background: rgba(0, 0, 0, .2);
	}
	header nav > ul > li > ul > li > a,
	header nav > ul > li > ul > li > a:hover {
		display: block;
		color: #fff;
		padding: 10px 0;
		font-size: 22px;
		font-family: var(--heading-font);
	}
	header #open-mobile-nav {
		display: block;
	}
	#search-bar {
		padding: 20px 50px;
	}
	#search-bar #search-close {
		right: 50px;
	}
}
@media all and (max-width: 540px) {
	#search-bar {
		padding: 20px;
	}
	#search-bar #search-close {
		right: 20px;
	}
	#search-bar input {
		width: calc(100% - 100px);
	}
	#search-bar input[type="submit"] {
		width: 100px;
	}
}

#banner {
	position: relative;
}
#banner img {
	width: 100%;
}
#banner.banner-overlay img {
	filter: brightness(70%); 
}
#banner div.content-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	z-index: 999;
}
#banner div.content-wrapper h1 {
	color: #fff;
	margin: 0;
}
@media all and (max-width: 880px) {
	#banner img {
		max-width: none;
		width: 150%;
		margin-left: -25%;
	}
}
@media all and (max-width: 580px) {
	#banner img {
		max-width: none;
		width: 200%;
		margin-left: -50%;
	}
}
@media all and (max-width: 460px) {
	#banner img {
		max-width: none;
		width: 240%;
		margin-left: -70%;
	}
}

.breadcrumb {
	/*font-size: 18px;*/
	font-size: 25px;
	margin-bottom: 40px;
}

#home-we-offer > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	column-gap: 30px;
	row-gap: 40px;
	margin-top: 50px;
}
#home-we-offer > div > div > a {
	position: relative;
	flex-basis: calc(50% - 15px);
	color: #fff;
	text-decoration: none;
	padding: 20px;
	min-height: 440px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}
#home-we-offer > div > div > a::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #000;
	z-index: 10;
	opacity: 0;
	transition: opacity .2s ease;
}
#home-we-offer > div > div > a:hover::before {
	opacity: .5;
}
#home-we-offer > div > div > a > h3 {
	position: absolute;
	bottom: 40px;
	right: 0;
	display: block;
	width: 400px;
	max-width: 100%;
	padding: 30px 20px;
	margin: 0;
	text-align: left;
	color: #fff;
	font-size: 36px;
	background: var(--primary);
	opacity: 1;
	transition: opacity .2s ease;
}
#home-we-offer > div > div > a:hover > h3 {
	opacity: 0;
}
#home-we-offer > div > div > a > div {
	z-index: 20;
	opacity: 0;
	transition: opacity .2s ease;
}
#home-we-offer > div > div > a:hover > div {
	opacity: 1;
}
#home-we-offer > div > div > a > div > p:first-of-type {
	font-weight: bold;
	font-size: 36px;
	line-height: 1;
	margin-bottom: 15px;
}
@media all and (max-width: 880px) {
	#home-we-offer > div > div > a {
		flex-basis: 100%;
	}
}

#home-join-team,
#event-why-choose {
	background: var(--primary);
	color: #fff;
}
#home-join-team h2,
#home-join-team a,
#event-why-choose h2 {
	color: #fff;
}
#home-join-team > div > div,
#event-why-choose > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	row-gap: 40px;
	margin-top: 50px;
}
#home-join-team > div > div > div,
#event-why-choose > div > div > div {
	flex-basis: calc(33.3333% - 20px);
	border: 5px solid #fff;
	border-radius: 10px;
	padding: 30px;
}
#home-join-team > div > div > div > img,
#event-why-choose > div > div > div > img {
	margin: 0 auto 15px auto;
}
#home-join-team > div > div > div > p,
#event-why-choose > div > div > div > p {
	font-size: 20px;
	line-height: 1.5;
}
#home-join-team > div > div > div > p:first-of-type,
#event-why-choose > div > div > div > p:first-of-type {
	font-weight: bold;
	font-size: 30px;
}
@media all and (max-width: 880px) {
	#home-join-team > div > div > div,
	#event-why-choose > div > div > div	{
		flex-basis: 100%;
	}
}

#home-latest-news h2 {
	color: #000;
}
#home-latest-news > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	row-gap: 40px;
	margin-top: 50px;
	font-size: 18px;
	line-height: 1.5;
}
#home-latest-news > div > div {
	flex-basis: calc(33.3333% - 20px);
}
#home-latest-news > div > div > img {
	width: 100%;
}
#home-latest-news > div > div > p:first-of-type {
	font-weight: bold;
	font-size: 22px;
	color: #222;
	margin-top: 15px;
}
@media all and (max-width: 880px) {
	#home-latest-news > div > div {
		flex-basis: 100%;
	}
}

.logo-coloured-boxes {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	row-gap: 40px;
	margin-top: 40px;
}
.logo-coloured-boxes > div {
	flex-basis: calc(50% - 20px);
	border: 2px solid var(--green);
	border-left: 18px solid var(--green);
	padding: 20px 80px;
}
.logo-coloured-boxes > div:nth-of-type(2) {
	border-color: var(--red);
}
.logo-coloured-boxes > div:nth-of-type(3) {
	border-color: var(--primary);
}
.logo-coloured-boxes > div:nth-of-type(4) {
	border-color: var(--gold);
}
.logo-coloured-boxes > div > p:first-of-type {
	font-weight: bold;
	font-size: 30px;
}
@media all and (max-width: 1060px) {
	.logo-coloured-boxes > div {
		padding: 20px 40px;
	}
}
@media all and (max-width: 820px) {
	.logo-coloured-boxes > div {
		flex-basis: 100%;
	}
}
@media all and (max-width: 420px) {
	.logo-coloured-boxes > div {
		padding: 20px;
	}
}

#team-wrapper > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	row-gap: 30px;
	margin-top: 60px;
}
#team-wrapper > div > div:first-of-type {
	flex-basis: 340px;
}
#team-wrapper > div > div:last-of-type {
	flex-basis: calc(100% - 380px);
}
#team-wrapper > div > div:first-of-type > img {
	margin: 0;
}
#team-wrapper > div > div:last-of-type > p:first-of-type,
#team-wrapper > div > div:last-of-type > p:nth-of-type(2) {
	font-weight: bold;
	font-size: 30px;
}
#team-wrapper > div > div:last-of-type > p:first-of-type {
	color: var(--primary);
	margin-bottom: -8px;
}
#team-wrapper div.extra-info {
	overflow: hidden;
	max-height: 0px;
	transition: all .2s ease;
}
@media all and (max-width: 880px) {
	#team-wrapper > div {
		justify-content: space-around;
	}
	#team-wrapper > div > div:first-of-type {
		flex-basis: 340px;
	}
	#team-wrapper > div > div:last-of-type {
		flex-basis: 100%;
	}
}
@media all and (max-width: 380px) {
	#team-wrapper > div > div:first-of-type {
		flex-basis: 100%;
	}
}

#customer-wrapper > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
}
#customer-wrapper > div > div {
	flex-basis: 50%;
}
#customer-wrapper > div > div:first-of-type {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background: #f3f3f3;
	color: #000;
	overflow: hidden;
}
#customer-wrapper > div > div:first-of-type > img {
	width: calc(100% - 60px);
	max-width: 360px;
	transform: scale(1);
	transition: transform .2s ease;
}
#customer-wrapper > div > div:first-of-type:hover > img {
	transform: scale(1.15);
}
#customer-wrapper > div > div:last-of-type {
	padding: 120px 140px;
}
#customer-wrapper > div > div:last-of-type > p:first-of-type {
	font-weight: bold;
	color: #000;
	font-size: 28px;
}
#customer-wrapper > div:nth-of-type(even) > div:last-of-type {
	order: -1;
}
@media all and (max-width: 1680px) {
	#customer-wrapper > div > div:last-of-type {
		padding: 100px;
	}
}
@media all and (max-width: 1440px) {
	#customer-wrapper > div > div:last-of-type {
		padding: 80px 60px;
	}
}
@media all and (max-width: 1260px) {
	#customer-wrapper > div > div:last-of-type {
		padding: 60px 30px;
	}
}
@media all and (max-width: 1000px) {
	#customer-wrapper > div > div {
		flex-basis: 100%;
	}
	#customer-wrapper > div > div:first-of-type {
		padding: 80px 0;
	}
	#customer-wrapper > div:nth-of-type(even) > div:last-of-type {
		order: 1;
	}
}

#accreditations-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	column-gap: 40px;
	row-gap: 40px;
	margin-bottom: 70px;
}
#accreditations-wrapper > div {
	flex-basis: calc(25% - 30px);
}
#accreditations-wrapper > div > img {
	margin: 0;
	width: 100%;
}
@media all and (max-width: 1000px) {
	#accreditations-wrapper {
		column-gap: 30px;
		row-gap: 30px;
	}
	#accreditations-wrapper > div {
		flex-basis: calc(33.3333% - 20px);
	}
}
@media all and (max-width: 720px) {
	#accreditations-wrapper {
		column-gap: 20px;
		row-gap: 20px;
	}
	#accreditations-wrapper > div {
		flex-basis: calc(50% - 10px);
	}
}
@media all and (max-width: 380px) {
	#accreditations-wrapper > div {
		flex-basis: 100%;
	}
}

#event-inclusions > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	column-gap: 40px;
	row-gap: 40px;
	margin-top: 40px;
	counter-reset: my-box-number;
}
#event-inclusions > div > div > div {
	flex-basis: calc(50% - 20px);
	padding: 40px 15px 40px 30px;
	border: 2px solid var(--primary);
	border-left: 20px solid var(--primary);
}
#event-inclusions > div > div.numbered-boxes > div {
	position: relative;
	padding-left: 130px;
	background: url('images/logo-outline.png') no-repeat left 20px top 20px;
	background-size: 86px;
}
#event-inclusions > div > div.numbered-boxes > div::before {
	counter-increment: my-box-number;
	content: counter(my-box-number);
	position: absolute;
	left: 54px;
	top: 38px;
	font-weight: bold;
	font-size: 30px;
}
#event-inclusions > div > div > div > p:first-of-type {
	font-weight: bold;
	font-size: 30px;
	line-height: 1.3;
}
@media all and (max-width: 860px) {
	#event-inclusions > div > div > div {
		flex-basis: 100%;
	}
}
@media all and (max-width: 420px) {
	#event-inclusions > div > div.numbered-boxes > div {
		padding-left: 30px;
		background: none;
	}
	#event-inclusions > div > div.numbered-boxes > div::before {
		display: none;
	}
}

#event-response > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-top: 40px;
}
#event-response > div.four-points > div {
	text-align: center;
	flex-basis: 14.285%;
}
#event-response > div.three-points > div {
	text-align: center;
	flex-basis: 20%;
}
#event-response > div > div > img {
	height: 67px;
	width: auto;
	margin: 0 auto 20px auto;
}
#event-response > div > div > p {
	font-size: 20px;
	line-height: 1.5;
}
#event-response > div > div > p:first-of-type {
	font-weight: bold;
	color: #000;
	font-size: 22px;
	line-height: 1.3;
}
#event-response > div > div > p:last-of-type {
	margin-bottom: 30px;
}
@media all and (max-width: 950px) {
	#event-response > div.four-points > div,
	#event-response > div.three-points > div	{
		flex-basis: 100%;
	}
	#event-response > div > div:nth-of-type(even) {
		display: none;
	}
}

#event-breakdown > div {
	margin-top: 40px;
	font-size: 20px;
}
#event-breakdown > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	min-height: 450px;
}
#event-breakdown > div > div > div {
	flex-basis: 50%;
}
#event-breakdown > div > div > div:first-of-type {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#event-breakdown > div > div > div:last-of-type {
	padding: 70px;
}
#event-breakdown > div > div:nth-of-type(even) > div:last-of-type {
	order: -1;
}
#event-breakdown > div > div > div:last-of-type > p:first-of-type {
	font-weight: bold;
	color: #000;
	margin-bottom: 5px;
	font-size: 22px;
}
@media all and (max-width: 1200px) {
	#event-breakdown > div > div > div:last-of-type {
		padding: 60px 40px;
	}
}
@media all and (max-width: 960px) {
	#event-breakdown > div > div > div:last-of-type {
		padding: 40px 20px;
	}
}
@media all and (max-width: 840px) {
	#event-breakdown > div > div > div {
		flex-basis: 100%;
	}
	#event-breakdown > div > div > div:first-of-type {
		height: 75vw;
	}
	#event-breakdown > div > div > div:last-of-type {
		padding: 30px 0px;
	}
	#event-breakdown > div > div:nth-of-type(even) > div:last-of-type {
		order: 1;
	}
}

#event-clients,
#event-clients-slick {
	color: #000;
}
#event-clients h2,
#event-clients-slick h2 {
	color: #000;
}
#event-clients > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	column-gap: 40px;
	row-gap: 40px;
	margin-top: 40px;
}
#event-clients > div > div > div {
	flex-basis: calc(20% - 32px);
}
#event-clients > div > div > div img,
#event-clients-slick img {
	filter: grayscale(100%);
	transition: filter .2s ease;
}
#event-clients > div > div > div img:hover,
#event-clients-slick img:hover {
	filter: grayscale(0%);
}
@media all and (max-width: 1160px) {
	#event-clients > div > div > div {
		flex-basis: calc(25% - 30px);
	}
}
@media all and (max-width: 920px) {
	#event-clients > div > div > div {
		flex-basis: calc(33.3333% - 27px);
	}
}
@media all and (max-width: 660px) {
	#event-clients > div > div > div {
		flex-basis: calc(50% - 20px);
	}
}
@media all and (max-width: 440px) {
	#event-clients > div > div > div {
		flex-basis: 100%;
	}
}
#event-clients-slick .slick-slide {
	margin: 0 20px;
}

#event-testimonials > div {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	font-size: 20px;
	line-height: 1.5;
}
#event-testimonials .slippry > li {
	padding: 15px 40px 1px 40px;
}
#event-testimonials .slippry > li::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 33px;
	height: 28px;
	background: url('images/quote-open.png') no-repeat center center;
	background-size: 33px;
}
#event-testimonials .slippry > li::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 33px;
	height: 28px;
	background: url('images/quote-close.png') no-repeat center center;
	background-size: 33px;
}
#event-testimonials .slippry > li > p {
	margin-bottom: 10px;
}
#event-testimonials .slippry > li > p:last-of-type {
	font-weight: bold;
	font-style: italic;
}
.sy-pager li.sy-active a {
	background-color: var(--primary);
	opacity: 1;
}
.sy-pager li {
	width: 22px;
	height: 22px;
	margin: 0 6px;
}
@media all and (max-width: 640px) {
	#event-testimonials .slippry > li {
		padding: 23px 25px 0px 25px;
	}
}
@media all and (max-width: 420px) {
	#event-testimonials .slippry > li {
		padding: 23px 13px 0px 13px;
	}
}
@media all and (max-width: 360px) {
	#event-testimonials .slippry > li {
		padding: 26px 5px 0px 5px;
	}
	#event-testimonials .slippry > li::after {
		display: none;
	}
}

#benefits-wrapper {
	margin-top: 40px;
}
#benefits-wrapper > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	row-gap: 30px;
	min-height: 450px;
}
#benefits-wrapper > div > div {
	flex-basis: 50%;
}
#benefits-wrapper > div > div:first-of-type {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#benefits-wrapper > div > div:last-of-type {
	padding: 60px 40px;
	line-height: 1.5;
}
#benefits-wrapper > div > div:last-of-type > p:first-of-type {
	font-size: 26px;
	font-weight: bold;
	color: #000;
}
#benefits-wrapper > div:nth-of-type(even) > div:last-of-type {
	order: -1;
}
@media all and (max-width: 1080px) {
	#benefits-wrapper > div > div:last-of-type {
		padding: 40px 20px;
		line-height: 1.4;
	}
}
@media all and (max-width: 880px) {
	#benefits-wrapper > div > div:first-of-type {
		height: 70vw;
	}
	#benefits-wrapper > div > div {
		flex-basis: 100%;
	}
	#benefits-wrapper > div > div:last-of-type {
		padding: 0 0 50px 0;
	}
	#benefits-wrapper > div:nth-of-type(even) > div:last-of-type {
		order: 1;
	}
}

#training-points-wrapper > p {
	font-size: 30px;
	font-weight: bold;
	color: #000;
}
#training-points-wrapper > ul {
	margin-bottom: 50px;
}

#news-wrapper > a {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	row-gap: 25px;
	margin-bottom: 50px;
}
#news-wrapper > a > div:first-of-type {
	flex-basis: 33%;
}
#news-wrapper > a > div:first-of-type > img {
	width: 100%;
}
#news-wrapper > a > div:last-of-type {
	flex-basis: calc(67% - 40px);
}
#news-wrapper > a > div:last-of-type > p {
	color: var(--grey);
	line-height: 1.5;
}
#news-wrapper > a > div:last-of-type > p:first-of-type,
.article-date {
	font-size: 18px;
	font-weight: bold;
	color: #000;
	margin-bottom: 0px;
}
#news-wrapper > a > div:last-of-type > p:nth-of-type(2) {
	font-size: 24px;
	font-weight: bold;
	color: var(--primary);
}
@media all and (max-width: 780px) {
	#news-wrapper > a > div:first-of-type,
	#news-wrapper > a > div:last-of-type {
		flex-basis: 100%;
	}
}

#contact-wrapper {
	width: 100%;
	max-width: 600px;
	margin-top: 40px;
}

.address-wrapper p.loc-heading {
	font-weight: bold;
	font-size: 26px;
	color: var(--red);
}
.address-wrapper p:not(.loc-heading) {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	margin-bottom: 5px;
}
.address-wrapper p span:first-of-type {
	flex-basis: 100px;
	font-weight: bold;
}
.address-wrapper p span:last-of-type {
	flex-basis: calc(100% - 100px);
}

#contacts-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	margin: 30px 0 50px 0;
}
#contacts-wrapper > div {
	flex-basis: calc(50% - 10px);
	margin-bottom: 20px;
	background: #f1f1f1;
	padding: 20px;
}
@media all and (max-width: 760px) {
	#contacts-wrapper > div {
		flex-basis: 100%;
	}
}

#terms-wrapper {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
}
#terms-wrapper > div:first-of-type {
	flex-basis: 275px;
}
#terms-wrapper > div:first-of-type a {
	display: block;
	color: #222;
	font-weight: bold;
	font-size: 18px;
	line-height: 1.2;
	padding: 20px;
	border-left: 10px solid transparent;
	border-bottom: 1px solid var(--primary);
}
#terms-wrapper > div:first-of-type a:hover {
	border-left: 10px solid var(--primary);
}
#terms-wrapper > div:last-of-type {
	flex-basis: calc(100% - 320px);
	font-size: 20px;
	line-height: 1.4;
}
#terms-wrapper > div:last-of-type > p.term-heading {
	color: #222;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 21px;
}
#terms-wrapper > div:last-of-type ol {
	list-style: lower-alpha;
	margin-left: 50px;
}
#terms-wrapper > div:last-of-type ol ol {
	list-style: lower-roman;
	margin-top: 15px;
	margin-bottom: 15px;
}
#terms-wrapper > div:last-of-type ul {
	margin-left: 50px;
}
#terms-wrapper > div:last-of-type > table {
	background: #f3f3f3;
	font-size: 16px;
}
#terms-wrapper > div:last-of-type > table tr th {
	font-weight: bold;
	text-align: left;
	font-size: 18px;
	color: #000;
	padding: 10px 15px;
	border: 1px solid #000;
}
#terms-wrapper > div:last-of-type > table tr td {
	padding: 10px 15px;
	border: 1px solid #000;
}
#terms-wrapper > div:last-of-type > table tr > td:first-of-type {
	font-weight: bold;
}
#terms-wrapper > div:last-of-type > table tr td ol,
#terms-wrapper > div:last-of-type > table tr td ul {
	margin-left: 25px;
}
@media all and (max-width: 1020px) {
	#terms-wrapper > div:first-of-type {
		display: none;
	}
	#terms-wrapper > div:last-of-type {
		flex-basis: 100%;
	}
}
@media all and (max-width: 1020px) {
	#terms-wrapper > div:last-of-type > table {
		font-size: 14px;
	}
	#terms-wrapper > div:last-of-type > table tr th {
		font-size: 16px;
		padding: 8px 10px;
	}
	#terms-wrapper > div:last-of-type > table tr td {
		padding: 8px 10px;
	}
}

#footer-cta {
	position: relative;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #fff;
}
#footer-cta::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #000;
	z-index: 10;
	opacity: .5;
	transition: opacity .2s ease;
	z-index: 98;
}
#footer-cta > div {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	z-index: 99;
}
#footer-cta > div > div > p:first-of-type {
	font-weight: bold;
	font-size: 30px;
}
#footer-cta > div > div > div {
	margin-top: 30px;
}
#footer-cta > div > div > div > a {
	margin: 0 5px;
}
@media all and (max-width: 460px) {
	#footer-cta > div > div > div > a {
		display: block;
		margin: 30px auto 0 auto;
	}
	#footer-cta > div > div > div > a > button {
		width: 220px;
	}
}

footer {
	background: var(--primary);
	color: #fff;
	font-size: 18px;
}
footer a {
	color: #fff;
}
footer a:hover {
	color: var(--red);
}
footer > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	column-gap: 30px;
	row-gap: 40px;
}
footer > div > ul {
	flex-basis: calc(33.3333% - 20px);
	min-width: 250px;
}
footer > div > ul > li:first-of-type {
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 15px;
}

/* Stop zooming on inputs in iPhone
-----------------------------------------------------------------*/
@media all and (-webkit-min-device-pixel-ratio:2) and (max-device-width: 1024px) { 
	select:focus, select:hover,
	textarea:focus, textarea:hover,
	input:focus, input:hover {
		font-size: 1rem;
	}
}