/***
*Table of contents*

Posts gallery
|- load more button
|- gallery

BBHTC category gallery pages 

Solution pages

Contact page

People page
|- popup

About page
|- objective
|- documents
|- members

Publication submission page

Tane Whakapiripiri page

Timeline page

He Kāinga Mokopuna Designs page

***/

/* ==============================
Posts gallery
============================== */
.vc_tta.vc_tta-tabs .vc_tta-tabs-container {
	display: block !important;
}
.vc_tta.vc_tta-tabs .vc_tta-panel-heading {
	display: none !important;
}

/* load more button */
#page .load-more-btn-wrapper {
	text-align: center;
	margin-top: var(--m-space);
}

#page .load-more-btn {
	cursor: pointer;
	display: inline-block;
	padding: 15px 20px;
	border: 1px solid var(--secondary-color);
	color: var(--secondary-color);
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	transition: var(--transition);
	margin-bottom: 1px !important;
}

#page .load-more-btn:hover {
	background: var(--secondary-color);
	color: #fff;
}

/* gallery */
#page .hidden-post {
	display: none;
}

#page .resource-post-gallery-wrapper,
#page .category-post-gallery-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s-space);
}

#page .post-gallery-item-inner {
	position: relative;
}

#page .post-gallery-item-category {
	position: absolute;
	right: -10px;
	top: 10px;
	z-index: 10;
	padding: 10px 10px 8px 10px;
	background: var(--secondary-color);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

#page .post-gallery-item-category::before {
	content: url(../../../../uploads/2023/07/category-tag.png);
	position: absolute;
	top: 1px;
	left: -36px;
}

#page .post-gallery-item-link:hover .post-gallery-item-category {
	background: var(--primary-color);
}

#page .post-gallery-item-link:hover .post-gallery-item-category::before {
	content: url(../../../../uploads/2023/07/category-tag-hover.png);
}

#page .post-gallery-item-title {
	margin-block: var(--xs-space) !important;
}

#page .post-gallery-item-content a:hover h5 {
	color: var(--hover-color);
}

#page .post-gallery-item-link a {
	font-size: 15px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	position: relative;
	padding-right: 30px;
}

#page .post-gallery-item-link a::after {
	content: url(../../../../uploads/2023/07/arrow-right.png);
	position: absolute;
	top: 0;
	right: 10px;
	transition: 0.3s;
}

#page .post-gallery-item-link a:hover:after {
	content: url(../../../../uploads/2023/07/arrow-right-hover.png);
	right: 0;
}

/* image hover zoom-in effect */
#page .post-gallery-item-image-wrapper {
	position: relative;
	overflow: hidden;
	transition-duration: 0.5s;
	aspect-ratio: 3/2;
}

#page .post-gallery-item-inner .post-gallery-item-top:hover img {
	transform: scale(1.1, 1.1);
	transition-duration: 0.5s;
}

/* image hover line decoration effect */
#page .post-gallery-item-image-wrapper span {
	display: block;
}

#page .post-gallery-item-image-wrapper span::before,
#page .post-gallery-item-image-wrapper span::after {
	content: "";
	position: absolute;
	background: var(--secondary-color);
	transition: all 0.3s;
	z-index: 2;
}

/* left line */
#page .post-gallery-item-image-wrapper span::before {
	width: 15px;
	height: 0;
}

#page .post-gallery-item-image-wrapper span::before {
	left: 0;
	bottom: 0;
}

#page
	.post-gallery-item-inner
	.post-gallery-item-top:hover
	.post-gallery-item-image-wrapper
	span::before {
	height: 100%;
}

/* bottom line */
#page .post-gallery-item-image-wrapper span::after {
	width: 0;
	height: 15px;
}

#page .post-gallery-item-image-wrapper span::after {
	left: 0;
	bottom: 0;
}

#page
	.post-gallery-item-inner
	.post-gallery-item-top:hover
	.post-gallery-item-image-wrapper
	span::after {
	width: 100%;
}

