/**
	@Author:	Paul Strandoo
	@Date:		09/2024
	@Notes:		Anglia Civils
	
	Poppins: 300/500/700
	roofing-red: #8d2427;
	mobile/desktop menu break: 1260px; 1112px; 1024px
	970 / 1170 /
*/

@import url("font-awesome.min.css");
:root {
	--display-font: 'Outfit', sans-serif;
	--body-font: 'Outfit', sans-serif;
	--display-med: 500;
	--display-bold: 700;
	--body-light: 300;
	--body-med: 500;
	--body-bold: 700;
		
	--accent: #FF9300; /* orange */
	--grey: #707070;
	--white: #ffffff;
	--black: #171717;
	

	--header: #051728;
	--navy: #002F6C;
	--lightblue: #6fbad9;
	--textblue: #459fc4;
	
	--light-grey: #f0f0f0;   
	/*--light-grey: #F5F5F5;*/
	
	--grey0: #575656;
	--grey1: #ebebeb;
	--grey2: #9f9f9f;
	--grey3: #939393;
	--grey4: #f6f6f6;
	
	--section-pad-large: 7em;
	--section-pad-med: 5em;
	--section-pad-small: 3em;
	
	--header-height: 220px;
	
    --inner: 1210px; /* 1320 */
    --inner-narrow: 960px;
    --inner-large: 1150px;
    --inner-wide: 1500px;
    --inner-very-wide: 1970px;
    --inner-full: 100%;
    
    /*--section-default-padding: 70px 0;
    --section-mobile-padding: 40px 0;*/
	}

/**
 * Reset stylesheet to normalize styles across browsers
 */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,label,input,textarea,p,blockquote,th,td {  
	margin:0; 
	padding:0; 
	}
table { 
	border-collapse:collapse; 
	border-spacing:0; 
	}
fieldset,img {  
	border:0; 
	}
address,caption,cite,code,dfn,em,strong,th,var { 
	font-style:normal; 
	font-weight:normal; 
	}
ol,ul,li { 
	list-style:none; 
	margin: 0;
	padding: 0;
	}
caption,th { 
	text-align:left; 
	} 
h1,h2,h3,h4,h5,h6 { 
	font-size:100%; 
	font-weight:normal; 
	} 
q:before,q:after { 
	content:''; 
	} 
abbr,acronym { 
	border:0; 
	} 
a {
	text-decoration: none;
	}
img {
	display: block;
	vertical-align: middle;
	max-width: 100%;
	}

* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
	box-sizing: border-box;
	}

html {
	font-size: 100%;
	height: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 156px;
	}
body {
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	font-size: 16px;
	line-height: 1.3;
	background: #ffffff;
	}

body, input, textarea, table {
	font-family: var(--body-font);
	font-weight: var(--body-light);
	font-style: normal;
	color: var(--black);
	}
/*
div { border: 1px dotted red; }
section { border: 1px dotted blue; }
*/

/* ----- [ Typography ] -------------------------*/
p,
li,
td {
	font-family: var(--body-font);
	font-weight: var(--body-light);
	font-style: normal;
	font-size: 1.2rem;
	line-height: 1.6em;
	margin: 0 0 1em;
	}
	
ul {
	margin: 1em 0;
	}

li {
	margin: 0;
	}
em {
	font-style: italic;
	}
strong, b {
	font-weight: 700;
	}

input,
button,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	}

a { 
	color: inherit;
	text-decoration: underline;
	}

a:hover {
	color: var(--brand-dark);
	/*text-decoration: underline;*/
	}
a:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
	}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--display-font);
	font-weight: var(--display-med);
	font-style: normal;
	line-height: 1.1;
	}

h1,.h1 {
	font-family: var(--display-font);
	font-weight: var(--display-bold);
	/*font-size: 3rem;
	font-size: clamp(2rem, 10vw, 5rem);*/
	font-size: clamp(3.1rem, 10vw, 4.5rem)
	line-height: 1.2;  
	letter-spacing: 0.02em;
	margin: 0 0 0.5em;
	width: 100%;
	}
	
.home-hero h1 {
	/*font-size: 3.2rem;
	font-size: 4.5rem;*/
	font-size: clamp(3.1rem, 10vw, 4.5rem);
	line-height: 1;
	font-weight: 300;
	color: var(--white);
	text-transform: uppercase;
	}
.home-hero h1 strong {
	/*font-size: 5.5rem;
	font-size: 4.5rem;*/
	font-weight: 700;
	}

h2,.h2 {
	font-family: var(--display-font);
	font-weight: var(--display-bold);
	color: var(--black);
	font-size: 2.2rem;
	line-height: 1.2em;
	padding: 0;
	margin: 0 0 0.8em;
	text-transform: uppercase;
	}
	
h2:first-of-type {
	margin-top: 0;
	}
	
h3,.h3 { 
	font-family: var(--display-font);
	font-weight: var(--display-bold);
	color: var(--black);
	font-size: 1.5rem;
	line-height: 1.3;
	margin: 0 0 0.5em;
	}
	
h2 + h3 {
	margin-top: -1em;
	}

h4,.h4 { 
	font-family: var(--body-font);
	font-weight: var(--body-med);
	font-size: 1.3rem;
	line-height: 1.6;
	margin: 0 0 0.2em;
	}
	
