/*
Theme Name: Ravenholm
Theme URI: http://ravenholm.83blue.com
Author: Ravenholm
Description: Ravenholm (Engineering) Ltd custom theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ravenholm
*/

/* Fonts */
@font-face {
	font-family: 'apercu';
	src: url('fonts/apercu-medium.WOFF') format('woff');
	font-weight: normal;
}
@font-face {
	font-family: 'apercu';
	src: url('fonts/apercu-bold.WOFF') format('woff');
	font-weight: bold;
}
@font-face {
	font-family: 'apercu';
	src: url('fonts/apercu-black.WOFF') format('woff');
	font-weight: 900;
}
@font-face {
	font-family: 'apercu';
	src: url('fonts/apercu-regular.WOFF') format('woff');
	font-weight: 200;
}
@font-face {
	font-family: 'apercu';
	src: url('fonts/apercu-italic.WOFF') format('woff');
	font-style: italic;
}
@font-face {
	font-family: 'apercu mono';
	src: url('fonts/ApercuMono-Medium.woff2') format('woff2'),
	url('fonts/ApercuMono-Medium.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'apercu mono';
	src: url('fonts/ApercuMono-Regular.woff2') format('woff2'),
	url('fonts/ApercuMono-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

/* ========== GLOBAL STYLES ========== */
* {
	padding: 0;
	margin: 0;
}

html {
	overflow-x: hidden;
	height: 100%;
}

body {
	font-family: "apercu", -apple-system, system, sans-serif;
	background-color: #fff;
	color: #000;
	padding: 0;
	border: none;
	font-size: 5vw;
	position: relative;
	min-height: calc(100% - 200px);
}

@media (min-width: 668px) {
	body { font-size: 2.5vw; }
}
@media (min-width: 820px) {
	body { font-size: 1.67vw; padding-bottom: 170px; }
}
@media (min-width: 1200px) {
	body { font-size: 22px; }
}

input, textarea, button, select {
	font-family: "apercu", -apple-system, system, sans-serif;
	box-sizing: border-box;
}

.site_wrapper {
	overflow-x: hidden;
}

a, a:hover, a:visited, a:active {
	color: #FFD700;
	text-decoration: none;
}

a:hover {
	border: none;
}

hr {
	border: none;
	height: 1px;
	background-color: #000;
}

h1 {
	font-size: 9vw;
	font-weight: 900;
	margin-bottom: 40px;
	line-height: 1.2;
}
@media (min-width: 820px) {
	h1 { font-size: 6vw; }
}
@media (min-width: 1200px) {
	h1 { font-size: 70px; }
}

h2 {
	font-size: 7.5vw;
	font-weight: 900;
	margin-bottom: 20px;
}
@media (min-width: 820px) {
	h2 { font-size: 6vw; }
}
@media (min-width: 1200px) {
	h2 { font-size: 60px; }
}

h3 {
	font-size: 6vw;
	font-weight: 900;
	margin-bottom: 0;
	line-height: 1.3;
}
@media (min-width: 820px) {
	h3 { font-size: 3vw; }
}
@media (min-width: 1200px) {
	h3 { font-size: 38px; }
}

h4 {
	font-weight: 900;
	font-size: 6vw;
	margin-bottom: 20px;
	padding-top: 8px;
}
@media (min-width: 820px) {
	h4 { font-size: 2.5vw; line-height: 1.2; }
}
@media (min-width: 1200px) {
	h4 { font-size: 32px; }
}

h5 {
	font-weight: 700;
	font-size: 24px;
	margin-top: 10px;
	margin-bottom: 20px;
}

p, ul, ol, div {
	font-weight: 200;
	line-height: 1.4;
}
@media (min-width: 820px) {
	p, ul, ol, div { line-height: 1.6; }
}

p {
	margin: 20px 0;
}

li {
	margin-top: 10px;
}

sup {
	vertical-align: baseline;
	position: relative;
	top: -0.7em;
	font-size: 0.5em;
}

/* ========== GRID ========== */
section img {
	max-width: 100%;
	width: 100%;
}

section.image {
	width: calc(100% + 10vw);
	max-width: none;
	margin: 0 -80px;
}

section.image .row {
	margin-top: 0;
	margin-bottom: 0;
}

section.image img {
	width: 100%;
	height: auto;
}

.row {
	width: 100%;
	margin: 25px 0;
}

.row:after, .row:before {
	content: '';
	clear: both;
	display: table;
}

.row.collapsed_row {
	margin: 0;
}

.col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8, .col_9, .col_10, .col_11, .col_12 {
	padding: 10px 0;
	display: block;
	float: left;
	margin-right: 5.75%;
}

@media (max-width: 819px) {
	.col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8, .col_9, .col_10, .col_11, .col_12 {
		padding: 10px 0;
		display: block;
		margin-right: 0;
		width: 100% !important;
	}
}

.col_1 { width: 3.062%; }
.col_2 { width: 11.874%; }
.col_3 { width: 20.686%; }
.col_4 { width: 29.498%; }
.col_5 { width: 38.31%; }
.col_6 { width: 47.122%; }
.col_7 { width: 55.934%; }
.col_8 { width: 64.746%; }
.col_9 { width: 73.558%; }
.col_10 { width: 82.37%; }
.col_11 { width: 91.182%; }
.col_12 { width: 100%; margin-right: 0; }

.col_offset_1 { margin-left: 8.812%; }
.col_offset_2 { margin-left: 17.624%; }
.col_offset_3 { margin-left: 26.436%; }
.col_offset_4 { margin-left: 35.248%; }
.col_offset_6 { margin-left: 47.122%; }
.col_offset_7 { margin-left: 61.69%; }
.col_offset_9 { margin-left: 79.308%; }

@media (max-width: 819px) {
	.col_offset_1, .col_offset_2, .col_offset_3, .col_offset_4, .col_offset_6, .col_offset_7, .col_offset_9 {
		margin-left: 0;
	}
}

.row > *:last-child {
	margin-right: 0;
}

@media (max-width: 819px) {
	.sm_hidden { display: none; }
}

/* ========== HEADER ========== */
header.main_header {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	min-height: 75px;
}

@media (min-width: 668px) {
	header.main_header { min-height: 150px; }
}

header.main_header .header_inner_wrapper {
	width: 100%;
	margin: 0 auto;
	max-width: 1360px;
	position: relative;
}

header.main_header .top_nav {
	position: relative;
	margin: 40px 5vw 0;
}

@media (min-width: 820px) {
	header.main_header .top_nav { margin: 40px 80px 0; }
}

header.main_header .logo {
	width: 90vw;
}

@media (min-width: 668px) {
	header.main_header .logo { width: 60vw; }
}

@media (min-width: 820px) {
	header.main_header .logo { width: 40vw; max-width: 500px; position: static; }
}

header.main_header .logo a {
	border: none;
}

header.main_header .logo img {
	max-width: 100%;
}

header.main_header .logo .cls-2 {
	fill: #FFD700;
	transition: fill 500ms linear;
}

/* ========== FOOTER ========== */
footer.content_footer .content_footer_inner_wrapper,
footer.main_footer .main_footer_inner_wrapper {
	width: 100%;
	margin: 0 auto;
	max-width: 1360px;
}

footer.main_footer {
	background: #FFD700;
	color: #fff;
}

@media (min-width: 820px) {
	footer.main_footer {
		overflow: hidden;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
	}
}

footer.main_footer .main_footer_inner_wrapper {
	width: calc(100% - 10vw);
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
	padding: 0 5vw;
	display: table;
	clear: both;
}

footer.main_footer .main_footer_inner_wrapper .row {
	margin-bottom: 0;
}

footer.main_footer .footer_steam_logos {
	text-align: center;
	margin: 50px auto;
	max-width: 300px;
}

@media (min-width: 820px) {
	footer.main_footer .footer_steam_logos { max-width: 50%; margin: 0 auto; }
}

footer.main_footer .footer_steam_logos > div {
	float: left;
}

footer.main_footer .footer_steam_logos > div.steam_logo {
	width: 34%;
	position: relative;
	margin-right: 5%;
}

footer.main_footer .footer_steam_logos > div.steam_logo:after {
	content: "";
	border-right: 1px #fff solid;
	height: 60%;
	position: absolute;
	right: -15%;
	top: 0;
	margin-top: 10%;
}

footer.main_footer .footer_steam_logos > div.steamworks_logo {
	width: 48%;
	margin-left: 5%;
}

footer.main_footer .footer_steam_logos img {
	width: 100%;
}

@media (min-width: 820px) {
	footer.main_footer .footer_steam_logos { max-width: none; margin: 0; }
}

footer.main_footer .business_name {
	font-size: 16px;
	text-align: left;
}

@media (min-width: 820px) {
	footer.main_footer .business_name { margin-top: 0; }
}

footer.main_footer .business_name a {
	color: #fff;
}

footer.main_footer .business_description {
	color: #000;
}

footer.main_footer .business_description:hover {
	color: #fff;
}

@media (min-width: 820px) {
	.footer_nav_wrapper { margin-bottom: 25px; }
}

footer nav {
	font-size: 6vw;
}

@media (min-width: 668px) {
	footer nav { font-size: 3vw; }
}

@media (min-width: 820px) {
	footer nav { font-size: 12px; }
}

footer nav ul {
	list-style: none;
	text-align: left;
	margin-top: 20px;
}

@media (min-width: 820px) {
	footer nav ul { margin-top: 0; text-align: left; }
}

footer nav ul li {
	line-height: 1;
	font-weight: 700;
	vertical-align: top;
	display: block;
}

footer nav > ul > li {
	margin-bottom: 40px;
}

footer nav > ul > li:last-of-type {
	margin-bottom: 0;
}

@media (min-width: 820px) {
	footer nav ul li {
		float: left;
		width: 30%;
		margin-right: 5%;
		margin-bottom: 0;
	}
	footer nav > ul > li:last-of-type {
		margin-right: 0;
		margin-bottom: 0;
	}
}

footer nav ul li ul li {
	display: block;
	margin: 10px 0;
	float: none;
	width: auto;
	padding: 0;
	font-weight: 300;
}

footer nav ul li:last-of-type {
	border: none;
}

footer nav a, footer nav a:visited, footer nav a:active {
	color: #000;
}

footer nav a:hover {
	color: #fff;
}

/* ========== CONTENT WRAPPER ========== */
#content_outer_wrapper {
	margin: 0 auto;
	width: 100%;
}

#content_inner_wrapper {
	margin: 0;
	opacity: 1;
	transition: opacity 500ms linear;
}

#content_inner_wrapper.is-loading {
	opacity: 0;
}

