/* ==== FONTS ==== */

@font-face {
    font-family: 'Source Sans';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/SourceSans-Light.woff') format('woff'), url('../fonts/SourceSans-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Source Sans';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/SourceSans-Regular.woff') format('woff'), url('../fonts/SourceSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Source Sans';
    font-weight: 400;
    font-style: italic;
    src: url('../fonts/SourceSans-Italic.woff') format('woff'), url('../fonts/SourceSans-Italic.ttf') format('truetype');
}
@font-face {
    font-family: 'Source Sans';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/SourceSans-Semibold.woff') format('woff'), url('../fonts/SourceSans-Semibold.ttf') format('truetype');
}
@font-face {
  font-family: 'antisocial';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/antisocial.woff') format('woff'), url('../fonts/antisocial.ttf') format('truetype');
}



/* ==== GENERAL ==== */

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body, html {
	width:100%;
	margin: 0;
	background-color: #f0f3f8;
}
body,td,th {
	font-family: 'Source Sans', Georgia, Arial, sans-serif;
	font-size: 16px;
	line-height: 26px;
	color: #4d4d4d;
}
a:link, a:visited {
	color: #3e7cbb;
	text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a:hover, a:active {
	color: #4192e5;
}
a, a img, textarea:focus, input:focus { outline: none; }
::selection { background-color: #45afff; }
img, video { border: 0; }
input[type="text"], textarea {
	appearance: none;
	-webkit-appearance: none;
}



/* ==== STRUCTURE ==== */

#pagearea {
	min-height: 100vh;
}
#headerbar, #menubar, #contentarea, #footer {
	width: 100%;
	position: relative;
	margin: 0px;
	overflow: visible;
}
.contentstrip {
	width: 960px;
	position: relative;
	margin: 0px auto;
	padding: 0 30px;
}
.contentstrip.halves, .contentstrip.thirds {
  width: 1020px;
  padding: 0;
  text-align: center;
}
.halves > div, .thirds > div, span.halves {
  display: inline-block;
  width: calc( 50% - 0.25em);
  text-align: center;
  vertical-align: top;
  padding: 0 30px;
}
.thirds > div { width: calc( 33.33% - 0.25em); }

.centered > div {
  text-align: center;
  padding-top: 4em;
}


/* Header */
#headerbar {
	height: 202px;
  background-color: #21487e;
  border-top: solid 10px #24262b;
}
#headerbar .contentstrip { padding-right: 0; }
#headerlogo {
	width: 256px;
	height: 198px;
	background-image: url(../images/header-logo_2x.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	position: absolute;
	left: 0px;
	top: -10px;
	z-index: 10;
}
#headercontact {
	display: block;
	float: right;
	padding: 0;
	margin-top: 18px;
	font-size: 37px;
  font-weight: 300;
	text-align: center;
	color: #ffffff;
}
#headercontact > span {
  display: block;
	font-size: 46px;
  font-weight: 600;
  margin: 8px 0 6px 0;
}
#headercontact > a {
  display: block;
	font-size: 15px;
  font-weight: 400;
	color: #79c2fb;
}
#sociallinks {
  display: block;
  text-align: right;
  margin-top: 20px;
  font-family: 'antisocial';
  font-size: 36px;
  font-weight: 400;
}
#sociallinks a {
  display: inline-block;
  color: #6fbaf3;
  margin-left: -2px;
}

/* Menu */
#menubar {
	color: #ffffff;
	font-size: 18px;
	height: 62px;
	text-align: center;
  background-color: #909eb0;
}
#menubar a {
	display: inline-block;
	height: 62px;
	padding: 16px 26px 0px 26px;
	margin: 0;
  text-transform: uppercase;
	color: #ffffff;
}
#menubar a:hover {
  color: #c1e4ff;
}
#menubar a.current, #menubar a.current:hover {
  cursor: default;
  color: #13478e;
}



/* ==== CONTENT FORMATTING ==== */

#contentarea {
	padding-bottom: 200px; /* offset for footer */
}
#contentarea h1, #contentarea h2, #contentarea p {
	margin-top: 0px;
	font-weight: 400;
}
#contentarea form ul, #contentarea form ol {
  padding: 0 20px;
}
#contentarea form li {
  margin-bottom: 12px;
  opacity: 0.7;
}
#contentarea h5 {
  font-weight: 600;
  font-size: 100%;
}

/* Main headings */
#contentarea h1 {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  color: #3764a6;
  letter-spacing: -1px;
}

/* Testimonials */
#contentarea h2 {
	background-color: #e2e7ed;
	display: block;
	text-align: center;
	padding: 22px 42px;
	margin-bottom: 10px;
  font-style: italic;
	font-size: 20px;
	line-height: 22px;
	color: #7e8897;
}
#contentarea h2 span {
  display: block;
  color: #000000;
  font-size: 14px;
  margin-top: 18px;
  font-style: normal;
}


