/**
 * Critical styles for Sidebar Form page template.
 */

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	background-position: center;
	background-repeat: no-repeat;
}

html,
body {
	background-color: #FFF;
	font-family: "Open Sans", sans-serif;
	overflow-x: hidden;
	font-size: 16px; /* 1rem */
	color: #000;
}

@media ( max-width: 991px ) {

	html,
	body {
		font-size: 14px;
	}

}

html {
	background-color: #182528;
	scroll-padding-top: 100px;
}

@media ( prefers-reduced-motion: no-preference ) {

	html {
		scroll-behavior: smooth;
	}

}

.container {
	display: block;
	width: 77%;
	max-width: 1110px;
	margin-left: auto;
	margin-right: auto;
}

@media ( max-width: 991px ) {

	.container {
		width: 90%;
	}

}

.container--ratio,
.container--image {
	position: relative;
	overflow: hidden;
}

@supports not( aspect-ratio: 1 / 1 ) {

	.container--ratio::before {
		content: "";
		float: left;
		display: inline-block;
		width: 1px;
		height: 0;
		margin-left: -1px;
	}

}

.container--ratio img,
.container--image img,
.container--ratio iframe,
.container--image.has-lqip::after,
.container--ratio.has-lqip::after {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	width: calc( 100% + 2px ); /* add 2px to width and height to prevent hairline of background color */
	height: calc( 100% + 2px );
	transform: translate( -50%, -50% );
	object-fit: cover;
}

.container--ratio.has-lqip::after,
.container--image.has-lqip::after {
	content: "";
	z-index: 1;
	width: calc( 100% + 50px );
	height: calc( 100% + 50px );
	background-position: center;
	background-size: cover;
}

.button {
	display: inline-block;
	padding: 9px 27px;
	background-color: #fb8406;
	text-decoration: none;
	border: none;
	border-radius: 20px;
	font-weight: 600;
	color: #FFF;
}

@media ( hover: hover ) {

	.button:hover {
		background-color: #f0650a;
	}

}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: "Roboto Slab", serif;
	font-weight: 500;
	color: #334b50;
}

h1,
.h1 {
	line-height: 1.222;
	font-size: 54px;
}

@media ( max-width: 991px ) {

	h1,
	.h1 {
		font-size: 42px;
	}

}

h2,
.h2 {
	line-height: 1.3;
	font-size: 40px;
}

@media ( max-width: 991px ) {

	h2,
	.h2 {
		font-size: 34px;
	}

}

h3,
.h3 {
	line-height: 1.5;
	font-size: 30px;
}

@media ( max-width: 991px ) {

	h3,
	.h3 {
		font-size: 25px;
	}

}

h4,
.h4 {
	line-height: 1.583;
	font-size: 24px;
	color: #8e8e8d;
}

@media ( max-width: 991px ) {

	h4,
	.h4 {
		font-size: 20px;
	}

}

h5,
h6,
.h5,
.h6 {
	line-height: 1.7;
	font-size: 20px;
	color: #5d5d5d;
}

img,
video,
figure,
iframe,
picture {
	max-width: 100%;
	height: auto;
}

img.alignleft { margin: 1.11rem 1.11rem 1.11rem 0; }
img.alignright { margin: 1.11rem 0 1.11rem 1.11rem; }

img.lazyload,
img.lazyloading,
img.lazyloaded,
video.lazyload,
video.lazyloading,
video.lazyloaded,
iframe.lazyload,
iframe.lazyloading,
iframe.lazyloaded {
	opacity: 0;
	transition: opacity 0.5s;
}

img.lazyloading,
video.lazyloading,
iframe.lazyloading {
	will-change: opacity;
}

img.lazyloaded,
video.lazyloaded,
iframe.lazyloaded {
	opacity: 1;
}

.entry p,
.entry li,
.entry td,
.entry blockquote {
	line-height: 1.75;
}

.entry * + h2,
.entry * + h3,
.entry * + h4,
.entry * + h5,
.entry * + h6,
.entry * + p,
.entry * + hr,
.entry * + dl,
.entry * + ol,
.entry * + ul,
.entry * + .hr,
.entry * + pre,
.entry * + form,
.entry * + table,
.entry * + video,
.entry * + figure,
.entry * + iframe,
.entry * + blockquote,
.entry * + img.aligncenter,
.entry img.aligncenter + * {
	margin-top: 15px;
}

.entry .wp-block-table {
	overflow: auto;
}

.entry table {
	border-top: solid 0.5px #000;
	border-left: solid 0.5px #000;
	border-collapse: collapse;
}

.entry hr,
.entry .hr {
	margin: 1rem auto;
}

.entry pre {
	white-space: unset;
}

.entry iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
}

b,
.b,
strong,
.strong {
	font-weight: 700;
}

ul,
ol {
	margin-left: 1rem;
}

