/*
Theme Name: Total Family Care
Theme URI: 
Author: Total Family Care
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: total-family-care
Tags: 
*/

/* CSS Reset
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: inherit;
}

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

b,
strong {
	font-weight: 600;
}

ol,
ul {
	padding: 0;
}

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
	padding-inline-start: var(--wp--preset--spacing--md);
}

div[class*="wp-block-"] figcaption {
	color: var(--wp--preset--color--neutral-9);
	font-size: var(--wp--preset--spacing--xs);
	margin-bottom: 0;
	margin-top: 20px;
	text-align: center;
}

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

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

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

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

input:not([type="submit"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-post-comments-form textarea {
	color: var(--wp--preset--color--neutral-10);
	border-radius: 5px;
	border: solid 1px var(--wp--preset--color--neutral-10);
	padding: .5em 1em;
	font-size: var(--wp--preset--font-size--text-base);
	width: 100%;
}

input:focus-visible,
textarea:focus-visible {
	outline-color: var(--wp--preset--color--primary);
}


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

label {
	width: 100%;
	display: block;
}

::placeholder {
	color: var(--wp--preset--color--neutral-10);
	font-size: var(--wp--preset--font-size--text-sm);
	opacity: 0.75;
}

/* Post Comment Button */
input[type="submit"].wp-block-button__link {
	padding-top: var(--wp--custom--block--button--padding-y);
	padding-right: var(--wp--custom--block--button--padding-x);
	padding-bottom: var(--wp--custom--block--button--padding-y);
	padding-left: var(--wp--custom--block--button--padding-x);
}

input[type="submit"].wp-block-button__link:hover {
	background-color: var(--wp--preset--color--neutral-12);
	color: var(--wp--preset--color--light);
	border-color: var(--wp--preset--color--neutral-12);
}

:root {
	--focus-ring-color: var(--wp--preset--color--neutral-10);
	--focus-ring-offset: 2px;
}

:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
	outline-color: var(--focus-ring-color);
	outline-offset: var(--focus-ring-offset);
}

.wp-element-button,
.wp-block-button__link {
	transition: all 0.2s ease-in-out;
}












/* ———————————————— START SIMPLEBAR ———————————————— */

.simplebar-scrollbar::before {
	background-color: #0A3456;
}

.simplebar-track.simplebar-vertical {
	cursor: pointer;
}

/* .simplebar-content {
	height: 100% !important;
} */

/* .simplebar-content-wrapper {
	-ms-overflow-style: none;
} */

/* ———————————————— END SIMPLEBAR ———————————————— */




/* ———————————————— START GLOBAL ———————————————— */

.entry-content {
	margin: 0;
}

footer {
	margin: 0;
}

.object-fit-cover>img {
	height: 100% !important;
	object-fit: cover;
}

.flex-shrink-0 {
	flex-shrink: 0;
}



.current-menu-item span {
	color: var(--wp--preset--color--secondary) !important;
}

.wp-block-navigation-item.current-menu-item:hover {
	text-decoration-color: var(--wp--preset--color--secondary);
}

.wp-block-navigation-item:hover {
	text-decoration: underline;
}

.wp-block-navigation-item a:focus,
.wp-block-navigation-item span:focus-within {
	outline: none !important;
}

.col-gen-image>img {
    height: auto !important;
}

@media (max-width: 781px) {
	.col-gen-image>img {
		width: 100% !important;
	}
}


.pages-banner,
.news-banner,
.about-us-banner {
    min-height: auto !important;
}

.about-us-banner {
    padding-bottom: clamp(6rem, 3.9289rem + 8.4967vw, 14.125rem) !important;
}

@media (max-width: 1100px) {
    .about-us-floating-section {
        margin-top: -90px !important;
    }
}

@media (max-width: 600px) {
    .news-detail-separator {
        display: none;
    }
    .news-banner-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }
    .about-us-floating-section {
        margin-top: -60px !important;
    }
}

.about-us-cover-image {
    /*min: 390 - val: 200, max: 1920 - val: 738*/
    min-height: clamp(12.5rem, 3.9289rem + 35.1634vw, 46.125rem) !important;
}



/* ———————————————— END GLOBAL ———————————————— */




/* ———————————————— START HEADER ———————————————— */


a:focus,
a:focus-visible,
a:focus-within {
	outline: none;
}

.book-an-appointment-cta>a {
	transition: all 150 ease-in-out !important;
	display: flex;
	gap: 10px;
	align-items: center;
	border: none;
	white-space: nowrap;
}

.book-an-appointment-cta>a:hover,
.book-an-appointment-cta>a:focus,
.book-an-appointment-cta>a:focus-within,
.book-an-appointment-cta>a:focus-visible {
	background-color: white;
	outline: 1px solid var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--secondary);
	outline-offset: unset !important;
}


header {
	position: sticky;
	top: 0;
	/* left: 0; */
	z-index: 999;
	/* width: 100%; */
}



.header-1,
.header-2 {
	max-width: 1792px !important;
}

.header-1 {
	column-gap: 30px;
	row-gap: 10px;
}

.header-2 {
	gap: 40px;
}

.header-2>div:first-child {
	flex-shrink: 1;
}

.header-2>div:nth-child(2) {
	flex-shrink: 0;
}

.header-2>div:last-child {
	flex-shrink: 0;
}

.mobile-nav {
	display: none !important;
}

.mobile-nav>button>svg {
	height: 30px;
	width: 30px;
}

