/*
Theme Name: Coppermark
Version: 100.0.0
Description: Custom website for Coppermark
Author: Ehren Fergusson @ FazeDesigns
Author URI: https://www.fazedesigns.com
*/


/************************************/
/************ START CSS *************/

:root {
	
	/* Primary Brand Colors */

	--color-primary: #9B633D;
	--color-primary-hover: #a25d2f;

	--color-secondary: #20251F;
	--color-secondary-hover: #1c211b;

	--color-tertiary: #32302F;
	--color-tertiary-hover: #a25d2f;

	--color-link: #9B633D;
	--color-link-hover: #a25d2f;
	
	/* Backgrounds */
	
	--color-background-body: #F4F3F1;
	--color-background-light: #E8E6E2;
	--color-background-dark: #20251F;

	--color-text: #20251F;
	--color-text-light: #837E72;
	--color-text-white: #FFFFFF;
	--color-text-black: #000000;

	/* Footer */
	
	--color-footer-background: #20251F;
	--color-footer-text: #9B633D;
	--color-footer-link: #9B633D;
	
	/* Borders & Lines */
	
	--border: #E8E6E2;
	--border-light: rgba(0, 0, 0, 0.1);
	
	/* Radius */
	
	--radius: 0;
	--radius-sm: 4px;
	--radius-md: 16px;
	--radius-lg: 40px;
	
	/* Shadows */
	
	--shadow-color: rgba(0, 0, 0, 0.1);

	/* Block Spacing */
	
	--block-spacing: 100px 24px;
	--block-spacing-container: 40px 0;
	--block-spacing-heading: 300px 24px 100px 24px;
	--block-spacing-columns: 40px;

	/* Font sizes */

	--font-sm: 14px;
	--font-md: 16px;
	--font-lg: 20px;
	--font-xl: 32px;
	--font-2xl: 48px;
	--font-3xl: 60px;
	--font-4xl: 80px;
	--font-5xl: 100px;

	/* Common spacing */

	--spacing-xs: 8px;
	--spacing-sm: 16px;
	--spacing-md: 24px;
	--spacing-lg: 48px;
}

@media (min-width: 768px) and (max-width: 1199px) {
	:root {
		--block-spacing: 80px 24px;
		--block-spacing-container: 40px 0;
		--block-spacing-heading: 180px 24px 60px 24px;
		--block-spacing-columns: 40px;
	}
}

@media (max-width: 767px) {
	:root {
		--block-spacing: 48px 24px;
		--block-spacing-container: 24px 0;
		--block-spacing-heading: 300px 24px 32px 24px;
		--block-spacing-columns: 32px;

		--font-lg: 18px;
		--font-xl: 22px;
		--font-2xl: 28px;
		--font-3xl: 46px;
		--font-4xl: 42px;
		--font-5xl: 48px;
		
		--spacing-sm: 12px;
		--spacing-md: 16px;
		--spacing-lg: 32px;
	}
}

body {
	background: var(--color-background-body);
	color: var(--color-text);
	font-family: "Barlow", sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-optical-sizing: auto;
	line-height: 1.5em;
}

@media (max-width: 767px) {
	body { font-size: 15px; line-height: 1.5em;}
}

a {
	color: var(--color-link);
	font-weight: 500;
}
a:hover,
a:active {
	color: var(--color-link-hover);
}

/****************************************************/
/* H1, H2, H3, H4, H5, H6 */

h1, h2, h3, h4, h5, h6, .htag { 
	clear: both; 
	color: inherit; 
	-ms-word-wrap: break-word; 
	word-wrap: break-word;
	line-height: 1.4em;
	text-transform: none;
	font-weight: 300;
	font-family: "Roboto Serif", serif;
	font-optical-sizing: auto;
}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .htag a { font-weight: 500 !important;}
	h1.page_title { font-size: 3.77em; letter-spacing: -0.02em; line-height: 1.4em;}
	h1, .text h1, .text .h1, .h1 { font-size: 3.33em; letter-spacing: -0.02em; line-height: 1.2em;}
	h2, .text h2, .text .h2, .h2 { font-size: 1.88em;}
	h3, .text h3, .text .h3, .h3 { font-size: 1.4em; }
	h4, .text h4, .text .h4, .h4 { font-size: 1.3em; }
	h5, .text h5, .text .h5, .h5 { font-size: 1.2em; }
	h6, .text h6, .text .h6, .h6 { font-size: 1em; }

	@media (min-width: 768px) and (max-width: 1199px) {
		h1.page_title { font-size: 3.5rem; }
		h1, .text h1, .text .h1, .h1 { font-size: 3em; }
		h2, .text h2, .text .h2, .h2 { font-size: 2em; }
		h3, .text h3, .text .h3, .h3 { font-size: 1.3em; }
		h4, .text h4, .text .h4, .h4 { font-size: 1.2em; }
		h5, .text h5, .text .h5, .h5 { font-size: 1.1em; }
		h6, .text h6, .text .h6, .h6 { font-size: 1em; }/* Prevent FOUC (Flash of Unstyled Content) for motion animations */
		/* Hide reveal/fade/scale elements until JavaScript initializes */
		[data-motion^="reveal"],
		[data-motion="fade"],
		[data-motion="scale"] {
			opacity: 0;
			will-change: opacity, transform;
		}
		
		/* Parallax elements should remain visible (they don't fade in) */
		[data-motion="parallax"] {
			will-change: transform;
		}
		
		/* Show reveal/fade/scale elements once motion system is ready */
		.motion-ready [data-motion^="reveal"],
		.motion-ready [data-motion="fade"],
		.motion-ready [data-motion="scale"] {
			opacity: 1;
		}

	}
	
	@media (max-width: 767px) {
		h1.page_title { font-size: 2.26rem;}
		h1, .text h1, .text .h1, .h1 { font-size: 2.26rem; }
		h2, .text h2, .text .h2, .h2 { font-size: 1.46em; }
		h3, .text h3, .text .h3, .h3 { font-size: 1.4em; }
		h4, .text h4, .text .h4, .h4 { font-size: 1.3em; }
		h5, .text h5, .text .h5, .h5 { font-size: 1.2em; }
		h6, .text h6, .text .h6, .h6 { font-size: 1em; }
	}

/* Buttons */

