/*
 * Theme URI:	https://recruitment.hunter-merrifield.com/
 * Description:	Bespoke theme for Hunter Merrifield 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;
}
 
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;
}


/* ==========================================================================
 TYPOGRAPHY
 ========================================================================== */
body {
	font-size: 100%;
	color: #333;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	text-align: left;
}

h1, h2, h3 {
	font-weight: 400;
	line-height: auto;
	padding-bottom: 1em;
}
h1 {
	font-size: 2.25em;
	line-height: 1.333333333333333em;
	color: #a61f67;
} 
h2 {
	font-size: 1.5em;
	line-height: 1.714285714285714em;
	color: #a61f67;
}
h3 {
	font-size: 1.125em;
	font-weight: 700;
	padding-bottom: 0;
}
p {
	font-size: 1em;
	line-height: 1.55em;
	padding-bottom: 1.25em;
}
.small,
#footer .signoff p {
	font-size: 0.875em;
	line-height: 1.55em;
	padding-bottom: 1.25em;
}
em {
	font-style: italic;
}
li {
	font-size: 1em;
}
strong {
	font-weight: 700;
}
.light {
	font-weight: 100;
}

a {
	color: #a61f67;
	text-decoration: underline;
}

.text-left {
	text-align: center;
}
.text-right {
	text-align: center;
}
.text-center {
	text-align: center;
}
.text-justify {
	text-align: justify;
}


@media (min-width: 640px) {
	.text-left {
		float: left !important;
	}
	.text-right {
		text-align: right !important;
	}
}
@media (min-width: 768px) {
	h1 {
		font-size: 3em;
	} 
	h2 {
		font-size: 2em;
	}
	h3 {
		font-size: 1.25em;
	}
	p {
		font-size: 1.125em;
	}
	li {
		font-size: 1.125em;
	}
}


/* ==========================================================================
 GLOBAL
 ========================================================================== */
.flex  {
	display: flex;
	flex-wrap: wrap;
}
.flex-center {
	align-items: center
}
.flex-between {
	justify-content: space-between
}
.container {
	clear: both;
	margin: 0 auto;
	width: 100%;
	max-width: 1220px;
	padding: 0 20px;
	margin: 0 auto;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	clear: both;
}

.btn {
	display: inline-block;
	min-width: 180px;
	margin: 0 8px 20px;
	font-size: 1.3125em;
	font-weight: 700;
	line-height: 3.75em;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	border: 2px solid #950a24;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	background: rgba(198,32,47,0);
	color: #084E90 !important;
	-webkit-transition: all .3s 0s linear;
	-moz-transition: all .3s 0s linear;
	-ms-transition: all .3s 0s linear;
	-o-transition: all .3s 0s linear;
	transition: all .3s 0s linear
}
.btn:hover {
	background: rgba(198,32,47,1);
	color: #f6f7f7 !important;
	-webkit-transition: all .3s 0s linear;
	-moz-transition: all .3s 0s linear;
	-ms-transition: all .3s 0s linear;
	-o-transition: all .3s 0s linear;
	transition: all .3s 0s linear
}


@media (min-width: 768px) {
	.container {
		padding: 0 40px;
	}
}


/* ==========================================================================
 HEADER
 ========================================================================== */
#header {
	width: 100%;
	padding: 20px 0 0;
	background: #e6f7f7;
}
#header .logos.flex-between {
	justify-content: space-around;
}
#header .logo {
	width: 164px;
	margin: 0 20px;
}
#header .c-logo {
	width: 200px;
	margin: 20px 20px 0;
}


@media (min-width: 480px) {
	#header .logos.flex-between {
		justify-content: space-between;
	}
	#header .logo {
		margin: 0 30px 0 0;
	}
	#header .c-logo {
		margin: 0 30px 0 0;
	}
}

/**
 * Superfish Dropdown Menu Edits
 * Skin the menu
 */
#header .menu {
	width: 100%;
	text-align: left;
	background: #fff;
	margin-top: 20px;
}


