/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Vars
# Typography & Resets
# Utility Classes
# Lazy Load
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Vars
--------------------------------------------------------------*/
:root {
	--color-white: #fff;
	--color-black: #000;
	--color-off-black: #151515;
	--color-orange: #ec8b33;
	--color-orange-fade: rgba(236, 139, 51, 0.5);
	--color-grey: #848484;
	--color-blue: #88ceff;
	--font-size-primary-heading: min(calc(2rem + 3.5vw), 5.625rem);
	--font-size-secondary-heading: min(calc(1.4rem + 2vw), 2.9rem);
	--font-size-tertiary-heading: min(calc(1.3rem + 1vw), 2.3rem);
	--font-size-quartary-heading: min(calc(1.2rem + 0.5vw), 1.7rem);
	--font-size-quinary-heading: min(calc(1rem + 0.2vw), 1.4rem);
	--font-size-body: 1.2rem;
}

/*--------------------------------------------------------------
# Typography & Resets
--------------------------------------------------------------*/
body,
html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
	overflow-wrap: break-word;
	font-size: var(--font-size-body);
	background-color: var(--color-black);
	color: var(--color-white);
	font-family: "Poppins";
}

body.responsive-menu-open {
	overflow: hidden;
	height: 100%;
	position: fixed;
	width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Josefin Sans";
	line-height: 1.1em;
	text-transform: uppercase;
	margin: 0.25em 0;
}

h1,
.h1 {
	font-size: var(--font-size-primary-heading);
	font-weight: 500;
	letter-spacing: 0.1125rem;
}

h2,
.h2 {
	font-size: var(--font-size-secondary-heading);
	font-weight: 500;
}

h3,
.h3 {
	font-size: var(--font-size-tertiary-heading);
}

h4,
.h4 {
	font-size: var(--font-size-quartary-heading);
	font-weight: 500;
}

h5,
.h5,
.h6,
h6 {
	font-size: var(--font-size-quinary-heading);
}

p {
	line-height: 1.7em;
}

.sub-heading {
	color: var(--color-orange);
	font-family: "Poppins";
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05rem;
	font-size: 1rem;
	display: block;
}

a,
a:active,
a:focus {
	outline: none;
	text-decoration: none;
	transition: 0.3s ease all;
}

a:visited {
	color: unset;
}

section {
	margin: 0 auto 6em auto;
	padding: 3em 0;
	position: relative;
	z-index: 1;
}

/*Stops Some Of Looms Issues on Certain Browsers*/
section#shadow-host-companion {
	padding: 0;
	margin: 0;
}

/*Base Button Styling*/
.kryo-button {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	border-radius: 0;
	padding: 0;
	font-size: var(--font-size-body);
	text-shadow: none;
	box-shadow: none;
	transition: 0.3s ease all;
	text-transform: uppercase;
	position: relative;
	cursor: pointer;
	text-align: center;
}

.kryo-button:after {
	content: "";
	width: 100%;
	display: block;
	background: var(--color-orange);
	height: 2px;
	margin-top: 5px;
	transition: transform 0.25s ease-out;
	transform-origin: bottom right;
}

.kryo-button:hover {
	color: var(--color-orange);
}

.kryo-button:hover::after {
	transform: scaleX(0);
}