.btn { 
	display: inline-block; 
	position: relative; 
	padding: 21px 40px; 
	font-family: "Roboto Serif", serif;
	font-size: 14px; 
	text-transform: none;
	text-decoration: none !important;
	line-height: 1em; 
	text-align: center; 
	overflow: hidden;
	white-space: normal; 
	font-weight: 400;
	border-radius: var(--radius-lg);
	transition: .3s;
}
.btn.center 	{ margin: 0 auto;}
.btn.full 		{ display: block;}
.btn.small 		{ padding: 8px 16px;}
.btn.big 		{ font-size: 1.3em; padding: 18px 40px;}

@media (max-width: 767px) {
	.btn { padding: 16px 32px;}
}

.btn.btn_primary {
	color: var(--color-text-white);
	background: var(--color-primary);
}
a:hover .btn.btn_primary,
.btn.btn_primary:hover {
	color: var(--color-text-white);
	background: var(--color-primary-hover);
}

.btn.btn_secondary {
	color: var(--color-text-white);
	background: var(--color-secondary);
}
a:hover .btn.btn_secondary,
.btn.btn_secondary:hover {
	color: var(--color-text-white);
	background: var(--color-secondary-hover);
}

.btn.btn_tertiary {
	color: var(--color-tertiary);
	background: none;
	border-radius: 0;
	border: none;
	padding: 5px 0;
}
.btn.btn_tertiary:before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--color-tertiary);
	transition: .3s;
}
.btn.btn_tertiary:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-tertiary-hover);
	transition: .3s;
}
a:hover .btn.btn_tertiary,
.btn.btn_tertiary:hover {
	color: var(--color-tertiary-hover);
}
a:hover .btn.btn_tertiary:after,
.btn.btn_tertiary:hover:after {
	width: 100%;
}

/* Prevent FOUC (Flash of Unstyled Content) for motion animations */
/* Hide reveal/fade/scale elements until JavaScript initializes */
[data-motion^="reveal"],
[data-motion="fade"],
[data-motion="scale"] {
	opacity: 0;
	will-change: opacity, transform;
}

/* Parallax elements should remain visible (they don't fade in) */
[data-motion="parallax"] {
	will-change: transform;
}

/* Show reveal/fade/scale elements once motion system is ready */
.motion-ready [data-motion^="reveal"],
.motion-ready [data-motion="fade"],
.motion-ready [data-motion="scale"] {
	opacity: 1;
}

.fa { font-style: normal !important;}
.shadow { box-shadow: 0 15px 40px rgba(0,0,0,0.1);}
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; transition:.5s; overflow: hidden;}

.text .small { font-size: 12px; line-height: 1.3em;}

/****************************************************/
/* HEADERS */
/****************************************************/

#header { 
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9995;
	background: none;
	display: flex;
	flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
	background: rgba(244, 243, 241, 0);
}
	#header.up { background: rgba(244, 243, 241, 0);}
	#header.down { background: rgba(244, 243, 241, 1);}
	/*#header.no_bg { background: rgba(255,255,255,0.9) !important ;-webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);}*/
	#header.active { background: none !important; box-shadow: none !important;}
	/*#header.no_bg.active { background: none !important;}*/
	body.admin-bar #header { top: 32px;}

.site_gap { position: relative; height: 0;}

	/* Header Main */
	
	#header .inner {
		position: relative;
		width: 100%; 
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: stretch;
		gap: 15px;
		padding: 0 24px;
		height: 100px;
	}
	#header .inner .logo {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		padding: 10px 0;
	}
	#header .inner .logo img { max-height: 60px;}
	#header .inner > div {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		gap: 16px;
	}
	
	@media (max-width: 900px) {
		#header .inner { padding: 0 10px; height: 60px;}
		#header .inner .logo { max-width: 172px;}
		#header .inner .logo img {}
		#header .inner > div { flex-direction: row-reverse; gap: 4px;}
	}
	@media (max-width: 767px) {
		html { margin-top: 0;}
		#wpadminbar { display: none !important;}
		body.admin-bar #header { top: 0;}
	}
	
	#header .inner .btn { padding: 15px 30px; font-size: 13px; line-height: 1em; margin: 0;}
	#header .inner .btn i { display: none;}
	#header .inner .btn span { display: block;}
	
	@media (max-width: 767px) {
		#header .inner .btn { padding: 0; width: 44px; height: 44px; border-radius: none; background: none; color: var(--color-primary);}
		#header .inner .btn i { display: block; text-align: center; line-height: 44px;}
		#header .inner .btn span { display: none;}
	}
	
	/* Main Menu */
	
	#main_menu {
		position: relative;
	}
	
	#main_menu > ul {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		height: 80px;
		gap: 8px;
	}
	
	#main_menu > ul > li {
		display: inline-block;
		position: relative;
	}
	
	#main_menu > ul > li > a {
		position: relative;
		display: block;
		padding: 15px;
		font-size: 13px; line-height: 1em;
		font-weight: 400;
		color: var(--color-text-white);
		transition: .3s;
		border-radius: var(--radius);
		font-family: "Roboto Serif", serif;
	}
	#header.down #main_menu > ul > li > a { color: var(--color-text);}
	
	#main_menu > ul > li > a:hover,
	#main_menu > ul > li.current-menu-item > a {
		text-decoration: underline;
	}
	
	#main_menu > ul > li > ul:before {
		content: '';
		position: absolute;
		left: 24px;
		top: -7px;
		width: 0px;
		height: 0px;
		border-style: solid;
		border-width: 0 7px 7px 7px;
		border-color: transparent transparent var(--color-background-body) transparent;
		z-index: 9991;
	}
	
	#main_menu > ul > li > ul {
		display: none;
		position: absolute;
		top: calc(100% + 5px);  
		left: -10px;
		background: var(--color-background-body);
		width: 220px;
		z-index: 9991;
		border-radius: 5px;
		box-shadow: 0 10px 30px var(--shadow-color);
		padding: 12px 0;
	}
	
	#main_menu > ul > li > ul > li {
		display: block;
		width: 100%;
	}
	
	#main_menu > ul > li > ul > li > a {
		display: block;
		padding: 8px 24px;
		font-size: 16px;
		font-weight: 500;
		color: var(--color-text);
		transition: .3s;
	}
	
	#main_menu > ul > li > ul > li > a:hover {
		background: rgba(0, 0, 0, 0.2);
	}
	
	@media (max-width: 900px) {
		#main_menu { display: none;}
	}