h5,.h5 { 
	font-family: var(--body-font);
	font-weight: var(--body-med);
	font-size: 1.2rem;
	line-height: 1.6;
	margin: 0 0 0.2em;
	}
	
.page-footer h5 {
	font-size: 1rem;
	font-weight: var(--body-bold);
	margin: 0 0 1em;
	}

h6,.h6 { 
	font-family: var(--body-font);
	font-weight: var(--body-bold);
	font-size: 1rem;
	line-height: 1.6;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
	}

p + h3,
ul + h3 {
	margin-top: 1.2em;
	}

@media only screen and (min-width: 400px) {  
	h2,.h2 {
		font-size: 2.4rem;  
		}
}

@media only screen and (min-width: 600px) {
	h1,.h1 {
		font-size: 3rem;
		}
	h2,.h2 {
		font-size: 3.2rem;
		}
	h3,.h3 {
		font-size: 1.7rem;
		}
	h4,.h4 { 
		font-size: 1.6rem;
		}
}

figure {
	margin: 0;
	}
img {
	vertical-align: middle;
	}

/* ----- [ Structure ] -----------------*/
.page-wrapper {
	position: relative;
	padding-top: 0;
	background: #fff;
	min-height: 100%;
	/*z-index: 2;*/
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	}

/* unused */
.page-overlay {
	position: fixed;
	top: 0;
	left: 0;
	min-height: 100%;
	height: 100%;
	width: 100%;
	visibility: hidden;
	background: var(--grey1);
	z-index: 600;
	opacity: 0;
	overflow-y: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	padding-top: 120px;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	}
.page-overlay.is-open {
	position: fixed;
	opacity: 1;
	visibility: visible;
	overflow-y: auto;
	}
.page-overlay.is-open + .page-header {
	/*position: fixed;*/
	}

@media only screen and (min-width: 750px) {
	.page-overlay {
		align-items: center;
		padding: 0.9;
		}
}

header,
section,
footer {
	width: 100%;
	margin: 0;
	position: relative;
	}
section {
	margin: 0;
	padding: var(--section-pad-med) 0;
	padding: 0;
	position: relative;
	}

.inner {
	max-width: calc(var(--inner) + 32px);
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	}
.inner-narrow {
	max-width: var(--inner-narrow);
	}
.inner-large {
	max-width: var(--inner-large);
	}
.inner-wide {
	max-width: var(--inner-wide);
	}
	
.inner-full {
	max-width: 100%;
	margin: 0;
	padding: 0 !important;
	}

@media only screen and (min-width: 200px) {
	.flex-inner {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		position: relative;
		max-width: 100%;
		height: 100%;
		padding: 0 20px;
		}
}
@media only screen and (min-width: 450px) { 
	.inner {
		padding: 0 30px;
		}
}

@media only screen and (min-width: 974px) {
	.flex-inner {
		margin: 20px 0;
		}
}

/* ----- [ Strandoo Flex Grid System v1 ] ------ */
.row {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	flex-direction: column;
	/*justify-content: stretch;*/
	list-style: none;
	margin: 0;
	padding: 0;
	/*overflow: hidden;*/
	position: relative;
	}

.col {
	flex: 1;
	padding: 0;
	max-width: 100%;
	}

@media only screen and (min-width: 420px) {
	/*.col { flex: initial; }*/
	.row.no-padding,
	.row.padding-0 {
		margin-left: 0;
		margin-right: 0;
		}
	.row.padding-1 {
		margin-left: -1px;
		margin-right: -1px;
		}
	.row.padding-5 {
		margin-left: -5px;
		margin-right: -5px;
		}
	.row.padding-10 {
		margin-left: -10px;
		margin-right: -10px;
		}
	.row.padding-15 {
		margin-left: -15px;
		margin-right: -15px;
		}
	.row.padding-20 {
		margin-left: -20px;
		margin-right: -20px;
		}
	.row.padding-30 {
		margin-left: -30px;
		margin-right: -30px;
		}
	.row.padding-40 {
		margin-left: -40px;
		margin-right: -40px;
		}
	.row.padding-50 {
		margin-left: -50px;
		margin-right: -50px;
		}

	.no-padding > .col,
	.padding-0 > .col {
		padding: 0;
		}
	.padding-1 > .col {
		padding-left: 1px;
		padding-right: 1px;
		}
	
	.padding-5 > .col {
		padding-left: 5px;
		padding-right: 5px;
		}
	.padding-10 > .col {
		padding-left: 10px;
		padding-right: 10px;
		}
	.padding-15 > .col {
		padding-left: 15px;
		padding-right: 15px;
		}
	.padding-20 > .col {
		padding-left: 20px;
		padding-right: 20px;
		}
	.padding-30 > .col {
		padding-left: 30px;
		padding-right: 30px;
		}
	.padding-40 > .col {
		padding-left: 40px;
		padding-right: 40px;
		}
	.padding-50 > .col {
		padding-left: 50px;
		padding-right: 50px;
		}

	.row.text-center > .col {
		text-align: center;
		}
}

.col > img {
	max-width: 100%;
	}

@media only screen and (min-width: 100px) and (max-width: 599px) {
	.base-row.row {
		flex-direction: row;
		}

	.base-row .m-1of2,
	.base-row .m-2of4,
	.base-row .m-50 {
		width: 50%;
		flex: initial;
		}
	.base-row .m-1of3,
	.base-row .m-33 {
		width: 33.3333%;
		flex: initial;
		}
}