#header .menu .m-toggle {
	display: block;
	cursor: pointer;
}
#header .menu .sf-menu {
	float: none;
	display: none;
	margin-bottom: 0;
}
.sf-menu li {
	white-space: normal;
}

.sf-menu > li {
	border-top: 0 none;
	float: none;
	display: block;
	background: rgba(198,32,47,0);
	margin-right: 0;
}
.sf-menu ul > li {
	text-align: left;
}
.sf-menu li,
.sf-menu li:hover,
.sf-menu ul li,
.sf-menu ul li:hover {
	background: rgba(198,32,47,0);
}
.sf-menu a {
	text-decoration: none;
}
.sf-menu li a {
	border: 0 none;
	background: rgba(58,57,59,0);
	color: #333;
	padding: 15px 5px;
	font-size: 1.125em;
	font-weight: 400;
	text-align: center;
}
.sf-menu li a:hover,
.sf-menu li:hover > a,
.sf-menu .current_page_item > a {
	color: #a61f67;
}


@media (min-width: 1080px) {
	#header .menu .m-toggle {
		display: none;
	}
	#header .menu .sf-menu {
		display: block !important;
	}
	.sf-menu li {
		white-space: nowrap;
	}
	.sf-menu > li {
		display: inline-block;
		margin-right: 35px;
	}
	.sf-menu li a {
		padding: 40px 5px;
		text-align: left;
	}
}

/**
 * Dropdowns
 */
.sf-menu ul {
	width: calc(100% + 40px);
	margin-left: -20px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	position: relative;
	top: auto;
	left: auto;
	z-index: 99;
	display: block;
	border-top: 9px solid #a61f67;
	border-radius: 0 0 8px 8px;
	background: #edd2e1;
	padding: 20px 0;
}
.sf-menu ul::after {
	content: '';
	display: block;
	clear: both;
}
.sf-menu ul li a {
	background: rgba(0,0,0,0);
	padding: 10px 20px;
	font-size: 1em;
}
.sf-menu ul li a:hover,
.sf-menu ul .current_page_item a {
}

.m-toggle {
	height: 76px;
	color: #f6f7f7;
}
.m-toggle .image {
	display: inline-block;
	height: 76px;
	width: 76px;
	background: url(img/toggle-closed.png) no-repeat;
}
.m-toggle.expanded .image {
	background: url(img/toggle-open.png) no-repeat;
}


@media (min-width: 768px) {
	.sf-menu ul {
		width: auto;
		margin-left: 0;
	}
}
@media (min-width: 1080px) {
	.sf-menu ul {
		box-shadow: 2px 2px 6px rgba(0,0,0,.2);
		-moz-box-shadow: 2px 2px 6px rgba(0,0,0,.2);
		-webkit-box-shadow: 2px 2px 6px rgba(0,0,0,.2);
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 99;
	}
	.sf-menu ul li a {
		padding: 20px 40px;
	}
}


/* ==========================================================================
 Intro
 ========================================================================== */
#intro {
	width: 100%;
	padding: 40px 0;
	background: #ccefee;
}
.intro,
.intro-img {
	position: relative;
	flex-basis: 100%;
}
.intro {
	padding-right: 0;
}
.intro-img {
	padding: 30px 50px 0 0;
	margin-top: 30px;
}
.intro-img::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px 10px 80px 10px;
	background-color: #00afa9;
	opacity: 0;
	z-index: -1;
}
.intro-img .img-con {
	position: relative;
	z-index: 1;
}
.intro-img .img-con::after {
	content: "";
	background-color: #00afa9;
	position: absolute;
	top: -40px;
	left: auto;
	right: -50px;
	width: 82%;
	height: 100%;
	border-radius: 8px;
	z-index: -1;
}
.cover-img {
	max-height: 405px;
	min-height: 405px;
	object-fit: cover;
	width: 100%;
	vertical-align: middle;
	border-style: none;
}


@media (min-width: 940px) {
	.intro,
	.intro-img {
		position: relative;
		flex-basis: 50%;
	}
	.intro {
		padding-right: 40px;
	}
	.intro-img {
		padding: 30px 50px 0 40px;
		margin-top: 0;
	}
}