/* Mobile Button */

.menu_button { position: relative; display: block; width: 44px; height: 44px; cursor: pointer;}
	body.home .menu_button { display: none;}
	.menu_button.active {}
	.menu_button:before, 
	.menu_button:after { content: ''; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--color-primary); position: absolute; top: 50%; left: 50%; transform-origin: center; transition:.2s;}
	.menu_button:before { margin: -5px 0 0 -10px;}
	.menu_button:after { margin: 3px 0 0 -10px;}
	.menu_button.active:before { margin: -1px 0 0 -10px; transform: rotate(45deg);}
	.menu_button.active:after { margin: -1px 0 0 -10px; transform: rotate(-45deg);}
	
	@media (max-width: 1099px) {
		.menu_button { display: block !important;}
		#menu { display: none;}
	}

/* Mega Menu */

.menu_mega { background: var(--color-background-dark); color: var(--color-primary); z-index: 7000;}
	.menu_mega { scrollbar-width: auto; scrollbar-color: #101010;}
	.menu_mega::-webkit-scrollbar { width: 10px;}
	.menu_mega::-webkit-scrollbar-track { background: none;}
	.menu_mega::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.3); border: none; border-radius: 10px;}
	
	.menu_mega .wrapper { position: relative; width: 100%; height: 100%; padding: 100px 24px; z-index: 7002;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
	}
	.menu_mega .main_menu > div > ul {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: flex-start;
		height: calc(100vh - 200px);
	}
	.menu_mega .main_menu ul > li { display: block; position: relative; width: 100%;}
	.menu_mega .main_menu ul > li > a {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		position: relative;
		font-size: clamp(1.875em, min(6vw, 8vh), 8vw);
		text-transform: none;
		color: var(--color-primary);
		cursor: pointer;
		text-decoration: none;
		transition: .5s;
		padding: 1.2vh 0;
		line-height: 1.15em;
		font-weight: 300;
		font-family: "Roboto Serif", serif;
	}
	.menu_mega .main_menu ul > li.current-menu-item > a,
	.menu_mega .main_menu ul > li.current-menu-parent > a { color: var(--color-primary);}
	.menu_mega .main_menu ul > li > ul { display: none;}
	
	@media (min-width: 768px) and (max-width: 1299px) {
		
	}
	
	@media (max-width: 767px) {
		.menu_mega .main_menu ul > li > ul { padding: 8px 0; display: block;}
		.menu_mega .main_menu ul > li > ul > li > a {
			position: relative;
			font-size: 13px;
			color: var(--color-primary);
			cursor: pointer;
			text-decoration: none;
			transition: .5s;
			line-height: 1.5em;
			font-weight: 400;
		}
	}
	
/****************************************************/
/* PAGE BUILDER */
/****************************************************/

.white + .white { padding-top: 0 !important;}
.text_inner .tagline { font-size: 12px; text-transform: uppercase; font-weight: 500; line-height: 1.2em;}
.grid_container { position: relative; width: 100%; max-width: 1220px; padding: var(--block-spacing-container); margin: 0 auto; z-index: 5;}

/****************************************************/
/* Page Heading */
/****************************************************/

.block_heading { position: relative; display: block;}

	/* Media */

	.block_heading .media figure { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; overflow: hidden;}
	.block_heading .media figure img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	.block_heading .media .cycle-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9;}
	.block_heading .media .cycle-slideshow .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;}
	.block_heading .media .cycle-slideshow .slide img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	.block_heading .media .cycle-slideshow .cycle-next,
	.block_heading .media .cycle-slideshow .cycle-prev { z-index: 999;}
	.block_heading .media video { height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: 1; object-fit: cover;}
	.block_heading .media iframe { position: absolute; display: block; border: none !important; top: -50%; left: 0px; height: 200%; width: 100%; opacity: 1; pointer-events: none;}

	/* Image Background */
	
	.block_heading.heading_background_image { 
		position: relative;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		padding: var(--block-spacing-heading);
		background: var(--color-background-dark);
	}
	
		.block_heading.heading_background_image .text_inner { color: var(--color-text-white); z-index: 99; width: 100%; max-width: 1200px; margin: 0 auto;}
		.block_heading.heading_background_image .text_inner .page_title { font-size: 1.88em; line-height: 1.4em; max-width: 600px;}
		.block_heading.heading_background_image .text_inner .text { max-width: 700px;}
		.block_heading.heading_background_image .text_inner .cta {
			justify-content: center;
			align-items: center;
		}
		.block_heading.heading_background_image .text_inner .cta .btn.btn_tertiary { color: var(--color-text-white);}
		.block_heading.heading_background_image .text_inner .cta .btn.btn_tertiary:before { background: var(--color-text-white);}
		
		body.wp-singular .block_heading.heading_background_image .text_inner { gap: 12px;}
		.block_heading.heading_background_image .text_inner .author { font-family: "Roboto Serif", serif; font-weight: 300;}
		.block_heading.heading_background_image .text_inner .date { color: var(--color-primary); font-size: 13px; font-weight: 500; letter-spacing: 1.3px; text-transform: uppercase;}
		
		
		.block_heading.heading_background_image .overlay { z-index: 95; opacity: 1; background: linear-gradient(0deg,rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.7) 100%); height: 150px;}
		.block_heading.heading_background_image .media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;}

		@media (max-width: 767px) {
			.block_heading.heading_background_image .text_inner .page_title { font-size: 1.46em; line-height: 1.4em;}
		}
	
	 /* Text Only Heading */

	 .block_heading.heading_text_only { 
		position: relative;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		text-align: center;
		padding: var(--block-spacing-heading);
	}
	
		.block_heading.heading_text_only .text_inner { z-index: 99; width: 100%; max-width: 1200px; text-align: center; margin: 0 auto;}
		.block_heading.heading_text_only .text_inner .page_title { font-size: 1.88em;}
		.block_heading.heading_text_only .text_inner .text { max-width: 700px; margin: 0 auto;}
		.block_heading.heading_text_only .text_inner .cta {
			justify-content: center;
			align-items: center;
		}
		.block_heading.heading_text_only .text_inner .columns_list { justify-content: center;}
		
		@media (max-width: 767px) {
			.block_heading.heading_text_only { padding: 120px 24px 48px 24px;}
			.block_heading.heading_text_only .text_inner .page_title { font-size: 1.46em; line-height: 1.4em;}
		}
	
	/* Anchor Nav */
	
	.anchor_nav {
		position: relative;
		width: 100%;
		background: var(--color-background-light);
		z-index: 100;
	}
	.anchor_nav.is-sticky {
		position: fixed;
		left: 0;
		width: 100%;
	}
	.anchor_nav_placeholder { display: none; }
	.anchor_nav ul {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 80px;
		list-style: none;
		margin: 0 auto;
		padding: 8px 24px;
		max-width: 1300px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		min-height: 90px;
	}
	.anchor_nav ul li { flex-shrink: 0;}
	.anchor_nav ul li a {
		display: block;
		font-size: 13px;
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 1.3px;
		line-height: 1.2em;
		color: var(--color-text);
		text-decoration: none;
		padding: 2px 0;
		border-bottom: 1px solid transparent;
		transition: color 0.2s ease, border-color 0.2s ease;
	}
	.anchor_nav ul li a:hover,
	.anchor_nav ul li a.is-active,
	.anchor_nav ul li.current-menu-item a {
		color: var(--color-primary);
		border-bottom-color: var(--color-primary);
	}
	
	@media (max-width: 1200px) {
		.anchor_nav ul {
			justify-content: space-between;
			gap: 24px;
		}
	}
	
	@media (max-width: 767px) {
		.anchor_nav_placeholder { display: none; height: 0;}
		.anchor_nav { display: none; }
	}
		