/* Hightlight boxes - is 3 column */
.contentstrip.highlightbox {
  width: 100%;
  padding: 0;
  margin-bottom: 50px;
  background-color: #d4dadf;
}
.highlightbox > div {
  width: 972px;
  overflow: hidden;
  text-align: center;
  margin: 0 auto 50px auto;
  padding-top: 50px;
}
.highlightbox > div > div {
  display: block;
  float: left;
  width: 33.3333%;
  margin: 12px 0 60px 0;
  padding: 0 6px;
  text-align: center;
  vertical-align: top;
}
#contentarea .highlightbox h1 {
  margin-bottom: 20px;
  font-weight: 300;
  font-size: 38px;
  color: #2a3038;
  position: relative;
  z-index: 100;
}
#contentarea .highlightbox h4 {
  margin-top: 0;
  margin-bottom: 32px;
  font-size: 24px;
  color: #545c66;
}
#contentarea .highlightbox li {
  line-height: 24px;
}


/* Opportunities */
.opportunity > div {
  background-color: #295389;
  position: relative;
  color: #ffffff;
  padding: 0;
  z-index: 10;
}
.opportunity > div:after {
  content: '';
  display: block;
  position: absolute;
  right: -16px;
  top: -16px;
  width: 32px;
  height: 32px;
  transform: rotate(45deg);
  background-color: #d4dadf;
}
.opportunity a { color: #ffffff; }
.opportunity h3, .opportunity ul {
  padding-left: 16px;
  padding-right: 16px;
}
.opportunity > *:first-child {
  padding-top: 16px;
}
.opportunity h3 {
  font-weight: 600;
  font-size: 30px;
  margin: 0;
  text-transform: uppercase;
}
.opportunity ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px 0;
  font-size: 18px;
  line-height: 20px;
}
.opportunity img {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 0;
}



/* Details */

.detailed { margin-top: 72px; }
.detailed:after {
  content: '';
  display: inline-block;
  width: 50%;
  margin: 54px 0 0 25%;
  height: 5px;
  background-color: #3764a6;
}
.detailed span:first-of-type { padding-left: 0; }
.detailed span:last-of-type { padding-right: 0; }
.detailed ul, .detailed ol { text-align: left; padding-left: 0; font-size: 120%; line-height: 22px; }
.detailed li { margin-bottom: 16px; }
.detailed > div > img { width: 100%; }
#contentarea .detailed p { font-size: 120%; }
.detailed > div > p:last-child { }
#contentarea .detailed h1 { font-size: 300%; line-height: 48px; margin: 0.5em 0 20px 0; border-bottom: 1px dashed rgba(0,0,0,0.15); padding-bottom: 12px; }
#contentarea .detailed h3 { font-size: 180%; text-align: left; margin: 0; }

ul.facts { list-style: none; }
ul.facts li { border-left: 5px solid #3764a6; padding: 10px 20px 10px 10px; background-color: #e0e7f2; }

.detailed ul:not(.facts) { padding-left: 1em; list-style-type: square; }

.subheading { font-weight: 600; color: #3764a6; font-size: 225% !important; padding: 22px 0 12px 0; border-top: 1px dashed rgba(0,0,0,0.15); margin-top: 16px !important;}




/* Forms */

#contentarea form {
  background-color: #e9edf1;
  border: 1px solid #d3d8dd;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  line-height: 22px;
  overflow: auto;
  margin-top: 28px;
}

input[type="text"], textarea {
  width: 100%;
  font-size: 100%;
  padding: 10px;
  font-family: 'Source Sans', Georgia, Arial, sans-serif;
  border: 1px solid #afb2bd;
  margin-bottom: 12px;
}
input[type="submit"] {
  display: inline-block;
  font-family: 'Source Sans', Georgia, Arial, sans-serif;
  font-size: 120%;
  font-weight: 400;
  padding: 10px;
  color: #ffffff;
  background-color: #3764a6;
  border: none;
  float: right;
  margin-top: 12px;
}
input[type="checkbox"] { margin: 0 8px 20px 0; }
label {
  display: inline-block;
  font-weight: 600;
  color: #000000;
  padding-bottom: 4px;
}
div[id*="signature"] { padding-bottom: 12px; }
div[id*="signature"] canvas {
  background-color: #ffffff;
  border: 1px solid #afb2bd !important;
  display: block;
  width: 100%;
  height: 160px !important;
}
p.error, p.error2 { padding: 5px; margin-top: 10px; color:#a94442; }
.required:after {
  content: "*";
  color: #dd0000;
  margin-left: 6px;
}

/* Enquiry Form */
#general-enquiry label { display: inline-block; width: 10%; font-size: 120%; }
#general-enquiry input[type="text"] { display: inline-block; width: 88%; }
#general-enquiry input[type="submit"] { margin: 0 1.8% 0 0;}



/* Footer */
#footerbar {
	height: 146px;
	margin: -146px auto 0 auto;
	clear:both;
  background-color: #474e5a;
}
#footerbar .contentstrip {
	width: 860px;
	padding: 32px 0px 0px 0px;
	color: #cbd4e4;
  opacity: 0.5;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
}
#footerbar p {
	margin: 0 0 6px 0;
}
#footerbar p:first-of-type {}





/* ==== RESPONSIVE CHANGES ==== */