@media only screen and (min-width: 600px) { 
	.row {
		flex-direction: row;
		}

	.m-auto {
		width: auto;
		}
	.m-full,
	.m-1of1,
	.m-2of2 {
		width: 100%;
		flex: initial;
		}
	.m-1of2,
	.m-50 {
		width: 50%;
		flex: initial;
		}
	.m-1of3,
	.m-33 {
		width: 33.3333%;
		flex: initial;
		}
	.m-2of3,
	.m-66 {
		width: 66.6667%;
		flex: initial;
		}
	.m-1of4,
	.m-25 {
		width: 25%;
		flex: initial;
		}
	.m-3of4,
	.m-75 {
		width: 75%;
		flex: initial;
		}
	.m-1of5,
	.m-20 {
		width: 20%;
		flex: initial;
		}
		
	.m-hidden { display: none; }
}

@media only screen and (min-width: 770px) {
	.t-auto {
		width: auto;
		}
	.t-full,
	.t-1of1,
	.t-2of2,
	.t-3of3,
	.t-4of4,
	.t-5of5 {
		width: 100%;
		flex: initial;
		}
	.t-1of2,
	.t-2of4,
	.t-3of6,
	.t-50 {
		width: 50%;
		flex: initial;
		}
	.t-1of3,
	.t-2of6,
	.t-33 {
		width: 33.3333%;
		flex: initial;
		}
	.t-2of3,
	.t-4of6,
	.t-66 {
		width: 66.6667%;
		flex: initial;
		}
	.t-1of4,
	.t-25 {
		width: 25%;
		flex: initial;
		}
	.t-3of4,
	.t-75 {
		width: 75%;
		flex: initial;
		}
	.t-1of5,
	.t-3of6,
	.t-20 {
		width: 20%;
		flex: initial;
		}
	.t-2of5,
	.t-40 {
		width: 40%;
		flex: initial;
		}
	.t-3of5,
	.t-60 {
		width: 60%;
		flex: initial;
		}
	.t-4of5,
	.t-80 {
		width: 80%;
		flex: initial;
		}
	.t-hidden { display: none; }
}
@media only screen and (min-width: 1200px) { 
	.d-auto {
		width: auto;
		}
	.d-full,
	.d-2of2,
	.d-3of3,
	.d-4of4,
	.d-5of5 {
		width: 100%;
		flex: initial;
		}
	.d-1of2,
	.d-2of4,
	.d-3of6,
	.d-50 {
		width: 50%;
		flex: initial;
		}
	.d-1of3,
	.d-2of6,
	.d-33 {
		width: 33.3333%;
		flex: initial;
		}
	.d-2of3,
	.d-4of6,
	.d-66 {
		width: 66.6667%;
		flex: initial;
		}
	.d-1of4,
	.d-25 {
		width: 25%;
		flex: initial;
		}
	.d-3of4,
	.d-75 {
		width: 75%;
		flex: initial;
		}
	.d-1of5,
	.d-3of6,
	.d-20 {
		width: 20%;
		flex: initial;
		}
	.d-2of5,
	.d-40 {
		width: 40%;
		flex: initial;
		}
	.d-3of5,
	.d-60 {
		width: 60%;
		flex: initial;
		}
	.d-4of5,
	.d-80 {
		width: 80%;
		flex: initial;
		}
	.d-1of6,
	.d-16 {
		width: 16.6666%;
		flex: initial;
		}
		
	.d-hidden { display: none; }
}

.row.text-center > .col {
	text-align: center;
	}

.col > img {
	max-width: 100%;
	}

img.full {
	width: 100%;
	}
img.half {
	width: 50%;
	float: left;
	}

.centered,
.centered p,
.centered h2,
.centered h3 {
	text-align: center;
	}

/* legacy? */
@media only screen and (min-width: 600px) {
	.row,
	.flex-row {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
		}
}

/* ----- [ Color variants ] ----------- */
.dark {
	color: #fff !important;
	background: var(--black);
	}
.dark h2,
.dark h3,
.dark p,
.dark li,
.dark a {
	color: #fff;
	}
.dark a:hover {
	}

/* ----- [ Flex Container ] ----------- */
.flex-container {
	display: block;
	height: 100%;
	height: auto;
	}
.flex-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	position: relative;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	}
.flex-container > * {
	/*width: 100%;*/
	display: block;
	}
	
@media only screen and (min-width: 600px) {
	/* Make this a Utility Class */
	.flex-container {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
		position: relative;
		justify-content: space-between;
		align-items: center;
		padding: 0 20px;
		}
	
	.f-top { align-items: flex-start; }
	.f-middle { align-items: center; }
	.f-bottom { align-items: flex-end; }
	.f-left { justify-content: flex-start; }
	.f-right { justify-content: flex-end; }
	.f-center { justify-content: center; }
	.f-between { justify-content: space-between; }
	.f-around { justify-content: space-around; }
	.f-stretch { justify-content: stretch; }
}

/* ----- [ Page Header / Masthead ] -----------------*/
.page-header {
	position: sticky;
	/*position: fixed;*/
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	z-index: 999;
	background: #fff;
	background: rgba(255,255,255,0.9);
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
	}
	
.page-header .inner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: var(--inner-very-wide);
	margin: 0 auto;
	padding: 10px 15px;
	}