/****************************************************/
/* Hero Block */
/****************************************************/

.block_hero { 
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-end;
	text-align: left;
	padding: var(--block-spacing-heading);
	min-height: 100vh;
	background: var(--color-background-dark);
}
	.block_hero .text_inner { color: var(--color-text-white); z-index: 99; width: 100%; max-width: 1200px; margin: 0 auto;}
	.block_hero .text_inner .tagline {}
	.block_hero .text_inner .page_title { max-width: 800px; }
	.block_hero .text_inner .text { max-width: 550px; padding-bottom: 16px;}
	.block_hero .text_inner .cta .btn.btn_tertiary { color: var(--color-text-white);}
	.block_hero .text_inner .cta .btn.btn_tertiary:before { background: var(--color-text-white);}
	
	.block_hero .overlay { z-index: 95; opacity: 1; background: linear-gradient(0deg,rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.7) 100%); height: 150px;}
	
	.block_hero figure { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;}
	.block_hero figure img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	.block_hero .cycle-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9;}
	.block_hero .cycle-slideshow .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;}
	.block_hero .cycle-slideshow .slide img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	.block_hero .cycle-slideshow .cycle-next,
	.block_hero .cycle-slideshow .cycle-prev { z-index: 9991;}
	.block_hero video { height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: 1; object-fit: cover;}
	.block_hero iframe { position: absolute; display: block; border: none !important; top: -50%; left: 0px; height: 200%; width: 100%; opacity: 1; pointer-events: none;}
	
	@media (max-width: 767px) {
		.block_hero { height: auto; 
			max-height: 100vh;
			padding: 100px 24px;
			justify-content: center;
			align-items: center;
			overflow: hidden;
		}
		.block_hero .text_inner .headline { font-size: 40px;}
		.block_hero figure { position: absolute; top: 0; left: -200%; width: 300%; height: 100%; z-index: 1; overflow: hidden;}
		.block_hero figure img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	}

/****************************************************/
/* Text Area Block */
/****************************************************/

.block_textarea { position: relative; padding: var(--block-spacing);}
	.block_textarea.light { background: var(--color-background-light);}
	.block_textarea.dark { background: var(--color-background-dark); color: var(--color-text-white);}
	
	/* Tidy Container */

	.block_textarea.tidy .text_inner { margin: 0 auto;}
		.block_textarea.tidy .text_inner .tagline { text-align: center;}
		.block_textarea.tidy .text_inner .headline { text-align: center;}
		.block_textarea.tidy .text_inner .cta {
			justify-content: center;
			align-items: center;
		}
	
	/* Page Container */

	.block_textarea.page .text_inner { width: 100%; max-width: 1200px; margin: 0 auto;}

	/* Full Container */

	.block_textarea.full { padding: 0;}
	.block_textarea.full .text_inner { width: 100%; max-width: 100%; padding: 0; margin: 0;}
	
	/* Split */
	
	.block_textarea.split .text_inner.first { padding-right: 50px;}
	.block_textarea.split .text_inner .tagline { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.84px; color: var(--color-primary);}
	
	.block_textarea.split figure.profile { display: block; position: relative; border-radius: 40px; max-width: 380px; overflow: hidden;}
	
	.text .team_member { display: block; max-width: 350px; background: var(--color-background-light); border-radius: 20px; padding: 30px;}
	.text .team_member p { padding: 0; margin: 0;}
	.text .team_member h3 { font-size: 16px; margin: 0;}
	.text .team_member span { font-size: 15px; color: var(--color-primary);}
	
	@media (max-width: 767px) {
		.block_textarea.tidy .text_inner.first { padding-bottom: 24px;}
		.block_textarea.split .text_inner.first { padding-bottom: 24px; padding-right: 0;}
	}

/****************************************************/
/* Text Feature */
/****************************************************/