@media only screen and (max-width: 992px) {
	#page .resource-post-gallery-wrapper,
	#page .category-post-gallery-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (max-width: 767px) {
	#page .resource-post-gallery-wrapper,
	#page .category-post-gallery-wrapper {
		grid-template-columns: repeat(1, 1fr);
		gap: var(--m-space);
	}
}

/* ==============================
BBHTC Categories page
============================== */
/* hero */
#page .category-hero-title {
	text-align: center;
	color: #fff;
	margin-inline: 0;
}

#page .category-hero-title span {
	color: #fff;
}

#page .category-hero-title::before {
	content: none;
}

/* main content */
#page .page-description-wrapper .vc_col-sm-12 .vc_column-inner > .wpb_wrapper {
	display: flex;
	justify-content: space-between;
	position: relative;
}

#page .english-button-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(calc(-50% - 8px), -50%);
}

#page .english-button {
	position: relative;
	cursor: pointer;
	color: var(--primary-color);
	font-size: 15px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	transition: var(--transition);
	padding-right: 25px;
}

#page .english-button::after {
	position: absolute;
	top: 0;
	right: 5px;
	content: url(../../../../uploads/2023/07/arrow-right.png);
	transition: var(--transition);
}

#page .english-button:hover {
	color: var(--hover-color);
}

#page .english-button:hover:after {
	right: 0;
	content: url(../../../../uploads/2023/07/arrow-right-hover.png);
}

#page .page-description-maori,
#page .page-description-english {
	width: 35%;
	max-width: 470px;
}

#page .page-description-english {
	position: relative;
}

#page .page-description-english > .wpb_wrapper {
	position: absolute;
	right: -5000px;
	width: 100%;
}

#page .page-description-english.hidden {
	transform: translateX(100%);
	transition: transform var(--transition) ease-out;
	position: fixed;
	right: 0;
	top: 20%;
}

#page .page-description-english.visible {
	transform: translateX(0);
}

/* load more button */
/* #page .video-tab .load-more-btn-wrapper,
#page .podcast-tab .load-more-btn-wrapper,
#page .toolkit-tab .load-more-btn-wrapper,
#page .case-study-tab .load-more-btn-wrapper,
#page .publication-tab .load-more-btn-wrapper {
	display: none;
} */

#page .post-gallery-tabs .vc_tta-tabs-list {
	margin-bottom: calc(
		var(--s-space) - 10px
	); /*#page .post-gallery-tabs .vc_tta-tab a: margin bottom (10px) */
}

#page .post-gallery-tabs .vc_tta-tab a {
	padding: 0;
	border: none;
	margin-bottom: 10px;
	padding-right: 20px;
	margin-right: 20px;
	background: transparent;
}

#page .post-gallery-tabs .vc_tta-tab.vc_active a {
	color: var(--text-color);
}

#page .post-gallery-tabs .vc_tta-tab a span {
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

#page .post-gallery-tabs .vc_tta-tab:first-child a {
	padding-left: 0;
}

#page .post-gallery-tabs .vc_tta-tab:not(:last-child) a {
	border-right: 2px solid var(--text-color);
}

#page .post-gallery-tabs .vc_tta-panel-body {
	padding: 0;
	padding-right: 10px;
}

@media only screen and (max-width: 992px) {
	#page
		.page-description-wrapper
		.vc_col-sm-12
		.vc_column-inner
		> .wpb_wrapper {
		flex-direction: column;
		gap: var(--s-space);
	}
	#page .english-button-wrapper {
		position: relative;
		top: 0;
		left: 0;
		transform: none;
	}
	#page .page-description-maori,
	#page .page-description-english {
		width: 100%;
		max-width: 100%;
	}
	#page .english-button::after {
		top: -3px;
		transform: rotate(90deg);
	}
	#page .english-button:hover:after {
		right: 5px;
	}
	#page .page-description-english > .wpb_wrapper {
		position: relative;
		right: 0;
	}
	#page .post-gallery-tabs .vc_tta-tab a {
		padding-right: 16px;
		margin-right: 16px;
	}
}

