/*!
Theme Name: hp4recruitment
Theme URI: https://designhousestudio.co.uk
Author: William Jeffree @ Design House
Description: This is a custom theme built for HP4 Recruitment, based on the open source Underscores framework
Version: 1.2.0
Text Domain: hp4recruitment


*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

/*--------------------------------------------------------------
HP4 BLUE: #082457 or rgba(9, 36, 87, 1)

HP4 RED: #bf1e2e

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

#primary {
    float: left;
    width: 100%;
	padding: 35px 0 0;
}
.home #primary {
	padding: 0px 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */


body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	text-transform: uppercase;
	font-weight: 300;
	color: #404040;
}

h3 {
	font-size: 26px;
	font-weight: 400;
}

h4 {
    font-size: 22px;
  	font-weight: 300;
	text-transform: none;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #404040;
	border: 0;
	height: 1px;
	margin: 1.5em 0;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #082457;
    transition: all 0.3s linear;
	text-decoration: none;

}

a:visited {
	color: #082457;
}

a:hover,
a:focus,
a:active {
	color: #333;
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

.button {
    padding: 10px 20px;
    border-radius: 25px;
	color: white !important;
	background: #082457;
	text-transform: uppercase;
	cursor: pointer;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}



/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/


.wrap {
    max-width: 1200px; /* Adjust the max-width as needed */
    margin: 0 auto; /* Centers the content */
    padding: 0 15px; /* Adds some padding on the sides */
    width: 100%;
	position: relative;
	z-index: 5;
}

#site-navigation {
 	right: 40px;
	margin-top: 45px;
	position: absolute;
	z-index: 10;
}

.site-branding {
	float: left;
	margin-top: 25px;
	margin-left: 30px;
	z-index: 5 !important;
}


/* MASTHEAD WITH IMAGE
--------------------------------------------- */

.site-header {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


.mastheadInner
{
  position: absolute !important;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
	z-index: 3 !important;
}
.mastheadInner h1
{
  color: white;
	animation: fadeIn 3s ease-in-out;
}


/* MODAL CONTACT FORM
--------------------------------------------- */

.contact--form__bg {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(9, 36, 87, 0.8); /* blue w/ opacity */
}

.contact--form {
    background-color: #fefefe;
    margin: 10% auto; /* Increase top margin to center vertically, adjust as needed */
    padding: 0 20px;
    border: 1px solid #888;
    width: 65%; /* Adjust based on desired width */
    /* Centering the modal content vertically and horizontally */
    position: relative; /* Adjusted for centering */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); /* Optional: adds shadow for better visibility */
}

/* Ensure the modal content doesn't close when clicked */
.contact--form {
    background-color: #fefefe;
    /* Other styles remain the same */
}

/* The Close Button */
.popup--close {
  right: 23px;
  top: 7px;
  position: absolute;
  font-size: 55px;
  font-weight: 300;
  line-height: 1em;
}

.popup--close:hover,
.popup--close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* When form is active */
.form-active {
  display: block; /* Show the modal */
}

.overflowFixedForm {
  overflow: hidden; /* Prevent scrolling on body */
}

@media (min-width: 650px) {
	.mobileOnly {
		display: none;	
	}
}

/* NINJA FORMS
--------------------------------------------- */

.nf-form-content {
  padding: 0px !important;
}

.nf-form-fields-required, .nf-error-field-errors {
  display: none;
}

.nf-form-content input[type="submit"] {
  text-transform: uppercase;
}

/* VIDEO BANNER
--------------------------------------------- */

.video-banner {
    position: relative;
    width: 100%;
	height: 600px;
    overflow: hidden;
}

.video-banner iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 0;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
	z-index: 3;
}


img.videoLogo {
    max-width: 420px;
	margin-bottom: 20px;
	animation: fadeIn 4s ease-in-out;
}

.banner-logo {
    max-width: 200px; /* Adjust as needed */
    margin-bottom: 20px;
    animation: fadeIn 3s ease-in-out;
}