.block_feature_text { position: relative; padding: var(--block-spacing);}
	.block_feature_text.light { background: var(--color-background-light);}
	.block_feature_text.dark { background: #837E72; color: var(--color-text-white);}
	.block_feature_text.light .text_inner { width: 100%; max-width: 800px;}
	.block_feature_text .text_inner.first { padding-bottom: 40px;}
	.block_feature_text .text_inner.last { padding-top: 40px;}
	.block_feature_text .grid_container { padding-top: 0; padding-bottom: 0;}
	.block_feature_text .grid_container .item {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 8px;
		margin: 10px;
		height: calc( 100% - 20px );
	}
	.block_feature_text.item .grid_container .item {
		background: var(--color-background-light);
		border-radius: 20px;
		padding: 30px;
	}
	.block_feature_text .grid_container .item h3 { font-size: 16px; font-weight: 400;}
	.block_feature_text.light .grid_container .item h3,
	.block_feature_text.item .grid_container .item h3 { color: var(--color-primary);}
	.block_feature_text .grid_container .item .text { font-size: 15px; line-height: 1.4em; font-weight: 400;}
	
	.block_feature_text.light .text_inner { margin: 0 auto; text-align: center;}
	.block_feature_text.light .grid_container { max-width: 1280px;}
	.block_feature_text.light .grid_container .item {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 16px;
		margin: 40px;
		height: calc( 100% - 80px );
	}
	
	.block_feature_text.dark .grid_container { max-width: 1280px;}
	.block_feature_text.dark .grid_container .item {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 16px;
		margin: 0 40px;
	}
	
	@media (max-width: 767px) {
		.block_feature_text { padding: 48px 24px 0 24px;}
		.block_feature_text.white { padding: var(--block-spacing);}
		.block_feature_text .grid_container .item { margin: 10px 0 48px 0; gap: 24px; width: 100%; height: auto;}
		.block_feature_text .text_inner.first { padding-bottom: 24px;}
		.block_feature_text .text_inner.last { padding-top: 24px;}
		.block_feature_text .text_inner .headline.h1 { font-size: 1.46em; text-align: left;}
		.block_feature_text.white .grid_container .item {
			gap: 24px;
			margin: 10px 0;
			height: auto;
		}
		.block_feature_text.light .grid_container .item {
			gap: 24px;
			margin: 10px 0 48px 0;
			height: auto;
		}
		.block_feature_text.dark .grid_container .item {
			gap: 24px;
			margin: 10px 0 48px 0;
			height: auto;
		}
	}

/****************************************************/
/* Text Feature */
/****************************************************/

.block_anchors { position: relative; padding: var(--block-spacing);}
	.block_anchors .text_inner .tagline { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.84px; color: var(--color-primary);}
	.block_anchors .text_inner .headline { width: 100%; max-width: 480px;}
	.block_anchors .text_inner .text {}
	
	@media (max-width: 767px) {
		.block_anchors .text_inner.first { padding-bottom: 24px;}
		.block_anchors .text_inner .tagline span { font-size: 37px; display: block; line-height: 50px;}
	}

/****************************************************/
/* Split Image & Text Block */
/****************************************************/

.block_featured_img { position: relative; background: var(--color-background-dark); color: var(--color-text-white);}
	.block_featured_img .span40 { position: relative;}
	.block_featured_img .media { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
	.block_featured_img .media figure { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;}
	.block_featured_img .media figure img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	
	.block_featured_img .text_inner { position: relative; width: 100%; max-width: 810px; padding: 60px; min-height: 680px;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
		gap: 60px;
		height: 100%;
	}
	.block_featured_img .text_inner > .inner {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 16px;
	}
	.block_featured_img .text_inner .cta {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: center;
	}
	.block_featured_img .text_inner .cta .btn.btn_secondary { color: var(--color-secondary); background: var(--color-background-light);}
	.block_featured_img .text_inner .cta a:hover .btn.btn_secondary,
	.block_featured_img .text_inner .cta .btn.btn_secondary:hover { color: var(--color-secondary); background: var(--color-background-body);}
	
	@media (max-width: 767px) {
		.block_featured_img .media { position: relative; height: 450px;}
		.block_featured_img .text_inner { padding: 24px; min-height: auto; gap: 90px;}
		.block_featured_img .text_inner .cta { justify-content: flex-start;}
		
		.block_featured_img.hero .text_inner { padding: 48px 24px;}
	}

/****************************************************/
/* Testimonials */
/****************************************************/

.block_testimonial { position: relative; padding: var(--block-spacing); background: var(--color-background-light);}
	.block_testimonial .cycle-slideshow { min-height: 10px;}
	.block_testimonial .slide { text-align: center; width: 100%;}
	.block_testimonial .slide .quote { display: block; width: 100%; max-width: 800px; text-align: center; font-family: "Roboto Serif", serif; font-style: italic; font-size: 1.44em; line-height: 1.4em; font-weight: 300; padding-bottom: 20px; margin: 0 auto;}
	.block_testimonial .slide .author { display: block; width: 100%; max-width: 800px; text-align: center; text-transform: uppercase; color: var(--color-primary); font-size: 15px; font-weight: 500; margin: 0 auto;}
	
	@media (max-width: 767px) {
		.block_testimonial { padding: 48px 0;}
		.block_testimonial .slide .quote { padding-left: 48px; padding-right: 48px;}
	}

/****************************************************/
/* Gallery */
/****************************************************/

.block_gallery { position: relative; height: 80%;}
	.block_gallery .item { position: relative; display: block; height: 100%; width: 100%; background: var(--color-background-dark) no-repeat center center fixed; background-size: cover;}

	@media (max-width: 767px) {
		.block_gallery { height: 300px;}
		.block_gallery .item { background: var(--color-background-dark) no-repeat center center; background-size: cover;}
	}

/****************************************************/
/* Icons */
/****************************************************/

.block_icons { position: relative; padding: 100px 0;}
	.block_icons .text_inner { margin: 0 auto; text-align: center; padding: 0 24px;}
	.block_icons .items {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
		gap: 16px;
		width: 100%; max-width: 1300px;
		padding: 0 24px;
		padding-top: 60px;
		margin: 0 auto;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-gutter: stable;
	}
	.block_icons .items .item { display: block; width: 135px; flex-shrink: 0;}
	.block_icons .items .item img { display: block; width: 60px; height: 60px; margin: 0 auto;}
	.block_icons .items .item .tagline { margin-top: 24px; font-size: 13px; font-weight: 400; line-height: 1.5em; text-align: center; color: var(--color-primary);}
	.block_icons .items::-webkit-scrollbar { height: 3px;}
	.block_icons .items::-webkit-scrollbar-track { background: none;}
	.block_icons .items::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.1); border: none; border-radius: 10px;}

	@media (max-width: 1040px) {
		.block_icons .items { justify-content: flex-start;}
	}
	@media (max-width: 767px) {
		.block_icons { padding: 48px 0 32px 0;}
		.block_icons .items { padding-top: 24px; padding-bottom: 16px;}
	}

