section#mainContent a, section#mainContent a:visited {
	color: #02627f;
	font-weight: 700;
}

section#mainContent div.coloured a, section#mainContent div.coloured a:visited {
	color: #20272c;
	font-weight: 700;
}

section#mainContent {
	font-size: 14pt;
}

div.coverImage {
	display: block;
	position: relative;
	width: 100%;
	height: 100vh;
	padding-bottom: 10em;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

span.imageCopy {
	font-size: 0.5em;
	color: #4c5256;
	position: absolute;
	right: 2em;
	bottom: 1em;
}

div.coverImage span.imageCopy {
	bottom: 6em;
}

@media (max-width: 59.9rem) {
	div.coverImage span.imageCopy {
		bottom: 7em;
	}
}

span.imageCopy.left {
	left: 2em;
	right: initial;
}

div#coverText {
	display: block;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 1em;
	width: 30em;
	position: absolute;
	top: 3em;
	right: 3em;
}

div#coverText.reverse {
	right: initial;
	left: 3em;
}

@media (max-width: 59.9rem) {
	
	div#coverText {
		bottom: initial;
		width: 80%;
		right: 1em;
	}
	
	div#coverText.reverse {
		left: 1em;
		right: initial;
	}
	
}

div#coverText hr {
	width: 0;
	margin: 0.5em auto;
	border-top: 1px solid #000;
}

span.highlight {
	color: #02627f;
}

div#coverText div.homeButton {
	display: block;
	padding: 1em;
	width: calc(100% - 2em);
}

div#coverText div.homeButton a {
	display: block;
	width: calc(100% - 2em);
	padding: 1em;
	background-color: #02627f;
	color: #FFF;
	text-align: center;
}

div#coverText div.buttonSubText {
	display: block;
	font-size: 0.6em;
	width: 100%;
	text-align: right;
}

div#coverText div.buttonSubText ~ h4 {
	margin-top: 2em;
}

form#coverRegister > div {
	margin: 1.5em 2em;	
}

form#coverRegister input {
	height: 3em;
	padding-left: 1em;
	padding-right: 1em;
}

form#coverRegister input[type='submit'] {
	color: #FFFFFF;
	background-color: #02627f;
}

div.coverTips {
	margin: 2em auto;
	width: 80%;
	display: block;
}

div.coverTips ul {
	margin-bottom: 2em;
}

div.coverTips ul li {
	display: flex;
	align-items: center;
	margin: 0.5em;
}

div.coverTips ul li i {
	border: 0.5em solid transparent;
}

div.coverContainer {
	display: block;
	width: 100%;
	padding: 4em 0;
	color: #444;
}

div.coverContainer h2 {
	display: block;
	width: calc(100% - 2em);
	text-align: center;
	margin: 3em 1em;
}

div.coverContainer.coloured h2 { color: #f0f0f0; }
div.coverContainer:not(.coloured) h2 { color: #000000; }

p.centerText {
	text-align: center;
	width: calc(100% - 1em);
	margin: 1em 0;
	padding: 0 1em;
}

div.coverContainer.white {
	background-color: #f8f9fb;
}

div.coverContainer.coloured {
	background-color: rgba(2,98,127,0.8);
	color: #FFF;
}

span.redHighlight { color: #db5461; }
span.blueHighlight { color: #02627f; }


div.apiList {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

div.apiList div {
	flex: 0 0 10em;
	border: 1em solid transparent;
}

div.apiList div img {
	display: block;
	width: 100%;
}

p.quotes {
	display: block;
	width: 100%;
	text-align: right;
	margin: 1em 0;
}




div.sideBlocks {
	display: flex;
	width: calc(100% - 2em);
	margin: auto;
	justify-content: center;
}

@media (max-width: 60rem) {
	div.sideBlocks {
		flex-wrap: wrap;
		justify-content: center;
	}
}

div.sideBlocks.reverse {
	flex-direction: row-reverse;
}

div.sideBlocks > * {
	border: 1em solid transparent;
}

div.coverContainer header h2 {
	border-left: 0.2em solid #db5461;
	padding-left: 0.4em;
}

div.coverContainer header h3 {
	border-bottom: 0.2em solid #db5461;
	padding-bottom: 0.4em;
}

div.coverContainer ul {
	margin: 1em;
}

div.coverContainer ul li {
	margin: 1em;
	list-style: initial;
}


/*
div#coffeeBackground {
	background-image: url('/images/1577253324-background-beverage-breakfast-brown-414645.jpg');
	background-size: cover;
	background-position: center;
}
*/



div.CTAButton {
	display: block;
	text-align: right;
	padding: 4em 1em;
}

section#mainContent div.CTAButton a, section#mainContent div.CTAButton a:visited {
	display: inline-block;
	border-radius: 5px;
	padding: 0.8em;
	background-color: #20272c;
	color: #FFF;
}

div.CTAButton a:hover {
	filter: saturate(7);
}

div.imgSkew {
	display: flex;
	min-height: 20em;
	width: 100%;
}

div.imgSkew div.iskewImage {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	flex: 0 0 60%;
	min-height: 20em;
	position: relative;
	clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
}

@media (max-width: 59.9rem) {
	div.imgSkew {
		flex-wrap: wrap;
	}
	
	div.imgSkew div.iskewImage {
		flex: 0 0 100%;
		clip-path: polygon(0 0, 100% 0%, 100% 80%, 0% 100%);
	}
}

div.imgSkew div.iskewText {
	padding: 4em;
	line-height: 2em;
}

div.imgSkew span.qimg {
	background-image: url('/themes/icons/red/quotes.svg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	width: 1em;
	height: 1em;
	margin: 1em;
}


div.videoEmbedWrapper {
	display: flex;
	width: calc(100% - 4em);
	padding: 2em;
	min-height: 30em;
}

@media (max-width: 59.9rem) {
	div.videoEmbedWrapper {
		flex-wrap: wrap;
	}
}

div.vewText {
	flex: 1 0 calc(25% - 2em);
	padding: 1em;
}

div.vewText p {
	margin: 1em 0;
}

div.vewVideo {
	flex: 1 0 calc(75% - 2em);
	padding: 1em;
}