/* ==============================
Solution pages
============================== */
#page .solution-hero-title,
#page .solution-hero-title span {
	color: #fff;
}

#page .solution-related-items {
	display: flex;
	flex-direction: column;
	gap: var(--xs-space);
	margin-bottom: var(--l-space);
}

/* ==============================
Contact page
============================== */
#page .contact-content::before,
#page .contact-content::after {
	display: none;
}

#page .contact-content {
	display: flex;
	justify-content: space-between;
}

#page .contact-content a {
	font-weight: 700;
}

#page .contact-content > .vc_col-sm-6:first-child {
	max-width: 470px;
}

#page .contact-address {
	display: flex;
	gap: var(--s-space);
}

#page .contact-address > div {
	max-width: 150px;
}

#page .contact-address p span {
	color: var(--secondary-color);
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	display: block;
}

/* contact form */
#form_contact-form .frm_required {
	display: none;
}

#form_contact-form .frm_fields_container {
	grid-gap: 0 var(--s-space);
}

#form_contact-form .form-field {
	margin-bottom: calc(var(--s-space) - 10px);
}

#form_contact-form input[type="text"],
#form_contact-form input[type="email"] {
	border: none;
	border-bottom: 1px solid var(--hover-color);
	box-shadow: none;
	border-radius: 0;
}

#form_contact-form textarea {
	border-color: var(--hover-color);
	border-radius: 0;
}

#form_contact-form .frm_checkbox label {
	font-size: clamp(1rem, 0.847rem + 0.37vw, 1.125rem);
	font-weight: 300;
	color: var(--text-color);
}

#form_contact-form input[type="checkbox"],
#form_contact-form input[type="checkbox"]:checked {
	color: var(--hover-color);
	border-color: var(--hover-color);
	font-size: clamp(1rem, 0.847rem + 0.37vw, 1.125rem);
}

#form_contact-form input[type="checkbox"]:checked:before {
	box-shadow: inset 10px 10px var(--secondary-color);
}

#form_contact-form .frm_submit button {
	text-transform: uppercase;
	color: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	background: #fff;
	padding: 15px 20px;
	font-family: var(--font-family);
	font-size: 15px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1.5px;
	transition: all var(--transition);
}

#form_contact-form .frm_submit button:hover {
	background: var(--secondary-color);
	color: #fff;
}

@media only screen and (max-width: 992px) {
	#page .contact-content {
		flex-direction: column;
		gap: var(--s-space);
		flex-wrap: wrap;
		align-content: center;
	}
	#page .contact-content > .vc_col-sm-6 {
		width: 80%;
	}
}

@media only screen and (max-width: 600px) {
	#page .contact-content > .vc_col-sm-6 {
		width: 100%;
	}
}

/* ==============================
People page
============================== */
#page .people-title h1,
#page .people-title h1 span {
	color: #fff !important;
}

#page .people-description > .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
	display: flex;
	gap: var(--l-space);
}

#page .people-description h4 {
	width: 370px;
}

#page .people-item-wrapper .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
	display: flex;
	gap: var(--s-space);
	justify-content: center;
	flex-wrap: wrap;
}

#page .people-item {
	max-width: 260px;
}

#page .people-item-image {
	margin-bottom: 15px;
	cursor: pointer;
}

#page .people-item-image img {
	filter: grayscale(100%);
	transition-duration: 0.5s;
}

#page .people-item-image:hover img {
	transform: scale(1.1, 1.1);
	transition-duration: 0.5s;
	filter: grayscale(0%);
}

#page .people-image-wrapper {
	aspect-ratio: 471 / 515;
}

#page .people-item .post-gallery-item-image-wrapper span::before {
	width: 10px;
	height: 0;
}

#page .people-item .post-gallery-item-image-wrapper span::after {
	width: 0;
	height: 10px;
}

#page .people-item-image:hover .people-image-wrapper span::before {
	height: 100%;
}

#page .people-item-image:hover .people-image-wrapper span::after {
	width: 100%;
}

#page .people-bio {
	color: var(--primary-color);
	font-size: 15px;
	font-weight: 300;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	margin-bottom: 0;
}