/****************************************************/
/* Promo Boxes Block: Carousel */
/****************************************************/

.block_promo_boxes_carousel { position: relative; padding: 100px 0;}
	.block_promo_boxes_carousel .inner { 
		width: 100%;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: flex-start;
		padding: 0 24px;
	}
	.block_promo_boxes_carousel .inner .text_inner { width: 100%; max-width: 420px; padding-right: 75px;}
	.block_promo_boxes_carousel .item { max-width: 345px; margin-right: 20px; position: relative; display: block; text-decoration: none; outline-offset: none; border: none; color: var(--color-background-body);}
	.block_promo_boxes_carousel .item:hover,
	.block_promo_boxes_carousel .item:focus { text-decoration: none; outline-offset: none; border: none;}
	.block_promo_boxes_carousel .item figure {
		position: relative;
		width: 100%;
		max-width: 345px;
		aspect-ratio: 10 / 13;
		height: auto;
		z-index: 1;
		overflow: hidden;
		border-radius: 40px;
	}
	.block_promo_boxes_carousel .item figure img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	.block_promo_boxes_carousel .item .info {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 8px;
		padding-top: 30px;
	}
	.block_promo_boxes_carousel .item .info h3 { color: var(--color-primary); font-size: 16px; line-height: 1.4em;}
	.block_promo_boxes_carousel .item .info .text { color: var(--color-text); font-size: 15px; line-height: 1.5em; font-weight: 400;}

	@media (max-width: 767px) {
		.block_promo_boxes_carousel { padding: 48px 0;}
		.block_promo_boxes_carousel .inner { padding-bottom: 32px;}
		.block_promo_boxes_carousel .inner .text_inner { width: 100%; max-width: 100%; padding-right: 0;}
		
		.block_promo_boxes_carousel .item { max-width: 190px;}
		.block_promo_boxes_carousel .item figure { max-width: 190px; border-radius: 20px;}
		.block_promo_boxes_carousel .item .info { padding-top: 20px;}
		.block_promo_boxes_carousel .item .info h3 { font-size: 14px; line-height: 1.4em;}
		.block_promo_boxes_carousel .item .info .text { font-size: 13px; line-height: 1.5em;}
	}

/****************************************************/
/* Promo Boxes Block: Grid */
/****************************************************/

.block_promo_boxes_grid { position: relative; padding: var(--block-spacing);}
	.block_promo_boxes_grid .text_inner { margin: 0 auto; text-align: center; padding-bottom: 40px;}
	.block_promo_boxes_grid .promo_container { position: relative; width: 100%; max-width: 1100px; margin: 0 auto;}
	.block_promo_boxes_grid .item { max-width: 345px; margin: 0 10px; position: relative; display: block; text-decoration: none; outline-offset: none; border: none; color: var(--color-background-body);}
	.block_promo_boxes_grid .item:hover,
	.block_promo_boxes_grid .item:focus { text-decoration: none; outline-offset: none; border: none;}
	.block_promo_boxes_grid .item figure {
		position: relative;
		width: 100%;
		max-width: 345px;
		aspect-ratio: 10 / 13;
		height: auto;
		z-index: 1;
		overflow: hidden;
		border-radius: 40px;
	}
	.block_promo_boxes_grid .item figure img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	.block_promo_boxes_grid .item .info {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 8px;
		padding-top: 30px;
	}
	.block_promo_boxes_grid .item .info h3 { color: var(--color-primary); font-size: 16px; line-height: 1.4em;}
	.block_promo_boxes_grid .item .info .text { color: var(--color-text); font-size: 15px; line-height: 1.5em; font-weight: 400;}
	
	@media (max-width: 767px) {
		.block_promo_boxes_grid { padding: 48px 0 24px 0;}
		.block_promo_boxes_grid .text_inner { padding: 0 24px 32px 24px;}
		.block_promo_boxes_grid .promo_container { padding: 0 24px;}
		.block_promo_boxes_grid .item { margin: 0;}
		.block_promo_boxes_grid .item .info { padding: 20px 0 32px 0;}
		.block_promo_boxes_grid .item .info h3 { font-size: 14px; line-height: 1.4em;}
		.block_promo_boxes_grid .item .info .text { font-size: 13px; line-height: 1.5em;}
	}

/****************************************************/
/* Parallax Block */
/****************************************************/

.block_parallax {
	position: relative;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	background: var(--color-background-dark);
}
	.block_parallax.display_full { min-height: 90vh;}
	.block_parallax .text_inner {
		position: relative;
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 180px 24px;
		text-align: center;
		color: var(--color-text-white);
		z-index: 9;
	}
	.block_parallax .text_inner .headline { color: var(--color-text-white);}
	.block_parallax .text_inner .text { color: var(--color-text-white); max-width: 800px; margin: 0 auto;}
	.block_parallax .text_inner .cta {
		justify-content: center;
		align-items: center;
	}
	.block_parallax .text_inner .cta .btn.btn_tertiary { color: var(--color-text-white);}
	.block_parallax .text_inner .cta .btn.btn_tertiary:before { background: var(--color-text-white);}
	.block_parallax .text_inner .cta .btn.btn_tertiary { color: var(--color-text-white);}
	.block_parallax .text_inner .cta .btn.btn_tertiary:before { background: var(--color-text-white);}
	
	.block_parallax .text_inner .cta .btn.btn_secondary { color: var(--color-secondary); background: var(--color-background-light);}
	.block_parallax .text_inner .cta a:hover .btn.btn_secondary,
	.block_parallax .text_inner .cta .btn.btn_secondary:hover { color: var(--color-secondary); background: var(--color-background-body);}
	
	.block_parallax .overlay { z-index: 2;}
	.block_parallax figure { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;}
	.block_parallax figure img { max-width: none; max-height: none; height: 100%; width: 100%; object-fit: cover;}
	
	@media (max-width: 767px) {
		.block_parallax .text_inner { padding: 80px 24px;}
	}

/****************************************************/
/* News Feed Block */
/****************************************************/