.logo-wrap {
	display: block;
	height: auto;
	max-width: 300px;
	max-width: 73vw;
	margin: 0;
	text-decoration: none;
	border: none;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	}

@media screen and (min-width: 570px) {
	.logo-wrap {
		max-width: 300px;
		}
	.is-solid .logo-wrap {
		max-width: 250px;
		}
	.is-solid .head-phone {
		font-size: 1.2rem;
		margin-bottom: 0.4em;
		}
}

@media screen and (min-width: 950px) {
	.page-header .inner {
		padding: 15px 30px;
		}
}

@media screen and (min-width: 1070px) {
	.logo-wrap {
		display: block;
		max-width: 300px;
		}
}

/* ----- [ Menu Trigger (Hamburger) ] ---- */
.menu-toggle {
	position: absolute;
	right: 1em;
	display: block;
	background: transparent;
	width: 44px;
	height: 44px;
	cursor: pointer;
	}
.menu-toggle a {
	display: none;
	}

.menu-toggle .menu-icon {
	/* this span is the central line in the menu menu */
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	width: 26px;
	height: 2px;
	background-color: #fff;
	/* these are the upper and lower lines in the menu menu */
	}
.menu-toggle .menu-icon::before, 
.menu-toggle .menu-icon:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: inherit;
	left: 0;
	}
.menu-toggle .menu-icon::before {
	bottom: 8px;
	}
.menu-toggle .menu-icon::after {
	top: 8px;
	}
.menu-toggle.is-clicked .menu-icon {
	background-color: rgba(255, 255, 255, 0);
	}
.menu-toggle.is-clicked .menu-icon::before, 
.menu-toggle.is-clicked .menu-icon::after {
	background-color: #fff;
	}
.menu-toggle.is-clicked .menu-icon::before {
	bottom: 0;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	}
.menu-toggle.is-clicked .menu-icon::after {
	top: 0;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	}

/* was prefaced by 'is-solid' class */	
.menu-toggle .menu-icon {
	background-color: #222;
	}
.menu-toggle.is-clicked .menu-icon {
	background-color: rgba(255, 255, 255, 0);
	}
.menu-toggle.is-clicked .menu-icon::before, 
.menu-toggle.is-clicked .menu-icon::after {
	background-color: #222;
	}

@media only screen and (min-width: 570px) { 
	.menu-toggle {
		right: 2em;
		}
}
	
@media only screen and (min-width: 940px) { /* 1270px */
	.menu-toggle {
		display: none;
		}
	.menu-toggle .menu-text {
		display: inline-block;
		line-height: 70px;
		}
	.menu-toggle .menu-icon {
		left: auto;
		right: 1.25em;
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
		transform: translateX(0);
		}
}

/* ----- [ Navigation / Search ] ----------- */
.nav-wrapper {
	display: flex;
	flex-direction: column-reverse;
	}
.main-navigation {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	height: 0;
	margin: 0;
	padding: 15vh 10% 10%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	overflow: hidden;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	background: #fff;
	z-index: -1;
	opacity: 0;
	}
	
.main-navigation.is-open {
	min-height: 100vh;
	opacity: 1;
	overflow: scroll;
	}
	
.main-navigation ul {
	margin: 0 0.5em;
	}
.level-2 {
	font-weight: var(--body-light);
	margin: 0.6em 0;  
	text-decoration: none;
	}
	
.menu-item {
	margin: 0.5em 0;
	text-decoration: none;
	}
.menu-link {
	font-weight: var(--body-light);
	font-size: 1.8rem;
	line-height: 1.4;
	text-decoration: none;
	/*border-bottom: 4px solid transparent;*/
	}
.menu-link:hover,
.menu-link.on {
	text-decoration: none;
	/*border-bottom: 4px solid var(--brand-dark);*/
	}
.menu-link:hover {
	color: var(--navyblue);
	text-decoration: none;
	}

@media only screen and (min-width: 940px) { /* 1270px */
	.nav-wrapper {
		flex-direction: row;
		}
	.main-navigation {
		display: flex;
		flex-direction: row;
		position: relative;
		justify-content: flex-start;
		align-items: center;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		background-color: transparent;
		overflow: visible;
		flex-basis: 34%;
		opacity: 1;
		z-index: 1;
		}

	.menu-item {
		position: relative;
		display: inline-block;
		margin: 0 1em;
		white-space: nowrap;
		}
	.menu-item:last-child {
		margin-right: 0;
		}

	.menu-link {
		font-size: 1rem;
		line-height: 1.2;
		font-weight: var(--body-bold);
		letter-spacing: 0.05em;
		padding: 0;
		text-transform: uppercase;
		/*background-color: transparent;*/
		}
		
	.menu-item:hover .dropnav {
		top: 130%;
		visibility: visible;
		opacity: 1;
		}
	
	.menu-link:hover,
	.menu-link.on {
		text-decoration: none;
		border-bottom: 5px solid var(--accent);
		}

	.main-navigation .level-2 {
		margin: 0;
		}
	.main-navigation .level-2 ul {
		margin: 0 0 0.2em;
		}
	.main-navigation .level-3 .menu-item {
		font-weight: var(--body-lignt);
		font-size: 1rem;
		margin-left: 1em;
		}	
		
	.submenu-toggle {
		position: relative;
		top: -1px;
		z-index: 2;
		display: inline-block;
		height: 12px;
		line-height: 12px;
		font-size: 12px;
		}

	.submenu-toggle:before {
		content: '\f107';
		font-family: 'FontAwesome', sans-serif;
		}
}

