/* 
Theme Name: 	Home Care
Theme URI: 		https://newdomainhere.com
Description:    Requires Hello Elementor - Do Not Delete
Author:         Libbey Design
Author URI:     https://libbeydesign.com/
Template:       hello-elementor
Version:        1.0.0
Text Domain:    hello-elementor-child
*/

/* Add your custom styles here */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
/* Globals */
body { margin: 0!important; font-size: clamp(1rem, 0.7973rem + 0.4228vw, 1.125rem); }
/* Zero Top Margin Headers */
h1, h2, h3, h4, h5, h6, p { margin-top: 0!important; }
h1 { font-size: 2rem; font-size: clamp(1.875rem, 2rem + 1.3vw, 2.125rem); }
h2 { font-size: 1.75rem; font-size: clamp(1.625rem, 1.75rem + 1.3vw, 1.875rem); }
h3 { font-size: 1.25rem; font-size: clamp(1.25rem, 1.375rem + 1.3vw, 1.5rem); }
.elementor-heading-title,
main a[href^="tel:"] { line-height: normal; display: inline-block; }
/* Remove padding from last paragraph */
main p:last-of-type { margin-bottom: 0; }
/* Keep icons inline with content on mobile devices */
.elementor-icon-box-wrapper { display: flex; }
/* Remove list styling from Category archives */
.elementor-widget-wp-widget-categories ul { list-style: none; padding-left: 0px; }
/* Prevent 2-line titles from wrapping edge-to-edge in accordions or toggles */
.elementor-tab-title { display: flex; }
/* Remove extra border on dropdown menu */
ul.elementor-nav-menu--dropdown a, 
ul.elementor-nav-menu--dropdown a:focus, 
ul.elementor-nav-menu--dropdown a:hover { border: 0 none!important; }
/* Fix ordered list padding */
ol { padding-left: 16px; }
/* Add spacing below ul and ol */
p + ul, p + ol, h2 + ul, h2 + ol, h3 + ul, h3 + ol, h4 + ul, h4 + ol, h5 + ul, h5 + ol, h6 + ul, h6 + ol { margin-top: .5rem; margin-bottom: 1rem; }
/* Add spacing above and below nested ul or ol inside ul or ol */
ul + ul, ul + ol, ol + ul, ol + ol { margin-top: 8px; margin-bottom: 8px; }
/* Add spacing in between ol li */
p + ol li { margin-bottom: 10px; }
/* Adjust list spacing */
.elementor-widget-text-editor ul { padding-left: 20px; }
.elementor-widget-text-editor ul li { margin-bottom: 10px; line-height: 1.5; }
.two-col { margin-top: 5px; margin-bottom: 5px; padding-left: 20px; font-weight: 400; line-height: 1.3; }
.two-col li { margin-bottom: 5px; list-style: disc; }
/* Fix icon list inline links display issue */
.elementor-widget.elementor-list-item-link-full_width a { width: auto!important; }
.elementor-widget.elementor-list-item-link-full_width .elementor-icon-list-text > a { display: inline; }
.uppercase { text-transform: uppercase; }
/* Button Arrows */
.elementor-button-icon svg { fill: var(--e-global-color-ecab5a9); }
.services .elementor-button-icon svg { fill: var(--e-global-color-f56eedc); }

/* Header */
header .current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor.menu-item-has-children > a { color: var(--e-global-color-secondary)!important; }
header .sub-arrow { padding-left: 5px!important; }
header .sub-arrow path { fill: var(--e-global-color-secondary); }
header .sub-arrow:hover path,
header .sub-arrow:focus path { fill: var(--e-global-color-text); }
.script-type { color: var(--e-global-color-primary); font-family: dancing script, cursive; font-size: 160%; line-height: 1!important; text-transform: none; display: inline-block; }
@media (min-width: 768px) {
	.text-pretty { text-wrap: pretty; }
	.text-balance { text-wrap: balance; }
	#sticky-site-header.scroll { padding: 10px 20px; }
	#sticky-site-header.scroll img { width: 190px; }
}
	/* Sticky Header */
	#sticky-site-header { width: 100%; top: 0; transition: 500ms ease; }
	#sticky-site-header img { transition: height .5s, width .5s; }
	#sticky-site-header.scroll { position: fixed; z-index: 9999; box-shadow: 0 0 20px rgba(0,0,0,.1); }
	#sticky-site-header.scroll img { width: 90%; }

@media (min-width: 1025px) {
	#sticky-site-header:not(.scroll)  .elementor-element .elementor-nav-menu--main .phone a.elementor-item { font-size: 125%!important; font-family: var(--e-global-typography-secondary-font-family), serif!important; font-weight: var(--e-global-typography-text-font-weight)!important; color: var(--e-global-color-secondary)!important; }
	#sticky-site-header.scroll #desktop-menu .elementor-nav-menu > li > a.elementor-item, 
	#sticky-site-header.scroll #desktop-menu .elementor-nav-menu .phone a.elementor-item,
	#sticky-site-header.scroll #desktop-menu .elementor-nav-menu--dropdown a.elementor-sub-item { font-size: .875rem!important; }
	#sticky-site-header.scroll .elementor-button-text { font-size: 1.5rem; }
	.elementor-sub-item:focus, .elementor-sub-item:hover { background-color: var(--e-global-color-secondary); color: var(--e-global-color-primary); }
}
/* Mobile Menu */
@media (max-width: 1024px) {
	.sub-menu.elementor-nav-menu--dropdown { padding-left: 2rem; }
	.phone { background-color: var(--e-global-color-primary); }
	.phone a { color: var(--e-global-color-cd02b46)!important; }
}
/* Main Content */
main { background-color: var(--e-global-color-cd02b46) !important; }
/* Sticky Footer */
footer.elementor-location-footer { position: sticky; bottom: 0; z-index: 0; }
main { position: relative; z-index: 1; }

/* Custom text decoration  */
main a:not(.elementor-button) { transition: color .5s ease; text-decoration: revert; }
main a, 
main a:active, 
main a:link, 
main a:visited { text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--e-global-color-primary); }
main a:focus, 
main a:hover { text-decoration-color: var(--e-global-color-text); }
/* H2 Eyebrow */
h2 span { display: block; font-family: var(--e-global-typography-primary-font-family); color: var(--e-global-color-text); text-transform: uppercase; font-size: 50%; line-height: 1.5; }
@media (min-width: 768px) {
	h2 span { font-size: 68.5%; line-height: 1.75; }
}
/* Column styles */
@media (min-width: 768px) {
	.two-col { column-count: 2; column-gap: 40px; padding-top: 10px; padding-left: 16px; }
}
/* Sitemap */
ul.elementor-sitemap-list.elementor-sitemap-category-list { padding: 0!important; }
@media (min-width: 481px) {
	ul.elementor-sitemap-list.elementor-sitemap-category-list { column-count: 2; column-gap: 40px; }
}