/* ==========================================================================
 CONTENT
 ========================================================================== */
#content {
	padding: 60px 0;
}


#content h1,
#content h2,
#content h3,
#content p,
#content ul,
#content ol,
#content blockquote {
	width: 100%;
}
#content .apply .tel,
.tel {
	text-decoration: none;
}
#content.timetable h1,
#content.timetable h2,
#content.timetable h3,
#content.timetable p,
#content.timetable ul,
#content.timetable ol,
#content.timetable blockquote {
	width: 100%;
}
#content ul li ul {
	padding-top: 10px;
	width: 100%;
	padding-bottom: 0;
	list-style-type: circle;
}
#content.internal h1,
#content.internal h2,
#content.internal h3,
#content.internal p,
#content.internal ul,
#content.internal ol,
#content.internal blockquote {
	margin: 0 auto;
}
#content.timetable h1 {
	padding-bottom: 0;
}
#content.timetable h3 {
	margin-top: 30px;
}

#content ul,
#intro ul {
	padding-bottom: 20px;
	padding-left: 20px;
	list-style-type: square;
}
#content li,
#intro li {
	line-height: 2em;
}

#content .intro {
	max-width: 60%;
	padding: 20px 0 5px;
}
#content .signature {
	padding: 0;
}
#content .signature:last-child {
	padding-bottom: 1.125em;
}
#content .structure {
	padding-bottom: 20px;
}
#content blockquote p {
	width: 100%;
	font-size: 1.5em;
	font-weight: 300;
	font-style: italic;
}
#content blockquote span {
	display: block;
	font-size: 0.65em;
	font-weight: 600;
	font-style: normal;
}



.responsive-video {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%; /* 16:9 Aspect Ratio */
	margin-bottom: 30px;
}
.responsive-iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}



@media (min-width: 768px) {
	#content h1,
	#content h2,
	#content h3,
	#content p,
	#content ul,
	#content ol,
	#content blockquote {
		max-width: 830px;
	}
}


/* ==========================================================================
 JOBS
 ========================================================================== */
#content .welcome {
	float: none;
	width: 100%;
	padding-bottom: 40px;
}
#content .jobs {
	float: none;
	width: calc (100% + 40px);
	margin: 0 -20px 20px;
}
#content .jobs h2,
#content .jobs li,
#content .jobs a {
	width: 100%;
	color: #f6f7f7;
	padding: 0;
}
#content .jobs h2,
#content .jobs h3,
#content .jobs h2 a,
#content .jobs h3 a {
	width: 100%;
	color: #fff;
	line-height: 1em;
	display: block;
	padding: 0;
	cursor: pointer;
	text-decoration: none;
	font-weight: 400;
}
#content .jobs .apply a {
	color: #084E90;
}
#content .jobs h3 {
	font-size: 1.75em;
}

#content .jobs .job-container .header {
	background: #00afa9;
	padding: 20px;
	margin-bottom: 2px;
}
#content .jobs .job-container .header h3 a:hover {
	text-decoration: none !important;
}
#content .jobs .job-container .job-body {
	display: none;
}
#content .jobs .job-container .body {
	background: #a61f67;
	color: #fff;
	padding: 20px;
	border-radius: 0 0 32px 32px;
	margin-bottom: 30px;
}
#content .jobs .job-container .body p,
#content .jobs .job-container .body ul {
	width: 100%;
}
#content .jobs .job-container .listing p {
	border-bottom: 1px solid rgba(255,255,255,0.15);
	margin-bottom: 1.25em;
}
#content .jobs .job-container .listing p:last-child {
	border-bottom: 0 none;
	margin-bottom: 0;
}
#content .jobs .job-container .body li {
	font-size: 0.875em;
	font-weight: 300;
	line-height: 1.75em;
	margin-bottom: 30px;
}
#content .jobs .job-container .body li:last-child {
	margin-bottom: 0;
}
#content .jobs .job-container .body a {
	color: #fff;
}
#content .jobs .job-container .body span {
	display: block;
	font-size: 0.875em;
	line-height: 1.3em;
	padding-top: 8px;
}