#page .people-bio span {
	display: block;
}

#page .people-bio .name {
	color: var(--secondary-color);
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	text-transform: none;
	letter-spacing: 0;
}

#people-popup-container ul li {
	list-style-type: none;
	position: relative;
	padding-left: 16px;
}

#people-popup-container ul li:before {
	border-radius: 50%;
	width: 5px;
	height: 5px;
	display: block;
	position: absolute;
	left: 0;
	top: 0.6em;
	content: "";
	background: var(--secondary-color);
}

#page .people-bio .position {
	color: var(--secondary-color);
	font-weight: 500;
}

#page .people-bio:hover,
#page .people-bio:hover .name,
#page .people-bio:hover .position {
	color: var(--hover-color);
}

@media only screen and (max-width: 1650px) {
	#page .people-hero {
		margin-top: -300px;
	}
}

@media only screen and (max-width: 1400px) {
	#page .people-description > .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
		gap: var(--m-space);
	}
	#page .people-description h4 {
		margin-left: 50px;
	}
}

@media only screen and (max-width: 992px) {
	#page .people-hero {
		margin-top: -200px;
	}
	#page .people-description > .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
		flex-direction: column;
		gap: var(--s-space);
	}
	#page .people-description p {
		margin-left: 50px;
	}
}

@media only screen and (max-width: 767px) {
	#page .people-hero {
		margin-top: -150px;
	}
	#page .people-description h4,
	#page .people-description p {
		margin-left: 30px;
		margin-right: 10px;
	}
	#page .people-description h4 {
		width: 90%;
		max-width: 370px;
	}
}

/* popup */
.pum.pum-overlay {
	overflow-x: hidden;
}

.pum-container .pum-close {
	letter-spacing: 1.5px !important;
	transition: var(--transition);
}

.pum-container .pum-close:hover {
	color: var(--hover-color) !important;
	transition: var(--transition);
}

.pum-container .pum-close::after {
	content: url(../../../../uploads/2023/07/kohiti-small.png);
	position: absolute;
	top: 0;
	right: -30px;
	transition: var(--transition);
}

.pum-container .pum-close:hover::after {
	content: url(../../../../uploads/2023/08/close-hover.png);
	transition: var(--transition);
}

.pum-content #people-popup-container {
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: 50px;
}

.pum-content #people-popup-container h5 {
	color: var(--secondary-color);
}

#people-popup-container span.position,
#people-popup-container span.maori {
	display: block;
	color: var(--hover-color);
	font-size: 17px;
	line-height: 19px;
	text-transform: uppercase;
}

#people-popup-container span.position {
	font-weight: 500;
}

#people-popup-container span.maori {
	font-weight: 300;
}

.pum-content .people-popup-container-inner {
	display: flex;
	gap: 50px;
}

.pum-content .people-popup-container-inner::before,
.pum-content .people-popup-container-inner::after {
	display: none;
}

.pum-content .people-popup-container-inner img {
	max-width: 470px;
	width: 100%;
}

.pum-content .people-popup-container-inner ul {
	list-style: inside;
	margin-bottom: 10px;
}

@media only screen and (max-width: 1450px) {
	.pum-container .pum-close {
		right: 90px !important;
	}
}

@media only screen and (max-width: 992px) {
	.pum-container .pum-close {
		top: 50px !important;
	}
}

@media only screen and (max-width: 767px) {
	.pum-content #people-popup-container {
		padding-inline: 20px;
	}
	.pum-content .people-popup-container-inner {
		flex-direction: column;
	}
	.pum-content .wpb_single_image.vc_align_left {
		text-align: center;
	}
	.pum-container .pum-close {
		top: 30px !important;
		right: 60px !important;
	}
}

/* ==============================
About page
============================== */
#page .about-page-description-english-1,
#page .about-page-description-english-2,
#page .about-page-description-english-3 {
	width: 35%;
	max-width: 470px;
}

#page .about-page-description-english-1,
#page .about-page-description-english-2,
#page .about-page-description-english-3 {
	position: relative;
}

