/**
 * Critical styles for General 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;
}


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

.template-part-header-logo-nav > .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 23px 0;
	font-weight: 600;
	font-size: 14px;
}

.template-part-header-logo-nav .logo {
	max-width: 225px;
}

.template-part-header-logo-nav .mark {
	display: none;
	max-width: 28px;
}

@media ( max-width: 575px ) {

	.template-part-header-logo-nav .logo {
		max-width: 150px;
	}

	.template-part-header-logo-nav .right {
		font-size: 12px;
	}

}

.template-part-header-logo-nav .right > * {
	white-space: nowrap;
}

.template-part-header-logo-nav a:not( .button ) {
	color: #fb8406;
	text-decoration: none;
}

.template-part-header-logo-nav a[href^="tel:"]::before {
	content: "";
	display: inline-block;
	width: 11px;
	height: 10px;
	margin-right: 5px;
	background-image: url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-general/img/icon-phone.svg" );
	background-size: contain;
}

.template-part-header-logo-nav .right > * + * {
	margin-left: 30px;
}

@media ( max-width: 767px ) {

	.template-part-header-logo-nav .right > * + * {
		margin-left: 15px;
	}

	.template-part-header-logo-nav .button {
		display: none;
	}

}


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

.template-part-hero {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	background-color: #182528;
	color: #FFF;
}

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

	#page-hero {
		padding-bottom: 60px;
	}

}

@media ( max-width: 767px ) and ( min-width: 576px ) {

	#page-hero {
		padding-bottom: 50px;
	}

}

#page-hero .container {
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: min-content min-content min-content min-content;
}

#page-hero .content {
	grid-area: 1 / 1 / 2 / 2;
	margin-bottom: 45px;
}

#page-hero h1 {
	color: inherit;
}

#page-hero .entry {
	margin-top: 15px;
	font-weight: 600;
	font-size: 24px;
	color: inherit;
}

#page-hero .container--button {
	margin-top: 30px;
}

#page-hero .bg-image {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 55%;
	height: 100%;
}

@media ( max-width: 575px ) {

	#page-hero .bg-image {
		display: none;
	}

}

#page-hero .bg-image .container--ratio {
	height: 100%;
}

#page-hero .bg-image img {
	left: 0;
	transform: translate( 0, -50% );
	object-position: left center;
}

#page-hero .video {
	position: relative;
	z-index: 2;
	grid-area: 3 / 1 / 5 / 2;
}

@media ( max-width: 575px ) {

	#page-hero .video::before {
		content: "";
		position: absolute;
		bottom: 0;
		left: -5vw;
		z-index: -1;
		width: 100vw;
		height: 40px;
		background-color: #FFF;
	}

}

#page-hero .video img {
	display: block;
	width: 100%;
	border-radius: 10px;
}

@media ( min-width: 768px ) {

	#page-hero .container {
		grid-template-rows: min-content min-content min-content;
	}

	#page-hero .video {
		grid-area: 3 / 1 / 4 / 2;
	}

}

@media ( min-width: 992px ) {

	#page-hero {
		overflow: hidden;
	}

	#page-hero .container {
		grid-template-columns: 1.2fr 1fr;
		justify-content: space-between;
		align-items: center;
		grid-column-gap: 60px;
	}

	#page-hero .content {
		margin-bottom: 0;
		padding: 85px 0;
	}

	#page-hero .video {
		grid-area: 1 / 2 / 2 / 3;
	}

}

@media ( max-width: 991px ) and ( min-width: 576px ) {

	#page-hero .video {
		width: 67%;
	}

}

@media ( max-width: 767px ) and ( min-width: 576px ) {

	#page-hero .video img {
		border-radius: 0;
	}

}


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

#page-anchors {
	position: relative;
	padding: 20px 0;
	background-color: #FFF;
	font-size: 14px;
}

.template-part-hero #page-anchors {
	order: 1;
}

@media ( max-width: 767px ) {

	#page-anchors {
		padding: 0;
	}

}

#page-anchors > .container,
#sticky-page-anchors > .container {
	overflow: auto;
}

@media ( min-width: 768px ) {

	#page-anchors > .container,
	#sticky-page-anchors > .container {
		display: flex;
		justify-content: end;
	}

}

@media ( max-width: 767px ) {

	#page-anchors > .container,
	#sticky-page-anchors > .container {
		width: 100%;
	}

}

#page-anchors ul,
#sticky-page-anchors ul {
	display: flex;
	margin: 0;
	list-style: none;
}

@media ( max-width: 767px ) {

	#page-anchors li:first-of-type,
	#sticky-page-anchors li:first-of-type {
		padding-left: calc( 5vw - 15px );
	}

	#page-anchors li:last-of-type,
	#sticky-page-anchors li:last-of-type {
		padding-right: 100px;
	}

}

@media ( min-width: 768px ) {

	#page-anchors li + li,
	#sticky-page-anchors li + li {
		margin-left: 30px;
	}

}

#page-anchors a,
#sticky-page-anchors a {
	display: inline-block;
	text-decoration: none;
	white-space: nowrap;
	font-weight: 600;
	color: #8e8e8d;
}

@media ( hover: hover ) {

	#page-anchors a:hover,
	#sticky-page-anchors a:hover {
		color: #237787;
	}

}

@media ( max-width: 767px ) {

	#page-anchors a,
	#sticky-page-anchors a {
		padding: 20px 15px;
	}

	#page-anchors::after,
	#sticky-page-anchors::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		width: 80px;
		height: 100%;
		background-image:
			url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-general/img/icon-arrow.svg" ),
			linear-gradient( 270deg, rgba( 255, 255, 255, 0 ) 0%, rgba( 255, 255, 255, 1 ) 80% );
		background-position:
			left 2vw center,
			center center;
		background-size:
			6px auto,
			cover;
		transform: scaleX( -1 );
		pointer-events: none;
	}

}


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

#logos {
	margin: 60px 0;
}

#logos > .container {
	overflow: hidden;
}

#logos .swiper-container:not( .swiper-initialized ) .container--images {
	display: flex;
	justify-content: space-between;
}

#logos .swiper-slide {
	flex-shrink: 0;
	max-width: 100px;
	margin-right: 100px;
}

@media ( max-width: 1439px ) {

	#logos .swiper-slide {
		margin-right: calc( ( 100% - 600px ) / 5 );
	}

}

@media ( max-width: 991px ) {

	#logos .swiper-slide {
		margin-right: calc( ( 100% - 500px ) / 4 );
	}

}

@media ( max-width: 767px ) {

	#logos .swiper-slide {
		margin-right: calc( ( 100% - 400px ) / 3 );
	}

}

@media ( max-width: 575px ) {

	#logos .swiper-slide {
		max-width: 65px;
		margin-right: calc( ( 100% - 260px ) / 3 );
	}

}

#logos .swiper-slide:last-of-type {
	margin-right: 0;
}

#logos .template-part-gallery.has-slider.columns-6 .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 7 ),
#logos .template-part-gallery.has-slider.columns-5 .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 6 ),
#logos .template-part-gallery.has-slider.columns-4 .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 5 ),
#logos .template-part-gallery.has-slider.columns-3 .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 4 ),
#logos .template-part-gallery.has-slider.columns-2 .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 3 ),
#logos .template-part-gallery.has-slider.columns-2 .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 2 ) {
	display: none;
}

@media ( max-width: 991px ) {

	#logos .template-part-gallery .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 6 ) {
		display: none;
	}

}

@media ( max-width: 767px ) {

	#logos .template-part-gallery .swiper-container:not( .swiper-initialized ) .image:nth-of-type( n + 5 ) {
		display: none;
	}

}


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

.alternate-rows {
	margin: 60px 0;
}

.template-part-alternate-row + .template-part-alternate-row {
	margin-top: 120px;
}

@media ( max-width: 767px ) {

	.template-part-alternate-row + .template-part-alternate-row {
		margin-top: 90px;
	}

}

.template-part-alternate-row .container--image {
	overflow: visible;
}

@media ( min-width: 768px ) {

	.template-part-alternate-row > .container {
		display: flex;
		column-gap: 50px;
	}

	.template-part-alternate-row .container--content {
		flex-basis: 430px;
		flex-shrink: 1;
		padding: 20px 0;
	}

	.template-part-alternate-row .container--image {
		position: relative;
		flex-basis: 630px;
		flex-shrink: 2;
	}

	.template-part-alternate-row:nth-of-type( even ) .container--image {
		order: 2;
	}

	.template-part-alternate-row .wrapper--image {
		position: absolute;
		top: 0;
		left: calc( ( ( 100vw - 1110px ) / 2 ) * -1 );
		width: calc( 100% + ( ( 100vw - 1110px ) / 2 ) );
		height: 100%;
	}

	.template-part-alternate-row:nth-of-type( even ) .wrapper--image {
		left: auto;
		right: calc( ( ( 100vw - 1110px ) / 2 ) * -1 );
	}

}

@media ( min-width: 992px ) {

	.template-part-alternate-row .container--content {
		padding: 120px 0;
	}

}

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

	.template-part-alternate-row .container--content {
		padding: 60px 0;
	}

}

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

	.template-part-alternate-row .wrapper--image {
		left: -11.5vw;
		width: calc( 100% + 11.5vw );
	}

	.template-part-alternate-row:nth-of-type( even ) .wrapper--image {
		left: auto;
		right: -11.5vw;
	}

}

@media ( max-width: 767px ) {

	.template-part-alternate-row .wrapper--image {
		position: relative;
		left: -5vw;
		width: 100vw;
	}

}

.template-part-alternate-row .wrapper--image img {
	left: 0;
	object-fit: contain;
	object-position: left center;
	transform: translateY( -50% );
}

.template-part-alternate-row:nth-of-type( even ) .wrapper--image img {
	left: auto;
	right: 0;
	object-position: right center;
}

@media ( max-width: 767px ) {

	.template-part-alternate-row .wrapper--image img {
		position: static;
		top: 0;
		left: 0;
		width: 100%;
		height: auto;
		transform: none;
	}

}

@media ( max-width: 767px ) {

	.template-part-alternate-row .container--content {
		width: 90%;
		max-width: 390px;
		margin: 40px auto 0;
		margin-left: auto;
		margin-right: auto;
	}

}

.template-part-alternate-row * + .entry {
	margin-top: 15px;
}

.template-part-alternate-row .entry {
	color: #434343;
}

.template-part-alternate-row .entry * + ul,
.template-part-alternate-row .entry ul + * {
	margin-top: 30px;
}

.template-part-alternate-row .entry ul {
	margin-left: 0;
	list-style: none;
}

.template-part-alternate-row .entry ul > li {
	padding-left: 40px;
	background-image: url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-general/img/icon-check.svg" );
	background-position: left 1px;
	background-size: 25px auto;
}

.template-part-alternate-row .entry ul > li + li {
	margin-top: 20px;
}

.template-part-alternate-row * + .container--button {
	margin-top: 30px;
}

.template-part-alternate-row .container--button .button {
	padding: 6px 40px;
	background-color: #fff;
	border: 2px solid #fb8406;
	color: #fb8406;
}

@media ( hover: hover ) {

	.template-part-alternate-row .container--button .button:hover {
		border-color: #f0650a;
		color: #f0650a;
	}

}