button {
	cursor: pointer;
	transition: 0.3s ease all;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.relative {
	position: relative;
}

.h-100 {
	height: 100%;
}

.w-100 {
	width: 100%;
}

.mt-0 {
	margin-top: 0;
}

.mb-0 {
	margin-bottom: 0;
}

.mb-1{
	margin-bottom: 1rem; 
}

.auto{
	margin: auto; 
}

/*--------------------------------------------------------------
# Lazy Load
--------------------------------------------------------------*/
img[data-lazy-src] {
	opacity: 0;
}

img.lazyloaded {
	transition: opacity 0.5s linear 0.2s;
	opacity: 1;
}

/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/
.top-bar {
	margin-bottom: 1em;
}

.top-bar-interior {
	padding: 0.75em;
	background: var(--color-orange);
}

.top-bar-link {
	text-transform: uppercase;
	font-weight: 600;
	font-family: Archivo;
	letter-spacing: 0.36px;
	display: inline-block;
	font-size: 1rem;
}

.top-bar-link:hover {
	color: var(--color-white);
}

.site-header {
	z-index: 10;
	transition: all ease-in-out 0.35s;
	transform: none;
	padding: 0.5em 0;
}

.site-header.header-scrolled {
	transform: translateY(-100%);
	opacity: 0;
}

.site-header.header-scrolled-top {
	top: 0;
	position: sticky;
	opacity: 1;
	background: var(--color-black);
}

.site-header .container-fluid {
	position: relative;
	z-index: 10;
}

.responsive-menu-items a {
	font-family: "Archivo";
	font-weight: 600;
	text-transform: uppercase;
}

.responsive-menu-items:after {
	content: "";
	height: 3px;
	width: 100%;
	background: var(--color-black);
	display: block;
	margin-top: 2em;
}

.off-canvas-text a,
.off-canvas-text {
	color: var(--color-black);
}

.off-canvas-text {
	padding: 8px 15px;
}


.page-id-416 .content-block{
	margin-bottom: 0 !important; 
}

/*--------------------------------------------------------------
# Background Image Declarations
--------------------------------------------------------------*/

/*Custom Class Setup*/
/* Background Class Usage converting to pseudo element
.dna-background {
    background: url("https://kryosphere.local/wp-content/uploads/2024/01/kryosphere-background-styled.png");
    background-repeat: no-repeat;
    background-position: center;
}

.dna-background.contain{
    background-size: contain;
}

.dna-background.cover{
    background-size: cover;
}

.dna-background.top{
    background-position-y: 115%;
}*/

section.dna-background {
	z-index: 0;
}

.dna-background:after {
	background: url("https://kryosphere.flywheelsites.com/wp-content/uploads/2024/01/kryosphere-background-styled.png");
	background-repeat: no-repeat;
	background-position: center;
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

.dna-background.top-0:after {
	top: 0;
	left: unset;
	transform: unset;
}

.dna-background.contain:after {
	background-size: contain;
}

.dna-background.cover:after {
	background-size: cover;
}

.dna-background.background-offset-2 {
	margin-top: 2em;
}

/*--------------------------------------------------------------
# Single Job
--------------------------------------------------------------*/
.job-hero {
	margin-bottom: 0;
}

.job-hero:after {
	content: "";
	margin-top: 3em;
	width: 150vw;
	left: -50vw;
	height: 3px;
	background: var(--color-white);
	display: block;
	position: relative;
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/
.blog-hero {
	margin-bottom: 0;
}

.blog-hero .floating-image {
	position: absolute;
	bottom: -10%;
	right: 0;
}

.floating-image-right .floating-image {
	right: 0 !important;
	left: unset !important;
}

.single-post .post-thumbnail img {
	max-height: 650px;
	object-fit: cover;
}

.blog-content .container-fluid {
	width: min(1100px, calc(92.5vw - 0.05 * max(0px, 100vw - 768px)));
}

.blog-content .entry-title {
	font-size: var(--font-size-secondary-heading);
}

/*--------------------------------------------------------------
# Gravity Forms
--------------------------------------------------------------*/
.gform_wrapper.gravity-theme input[type="color"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme input[type="datetime-local"],
.gform_wrapper.gravity-theme input[type="datetime"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="month"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme input[type="search"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="time"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="week"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea,
.gform_fileupload_multifile {
	border-radius: 10px;
	background-color: var(--color-white);
	color: var(--color-black);
	padding: 1em !important;
}

body .gfield_description.gform_fileupload_rules {
	display: none !important;
}

body .gform_wrapper.gravity-theme .gform_drop_area {
	border: 0;
	background: var(--color-white);
}

body .gform_button {
	background: transparent;
	color: var(--color-white);
	border: 0;
	border-bottom: 0 solid var(--color-orange);
	padding: 10px;
	text-transform: uppercase;
	font-family: "Archivo";
	cursor: pointer;
	border-radius: 0;
	display: inline-block;
	position: relative;
	transition: 0.3s ease all;
	font-size: var(--font-size-body);
	font-weight: 600;
}

.gform_button:hover {
	color: var(--color-orange);
}

.gform_button:after {
	content: "";
	width: 100%;
	display: block;
	background: var(--color-orange);
	height: 2px;
	margin-top: 5px;
	transition: transform 0.25s ease-out;
	transform-origin: bottom right;
}

.gform_button:hover::after {
	transform: scaleX(0);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer h2 {
	font-size: var(--font-size-quinary-heading);
	font-weight: 500;
	font-family: "Archivo";
}

.site-footer {
	line-height: 2em;
	font-weight: 300;
}

.site-footer .col-lg-2 {
	padding: 0 1em;
	margin-top: 1em;
}

.site-footer .menu {
	margin: unset;
	list-style: none;
	padding: unset;
	font-weight: 300;
}

footer a:hover {
	color: var(--color-orange);
}

.site-footer {
	font-size: 16px;
}

/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
.error-404,
.thank-you {
	height: 100vh;
}

.thank-you {
	background-size: cover;
}

.error-404 .col-xs-12,
.thank-you .col-xs-12 {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
/*XS Devices 0 - 767px*/
@media only screen and (max-width: 47.9375em) {
	section {
		padding: 1em 0;
		margin: 0 auto 3em auto;
		overflow-x: hidden;
	}

	.floating-image {
		display: none;
	}

	:root {
		--font-size-primary-heading: min(calc(2rem + 2.2vw), 3.625rem);
	}

	h1 {
		font-size: var(--font-size-secondary-heading);
	}

	.responsive-menu-interior {
		padding-top: 50px;
	}

	#menu-button.open {
		position: fixed;
		top: 20px;
	}
	#responsive-menu.open .responsive-menu-interior {
		overflow-y: auto;
	}
	.container-fluid{
		padding-left: 1em;
		padding-right: 1em;
	}
	.top-bar-link{
		width: 100%;
		display: block;
	}
}

/*Devices 768px in width*/
@media only screen and (min-width: 48em) {
	.top-bar-link:not(:last-child):after {
		content: "|";
		margin: 0 10px;
	}

	.site-footer .divider:after {
		content: "";
		display: block;
		height: 1px;
		background-color: #fff;
		position: absolute;
		width: 100%;
		right: -50%;
		top: calc(50% - 6px);
	}
}

/*Devices 1024px in width*/
@media only screen and (min-width: 64em) {
	footer .row:nth-child(1) {
		margin-bottom: 6em;
	}

	.menu-overlay {
		width: 40%;
		right: 0;
	}

	.responsive-menu-interior {
		width: 40%;
		transform: translateX(100%);
		transition: transform var(--transition-speed);
		right: 0;
		left: unset;
	}

	#responsive-menu.open .responsive-menu-interior {
		transform: translateX(0);
		right: 0;
		left: unset;
		padding-left: 3em;
		padding-right: 3em;
		max-width: 30vw;
		overflow-y: auto;
	}
}

/*Devices 1200px+ in width*/
@media only screen and (min-width: 75em) {
	.dna-background:after {
		height: 1300px;
	}
}