#content > section, #content > header {
	width: calc(100% - 10vw);
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 5vw;
}

@media (min-width: 820px) {
	#content > section, #content > header {
		width: calc(100% - 160px);
		padding: 0 80px;
	}
}

#content > section.full_bleed {
	width: 100%;
	max-width: calc(100% - 10vw);
	padding: 40px 5vw;
	margin: 0;
}

@media (min-width: 820px) {
	#content > section.full_bleed {
		width: 100%;
		max-width: calc(100% - 160px);
		padding: 80px 80px;
		margin: 0;
	}
}

#content > section.full_bleed .section_inner_wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

#content ul {
	padding-left: 30px;
	margin: 20px 0;
}

#content video {
	max-width: 100%;
}

/* ========== BACKGROUND VIDEOS ========== */
#page_background_videos {
	position: fixed;
	top: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
	overflow: hidden;
}

#page_background_videos:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #000;
	opacity: 0.6;
}

#page_background_videos video {
	opacity: 0;
	min-width: 100%;
	min-height: 100%;
	max-width: none;
	max-height: none;
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#page_background_videos video:first-of-type {
	opacity: 1;
}

/* ========== FORMS ========== */
.search_form input {
	background: transparent;
	border-radius: unset;
	outline: none;
	border: none;
	padding: 10px 0;
	font-size: 5vw;
	width: calc(100% - 50px);
	color: #FFD700;
	border-bottom: 2px #FFD700 solid;
}

