*
{
	margin: 0;
	padding: 0;
}

html
{
	scroll-behavior: smooth;
	scroll-padding-top: 75px;
	/* height of sticky header */
}

body
{
	font-family: Helvetica Neue, Arial, sans-serif;
	font-size: 16px;
	background: #efefef;
}

@media only screen and (max-width: 980px)
{
	body { font-size: 18px; }
}

/* Navigation */
nav
{
	box-sizing: border-box;
	width: 100vw;
	padding: 32px 30px 20px;
	text-align: right;
	border-bottom: 1px solid #6f90ab;
	background: rgba(255,255,255,0.92);
	position: fixed;
	z-index: 500;
}

#logo-nav
{
	height: 40px;
	margin-top: -21px;
	float: left;
}

nav ul
{
	list-style-type: none;
	font-size: 1.2rem;
}

nav ul li
{
	display: inline-block;
	margin: 2px 7px;
}

nav a
{
	text-decoration: none;
	color: #004971 !important;
}

@media only screen and (max-width: 560px)
{
	nav { text-align: center; }
	
	#logo-nav
	{
		height: 40px;
		margin: 0 auto;
		float: none;
		margin-bottom: 24px;
	}
}

/* Hero */
#hero
{
	box-sizing: border-box;
	width: 100%;
	background: url(images/hero-test.png) bottom right / contain no-repeat;
	min-height: calc(100vh + 1px);
	padding: 120px 50% 30px 30px;
	position: relative;
	border-bottom: 1px solid #6f90ab;
}

#hero-text
{
	font-size: 220%;
	line-height: 1.25;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	color: #004971;
	text-shadow: #efefef 0 0 5px;
}

#hero-text strong { font-size: 115%; }

@media only screen and (max-width: 1020px)
{
	#hero-text
	{
		font-size: 180%;
		position: absolute;
		top: 35%;
		-ms-transform: translateY(-35%);
		transform: translateY(-35%);
	}
}

/* Services */
#services
{
	box-sizing: border-box;
	width: 100%;
	padding: 60px 30px;
	background: linear-gradient(0deg, rgba(111,144,171,1) 0%, rgba(0,73,113,1) 15%);
}

#services h1 { color: #fff !important; }

.services-row
{
	box-sizing: border-box;
	padding: 0;
}

.services-box
{
	box-sizing: border-box;
	background: white;
	border: 1px solid #004971;
	padding: 30px;
	width: calc(100% / 5 - 24px);
	display: inline-block;
	margin-right: 30px;
	margin-bottom: 30px;
	text-align: center;
	color: #004971;
}

.services-box:last-of-type { margin-right: 0; }