/* ----- [ Home Hero ] --------------- */
.vimeo-wrapper {
	position: fixed;
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
	background: #fff url('../images/circle-icon2.png') 50% 50% no-repeat;
	}

.home-hero {
	margin: 0 auto;
	padding: 0;
	padding-top: 20px;
	/*background: #eee;
	background: #eee url("../images/circle-icon2.png") 50% 50% no-repeat;
	background-size: 100px;*/
	height: auto;
	height: 500px;
	height: 85vh;
	min-height: 300px;
	/*max-height: 500px;*/
	margin-bottom: 8px;
	}

/* if video */
.home-hero.jarallax {
	height: 70vw;
	max-height: 75vh;
	/*max-height: 800px;*/
	}
/*
.TextformatterVideoEmbed {
	background: #eee url("../images/circle-icon.png") 50% 50% no-repeat;
	background-size: 100px;
	}
.home-hero.jarallax:before {
	content:"";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #eee url("../images/circle-icon.png") 50% 50% no-repeat;
	background-size: 100px;
	z-index: -1;
	}
*/

/* All heros */	
.home-hero .inner {
	position: relative;
	height: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	}

.home-hero .hero-overlay {
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	background: rgba(0, 0, 0, 0.3);
	}
	
/* check if mobile */
@media (pointer: coarse) {
	.hero-section {
	 	background-attachment: initial !important;
		}
}
@media only screen and (max-width: 450px) {
	.hero-full
	.home-hero,
	.home-hero.jarallax {
		height: 85vh;
		}
}
@media only screen and (min-width: 540px) {
	.home-hero {
		padding-top: 0;
		border-top: var(--top-margin) solid #fff;
		}
}
/* ----- [ Hero Images ] ----------------- */
.hero {
	height: auto;
	margin: 0;
	padding: 40px 0 0;
	background: var(--brand-light);
	margin-bottom: 120px;
	}

.hero-overlay {				
	/* z-index: 1; */
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	background: rgba(0, 0, 0, 0);
	}
.hero-inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	justify-content: center; 
	align-items: center;
	height: 100%;
	height: auto;
	padding: 0;
	position: relative;
	}

.hero-image {
	margin: 3em 0;
	border-radius: 0;
	width: 100%;
	/* width: calc(100% + 30px); */
	max-height: 650px;
	}
.hero-text {
	max-width: 50em;
	}

.inline-hero {
	padding: 5em 30px;
	}
	
.inline-hero blockquote p {
	font-size: 2.5rem;
	font-size: clamp(1.5rem, 10vw, 2.5rem);
	line-height: 1.4;
	font-weight: var(--body-bold);
	max-width: 14em;
	margin: 0;
	}
/* disabled for now */
/*
.inline-hero blockquote:before {
	content: "“";
	position:absolute;
	font-size: 10rem;
	line-height: 0.1em;
	top: -10px;
	left: 25px;
	font-weight: 700;
	}
.inline-hero blockquote:after {
	content: "";
	position:absolute;
	font-size: 10rem;
	line-height: 0.1em;
	top: -10px;
	left: 120px;
	height: 3px;
	width: 270px;
	max-width: 60%;
	background: #fff;
	}
*/

.hero-text p {
	font-size: 1.3rem;
	line-height: 1.5;
	text-align: left;
	}

.hero h1 {
	max-width: 8.5em;
	padding: 0;
	}

@media screen and (min-width: 600px) {
	.hero:before {
		bottom: 50px;
		}
	.hero-inner {
		flex-direction: row;
		height: 550px;
		}
	.hero-img-wrapper {
		margin-inline: -20px;
		/*max-height: 650px;*/
		}
}

/* ----- [ Header: Top Bar ] -----------------*/
.top-bar {
	color: var(--white);
	background: var(--black);
	text-align: center;
	padding: 5px 30px;
	}
.top-bar a {
	color: var(--white);
	text-decoration: none;
	}
.top-bar a:hover {
	color: var(--accent);
	text-decoration: underline;
	}
.top-bar p {
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	margin: 0;
	}
.top-bar em,
.top-bar i {
	font-style: normal;
	color: var(--accent);
	}


/* ----- [ Home: Intro ] -----------------*/
.page-intro {
	border-top: 6px solid var(--black);
	/*border-bottom: 6px solid var(--black);*/
	padding: 3em 30px;
	}

/* ----- [ Service Icons and CTA Sections ] -----------------*/
.service-icons,
.cta-section {
	color: #fff;
	text-align: center;
	background: var(--black);
	margin: 14px 0;
	padding: 2em 30px;
	}
.service-icons:before,
.service-icons:after,
.cta-section:before,
.cta-section:after {
	content: "";
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--black);
	}
.service-icons:after,
.cta-section:after {
	top: auto;
	bottom: -14px;
	}
	
.service-icon {
	text-align: center;
	padding: 0 1em;
	margin-bottom: 1.5em;
	}
.service-icon a {
	text-decoration: underline;
	}
.service-icon a:hover h3 {
	color: var(--accent);
	text-decoration: underline;
	}