@media (min-width: 668px) {
	.search_form input { font-size: 2.2vw; }
}
@media (min-width: 820px) {
	.search_form input { font-size: 1.67vw; }
}
@media (min-width: 1200px) {
	.search_form input { font-size: 20px; }
}

.search_form input::-ms-clear {
	display: none;
}

.search_form input::placeholder {
	color: #FFD700;
}

.search_form .search_button,
.search_form .clear_button {
	background: transparent;
	border: none;
	border-radius: unset;
	background-image: url('images/search-red.png');
	background-repeat: no-repeat;
	background-size: cover;
	display: inline-block;
	height: 30px;
	width: 30px;
	text-indent: -9999px;
	cursor: pointer;
	outline: none;
	box-shadow: none;
	/* Green tint filter to convert red icon to green */
	filter: hue-rotate(100deg) saturate(1.5);
}

.search_form .clear_button {
	display: none;
	background-image: url('images/search_clear-black.png');
	filter: none;
}

.search_form_results {
	background: #ebebeb;
}

.search_form_results .no_results a {
	color: #FFD700;
}

.job_application form input.input_file_default + label.input_file_custom {
	display: inline-block;
	position: relative;
	cursor: pointer;
	padding: 10px 0 0;
	font-weight: 900;
	color: #FFD700;
}

.job_application form button,
.contact_form form button {
	border: none;
	font-size: inherit;
	font-weight: inherit;
	background: transparent;
	display: inline-block;
	color: #FFD700;
	cursor: pointer;
}

/* ========== JOBS PAGE ========== */
body.home,
body[data-vsapp-context='home'] {
	background-color: #000;
	color: #fff;
}

.job_skills {
	background: transparent;
	height: auto;
}

#content .job_skills ul.job_tags {
	list-style: none;
	padding: 0;
}

.job_skills_title a {
	color: #FFD700;
}

.job_skills_title a:hover {
	transition: all 250ms linear;
	color: #fff;
}

.job_skills ul.job_tags li.job_tag {
	font-size: 12vw;
	font-weight: 900;
	line-height: 1;
	transition: opacity 500ms linear, max-height 500ms linear, padding 250ms linear;
	max-height: 3000px;
	height: auto;
	opacity: 1;
	margin-top: 20px;
}

