/*
 * Theme URI:	https://www.global-resourcing.com/
 * Description:	Bespoke theme for Global Resourcing Microsite
 * Author:	Ben Louis-Smith
 * Author URI:	http://www.embado.com
 */

/* http://meyerweb.com/eric/tools/css/reset/ 
 * v2.0 | 20110126
 * License: none (public domain)
 */

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;
}

/* ==========================================================================
 BASE STYLING
 ========================================================================== */
html, body {
	width: 100%;
	height: 100%;
	background: #fff;
	max-width: 1920px;
}
.page-overlay {
	position: fixed;
	background: rgba(255,255,255,0.94);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	z-index: 25;
}
.page-overlay.on {
	display: block;
}
 
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}
.flex  {
	display: flex;
}
.flex-wrap {
	flex-wrap: wrap;
}
.flex-between {
	justify-content: space-between;
}
.flex-center {
	align-items: center;
}
.flex-start {
	align-items: start;
}
.flex-end {
	align-items: end;
}
.flex-content-center {
	justify-content: center;
}
.flex-gap-20 {
	gap: 20px;
}
form label {
	display: block;
	width: 1px;
	height: 1px;
	overflow: hidden;
	text-indent: 100px;
}
form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea {
	display: block;
	width: 100%;
	padding: 20px;
	border: 1px solid #ccc;
	margin: 10px 0;
}
form textarea {
	height: 160px;
}
form button {
	background-color: #0974b6;
	border: 0 none;
	color: #fff;
	text-transform: uppercase;
	padding: 10px;
	margin: 10px 0 30px;
}


@media (min-width: 1440px) {
	.container {
		padding: 0;
	}
}


/* ==========================================================================
 TYPOGRAPHY
 ========================================================================== */
@font-face {
 font-family: 'EquipCondensed';
 src: url('fonts/equipcndbol-webfont.woff') format('woff');
 font-weight: 700;
}
@font-face {
 font-family: 'EquipCondensed';
 src: url('fonts/equipcndreg-webfont.woff') format('woff');
 font-weight: 400;
}
@font-face {
 font-family: 'EquipCondensed';
 src: url('fonts/equipcndthi-webfont.woff') format('woff');
 font-weight: 100;
}

body {
	font-size: 100%;
	color: #0b0c0c;
	font-family: 'EquipCondensed', sans-serif;
	font-weight: 400;
	text-align: left;
}

h1, h2, h3 {
	font-weight: 400;
}
h1 {
	font-size: clamp(1.75rem, 1.0978rem + 2.1739vw, 3rem);
	padding-bottom: 1em;
} 
h2 {
	font-size: clamp(1.5rem, 1.2391rem + 0.8696vw, 2rem);
	padding: 1em 0;
}
h3,
h4,
p.intro,
form button {
	font-size: clamp(1.125rem, 0.9293rem + 0.6522vw, 1.5rem);
	padding-bottom: 0.25em;
}
.downloads h4 {
	padding-bottom: 0.5em;
}
p,
article li,
.downloads li,
form {
	font-size: 1rem;
	line-height: 1.75em;
	padding-bottom: 1.5em;
}
p.intro {
	font-weight: 100;
	padding-bottom: 1.5em;
}
article ul,
article ol {
	list-style-type: disc;
	margin-left: 24px;
	padding-bottom: 1.5em;
}
article ul ul {
	list-style-type: circle;
}
article ul ul,
article ul ul li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}
article ol {
	list-style-type: decimal;
}
article li {
	padding-bottom: 0.5em;
	padding-left: 10px;
}
.downloads li {
	padding-bottom: 0.5em;
}
em {
	font-style: italic;
}
strong {
	font-weight: 700;
}
.light {
	font-weight: 100;
}
.text-left {
	text-align: center;
}
.text-right {
	text-align: center;
}
.text-center {
	text-align: center;
}
.text-justify {
	text-align: justify;
}

a {
	color: #054267;
	text-decoration: underline;
}
a:hover {
	color: #054267;
	text-decoration: none;
}


@media (min-width: 768px) {
	p,
	article li,
	.downloads li {
		font-size: 1.275rem;
		line-height: 1.75em;
		padding-bottom: 1.5em;
	}
}


/* ==========================================================================
 HEADER
 ========================================================================== */
#header {
	position: relative;
	background: #0974b6;
	width: 100%;
	z-index: 50;
}
.logos {
	gap: 20px;
}
.logo {
	flex-basis: 100%;
	padding: 20px;
	justify-content: center;
}
.logo:last-child {
	padding-top: 0;
}
.c-logo {
	height: 64px;
	margin-right: 40px;
}
.gr-logo {
	max-height: 60px;
}