.service-icon img {
	width: 200px;
	max-width: 150px;
	margin: 0 auto 0.5em;
	}
.service-icon h3 {
	margin: 0;
	}

.cta-section h2,
.cta-section h3,
.cta-section p {
	text-align: center;
	margin: 0 auto;
	}
.cta-section h3 {
	font-size: 2rem;
	font-size: clamp(1.3rem, 5vw, 2rem);
	letter-spacing: 0.05em;
	}
/*
.cta-section p {
	margin: 0 auto;
	font-size: 2rem;
	font-weight: var(--display-bold);
	}
*/

/* ----- [ Home: Services ] -----------------*/
.img-wrapper,
.service-img-wrapper {
	position: relative;
	height: 100%;
	margin-left: -50px;
	margin-right: 4em;
	}
.img-wrapper.right,
.service-img-wrapper.right {
	margin-right: 0;
	margin-left: 4em;
	}
	
@media only screen and (min-width: 1242px) {
	.img-wrapper,
	.service-img-wrapper {
		position: relative;
		height: 100%;
		margin-left: calc((1162px - 100vw) / 2);
		margin-right: 4em;
		}
	.img-wrapper.right,
	.service-img-wrapper.right {
		margin-right: calc((1182px - 100vw) / 2);
		margin-left: 4em;
		}
}

.feature-img,
.about-img,
.object-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all .4s ease;
	}
.feature-img {
	position: absolute;
	top: 0;
	right: 0;
	}

/* ----- [ Services ] -----------------*/
.services-section {
	padding: 4em 0;
	}
.services-section .row {
	margin: 2.5vw 0;
	}
.services-section .row:last-child {
	margin-bottom: 0;
	}
.service-text-wrapper {
	padding: 5% 0;
	}
.service-text-wrapper p {
	font-size: 1.2rem;
	line-height: 1.4;
	}
	
.services-section h3 {
	text-transform: uppercase;
	}

.about-us-section,
.contact-us-section {
	margin: 5em 0;
	}

/* ----- [ Hero Sections ] -----------------*/	
.hero-section {
	color: #fff;
	text-align: center;
	background: var(--black);
	margin: 14px 0;
	padding: 6em 0;
	}
.hero-section:before,
.hero-section:after {
	content: "";
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--black);
	}
.hero-section:after {
	top: auto;
	bottom: -14px;
	}
.hero-section .hero-text {
	margin-top: 3em;
	}

/* ----- [ Basic Page ] --------------- */
.main-content {
	margin-bottom: 4em;
	}

/* ----- [ CMS Content ] -----------------*/
.cms-text p > img {
	max-width: 100%;
	display: block;
	margin: 0 0 1em;
	}

.cms-text ul,
.cms-text ol {
	margin: 0 0 1em;
	}
.cms-text ul li {
	list-style-type: disc;
	list-style-position: outside;
	margin: 0 0 0.5em 1.5em;
	}
.cms-text ol li {
	list-style-type: decimal;
	list-style-position: outside;
	margin: 0 0 0.5em 1.5em;
	}
	
.cms-text a:not(.button) {
	color: var(--brand-dark2);
	}
.cms-text a:not(.button):hover {
	color: var(--brand-light);
	}

/* ----- [ Contact Section ] --------------- */
.form-wrapper {
  background: #f6f6f6;
  padding: 25px 30px;
  border-radius: 10px;
  }

/* buttons */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	display: inline-block;
	color: var(--white);
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
	font-weight: var(--body-bold);
	text-decoration: none !important;
	/*white-space: nowrap;*/
	background: var(--accent);
	border: 2px solid var(--accent);
	border-radius: 8px;
	text-overflow: ellipsis;
	overflow: hidden;
	padding: 0.6em 1.2em;
	margin: 0;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	/* transitions */
	}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	color: var(--accent);
	background: var(--white);
	border-color: var(--accent);
	}
	
.cms-text .button:hover {
	background: var(--brand-dark);
	}
	
.button-small {
	border-radius: 5px;
	padding: 0.35em 1em;
	}
	
.button-full {
	display: block;
	width: 100%;
	}

/*
.dark .button {
	background: transparent;
	border: 2px solid var(--white);
	}
.dark .button:hover {
	color: var(--black);
	border: 2px solid var(--white);
	}
*/
.button .fa {
	margin: 0 0.5em 0 -0.3em; 
	}

@media only screen and (min-width: 600px) { 
	button,
	.button {
		width: auto;
		white-space: nowrap;
		text-align: center;
		}
}

/* ----- [ Slick Slider ] -----------------*/
.slick-slider .slick-list,
.slick-slide > div {
	height: 100%;
	}

/* fixes round corner image flash */
.slick-slide {
	z-index: 1;
	}

/* Arrows */
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    text-align: center;
	top: auto;
    left: auto;
    right: 20px;
	bottom: -10px;
    display: block;
    width: 42px;
    height: 42px;    
    padding: 0 0 0 2px;
    color: #fff;
    background: var(--brand-light);
    border-radius: 50%;
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    cursor: pointer;
    z-index: 9;
}
.slick-prev {
	right: 70px;
	padding: 0 2px 0 0;
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
	}

.slick-prev:hover,
.slick-next:hover {
	background: var(--brand-dark);
	}