.block_feed { position: relative; padding: var(--block-spacing);}
	.block_feed.overview { background: var(--color-background-light);}
	.block_feed .text_inner {}
	.block_feed.related .text_inner { margin: 0 auto;}
	.block_feed.related .text_inner .tagline { text-align: center; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.84px; }
	.block_feed .grid_container .post_item { position: relative; display: block; margin: 10px;}
	.block_feed.index_feed .grid_container { padding-top: 0; padding-bottom: 0;}
		
/****************************************************/
/* Blog Overview */

.post_item { position: relative; margin: 20px; width: calc(100% - 40px);}
	.post_item .inner { position: relative;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 8px;
	}
	.post_item .inner h3 { font-size: 22px; line-height: 1.5em; color: var(--color-primary);}
	.post_item .inner .meta { color: var(--color-text); font-size: 13px; text-transform: uppercase; font-size: 500; letter-spacing: 1.3px; opacity: 0.5;}
	.post_item .inner .text { color: var(--color-text); font-size: 15px; line-height: 1.5em; font-weight: 400;}
	.post_item .inner .btn {}
	
	
	@media (max-width: 767px) {
		.block_feed .grid_container .post_item,
		.post_item { margin: 0 0 40px 0; width: 100%; height: auto;}
	}

/****************************************************/
/* Post Nav */

.post_navigation { display: block; padding-top: 70px;}
	.post_navigation ul {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}
	.post_navigation ul li { display: inline-block; position: relative;}
	.post_navigation ul li a { display: block; min-width: 48px; height: auto; background: none; border: 1px solid #9B633D; text-align: center; font-size: 18px; line-height: 48px; color: #9B633D; font-weight: 700; padding: 0 15px; transition: .5s;}
	.post_navigation ul li.active a { background: #9B633D; color: #fff; text-decoration: none !important;}
	.post_navigation ul li.prev a,
	.post_navigation ul li.next a { background: none; border: 1px solid #9B633D; color: #9B633D; text-decoration: none !important;}
	.post_navigation ul li a:hover { background: rgba(155, 99, 61, 0.2);}

/****************************************************/
/* Post Single */

.block_post_single { position: relative; padding: var(--block-spacing);}
	.block_post_single .text h1,
	.block_post_single .text h2 { color: var(--color-primary); font-weight: 400;}
	.block_post_single .text h3,
	.block_post_single .text h4 { font-family: "Barlow", sans-serif; font-weight: 600;}
	.block_post_single .text h2 { font-size: 1.33em;}
	.block_post_single .text h3 { font-size: 1.05em;}
	.block_post_single .text h4 { font-size: 1em;}

/****************************************************/
/* Footer */
/****************************************************/

#footer { position: relative; display: block; background: var(--color-footer-background); padding: 100px 24px 0 24px; color: var(--color-footer-text);}
	#footer .row { height: auto;}
	
	#footer .footer_logo { display: block; position: relative; margin-bottom: 50px;}
	
	#footer .text { font-size: 16px; line-height: 1.4em; padding-bottom: 32px; width: 100%; max-width: 345px;}
	#footer .text h5 { color: var(--color-footer-text); font-size: 16px; font-weight: 400;}
	#footer .text a { color: var(--color-footer-link);}
	#footer .btn { padding: 10px 20px; font-size: 14px; color: var(--color-footer-background);}
	
	#footer .badge {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: flex-start;
		gap: 8px;
	}
	
	#footer .navigation { position: relative; padding-top: 140px;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
		gap: 8px;
	}
	#footer .menu {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 50px;
	}
	#footer .menu > li {
		margin: 0;
		padding: 0;
	}
	#footer .menu > li a { display: block; font-size: 13px; line-height: 40px; color: var(--color-footer-link); font-family: "Roboto Serif", serif; font-weight: 400;}
	#footer .menu > li a:hover { color: var(--color-primary);}
	
	#footer .social { position: relative;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: flex-start;
		gap: 16px;
	}
		#footer .social li { display: inline-block;}
		#footer .social li a { display: block; font-size: 13px; line-height: 40px; color: var(--color-footer-link); font-family: "Roboto Serif", serif; font-weight: 400;}
	
	/* Copyright */
	#footer .copyright { padding: 40px 0 20px 0; font-size: 12px; line-height: 1.2em; font-weight: 400; color: var(--color-footer-text);}
	#footer .copyright a { font-weight: 400; color: var(--color-footer-text);}
	
	@media (max-width: 767px) {
		#footer { padding: 32px 24px 24px 24px;}
		#footer .footer_logo { width: 100%; margin-bottom: 32px;}
		#footer .footer_logo img { width: 100%; height: auto;}
		#footer .copyright { padding: 90px 0 0 0;}
	}
	
/****************************************************/
/* SlideShow Blocks */
/****************************************************/

.cycle-slideshow, 
.cycle-slideshow * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.cycle-slideshow { position: relative; height: 100%; min-height: 150px; overflow: hidden;}

.cycle-pager > * { cursor: pointer;}
.cycle-pager { position: absolute; width: 300px; margin-left: -150px; text-align: center; bottom: 10px; left: 50%; z-index: 999;}
.cycle-pager span { width: 5px; height: 5px; display: inline-block; background: #F3EEE8; color: #F3EEE8; margin: 0 5px; font-size: 1px; line-height: 1em; overflow: hidden; cursor: pointer; border-radius: 50%; opacity: 0.2;}
.cycle-pager span.cycle-pager-active { opacity: 1;}

.cycle-prev, 
.cycle-next { position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; cursor: pointer; z-index: 999; opacity: 1; transition:.5s;}
.cycle-prev { left: 0px;}
.cycle-next { right: 0px;}
.cycle-prev span { display: block; text-align: center; width: 100%; height: 100%; background: url('_assets/svg/q-prev.svg') no-repeat center center;}
.cycle-next span { display: block; text-align: center; width: 100%; height: 100%; background: url('_assets/svg/q-next.svg') no-repeat center center;}
.cycle-slideshow:hover .cycle-prev { opacity: 1; left: 8px;}
.cycle-slideshow:hover .cycle-next { opacity: 1; right: 8px;}

.cycle-slideshow { height: 100%;}
.cycle-slideshow .slide { width: 100%; height: 100%; background: no-repeat center center;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;}

/************************************/
/************** OTHER ***************/

/* FORMS */
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
	padding: 12px 8px !important; 
	background: var(--color-background-body); 
	border: none;
	border-bottom: 1px solid #D9D9D9; 
	color: var(--color-text); 
	width: 100%; 
	font-size: 1rem !important;
	border-radius: 0;
}
textarea { line-height: 1.3em; border: 1px solid #D9D9D9;}
::placeholder { color: var(--color-text); opacity: 1; }

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
	background: rgba(255,255,255,1);
	border-color: var(--color-primary);
	color: var(--color-primary);
}