@media (min-width: 620px) {
	.logo {
		flex-basis: auto;
	}
	.logo:last-child {
		padding-top: 20px;
	}
}
@media (min-width: 768px) {
	.logos {
		padding: 0 20px;
	}
}


/* ==========================================================================
 NAVIGATION
 ========================================================================== */
.navbar {
	position: absolute;
	top: 107px;
	width: 100%;
	left: -110%;
	padding: 30px 0;
	z-index: 100;
	transition: 0.4s;
}
.navbar.open {
	left: 0;
	background: #0974b6;
}
.navbar > ul {
	display: block;
}
.navbar.open > ul {
	display: flex;
}
.navbar li {
	flex-basis: 100%;
	text-align: center;
}
.navbar button {
	border: none;
	background: none;
}
.navbar a {
	display: inline-block;
	text-decoration: none;
}
.navbar button,
.navbar a {
	text-transform: uppercase;
	font-size: 1em;
	font-weight: 400;
	color: #fff;
	padding: 20px 10px;
}
.navbar .current_page_item > a,
.navbar .current_page_item button {
	font-weight: 600;
}
.navbar .current_page_item > a,
.navbar .current_page_item button {
	border-bottom: 3px solid #fff;
}
.dropdown-content {
	display: none;
	position: relative;
	background-color: rgba(0,0,0,0.15);
	min-width: 100%;
	z-index: 1;
}
.dropdown-content li {
	background-color: #fff;
}
.dropdown-content li a {
	color: #005daa;
}
.dropdown-content li > a:hover,
.dropdown-content li.current_page_item > a {
	color: #a2220b;
}
.show {
	display: block;
}


@media (min-width: 1140px) {
	.navbar {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		padding: 0;
		margin-top: 0;
		width: auto;
	}
	.navbar > ul {
		display: flex;
	}
	.navbar li {
		flex-basis: auto;
	}
	.navbar a {
		display: block;
	}
	.dropdown-content {
		position: absolute;
		background-color: #fff;
		min-width: 160px;
		border: 2px solid #04084a;
		border-top: 0 none;
	}
	.dropdown-content li {
		text-align: left;
		border-top: 2px solid #04084a;
	}
}
@media (min-width: 1380px) {
	.navbar button,
	.navbar a {
		padding: 20px;
	}
}
@media (max-width: 640px) {
	.navbar {
		top: 199px;
	}
}
@media (max-width: 400px) {
	.navbar {
		top: 184px;
	}
}



.sub-nav {
	padding-bottom: 40px;
}
.sub-nav li a {
	display: block;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid #f4f4f4;
	padding: 16px 20px 12px;
}
.sub-nav .current_page_item a {
	background: #00f8f8;
	color: #fff;
}


/* ==========================================================================
 MOBILE NAV
 ========================================================================== */
.m-toggle {
	position: relative;
	display: inline-block;
	width: 35px;
	height: 39px;
	cursor: pointer;
	z-index: 500;
}
.bar1, .bar2, .bar3 {
	width: 35px;
	height: 5px;
	background-color: #fff;
	margin: 6px 0;
	transition: 0.4s;
}
.change .bar1 {
	transform: translate(0, 11px) rotate(-45deg);
}
.change .bar2 {
	opacity: 0;
}
.change .bar3 {
	transform: translate(0, -11px) rotate(45deg);
}


@media (min-width: 1140px) {
	.m-toggle {
		display: none;
	}
}


/* ==========================================================================
 SLIDER
 ========================================================================== */
.hero-image {
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: 50% 50%;
	margin: 0 0 40px;
}
.static-image {
	width: 100%;
	height: 200px;
	over-flow: hidden;
	margin: 0 0 40px;
}
.static-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


@media (min-width: 400px) {
	.hero-image,
	.static-image {
		height: 300px;
	}
}
@media (min-width: 640px) {
	.hero-image,
	.static-image {
		height: 400px;
	}
}


/* ==========================================================================
 CONTENT
 ========================================================================== */
main.content {
	padding: 40px 20px;
}
article {
	flex-basis: 100%;
	max-width: 840px;
	margin: 0 auto;
	order: 2;
}
.strarticle {
	order: 1;
}
.strarticle img {
	margin-bottom: 20px;
}
.single.no-image {
	margin-top: 60px;
}
.single article {
	max-width: 840px;
	margin: 0 auto;
}
.box {
	padding: 20px;
	border: 5px solid #105298;
}

.intro {
	background: #e8f3f1;
	padding: 40px 40px;
	margin-bottom: 40px;
}
.intro p {
	font-size: clamp(1.125rem, 0.9293rem + 0.6522vw, 1.5rem);
	padding: 0;
}
.intro li {
	padding-bottom: 8px;
}
.intro li:last-child {
	padding-bottom: 0;
}
.intro a {
	font-weight: 600;
}