.services-box img
{
	width: 80%;
	display: block;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (max-width: 980px)
{
	.services-box { width: calc((100% / 3) - 24px); }
}

@media only screen and (max-width: 480px)
{
	.services-box { width: 100%; margin-bottom:0.5em; margin-right:0; text-align:left; padding:0.5em 0.5em 0.5em 3.5em; line-height:4em;}
	.services-box:last-of-type { margin-bottom: -0.5em; }
	.services-box img {width:4em; float:left; margin:0 1em 0 -3em;}
}

/* Accreditation */
#accreditation
{
	box-sizing: border-box;
	width: 100hw;
	padding: 60px 30px;
	background: linear-gradient(0deg, rgba(238,238,238,1) 65%, rgba(221,221,221,1) 100%);
}

#accreditation img
{
	margin: 0 14px;
	width: calc(100% / 9 - 32px);
}

@media only screen and (max-width: 980px)
{	
	#accreditation img
	{
		width: calc(100% / 3 - 40px);
		margin-bottom: 20px;
	}
}

/* Contact */
#contact
{
	box-sizing: border-box;
	width: 100%;
	padding: 60px 30px;
	background: linear-gradient(0deg, rgba(238,238,238,1) 65%, rgba(221,221,221,1) 100%);
}

/* About */
#about
{
	box-sizing: border-box;
	width: 100%;
	padding: 60px 30px;
	background: #fff;
}

/* Footer */
footer
{
	box-sizing: border-box;
	width: 100%;
	padding: 30px 30px;
	background: #dddddd;
	border-top: 1px solid #004971;
	height: auto;
	color: #004971;
}

.footer-column
{
	display: inline-block;
	padding: 0;
	width: calc(100% / 2 - 5px);
	vertical-align: top;
}

.footer-column-1 { }
.footer-column-2 { vertical-align: bottom; }

@media only screen and (max-width: 600px)
{
	.footer-column { width: 100%; }
}

.footer-column a
{
	color: #004971 !important;
	text-decoration: none !important;
}

.footer-credit
{
	height: 1.7em;
	margin-bottom: -0.5em;
	margin-left: 0.4em;
}

#top-link
{
	background: #004971;
	padding: 0.5em;
	color: #fff;
	font-size: 2em;
	display: inline-block;
	float: right;
	margin-top: calc(-30px - 2em);
}

/* Typography */
#hero-text,h1,h2,h3,h4,h5
{
	/*'Kumbh Sans'*/
	font-family: Helvetica Neue, Arial, sans-serif;
}

h1,h2,h3,h4,h5
{
	color: #004971;
	margin: 1em 0;
}

h1 { font-size: 240%; }
h1:first-of-type { margin-top: 0; }
h2 { font-size: 185%; }
h3 { font-size: 145%; }
h4 { font-size: 125%; }
h5 { font-size: 110%; }

p
{
	line-height: 1.35;
	font-size: 115%;
	margin: 1em 0;
}

p:last-of-type { margin-bottom: 0; }
.contact { padding-left: 50px; }

.contact i
{
	color: #004971;
	float: left;
	margin-left: -50px;
	font-size: 130%;
}

/* Form */
#fcf-form { padding-bottom: 0.5em; }
.fcf-form-group { margin-bottom: 1.2em; }

.fcf-form-control
{
	display: block;
	width: 100%;
	height: calc(1.5em + 0.75rem + 2px);
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	outline: none;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus { border: 1px solid #004971; }
textarea.fcf-form-control { height: auto; }
.required { color: #004971; }

.fcf-label
{
	display: block;
	margin-bottom: 0.5em;
}

.fcf-btn
{
	display: inline-block;
	font-weight: 400;
	color: #fff;
	background: #004971;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding: 0.375rem 0.75rem;
	outline: 0;
	border: 1px solid #004971;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-btn:hover
{
	background: #2B658D;
	text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus
{
	outline: 0;
	border: 1px solid #fff;
}

@media (prefers-reduced-motion: reduce)
{
	.fcf-btn { transition: none; }
}

form #website{ display:none; }


/* Cookie banner */
#cookie-banner
{
	background: linear-gradient(0deg, rgba(255,255,255,1) 88%, rgba(238,238,238,1) 100%);
	border-top: 2px solid #004971;
	color: #004971;
	font-size: 1em;
	line-height: 1.375;
	width: 100%;
	position: fixed;
	bottom: 0;
	z-index: 10000;
}

#cookie-banner .content
{
	position: relative;
	padding: 1.5em 30px 1.5em;
	overflow: hidden;
	margin: 0 auto;
	float: left;
	width: calc(100% - 260px);
}

#cookie-banner p { margin: 0 0 0.65em !important; }
#cookie-banner p:last-of-type { margin-bottom: 0 !important; }

#cookie-banner .container
{
	display: inline-block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.accept-container
{
	right: 30px;
	bottom: 20px;
	position: absolute;
}

#cookie-banner .close
{
	padding: 0.375rem 0.75rem;
	line-height: 1.5;
	border: none;
	color: #fff;
	background: #004971;
	display: inline-block;
	font-weight: normal;
	border-radius: 0.25rem;
}

@media only screen and (max-width: 780px)
{
	.desktop { display: none; }
	
	#cookie-banner .content
	{
		float: none;
		width: calc(100% - 60px);
		margin-bottom: 3em;
	}
}