input[type="radio"],
input[type="checkbox"] {}

input[type="button"],
input[type="submit"],
form button {
	border: none; 
	display: inline-block; 
	position: relative; 
	padding: 21px 40px !important; 
	font-family: "Roboto Serif", serif;
	font-size: 14px; 
	text-transform: none;
	text-decoration: none !important;
	line-height: 1em; 
	text-align: center; 
	overflow: hidden;
	white-space: normal; 
	font-weight: 400;
	border-radius: var(--radius-lg);
	transition: .3s;
	background: var(--color-secondary);
	color: var(--color-text-white); 
}
input[type="button"].block,
input[type="submit"].block,
button.block {
	width: 100%;
	padding: 12px 10px;
}

input[type="button"]:hover,
input[type="submit"]:hover,
button:hover {
	background: var(--color-primary-hover);
}

@media (max-width: 767px) {
	input[type="button"],
	input[type="submit"],
	form button { padding: 16px 32px !important; }
}

/************************************/
/* Gravity Forms */

body .gform_wrapper .gfield .ginput_container.ginput_container_select { padding: 0 5px !important;}

.gform_wrapper { margin: 0 !important;}
.gform_wrapper .gsection { border-bottom: none !important; padding-left: 5px !important; margin-bottom: 10px !important; }
.gform_wrapper .gsection .gfield_label, 
.gform_wrapper h2.gsection_title, 
.gform_wrapper h3.gform_title { font-size: 36px !important;}
.gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html { padding-left: 5px !important; padding-top: 20px !important;}
.gform_wrapper .ginput_container_consent { padding-left: 5px !important;}

.gform_wrapper .gsection .gfield_label, .gform_wrapper h2.gsection_title, .gform_wrapper h3.gform_title { font-weight: 400 !important;}

.gform_wrapper .gfield.field_sublabel_above .ginput_container.ginput_container_name label, 
.gform_wrapper .top_label .gfield_label,
.gform_wrapper label.gfield_label, 
.gform_wrapper legend.gfield_label { font-size: 1rem !important; color: var(--color-text); font-weight: 400 !important; margin-left: 5px;}

.gform_wrapper .gfield_contains_required .ginput_container_name label:after { content: '*'; color: #790000; display: inline-block; margin-left: 4px;}

.gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label,
.gform_wrapper .field_sublabel_above div[class*=gfield_date_].ginput_container label,
.gform_wrapper .field_sublabel_above div[class*=gfield_time_].ginput_container label, 
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label, 
.gform_wrapper .field_sublabel_below div[class*=gfield_date_].ginput_container label, 
.gform_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label { font-size: 1rem !important; color: var(--color-text); font-weight: 400 !important;}

/* Radio and Checkboxes */

.gform_wrapper .gfield_checkbox .gchoice, 
.gform_wrapper .gfield_radio .gchoice { position: relative; min-width: 150px; min-height: 30px; margin-bottom: 0 !important;}
.gfield_checkbox .gchoice input[type=checkbox],
.gfield_radio .gchoice input[type=radio] {
	position: absolute;
	visibility: hidden;
}

.gfield_checkbox .gchoice label,
.gfield_radio .gchoice label {
	display: block;
	position: relative;
	font-weight: 400;
	padding-left: 30px !important;
	z-index: 9;
	cursor: pointer;
	-webkit-transition: all 0.25s linear;
}

.gfield_checkbox .gchoice:hover label,
.gfield_radio .gchoice:hover label {
	color: #1B1C1F;
}

.gfield_checkbox .gchoice .check,
.gfield_radio .gchoice .check {
	display: block;
	position: absolute;
	border: 1px solid rgba(0,0,0,0.2);
	background: #fff;
	border-radius: 100%;
	height: 20px;
	width: 20px;
	top: 3px;
	left: 5px;
	z-index: 5;
	transition: border .25s linear;
	-webkit-transition: border .25s linear;
}

.gfield_radio .gchoice .check::before {
	display: block;
	position: absolute;
	content: '';
	border-radius: 100%;
	height: 10px;
	width: 10px;
	top: 50%;
	left: 50%;
	margin: -5px 0 0 -5px;
	transition: background 0.25s linear;
	-webkit-transition: background 0.25s linear;
}
.gfield_checkbox .gchoice .check::before {
	display: block;
	position: absolute;
	content:"\f00c";
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-size: 14px;
	line-height: 1em;
	height: 14px;
	width: 18px;
	top: 50%;
	left: 50%;
	margin: -7px 0 0 -7px;
	color: rgba(255,255,255,0);
	transition: background 0.25s linear;
	-webkit-transition: background 0.25s linear;
}

.gfield_checkbox input[type=checkbox]:checked ~ .check,
.gfield_radio input[type=radio]:checked ~ .check {
	border: 1px solid var(--color-primary);
}
.gfield_radio input[type=radio]:checked ~ .check::before {
	background: var(--color-primary);
}
.gfield_checkbox input[type=checkbox]:checked ~ .check::before {
	color: #4a90e2;
}
.gfield_checkbox input[type=checkbox]:checked ~ label,
.gfield_radio input[type=radio]:checked ~ label {
	color: var(--color-text); font-weight: 400 !important;
}

/* Errors */
.gform_wrapper .gfield.gfield_error {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin-bottom: 0 !important;
}
.gfield_error:before {
	font-size: 14px !important;
	font-weight: 400;
	content: "Sorry, this field is required: ";
	color: #b94a48;
	padding-left: 5px;
}
.validation_error, .validation_message {
	display:none;
}

.gform_confirmation_wrapper .gform_confirmation_message { display: block; position: relative; padding: 40px; border: 1px solid rgb(118,166,34); background: rgba(118,166,34,0.1); line-height: 1.3em; color: rgb(118,166,34); font-size: 18px;}


@media print {
	.noprint { display: none;}
	.print { display: block;}
}

/************************************/
/************* END CSS! *************/