blockquote {
	width: 80%;
	font-style: italic;
}

.alignleft,
.alignright {
	float: left;
	display: inline;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	clip-path: polygon( 0 0, 0 0, 0 0, 0 0 );
	clip: rect( 1px, 1px, 1px, 1px );
	white-space: nowrap;
	overflow: hidden;
}

html.no-js .hide-if-no-js {
	display: none !important;
}

#page-container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 46% 49%;
	justify-content: space-between;
	padding-top: 45px;
	background-color: #FFF;
}

@media ( max-width: 767px ) {

	#page-container {
		grid-template-columns: 1fr;
		grid-template-rows: min-content;
	}

	#left,
	#right {
		display: contents;
	}

}

#hero-content::before,
#left-image::before {
	content: "";
	position: absolute;
	top: 0;
	left: calc( ( ( 100vw - 1109px ) / 2 ) * -1 );
	z-index: -1;
	display: block;
	width: 100vw;
	height: 100%;
	background-color: #182528;
}

@media ( max-width: 1439px ) {

	#hero-content::before,
	#left-image::before {
		left: -11.5vw;
	}

}

@media ( max-width: 991px ) {

	#hero-content::before,
	#left-image::before {
		left: -5vw;
	}

}


/*
##     ## ########    ###    ########  ######## ########
##     ## ##         ## ##   ##     ## ##       ##     ##
##     ## ##        ##   ##  ##     ## ##       ##     ##
######### ######   ##     ## ##     ## ######   ########
##     ## ##       ######### ##     ## ##       ##   ##
##     ## ##       ##     ## ##     ## ##       ##    ##
##     ## ######## ##     ## ########  ######## ##     ##
*/

#page-header {
	padding: 10px 0;
	background-color: #182528;
}

#hero-content {
	position: relative;
	z-index: 1;
	padding-bottom: 50px;
	color: #FFF;
}

#hero-content::before {
	top: -45px;
	height: calc( 100% + 45px );
}

#hero-content .eyebrow {
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 12px;
	color: #18a2b4;
}

#hero-content h1 {
	font-weight: 400;
	color: inherit;
}

#hero-content * + .entry {
	margin-top: 15px;
}

#hero-content .entry {
	font-weight: 600;
	font-size: 24px;
	color: #ededed;
}

@media ( max-width: 767px ) {

	#hero-content .entry {
		font-size: 20px;
	}

}


/*
##       ######## ######## ########
##       ##       ##          ##
##       ##       ##          ##
##       ######   ######      ##
##       ##       ##          ##
##       ##       ##          ##
######## ######## ##          ##
*/

#left-image {
	position: relative;
	z-index: 1;
}

#left-image::before {
	top: 0;
	height: 165px;
}

@media ( max-width: 767px ) {

	#left-image::before {
		height: calc( 100% + 150px + 50px );
	}

}

#left-image img {
	width: 88%;
}

@media ( max-width: 767px ) {

	#left-image img {
		width: 100%;
	}

}

#left-content {
	margin-top: 50px;
	color: #434343;
}

@media ( max-width: 767px ) {

	#left-content {
		order: 2;
	}

}

#left-content h2 {
	font-weight: 400;
}


/*
########  ####  ######   ##     ## ########
##     ##  ##  ##    ##  ##     ##    ##
##     ##  ##  ##        ##     ##    ##
########   ##  ##   #### #########    ##
##   ##    ##  ##    ##  ##     ##    ##
##    ##   ##  ##    ##  ##     ##    ##
##     ## ####  ######   ##     ##    ##
*/

#form {
	position: relative;
	z-index: 2;
	margin-bottom: 50px;
	padding: 30px 30px 45px;
	background-color: #FFF;
	box-shadow: 5px 5px 20px 0 rgba( 0, 0, 0, 0.09 );
	border-radius: 15px;
}

@media ( max-width: 767px ) {

	#form {
		margin-top: 50px;
		margin-bottom: 0;
		order: 1;
	}

}

#form h2 {
	font-family: "Open Sans", sans-serif;
	text-align: center;
	line-height: 1.5;
	font-size: 30px;
}

@media ( max-width: 767px ) {

	#form h2 {
		font-size: 25px;
	}

}

#form h2 + * {
	margin-top: 40px;
}

#form .gform_wrapper.gravity-theme .gform_validation_errors {
	padding-left: 16px;
}

#form .gform_submission_error {
	font-size: 20px;
}

#form .gfield_label {
	font-weight: 400;
	font-size: 12px;
	color: #434343;
}

#form .gfield_label .gfield_required,
#form .gfield--type-consent .gfield_label {
	display: none;
}

#form .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap: 20px;
}

#form .gform_fields input {
	padding: 13px 8px;
	border: 2px solid #bcbcbc;
	border-radius: 6px;
}

@media ( max-width: 767px ) {

	#form .gform_fields input {
		padding: 7px;
	}

}