.job-container {
	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;
	text-align: center;
	background: rgba(51,62,72,0.75);
	cursor: not-allowed;
}



#content .apply {
	background: #d9d9d9;
	padding: 20px;
	margin-top: -26px;
}


@media (min-width: 480px) {
	#content .jobs {
		width: 100%;
		margin: 0 0 20px 0;
	}
}
@media (min-width: 1080px) {
	#content .welcome {
		float: left;
		width: calc(65% - 40px);
	}
	#content .jobs {
		float: right;
		width: 35%;
		margin: 2px 0 40px 40px;
	}
	#content .jobs h2,
	#content .jobs h3 {
		cursor: text;
	}
	#content .jobs .job-container .job-body {
		display: block;
	}
}



/* ==========================================================================
 TIMETABLE
 ========================================================================== */
.table {
	margin-bottom: 20px;
}
.table-th,
.table-td {
	width: calc (100% + 40px);
	margin: 0 -20px;
}
.table-th p,
.table-td p {
	width: 100% !important;
	font-size: 0.875em;
	line-height: 1.25em;
}


.table-th {
	background: #008670;
	color: #fff;
}
.table-th h2 {
	width: 100% !important;
	padding: 5px 0;
	line-height: 1em;
	color: #fff;
}
.table-th .left,
.table-th .right,
.table-td .left,
.table-td .right {
	float: left;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	width: 50%;
	padding: 10px 20px;
}
.table-td .left,
.table-td .right {
	padding: 20px;
}
.table-th .right {
	border-right: 0 none;
}

.table-td {
	background: #f3f2f1;
	color: #000;
}
.table-td p {
	padding: 0;
}
.table-td ul {
	margin: 0 10px 0 24px;
	padding-bottom: 0;
	color: #4d4d4d;
}
.table-td .right {
	border-right: 0 none;
}


@media only screen and (min-width: 480px) {
	.table-th p,
	.table-td p {
		font-size: 1em;
		line-height: 1.25em;
	}
}
@media only screen and (min-width: 768px) {
	.table-th,
	.table-td,
	#content.timetable .table-th,
	#content.timetable .table-td {
	width: 100%;
	margin: 0;
	}
	.table-th p,
	.table-td p {
		font-size: 1.125em;
	}
}
@media only screen and (min-width: 1080px) {
	.table-th,
	.table-td,
	#content.timetable .table-th,
	#content.timetable .table-td {
	max-width: 780px;
	}
}



/* ==========================================================================
 CLOSED
 ========================================================================== */
main {
	position: relative;
}
main .listing.closed {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.35);
	cursor: not-allowed;
	z-index: 20
}
.list-closed {
	cursor: not-allowed;
	opacity: 0.5
}


/* ==========================================================================
 FOOTER
 ========================================================================== */
#footer {
	position: relative;
	width: 100%;
	background: #f6f6f5;
	color: #333;
	padding: 30px 20px 0;
	text-align: center;
}
#footer .col,
#footer .col.text-right {
	float: none;
	width: 100%;
	padding: 0;
}
#footer .logo {
	text-align: center;
	padding-top: 10px;
}
#footer .logo img {
	width: 164px;
}
#footer .accreditation {
	clear: both;
	padding-top: 20px;
}
#footer .accreditation img {
	max-height: 70px;
}
#footer .col h3 {
	padding-top: 38px;
	color: #333;
}
#footer p {
	padding: 0;
}
#footer a {
	color: #333;
}
#footer a:hover {
	color: #a61f67;
}
#footer .signoff {
	padding: 40px 0 20px;
}
#footer .signoff .col {
	border-top: 2px solid #c5c5c4;
	padding-top: 30px;
}


@media only screen and (min-width: 768px) {
	#footer {
		text-align: left;
	}
	#footer {
		padding: 30px 30px 0;
	}
	#footer .col {
		float: left;
		width: calc(100% - 184px);
	}
	#footer .col.text-right {
		float: right;
		width: 184px;
	}
	#footer .logo {
		padding-top: 0;
	}
	#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: #288dc0 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 {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	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;
	}
}