.slick-prev:before,
.slick-next:before {
	content: "▸";
    font-family: 'FontAwesome';
    font-size: 36px;
    line-height: 0.5;
    opacity: 1;
    color: #414141;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	}
.slick-prev:before {
	}
	
.slick-dots {
	bottom: 20px;
	}
	
/* ----- [ Gallery Page & Sections / Isotope ] -----------------*/
.slick-gallery {
	margin-bottom: 60px;
	}
.gallery-image {
	border-radius: 36px;
	overflow: hidden;
	margin: 0;
	box-shadow: 0px 30px 40px -24px rgba(0,0,0,0.2);
	}
.slick-gallery .caption {
	font-weight: var(--body-med);
	margin: 1em 0 0;
	}

/* ----- [ Site Map (unused) ] --------------- */
.sitemap li {
	list-style: none;
	margin:  0;
	font-size: 16px;
	line-height: 1.2em;
	padding: 0 0 0 1em;
	}
.sitemap li li {
	list-style: disc;
	}
.sitemap li li li {
	list-style: circle;
	}
.sitemap li li li li {
	list-style: square;
	}

/* ----- [ Footer ] --------------- */
.page-footer {
	clear: both;
	text-align: left;
	margin: 0;
	padding: 4em 0 0;
	/*background: var(--black);*/
	}

.footer-links {
	margin: 0;
	}

.page-footer p,
.page-footer li {
	font-size: 1.3rem;
	font-weight: var(--body-light);
	margin: 0 0 1em;
	letter-spacing: 0.05em;
	}
.page-footer li {
	margin: 0 0 0.5em;
	}
.page-footer li a {
	font-weight: bold;
	text-transform: uppercase;
	}

.page-footer a {
	text-decoration: none;
	border: none;
	}
.page-footer a:hover {
	color: inherit;
	text-decoration: underline;
	}

.footer-logo {
	max-width: 300px;
	margin: 0 auto 50px 0;
	padding: 0;
	}
.footer-logo img {
	margin: 0 auto;
	width: 100%;
	/*filter:hue-rotate(50deg);*/
	}
	
.page-footer .copyright {
	margin: 4em 0 0.5em;
	}
p.site-copyright {
	margin: 0 auto!important;
	padding: 8px 30px;
	font-size: 0.8rem;
	font-weight: var(--body-med);
	max-width: var(--inner);
	}

@media screen and (min-width: 600px) {
	.page-footer p,
	.page-footer li {
		font-size: 1rem;
		margin: 0 0 1em;
		}
}
@media screen and (min-width: 770px) {
	.page-footer-col,
	.page-footer-col p {
		text-align: left;
		}
	.page-footer-col:last-child,
	.page-footer-col:last-child p {
		text-align: right;
		}
}
@media screen and (min-width: 900px) {
	.site-credit {
		display: inline-block;
		}
}

/* ----- [ SVG Social Media Icons ] --------------- */
.social-icons-wrapper .social-icon {
    display: inline-block;
    height: 22px;
	width: 22px;
    margin: 0 0.8em 0 0;
    white-space: nowrap;
	}

.social-icons-wrapper .social-icon a,
.social-icons-wrapper .social-icon a:visited {
    opacity: 1;
    border: none;
	}
.social-icons-wrapper .social-icon a:hover,
.social-icons-wrapper .social-icon a:active {
    color: var(--brand-dark);
    opacity: 1;
    border: none;
	}

.social-icons-wrapper .social-icon svg {
    fill: currentColor;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
	}

.social-icons-wrapper .social-icon svg:hover {
	fill: var(--blue2);
	}

.social-icon span {
	display: none;
	}

.top-link {
	display: none;
    position: fixed;
    bottom: -20px;
    right: 2%;
    opacity: 0;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    z-index: 9;
	}
.top-link a {
	color: #fff;
	font-size: 20px;
	line-height: 30px;
    background: #8d2427;
    display: block;
    height: 30px;
    width: 30px;
    outline: medium none;
    position: relative;
    z-index: 0;
    text-align: center;
    }
.top-link a:hover {
	border: none;
	background: #8d2427;
	}
.top-link.show {
	opacity: 1;
	bottom: 20px;
	}
	
.top-link .fa {
	margin: 0 0 0 2px;
	line-height: 25px;
	}
	
@media screen and (min-width: 770px) {
	.social-icons-wrapper {
		text-align: left;
		}
}

/* ----- [ Utility ] --------------- */
@media screen and (min-width: 600px) {
	.row-reverse {
		flex-direction: row-reverse;
		}
}

/* ----- [ Utility (unused) ] --------------- */
.clearfix:before,
.clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	overflow: hidden;
	}
.clearfix:after {
	clear: both;
	}
.clearfix { 
	zoom: 1;
	}

.hidden {
	display: none;
	}

.full-height {
	height: 100%;
	}
.cover-image,
.object-fit-cover {
	object-fit: cover;
	height: 100%;
	width: 100%;
	}
	
.overflow-visible {
	overflow: visible;
	}
.overflow-hidden {
	overflow: hidden;
	}
	
.text-right {
	text-align: right;
	}
.text-left {
	text-align: left;
	}

hr {
	border: none;
	height: 1px;
	background: #ccc;
	margin: 1.5em 0 1em;
	}
	
.show_hide {
	display: inline-block;
	margin-bottom: 1em;
	}