#form .gfield_consent_label {
	font-size: 12px;
	color: #636466;
}

#form .ginput_container_consent input {
	position: relative;
	top: 2px;
}

#form .gform_footer {
	padding-bottom: 0;
}

#form .gform_footer .gform_button {
	margin-bottom: 0;
	min-height: 0 !important;
	line-height: normal !important;
	font-size: 16px;
}

#form .gform-form-actions {
	margin-top: 15px;
}

#right-content {
	position: relative;
	z-index: 2;
	padding: 30px;
	background-color: #efefef;
	box-shadow: 5px 5px 20px 0 rgba( 0, 0, 0, 0.09 );
	border-radius: 15px;
}

@media ( max-width: 767px ) {

	#right-content {
		order: 3;
		margin-top: 50px;
	}

}

#right-content .intro {
	display: flex;
	column-gap: 30px;
	align-items: center;
}

#right-content .intro .image {
	border-radius: 200px;
	overflow: hidden;
}

#right-content .intro .image img {
	display: block;
	width: auto;
	max-height: 128px;
}

@media ( max-width: 767px ) {

	#right-content .intro .image img {
		max-height: 90px;
	}

}

#right-content * + .entry {
	margin-top: 15px;
}

#right-content .entry {
	color: #434343;
}

#right-content h2 {
	font-family: "Open Sans", sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #5d5d5d;
}

@media ( max-width: 767px ) {

	#right-content h2 {
		font-size: 18px;
	}

}


/*
########  #######   #######  ######## ######## ########
##       ##     ## ##     ##    ##    ##       ##     ##
##       ##     ## ##     ##    ##    ##       ##     ##
######   ##     ## ##     ##    ##    ######   ########
##       ##     ## ##     ##    ##    ##       ##   ##
##       ##     ## ##     ##    ##    ##       ##    ##
##        #######   #######     ##    ######## ##     ##
*/

#page-footer {
	margin-top: 130px;
	padding: 60px 0;
	background-color: #182528;
	font-size: 12px;
	color: #FFF;
}

@media ( max-width: 767px ) {

	#page-footer {
		margin-top: 60px;
	}

}

#page-footer a {
	text-decoration: none;
	color: inherit;
}

#page-footer .row {
	display: flex;
	gap: 60px;
	justify-content: space-between;
	align-items: center;
}

@media ( max-width: 991px ) {

	#page-footer .row {
		align-items: start;
	}

}

@media ( max-width: 767px ) {

	#page-footer .row {
		display: block;
	}

}

#page-footer .contact {
	display: flex;
	gap: 30px;
	align-content: flex-start;
	flex-wrap: wrap;
}

@media ( max-width: 991px ) {

	#page-footer .contact {
		display: grid;
		grid-template-columns: repeat( 2, min-content );
		grid-template-rows: repeat( 2, min-content );
		row-gap: 20px;
	}

}

@media ( max-width: 767px ) {

	#page-footer * + .contact {
		margin-top: 30px;
	}

	#page-footer .contact {
		display: block;
	}

}

#page-footer .contact > * {
	display: flex;
	align-items: center;
	white-space: nowrap;
}

@media ( max-width: 767px ) {

	#page-footer .contact > * + * {
		margin-top: 30px;
	}

}

@media ( max-width: 991px ) {

	#page-footer a[href^="mailto"] {
		grid-area: 1 / 1 / 2 / 2;
	}

}

#page-footer a[href^="mailto"]::before {
	content: "";
	display: inline-block;
	width: 25px;
	height: 28px;
	margin-right: 15px;
	background-position: center;
	background-size: contain;
}

#page-footer.lazyloaded a[href^="mailto"]::before {
	background-image: url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-sidebar-form/img/icon-email.svg" );
}

@media ( max-width: 991px ) {

	#page-footer a[href^="tel"] {
		grid-area: 1 / 2 / 2 / 3;
	}

}

#page-footer a[href^="tel"]::before {
	content: "";
	display: inline-block;
	width: 17px;
	height: 28px;
	margin-right: 15px;
	background-position: center;
	background-size: contain;
}

#page-footer.lazyloaded a[href^="tel"]::before {
	background-image: url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-sidebar-form/img/icon-phone.svg" );
}

#page-footer .street-address {
	position: relative;
	padding: 2px 0 0 35px;
	white-space: nowrap;
}

@media ( max-width: 991px ) {

	#page-footer .street-address {
		grid-area: 2 / 1 / 3 / 3;
	}

}

#page-footer .street-address::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	width: 21px;
	height: 28px;
	background-position: center;
	background-size: contain;
}

#page-footer.lazyloaded .street-address::before {
	background-image: url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-sidebar-form/img/icon-location.svg" );
}

#page-footer * + .copyright {
	margin-top: 50px;
}

#page-footer .copyright {
	text-align: center;
	color: #c7c7c7;
}