#page .page-description-maori ol,
#page .page-description-english ol,
#page .about-page-description-english-1 ol,
#page .about-page-description-english-2 ol,
#page .about-page-description-english-3 ol {
	list-style: none;
	counter-reset: li;
	margin-bottom: var(--xs-space);
}

#page .page-description-maori li::before,
#page .page-description-english li::before,
#page .about-page-description-english-1 li::before,
#page .about-page-description-english-2 li::before,
#page .about-page-description-english-3 li::before {
	content: counter(li) ".";
	color: var(--secondary-color);
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}

#page .page-description-maori li,
#page .page-description-english li,
#page .about-page-description-english-1 li,
#page .about-page-description-english-2 li,
#page .about-page-description-english-3 li {
	counter-increment: li;
	margin-bottom: var(--xs-space);
}

#page .about-page-description-english-1 > .wpb_wrapper,
#page .about-page-description-english-2 > .wpb_wrapper,
#page .about-page-description-english-3 > .wpb_wrapper {
	position: absolute;
	right: -5000px;
	width: 100%;
}

#page .about-page-description-english-1.hidden,
#page .about-page-description-english-2.hidden,
#page .about-page-description-english-3.hidden {
	transform: translateX(100%);
	transition: transform var(--transition) ease-out;
	position: fixed;
	right: 0;
	top: 20%;
}

#page .about-page-description-english-1.visible,
#page .about-page-description-english-2.visible,
#page .about-page-description-english-3.visible {
	transform: translateX(0);
}

#page .about-english-button-1,
#page .about-english-button-2,
#page .about-english-button-3 {
	position: relative;
	cursor: pointer;
	color: var(--primary-color);
	font-size: 15px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	transition: var(--transition);
	padding-right: 25px;
}

#page .about-english-button-1::after,
#page .about-english-button-2::after,
#page .about-english-button-3::after {
	position: absolute;
	top: 0;
	right: 5px;
	content: url(../../../../uploads/2023/07/arrow-right.png);
	transition: var(--transition);
}

#page .about-english-button-1:hover,
#page .about-english-button-2:hover,
#page .about-english-button-3:hover {
	color: var(--hover-color);
}

#page .about-english-button-1:hover:after,
#page .about-english-button-2:hover:after,
#page .about-english-button-3:hover:after {
	right: 0;
	content: url(../../../../uploads/2023/07/arrow-right-hover.png);
}

/* objective */
#page #objective p {
	max-width: 570px;
	margin-inline: auto;
}

/* document */
#page
	.about-document-wrapper
	> .vc_col-sm-12
	> .vc_column-inner
	> .wpb_wrapper {
	display: flex;
	gap: var(--s-space);
	flex-wrap: wrap;
	justify-content: center;
}

#page .about-document-item {
	max-width: 360px;
	width: 33%;
}

#page .about-document-image {
	margin-bottom: var(--s-space);
	max-width: 270px;
	margin-inline: auto;
}

#page .about-document-image img {
	transition-duration: 0.5s;
}

#page .about-document-image:hover img {
	transform: scale(1.1, 1.1);
	transition-duration: 0.5s;
}

#page .about-document-image-wrapper {
	aspect-ratio: 263 / 372;
	filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.25));
}

#page .about-document-item .post-gallery-item-image-wrapper span::before {
	width: 10px;
	height: 0;
}

#page .about-document-item .post-gallery-item-image-wrapper span::after {
	width: 0;
	height: 10px;
}

#page .about-document-image:hover .about-document-image-wrapper span::before {
	height: 100%;
}

#page .about-document-image:hover .about-document-image-wrapper span::after {
	width: 100%;
}

#page .about-document-item a {
	margin-bottom: 10px;
	font-size: clamp(1.375rem, 1.285rem + 0.37vw, 1.563rem);
	font-weight: 500;
}

#page .about-document-item p {
	margin-bottom: 10px;
}

/* members */
#page #members .logo-wrapper .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
	display: flex;
	flex-wrap: wrap;
	column-gap: var(--s-space);
	row-gap: var(--xs-space);
	justify-content: center;
}