@media (min-width: 668px) {
	.job_skills ul.job_tags li.job_tag { font-size: 8vw; }
}
@media (min-width: 820px) {
	.job_skills ul.job_tags li.job_tag { font-size: 6vw; line-height: 1.2; }
}
@media (min-width: 1200px) {
	.job_skills ul.job_tags li.job_tag { font-size: 70px; }
}

.job_skills ul.job_tags li.job_tag a {
	transition: all 250ms linear;
	display: block;
	border: none;
	color: #FFD700;
}

.job_skills ul.job_tags li.job_tag a:hover {
	color: #fff;
}

.job_skills ul.job_tags li.job_tag.selected > a {
	color: #fff;
}

.job_skills ul.job_tags li.job_tag .job_opening a {
	color: #000;
}

.job_skills ul.job_tags li.job_tag .job_opening a:hover {
	color: #FFD700;
}

.job_skills ul.job_tags li.job_tag.selected {
	padding-bottom: 600px;
}

.job_skills ul.job_tags li.empty_answer {
	opacity: 1 !important;
	max-height: 3000px !important;
}

.job_skills .job_openings_wrapper,
.job_skills .search_form_results_wrapper {
	height: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	left: 0;
	top: auto;
	width: calc(100% - 10vw);
	background: #ededed;
	transition: height 250ms linear;
	margin: 50px 0;
	padding: 0 5vw;
}

@media (min-width: 820px) {
	.job_skills .job_openings_wrapper,
	.job_skills .search_form_results_wrapper {
		width: 100vw;
		padding: 0;
	}
}

.job_skills .job_openings_inner_wrapper,
.job_skills .search_form_results_inner_wrapper {
	margin: 40px auto;
}

@media (min-width: 820px) {
	.job_skills .job_openings_inner_wrapper,
	.job_skills .search_form_results_inner_wrapper {
		margin: 100px auto;
		max-width: calc(100% - 200px);
	}
}

@media (min-width: 1360px) {
	.job_skills .job_openings_inner_wrapper,
	.job_skills .search_form_results_inner_wrapper {
		max-width: 1200px;
	}
}

.job_skills .job_openings {
	font-size: 1vw;
	font-weight: normal;
	list-style: none;
}

.job_skills .job_openings_category_description {
	font-size: 1.5vw;
	font-weight: 900;
	color: #585758;
}

@media (min-width: 668px) {
	.job_skills .job_openings_category_description { font-size: 22px; }
}

.job_skills li.job_tag.selected .job_openings_wrapper {
	height: 600px;
}

.job_skills .job_openings .row {
	margin: 0;
}

.job_skills .job_openings .job_opening {
	margin-bottom: 20px;
	padding: 0;
}

.job_skills .job_openings a {
	color: #000;
	display: inline;
}

.job_skills .job_openings .job_title,
.job_skills .job_openings .no_results,
.job_skills .job_openings .job_division {
	font-weight: 900;
	font-size: 6vw;
	line-height: 1.2;
	color: #000;
}

@media (min-width: 668px) {
	.job_skills .job_openings .job_title,
	.job_skills .job_openings .no_results,
	.job_skills .job_openings .job_division { font-size: 3.5vw; }
}

@media (min-width: 820px) {
	.job_skills .job_openings .job_title,
	.job_skills .job_openings .no_results,
	.job_skills .job_openings .job_division { font-size: 1.75vw; }
}

@media (min-width: 1200px) {
	.job_skills .job_openings .job_title,
	.job_skills .job_openings .no_results,
	.job_skills .job_openings .job_division { font-size: 20px; }
}

.job_skills .job_openings .job_division {
	font-weight: 200;
	display: block;
}

.search_header {
	position: relative;
}

@media (min-width: 820px) {
	.search_header p:last-of-type { margin-bottom: 0; }
	.search_header .search_form { position: absolute; bottom: 0; right: 0; }
}

.job_skills .search_form input {
	color: #FFD700;
	border-bottom: 2px #fff solid;
}

.job_skills .search_form input::placeholder {
	color: #fff;
}

.job_skills .search_form .search_button,
.job_skills .search_form .clear_button {
	background-image: url('images/search.png');
	filter: none;
}

.job_skills .search_form .clear_button {
	background-image: url('images/search_clear.png');
}

/* Job opening violator */
.job_opening_violator {
	background-color: #FFD700;
}

.job_opening_article h4 a {
	border: 0;
	color: #FFD700;
}

/* ========== WP ADMIN BAR FIX ========== */
body.admin-bar .site_wrapper {
	margin-top: 0;
}

/* Hide WP default stuff */
.wp-block-post-content,
.wp-site-blocks {
	display: contents;
}