.banner-text {
    font-size: 22px; /* Adjust as needed */
    color: #fff;
    animation: fadeIn 4s ease-in-out;
    animation-delay: 2s;
    max-width: 650px;
    opacity: 0; /* Set initial opacity to 0 */
    animation-fill-mode: forwards; /* Add this line */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Adjustments for screens smaller than 768px */
@media (max-width: 1080px) {
	.video-banner {
		position: relative;
		width: 100%;
		height: 75vh; /* Adjust based on your needs */
		overflow: hidden;
	}

	.video-banner iframe {
		/* Make the video "cover" the container */
		position: absolute;
		left: 50%;
		width: 340%;
		height: 200%;
		max-width: none;
		transform: translate(-50%, -50%);
		z-index: 1;
	}
	img.videoLogo {
    	width: 50%; 
	}
	.banner-text {
		font-size: 20px; 
		max-width: 80%;
	}
}



/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation Area
--------------------------------------------- */
.site-header {
	position: relative;
    height: 420px;
}


.site-header::before, .video-banner::before, .parallaxRow1::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7), /* Dark at the top */
        rgba(0, 0, 0, 0.1)  /* More transparent at the bottom */
    );
    z-index: 2; /* Ensure it's above the background image, but below the content */
}

.site-header > * {
    position: relative;
    z-index: 2; /* Higher than the pseudo-element */
}


.site-header .custom-logo {
    max-width: 150px; /* Adjust the size as needed */
    height: auto;
}


/* Custom Nav Toggle
--------------------------------------------- */

.menu-toggle {
    flex-direction: column;
    justify-content: space-around;
    width: 40px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    cursor: pointer;
	position: absolute;
	right: 30px;
	top: 40px;
	z-index: 15;
}

.bar {
    height: 3px; /* Adjust as needed */
    width: 90%;
    background-color: #fff; /* Adjust as needed */
    transition: all 0.3s ease;
	margin-bottom: 8px;
}

.menu-toggle:hover .bar {
    width: 110%; /* Lines get slightly longer on hover */
}

/* Active (open) state styles */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -9px);
}



/* Nav Structure
--------------------------------------------- */


.main-navigation ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin-left: 40px; /* Space between menu items */
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-transform: uppercase;
	color: #fff;
	font-weight: 300;
}
.main-navigation a:hover {
	color: #ccc;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 768px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

@media (max-width: 768px) {
    .main-navigation ul {
        display: none; /* Hide the desktop menu */
    }
	.main-navigation li {
	  margin-left: 0px;
		font-size: 26px;
	}
	.main-navigation {
		opacity: 0;
		transition: all linear 0.3s;
    }
	#site-navigation {
		  right: 0px;
		  margin-top: 0px;
	}

    .menu-toggle {
        display: block; /* Make sure the mobile toggle is visible */
    }
}




.main-navigation.toggled {
	width: 100%;
	height: 100%;
	text-align: center;
	opacity: 1;
	
	background: rgba(0, 0, 0, 0.9);
  	display: flex;
  	align-items: center;
  	justify-content: center;
}


.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 60px;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.columnLeft {
	width: 60%;
	float: left;
}
.columnRight {
	width: 35%;
	float: right;
	margin-bottom: 20px;
}

@media screen and (max-width: 999px) {
	.columnLeft, .columnRight {
		width: 100%;
	}
}


/*
CUSTOM JOBS POSTS and SEARCH FILTERS
----------------------------------------------------
*/

.filter-group {
    width: 33.33%;
    text-align: center;
}
.filter-group select {
    background-color: #082457; /* Dark blue background */
    color: #ffffff; /* White text */
    font-size: 16px; /* Larger font size */
    text-align-last: center; /* Center the text */
    padding: 10px; /* Add some padding for better spacing */
    border: none; /* Remove default border */
    border-radius: 5px; /* Slightly rounded corners for a modern look */
    appearance: none; /* Remove default system appearance */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
    cursor: pointer;
    width: calc(100% - 15px);
    margin-bottom: 20px; /* Add some space below the dropdown */
}

/* Styling for the dropdown arrow to match the theme */
.filter-group select::-ms-expand {
    display: none; /* Hide the default arrow in IE */
}


/* Ensure the label matches the styling */
.filter-group label {
    color: #082457; /* Dark blue text */
	font-size: 28px;
	text-transform: uppercase;
	font-weight: 300;
}

	

.filter-group label {
    display: block;
    margin-bottom: 5px;
	color: #092457;
}
.filtersWrap {
    display: flex;
    justify-content: space-around;
	margin-top: 30px; 
}
.element-item {
    width: 33.3%;
    display: flex;
    justify-content: center;
}
.grid .safCustomPost {
    width: 100%;
}	

.grid {
    margin-bottom: 80px;
}

@media screen and (max-width: 999px) {
	.element-item {
    	width: 49.5%;
	}
}