#page #members .logo-wrapper .wpb_single_image {
	max-width: 260px;
}

#page #members .logo-wrapper .wpb_single_image img {
	filter: grayscale(100%);
	transition: var(--transition);
}

#page #members .logo-wrapper .wpb_single_image:hover img {
	filter: grayscale(0);
}

#page #members .logo-wrapper a {
	margin-bottom: 0;
}

#page .hide-desktop {
	display: none;
}

@media only screen and (max-width: 1360px) {
	#page .hide-desktop {
		display: block;
	}
}

@media only screen and (max-width: 992px) {
	#page .about-page-description-english-1,
	#page .about-page-description-english-2,
	#page .about-page-description-english-3 {
		width: 100%;
		max-width: 100%;
	}
	#page .about-english-button-1::after,
	#page .about-english-button-2::after,
	#page .about-english-button-3::after {
		top: -3px;
		transform: rotate(90deg);
	}
	#page .about-english-button-1:hover:after,
	#page .about-english-button-2:hover:after,
	#page .about-english-button-3:hover:after {
		right: 5px;
	}
	#page .about-page-description-english-1 > .wpb_wrapper,
	#page .about-page-description-english-2 > .wpb_wrapper,
	#page .about-page-description-english-3 > .wpb_wrapper {
		position: relative;
		right: 0;
	}
	#page #members .logo-wrapper .wpb_single_image {
		max-width: 200px;
	}

	#page .hide-sp {
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	#page
		.about-document-wrapper
		> .vc_col-sm-12
		> .vc_column-inner
		> .wpb_wrapper {
		flex-direction: column;
		align-items: center;
		gap: var(--m-space);
	}
	#page .about-document-item {
		width: 90%;
		max-width: 400px;
	}
}

/* ==============================
Publication submission page (page-id-1752)
============================== */

.page-id-1752 #page .frm_repeat_buttons a,
.page-id-2842 #page .frm_repeat_buttons a {
	color: #fff;
}

.page-id-1752 #page .frm-show-form .frm_section_heading h3,
.page-id-2842 #page .frm-show-form .frm_section_heading h3 {
	border-top: none;
	padding: 0;
}

.page-id-1752 #page .frm_form_field p,
.page-id-2842 #page .frm_form_field p {
	margin-top: -24px;
}

.page-id-1752 #page .frm_form_field .frm_small_text p,
.page-id-2842 #page .frm_form_field .frm_small_text p {
	margin-top: 0;
}

.page-id-1752 #page .frm_form_field p,
.page-id-1752 #page .frm_form_field a,
.page-id-2842 #page .frm_form_field p,
.page-id-2842 #page .frm_form_field a {
	font-size: 15px !important;
}

.page-id-1752 #page .frm_form_field a,
.page-id-2842 #page .frm_form_field a {
	font-weight: 400;
}

.frm_style_formidable-style.with_frm_style .form-field,
.frm_style_formidable-style.with_frm_style .form-field {
	margin-bottom: 30px;
}

.page-id-1752 #page .frm_section_heading,
.page-id-2842 #page .frm_section_heading {
	margin-bottom: var(--s-space);
}

.page-id-1752 .frm_submit button,
.page-id-2842 .frm_submit button {
	text-transform: uppercase;
	color: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	background: #fff;
	padding: 15px 20px;
	font-family: var(--font-family);
	font-size: 15px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1.5px;
	transition: all var(--transition);
}

.page-id-1752 .frm_submit button:hover,
.page-id-2842 .frm_submit button:hover {
	background: var(--secondary-color);
	color: #fff;
}

#frm_form_3_container input,
#frm_form_5_container input {
	border-color: var(--border-color) !important;
}

.page-id-2842 .frm_checkbox input[type="checkbox"] {
	border-color: var(--border-color) !important;
}
.page-id-2842 .frm_checkbox label {
	font-size: 15px;
}

/* ==============================
Tane Whakapiripiri page
============================== */
.page-template-template-tanewhakapiripiri #page #main > .wf-wrap {
	width: 100%;
	padding: 0;
}