.desktop-nav ul {
	/* 1200px | 20px ——— 1920px | 60px */
	gap: clamp(1.25rem, -2.9167rem + 5.5556vw, 3.75rem) !important;
}

#modal-2-content {
	align-items: center;
}

#modal-2-content>* {
	align-items: center;
}

.header-contacts-row {
	row-gap: 10px;
}

@media (max-width: 1280px) {
	.desktop-nav {
		display: none !important;
	}

	.mobile-nav {
		display: flex !important;
	}

	.header-2>div:last-child {
		display: none;
	}
}




/* @media (max-width: 1500px) {
	.desktop-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.desktop-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
} */


/* ———————————————— END HEADER ———————————————— */









/* ———————————————— START FOOTER ———————————————— */


.footer-1,
.footer-2 {
	max-width: 1792px !important;
}

.footer-1-image {
	flex-shrink: 0;
}

.footer-links-wrapper {
	flex: 1;
}

.footer-contact {
	flex-basis: 35%;
}

.footer-quicklinks {
	flex-basis: 20%;
}

.footer-links {
	flex-grow: 1;
}

.footer-quicklinks a:hover,
.footer-contact a:hover,
.footer-links a:hover {
	text-decoration: underline;
}

a.icon-container {
	transition: all 150ms ease-in-out;
	cursor: pointer;
}

a.icon-container:hover {
	transform: scale(1.10) !important;
}



@media (max-width: 1100px) {
	.footer-1-row {
		flex-direction: column;
	}

	.footer-1-image {
		display: flex;
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 650px) {
	.footer-links-wrapper {
		flex-direction: column;
	}

	.footer-1-row {
		align-items: center;
	}

	.footer-contact,
	.footer-quicklinks,
	.footer-links {
		align-items: center;
		width: 100%;
	}

	.footer-contact *,
	.footer-quicklinks *,
	.footer-links * {
		text-align: center;
	}

	.contact-details>div {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	.quicklinks-links {
		align-items: center;
	}

	.links-links {
		align-items: center;
	}
}


/* ———————————————— END FOOTER ———————————————— */




/* ———————————————— START BOOK AN APPOINTMENT FORM ———————————————— */


script,
style {
	box-sizing: unset !important;
}

#gform_wrapper_1 {
	margin-top: -12px;
}

#gform_wrapper_1 label {
	font-weight: 400;
	font-size: var(--wp--preset--font-size--text-lg);
	color: var(--wp--preset--color--light);
}

.gform_heading {
	display: none;
}

#gform_fields_1 {
	gap: var(--wp--preset--spacing--md);
}

#gform_wrapper_1 input:focus,
#gform_wrapper_1 select:focus,
#gform_wrapper_1 textarea:focus,
#gform_1_validation_container:focus {
	outline: none;
}

#gform_wrapper_1 input,
#gform_wrapper_1 select {
	border-radius: 4px;
	height: 48px;
	background-color: var(--wp--preset--color--light);
	padding-left: var(--wp--preset--spacing--xs);
	padding-right: var(--wp--preset--spacing--xs);
	border-color: transparent;
	color: var(--wp--preset--color--neutral-12);
}

#gform_wrapper_1 textarea {
	border-radius: 4px;
	border-color: transparent;
	resize: vertical;
	color: var(--wp--preset--color--neutral-12);
	width: 100%;
}

#gform_wrapper_1 .gfield_validation_message {
	border-radius: 4px;
}

#gform_wrapper_1 .gfield_required_asterisk {
	color: #EF4444;
}

#gform_1_validation_container {
	border-width: 1px;
}

#gform_wrapper_1 .ginput_container_consent {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: -8px;
}

#gform_wrapper_1 .ginput_container_consent a {
	color: var(--wp--preset--color--light);
	text-decoration: underline;
	text-underline-offset: 2px;
}

#gform_submit_button_1 {
	transition: all 150ms linear;
	width: 100%;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--text-lg);
	color: var(--wp--preset--color--light) !important;
	background-color: var(--wp--preset--color--secondary) !important;
	cursor: pointer;
	height: 55px !important;
	margin-top: 10px;
}

#gform_submit_button_1:hover {
	color: var(--wp--preset--color--secondary) !important;
	background-color: var(--wp--preset--color--light) !important;
	outline: 1px solid var(--wp--preset--color--secondary);
}

#gform_1_validation_container {
	margin-bottom: var(--wp--preset--spacing--md);
}



#gform_confirmation_wrapper_1 {
	margin-top: 0 !important;
}

#gform_confirmation_message_1 {
	color: var(--wp--preset--color--light) !important;
}

#input_1_15.datepicker {
    width: 100%;
}


/* ———————————————— END BOOK AN APPOINTMENT FORM ———————————————— */




/* ———————————————— START 404 PAGE ———————————————— */

.not-found-button>a {
	transition: all 100ms linear !important;
	border-radius: 8px;
	border-color: transparent;
}

.not-found-button>a:hover {
	border-color: var(--wp--preset--color--secondary);
	background-color: var(--wp--preset--color--light);
	color: var(--wp--preset--color--secondary);
}

.not-found-button>a:active {
	border-color: var(--wp--preset--color--secondary);
	background-color: var(--wp--preset--color--light);
	color: var(--wp--preset--color--secondary);
}

/* ———————————————— END 404 PAGE ———————————————— */


.grecaptcha-badge {
	bottom: 80px !important;
}



.share-buttons > div {
    cursor: pointer;
    transition: 150ms linear all;
}

.share-buttons > div:hover {
    transform: scale(1.1);
}