@media screen and (max-width: 700px) {
	.element-item {
    	width: 100%;
	}
	
	.filtersWrap {
		flex-direction: column;
	}
	.filter-group {
    	width: 100%;
	}
}

/*
Results
----------------------------------------------------
*/


.safResults, .search-filter-results {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.safCustomPost {
  width: 320px;
  background: linear-gradient(0deg, #f2f2f2 0%, #fff 100%);
  padding: 0px 0 30px;
margin: 20px 10px 0px;
	border-radius: 15px;
}
.safCustomPost h2 {
  background: #707070;
  text-align: center;
  width: 100% !important;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
	margin: 0;
	font-size: 1.35em;
  padding: 10px 15px;
	border-radius: 15px 15px 0 0;
}
.safCustomPost h2 a {
  color: white !important;
	line-height: 1.125em !important;
	margin: 0;
}

.safCustomPost h3 {
    line-height: 1em;
}

.safCustomPostContent {
	padding: 5px 10px;
	text-align: center;
	position: relative;
}
.safCustomPostContent .jobData {
	color: #000;
	font-weight: 400;
}
.safCustomPost .button {
	margin-top: 10px;
	border: 1px solid #082457 !important; 
}

.jobContainerFlex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    margin: 10px;
}

.jobCat {
	text-transform: uppercase;
	font-weight: 400;
	color: #404040;
}

.salary-suffix {
    font-size: 0.75em;
    opacity: 0.8; 
    white-space: nowrap;
}



/*
 CUSTOM TEAM LAYOUT (MEET THE TEAM)
-----------------------------------------------
*/
.page-template-page-meet-the-team  article, .page-template-page-sectors article {
    text-align: center;
}

.single-the-hp4-team #primary {
    margin: 50px 0 50px !important;
}

.customTeamLayout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    margin: 50px 0; 
}

.customTeamMember {
  width: 325px;
  margin: 0 30px 60px;
	text-align: center;
}

.headShot {
	border-radius: 100%;
	border: 1px solid #ccc;
	width: 240px;
	height: 240px;
	background-size: cover;
	background-position: center center;
	margin: 0 auto;
}


.customTeamLayout .headShot {
	opacity: 0.8;
	transition: all linear 0.3s;
}
.customTeamLayout .headShot:hover {
	width: 260px;
	height: 260px;
	opacity: 1;
	margin: -10px auto -10px;
}

.customTeamContent {
	float: left;
	margin: 15px auto;
} 

.customTeamContent h3 {
	margin: 5px 0 0;
	font-size: 20px;
}

.teamPosition {
    font-size: 15px;
    margin-top: 0px;
	text-transform: uppercase;
}

.teamExcerpt {
	margin: 10px 0 15px;
}


/* Style for odd-numbered buttons */
.customTeamMember:nth-child(odd) .button {
    background: #082457 !important;
}
/* Style for even-numbered buttons */
.customTeamMember:nth-child(even) .button {
    background: #bf1e2e !important;
}


.button:hover, .customTeamMember .button:hover {
	color: #082457 !important;
	background: rgba(240, 240, 233, 0.9) !important;
}



/*
 INDIVIDUAL TEAM MEMBERS single-the-hp4-team.php
-------------------------------------------------------------------------

*/

.teamMemberColumnLeft {
	width: 300px;
	margin-right: 20px;
}
.teamMemberColumnRight {
	width: calc(100% - 320px);
}

.teamMemberColumnLeft, .teamMemberColumnRight {
	float: left;
}


@media (max-width: 768px) {
	.teamMemberColumnLeft, .teamMemberColumnRight {
		width: 100%;
		text-align: center;
	}
	.single-the-hp4-team .headShot {
		margin: -180px auto 20px;
	}
	
}



.single-the-hp4-team h2 {
	margin-bottom: 10px;
}


.teamLinks {
  margin-top: 20px;
}


.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px; 
    padding: 0px;
}

.icon-container svg {
  	color: #082457;
	max-width: 25px;
	max-height: 30px;

}


.teamLinkBox {
	display: flex;
	align-items: center;
	clear: both;
}

.teamLinks a {
    margin-left: 10px;
	transition: all linear 0.2s;
}


@media (max-width: 999px) {
	.teamLinks {
	  margin-top: 20px;
	  display: flex;
	  flex-direction: column;
	  align-content: center;
	}
	.teamLinkBox {
	  display: block;
	  margin: 10px 0;
	}
	.icon-container {
	  display: block;
	  width: 100%;
	  height: 35px;
	}
}