aside {
	flex-basis: 100%;
	order: 1;
}
.straside {
	order: 2;
	margin: 0 0 20px;
}
aside h3 {
	background: #0974b6;
	color: #fff;
	padding: 20px;
}
.sub-nav h3 {
	background: #f4f4f4;
	color: #013b39;
	border-bottom: 1px solid #c7c7c7;
}
aside .body,
aside .downloads {
	background: #daeaf4;
	color: #000;
	padding: 20px;
	margin: 2px 0 30px;
}
aside .downloads {
	margin-top: -28px;
	background: #7d055d;
	color: #fff;
}
aside .body a,
aside .downloads a {
	font-weight: 700;
}
aside .downloads a {
	color: #fff;
}
aside .locations .body {
	background: #1cb57e;
}
aside .locations h3 {
	background: #1a5a43;
}


@media (min-width: 480px) {
	.member img {
		width: 160px;
		margin-bottom: 0;
	}
	.member div {
		width: calc(100% - 200px);
	}
}
@media (min-width: 640px) {
	.member img {
		width: 240px;
	}
	.member div {
		width: calc(100% - 280px);
	}
}
@media (min-width: 1080px) {
	article {
		flex-basis: calc(100% - 440px);
		min-width: 840px;
		max-width: 100%;
		margin: 0;
	}
	article.double {
		min-width: auto;
	}
	aside {
		flex-basis: 380px;
	}
}




/* ==========================================================================
 JOBS
 ========================================================================== */
 aside {
 	margin: 0 0 20px;
 }
.job-container .body {
	position: relative;
}
.job-container .closed {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(51,62,72,0.85);
	cursor: not-allowed;
}
.job-container .closed h2 {
	color: #fff;
}



/* ==========================================================================
 TIMETABLE
 ========================================================================== */
.table {
	margin-bottom: 20px;
}
.table h3,
.table p {
	padding: 0 10px;
}
.table-th,
.table-td {
	flex-basis: 50%;
	padding: 10px 0;
	background: #fff;
}
.table-th {
	background: #0974b6;
	color: #fff;
}
.table-th:nth-child(odd) {
	border-right: 1px solid #f5f5f5;
}
.table-th h3 {
	color: #fff;
}
.table-td {
	border-bottom: 1px solid #f5f5f5;
}
.table-td:nth-child(odd) {
	border-right: 1px solid #f5f5f5;
}



/* ==========================================================================
 FOOTER
 ========================================================================== */
#footer {
	position: relative;
	width: 100%;
	background: #daeaf4;
	border-top: 10px solid #0974b6;
	padding: 30px 20px 0;
	text-align: center;
}
#footer .col {
	float: none;
	width: 100%;
	padding: 0;
}
#footer .logo img {
	max-height: 150px;
}
#footer .accreditation {
	clear: both;
	padding-top: 20px;
}
#footer .accreditation img {
	max-height: 70px;
}
#footer .col h3 {
	padding-top: 38px;
}
#footer p {
	padding: 0;
}
#footer .signoff {
	padding: 40px 0 20px;
}
#footer .signoff p {
	font-size: 13px;
	max-width: 690px;
	margin: 0 auto;
}
#footer .accreditation,
#footer .signoff .col {
	text-align: center;
}


@media only screen and (min-width: 768px) {
	#footer {
		text-align: left;
	}
	#footer {
		padding: 30px 30px 0;
	}
	#footer .col {
		float: left;
		width: 50%;
	}
	#footer .col.right{
		text-align: right;
	}
	#footer .col h3 {
		padding-top: 8px;
	}
	#footer .signoff .col {
		width: 100%;
	}
}
@media only screen and (min-width: 1080px) {
	#footer {
		padding: 30px 60px 0;
	}
}


/* ==========================================================================
 BACK TO TOP
 ========================================================================== */
.cd-top {
	display: inline-block;
	z-index: 100;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: #0974b6 url(img/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-fade-out {
	opacity: .5;
}
.no-touch .cd-top:hover,
.cd-top.cd-fade-out:hover {
	opacity: 1;
}


@media only screen and (min-width: 768px) {
	.cd-top {
		right: 20px;
		bottom: 20px;
	}
}
@media only screen and (min-width: 1080px) {
	.cd-top {
		height: 60px;
		width: 60px;
		right: 30px;
		bottom: 30px;
	}
}


/* ==========================================================================
 OVERRIDES
 ========================================================================== */
main {
	padding-bottom: 30px !important;
}
article.no-slides {
	padding-top: 0 !important;
}


@media (min-width: 1080px) {
	main {
		padding-bottom: 60px !important;
	}
	article.no-slides {
		padding-top: 60px !important;
	}
}