/*
Theme Name: Flux
Theme URI:
Author: Kings Digital
Author URI: https://www.kingsdigital.com.au/
Description: Flux is a minimalist, versatile and adaptable theme designed to be applicable to any website. It contains a collection of templates and patterns tailor to different needs and to speed up site building process. It is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4. It also contains custom code designed to improve site performance and speed.
Requires at least: 6.0
Tested up to: 6.4.3
Requires PHP: 5.7
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flux
Tags: blog, news, portfolio, one-column, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, style-variations, threaded-comments, translation-ready
*/

/* CSS Reset
---------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

b,
strong {
	font-weight: 600;
}

/* Standardize form styling
--------------------------------------------- */

input,
button,
textarea,
select {
	font: inherit;
}

:where(:focus-visible, :focus) {
	outline-style: dotted;
	outline-width: 1px;
	outline-offset: 3px;
	outline-color: var(--wp--custom--color--ring);
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

input:not([type="submit"]),
select,
textarea {
	color: var(--wp--preset--color--text);
	border-radius: var(--wp--custom--form--border-radius);
	border: 1px solid var(--wp--custom--form--border-color);
	overflow: hidden;
	width: 100%;
	background-color: var(--wp--custom--form--background);
}

input:not([type="submit"]),
textarea {
	font-size: var(--wp--preset--font-size--small);
}

input:not([type="submit"]),
select:not([multiple]),
select[multiple] option,
textarea {
	padding: 0.75rem 1rem;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

li:has(input:is([type="checkbox"], [type="radio"])) {
	display: grid;
	grid-template-columns: 1em auto;
	gap: 0.5em;
}

.list-checkbox-wrap .nf-field-element li input,
.list-image-wrap .nf-field-element li input,
.list-radio-wrap .nf-field-element li input {
	margin: 0;
}

.list-checkbox-wrap .nf-field-element li label,
.list-image-wrap .nf-field-element li label,
.list-radio-wrap .nf-field-element li label {
	margin-inline-start: 0.5em;
}

label {
	width: 100%;
	display: block;
	color: var(--wp--preset--color--gray-900);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--medium);
}

.nf-field-label .nf-label-span,
.nf-field-label label {
	color: var(--wp--preset--color--gray-900);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--medium);
}

::placeholder {
	color: var(--wp--preset--color--gray-500);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--medium);
	opacity: 0.75;
}

/* Helper styles that can't be done via theme.json
---------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: pretty;
}

/* Ninja Forms styles
---------------------------------------------------------------------------- */
.nf-form-cont {
	border: 1px solid var(--wp--preset--color--gray-100);
	padding: 0.75rem;
}

.is-style-light .nf-form-cont {
	background-color: color-mix(in srgb, var(--wp--preset--color--white) 30%, transparent);
}

.nf-form-fields-required {
	display: none;
}

.nf-after-field,
.nf-field-description {
	font-size: var(--wp--preset--font-size--small);
}

/* buttons */
input[type="submit"],
.nf-field-element :is(button) {
	background-color: var(--wp--custom--button--primary-background);
	color: var(--wp--custom--button--primary-text);
	border-radius: var(--wp--custom--button--border-radius);
	padding-block: 0.33rem;
	padding-inline: 1rem;
	cursor: pointer;
	box-shadow: none;
	outline: none;
	border: none;
}

.nf-error-msg,
.ninja-forms-req-symbol {
	color: var(--wp--preset--color--status-error);
}

.nf-error.listimage-wrap .nf-field-element ul,
.nf-error .ninja-forms-field {
	border-color: var(--wp--preset--color--status-error);
}

/* Utility classes
---------------------------------------------------------------------------- */
.truncate {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Global block styles
---------------------------------------------------------------------------- */

html {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 4rem);
}

/* Header */
:where(header, header a) {
	transition: all ease 0.3s;
}

header {
	position: sticky;
	width: 100%;
	max-width: 100%;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100; /* Adjust as needed to ensure the navbar is above other content */
	margin-block-start: 0;
	margin-block-end: 0;
}

header.is-style-transparent-overlay {
	--_bg: transparent;
	position: fixed;
}

/* Control header styling when it's sticking */
header {
	--_bg: var(--wp--custom--color--nav-bg, inherit);
	--_nav-link-color: var(--wp--custom--color--nav-link, inherit);
	background: var(--_bg);
	color: var(--_nav-link-color);
}

header.sticking {
	--_bg: var(--wp--custom--color--nav-bg-sticking, inherit);
	--_nav-link-color: var(--wp--custom--color--nav-link-sticking, inherit);
}

/* Editor Style */
.block-editor-block-list__block[data-title="Header"] {
	top: 0;
}

@media screen and (max-width: 768px) {
	.home-care-journey-container {
		padding: 3rem 1rem !important;
	}
}
.home-care-journey-container

/* Footer */
.footer-signup-form {
	position: relative;
	top: 1rem;
}
.footer__form-column {
	margin-bottom: -1.25rem !important;
}
.footer__form-column .nf-form-cont {
	border: none;
	padding: 0;
	font-size: var(--wp--preset--font-size--small);
}
.footer__form-column .nf-field-element input[type="email"] {
	padding-block: 0.33rem;
	padding-inline: 1rem;
	border-radius: 1.5rem;
}
.footer-signup-form input[type="email"] {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	height: 40px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--wp--preset--color--black);
	border-radius: 20px;
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}

.footer-signup-form input[type="email"]::placeholder {
	color: var(--wp--preset--color--black);
	opacity: 1;
}
.footer__credits-section {
	flex-direction: column;
}
.footer__credits-section .wp-block-column {
	text-align: center;
}
.footer__credits-section .wp-block-group-is-layout-flex {
	justify-content: center;
}
@media screen and (min-width: 960px) {
	.footer__credits-section {
		flex-direction: row;
	}
	.footer__credits-section .wp-block-column:first-child {
		text-align: left;
	}

	.footer__credits-section .wp-block-column:nth-child(2) {
		text-align: center;
	}

	.footer__credits-section .wp-block-column:last-child {
		text-align: right;
	}
	.footer__credits-section .wp-block-group-is-layout-flex {
		justify-content: flex-end;
	}
}

.chat-to-team-member-cta-section > .is-layout-flex {
	gap: 0;
}
.chat-to-team-member-cta-section__content {
	padding: 4rem 2rem;
}
@media screen and (min-width: 768px) {
	.chat-to-team-member-cta-section__content {
		padding: 11rem 2.5rem;
	}
}