p.dropcap:first-child:first-letter {
	font-family: var(--display-font);
	float: left;
	font-size: 3rem;
	line-height: 1;
	padding-top: 0;
	padding-right: 5px;
	padding-left: 2px;
	}

#editpage {
	position: fixed;
	bottom: 0;
	left: 0; 
	padding: 5px 6px; 
	background: #db1174; 
	color: #fff; 
	display: block;
	font-weight: bold; 
	}
#editpage:hover {
	background: #ffffcc;
	color: #000; 
	}

.quickedit {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 99;
	opacity: 0.5;
	}

img.align_left {
	float: left;
	margin: 0 1em 1em 0 !important;
	}
.sidebox .align_left {
	float: none;
	margin: 0 auto 1em !important;
	text-align: center;
	}

img.align_right {
	float: right;
	margin: 0 0 1em 1em !important;
	}

img.align_center {
	display: block;
	margin: 1em auto !important;
	}

.WireFatalError {
	background: #a30000; 
	color: #fff; 
	padding: 1em; 
	position: relative;
	z-index: 9999;
	}

@media only screen and (min-width: 1015px) {
	.sidebox .align_left {
		float: none;
		margin: 0 0.8em 0 0;
		}
}

.image {
	border: 0;
	border-radius: 4px;
	display: inline-block;
	position: relative;
	}

.image img {
	display: block;
	border-radius: 4px;
	}

.image.left, 
.image.right {
	width: 40%;
	max-width: 10rem;
	}

.image.left img, 
.image.right img {
	width: 100%;
	}

.image.left {
	float: left;
	margin: 0 1.5rem 1rem 0;
	top: 0.25rem;
	}

.image.right {
	float: right;
	margin: 0 0 1rem 1.5rem;
	top: 0.25rem;
	}

.image.fit {
	display: block;
	margin: 0 0 2rem 0;
	width: 100%;
	}

.image.fit img {
	width: 100%;
	}

.image.main {
	display: block;
	margin: 0 0 3rem 0;
	width: 100%;
	}

.image.main img {
	width: 100%;
	}
	
.bg-grey {
	background: var(--grey4);
	}

#termly-code-snippet-support p,
#termly-code-snippet-support li,
#termly-code-snippet-support td {
	font-size: 1em;
	line-height: 1.3;
	}
#termly-code-snippet-support img {
	display: inline;
	}

/* ----- [ Hero Images ] -----------------*/
/* ----- [ Slick Slider ] -----------------*/
.slick-slider .slick-list,
.slick-slide > div {
	height: 100%;
	}

/* basic page slider */
.slick-dots {
	bottom: 20px;
	}
.slick-dots li button:before {
	font-size: 1rem;
	color: white;
	}
.slick-dots li.slick-active button:before {
	color: var(--brand-dark);
	}

.home-slide {
	background-size: cover;
	background-position: 50% 50%;
	height: 100%;
	/*background-position: 50% 0;*/
	}

.hero-slider,
.hero-slider .slick-track,
.hero-slider .slick-wrapper,
.hero-slider .slick-slide {
	margin: 0;
	height: 100%;
	width: 100%;
	}

@media all and (max-width:599px){
	.product-img-col {
		display: block;
		}
}
	
.hero-slider .slick-prev,
.hero-slider .slick-next {
	position: absolute;
	top: 50%;
	width: 50px;
	height: 80px;
	margin-top: -20px;
	padding: 0;
	left: 0;
	color: transparent;
	font-size: 0;
	line-height: 0;
	transform: translate(0, -50%);
	cursor: pointer;
	border: none;
	border-radius: 0;
	outline: none;
	background: rgba(255,255,255,0.5) url('../images/thin-previous.png') 35% 50% no-repeat;
	background-size: 70%;
	z-index: 5;
	opacity: 0.5;
	}
	
.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
	content: "";
	}
.hero-slider .slick-next {
	position: absolute;
	right: 0;
	left: auto;
	background: rgba(255,255,255,0.5) url('../images/thin-next.png') 65% 50% no-repeat;
	background-size: 70%;
	}
.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
	opacity: 1;
	}
	
/* Keyframe for fade out animation */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* The class for the element you want to fade out */
.fade-out {
  animation: fadeOut 1s ease-in-out 5s forwards; /* 6s delay, 2s animation */
}

#termly-code-snippet-support p,
#termly-code-snippet-support li,
#termly-code-snippet-support td {
	font-size: 1em;
	line-height: 1.3;
	}
#termly-code-snippet-support img {
	display: inline;
	}

/* ----- [ Print ] ----- */
@media print {
    header, footer, aside, form {
        display: none;
    	}
	section {
		width:100%!important;
		padding:0!important;
		margin:0!important;
		width: 800px!important;
		}
	img {
		max-width: 500px !important;
		max-height: 300px !important;
		}
	h1 {
		font-size: 24pt;
		margin: 0 !important;
		padding: 0 !important;
		}
	.hero {
		min-height: 100px!important;
		height: auto;
		}
	.image {
		display: none;
		}
}
@page {
	margin: 2cm;
}
@page:first {
    margin: 0cm;
}
@page:last {
    margin: 5cm;
}
@page:left {
    margin: 2cm 1.5cm 2cm 2cm;
}
@page:right {
    margin: 2cm 2cm 2cm 1.5cm;
}
@media print {
  a:after {
    content: "("attr(href)")";
  }
}