.page-template-template-tanewhakapiripiri #page .publication-top-wrapper {
	padding-top: 25%;
}

.page-template-template-tanewhakapiripiri #page .publication-top-title {
	margin: 0;
}

.page-template-template-tanewhakapiripiri #page .tw-story-link {
	margin-top: var(--s-space);
}

@media only screen and (max-width: 992px) {
	.page-template-template-tanewhakapiripiri #page .publication-top-wrapper {
		padding-top: 40vh;
	}
}

/* ==============================
Timeline page
============================== */
@media only screen and (max-width: 1200px) {
	.timeline-instruction {
		display: none;
	}
}

/* ==============================
He Kāinga Mokopuna Designs page
============================== */
.page-template-template-he-kainga-mokopuna-designs #page #main > .wf-wrap {
	width: 100%;
	padding: 0;
}

.page-template-template-he-kainga-mokopuna-designs
	#page
	.publication-top-wrapper {
	padding-top: 25%;
}

.page-template-template-he-kainga-mokopuna-designs
	#page
	.publication-top-title {
	margin: 0;
}

.page-template-template-he-kainga-mokopuna-designs #page .tw-story-link {
	margin-top: var(--s-space);
}

.he-kainga-page-section {
	margin-bottom: var(--l-space);
}

.he-kainga-page-section .print-button {
	margin-bottom: 0 !important;
}

#form_request-form {
	margin-top: var(--s-space);
}

#form_request-form .frm_required {
	display: none;
}

#form_request-form .frm_fields_container {
	grid-gap: 0 var(--s-space);
}

#form_request-form .form-field {
	margin-bottom: calc(var(--s-space) - 10px);
}

#form_request-form input[type="text"],
#form_request-form input[type="email"] {
	border: none;
	border-bottom: 1px solid var(--hover-color);
	box-shadow: none;
	border-radius: 0;
}

#form_request-form textarea {
	border-color: var(--hover-color);
	border-radius: 0;
}

#form_request-form #frm_field_95_container label {
	margin-bottom: var(--xs-space);
}

#form_request-form #frm_field_101_container .frm_primary_label,
#form_request-form #frm_field_102_container .frm_primary_label,
#form_request-form #frm_field_104_container .frm_primary_label,
#form_request-form #frm_field_105_container .frm_primary_label {
	margin-bottom: 20px;
}

#form_request-form #frm_field_102_container {
	margin-bottom: var(--xs-space);
}

#form_request-form .vertical_radio .frm_opt_container {
	display: flex;
	gap: 50px;
}

#form_request-form label,
#form_request-form .frm_primary_label {
	font-size: clamp(1rem, 0.847rem + 0.37vw, 1.125rem);
	font-weight: 300;
	color: var(--text-color);
}

#form_request-form input[type="radio"] {
	border-color: var(--hover-color);
}

#form_request-form .frm_radio input[type="radio"]:before {
	box-shadow: inset 10px 10px var(--primary-color);
}

#form_request-form input[type="checkbox"],
#form_request-form input[type="checkbox"]:checked {
	color: var(--hover-color);
	border-color: var(--hover-color);
	font-size: clamp(1rem, 0.847rem + 0.37vw, 1.125rem);
	margin: 0;
}

#form_request-form input[type="checkbox"]:checked:before {
	box-shadow: inset 10px 10px var(--secondary-color);
}

#form_request-form .frm_submit button {
	text-transform: uppercase;
	color: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	background: #fff;
	padding: 15px 20px;
	font-family: var(--font-family);
	font-size: 15px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1.5px;
	transition: all var(--transition);
}

#form_request-form .frm_submit button:hover {
	background: var(--secondary-color);
	color: #fff;
}

@media only screen and (max-width: 992px) {
	.page-template-template-he-kainga-mokopuna-designs
		#page
		.publication-top-wrapper {
		padding-top: 40vh;
	}
	#form_request-form .vertical_radio .frm_opt_container {
		flex-direction: column;
		gap: var(--xs-space);
	}
}