/* Team Members appearing in the Sectors CPT
--------------------------------------------- */


.sectionManagerDetails {
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: space-between;
	background: #f1f1f1;
    padding: 25px 0;
    border-radius: 20px;
	margin-bottom: 25px;
}

.sectionManagerDetails .headshot {
	margin: revert;
}

.sectionManagerText {
    width: calc(100% - 300px);
}
.sectionManagerText h2 {
	margin: 0 0;
}
@media screen and (max-width: 999px) {
	.sectionManagerDetails {
		flex-flow: column;
		text-align: center;
	}
	.sectionManagerText {
		width: 100%;
	}
}



/* Basic Page adjustments
--------------------------------------------- */


.testimonialTitle {
    width: 60%;
    text-align: center;
    border-bottom: 1px solid #999;
	color: black;
	margin-bottom: 35px;
	margin-left: 20%;
}

.centredDiv {
    text-align: center;
    margin-top: 60px;
    height: 40px;
}

/* Parallax Rows
--------------------------------------------- */


.parallaxRow1, .parallaxRow2 {
    background-image: url(''); /* Using JavaScript to set the background-image URL, on page template Video Banner, as well as others maybe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    min-height: 420px; 
    width: 100%;
    position: relative;
    color: #fff;
	padding: 40px 0;
}


.parallaxRow2::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9), /* Dark at the top */
        rgba(255, 255, 255, 0.7)  /* More transparent at the bottom */
    );
    z-index: 1; /* Ensure it's above the background image, but below the content */
}



.parallax-content {
    padding: 50px 20px;
    position: relative;
    z-index: 2;
	text-align: center;
}

.parallax-logo {
    max-width: 200px; /* Adjust as needed */
    margin-bottom: 20px;
}

.parallax-text {
    margin-bottom: 20px;
}
.parallax-text p {
    font-size: 21px;
    font-weight: 300;
}

.parallax-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
}


/* Footer
--------------------------------------------- */

#colophon {
	background: #092457;
	padding: 50px 0;
	float: left;
	width: 100%;
}
.site-footer h1 {
  text-align: center;
  color: #fff;
	margin-bottom: 50px;
}
h2.widget-title {
    color: white;
	margin: 0 0 15px;
	border-bottom: 1px solid #fff;
	font-size: 20px;
}
.textwidget p {
    margin: 0 !important;
}
.footer-widgets {
	display: flex;
	justify-content: space-between;
}

.footer-widget-area {
    padding: 0 0px; 
	color: white;
}

.footer-widget-area .button {
    border: 1px solid #fff;
}
.footer-widget-area ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-widget-area a, .footer-widget-area svg {
	color: white;	
}
.footer-widget-area a:hover {
	color: #ccc;	
}

.footer-widget-area.footer-widget-1 {
    padding-top: 12px;
}

.footer-widget-1 .widget-title {
	display: none;
}
.footerLogo {
	width: 100%;
	margin: 25px auto 52px;
	text-align: center;
}
.footerLogo img {
	max-width: 210px !important;
}

.footer-widget-2 {
}
.footer-widget-3 {
}
.footer-widget-4 {
}


@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
		text-align: center;
    }

    .footer-widget-1, .footer-widget-2 {
        flex: none;
        width: 100%;
    }
	.footer-widget-area.footer-widget-1 {
	  margin-bottom: 20px;
	}
}



/* Site Info Strip
--------------------------------------------- */

.site-info {
	width: 100%;
	background: white;
	font-size: 0.8em;
    opacity: 0.8;
	display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left, .footer-right {
    padding: 10px;
	display: flex;
}

@media screen and (max-width: 768px) {
	.site-info {
		flex-direction: column;
	}
	.footer-left {
		margin: 10px 0 0;
	}
	.footer-left, .footer-right {
		width: 100%;
		justify-content: center;
	}
	.site-info ul {
		margin: 0 0;
	}
}


/* Footer menu styling */
#menu-footer-menu {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
}

#menu-footer-menu li {
	float: left;
    margin: 0 10px; /* Add spacing between menu items */
}

#menu-footer-menu a {
    text-decoration: none; /* Remove default underline from links */
    color: #666; /* Set the color of menu item text */
    font-weight: 300; 
}

/* Optionally, style hover effect */
#menu-footer-menu a:hover {
    text-decoration: none; /* Underline link on hover */
	color: #000;
}



/* Comments
--------------------------------------------- */

.comments-area {
    display: none;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
