/*
Theme Name:   Happier Home Care
Theme URI:    https://hahcare.com
Description:  Do not delete this
Author:       Libbey Design Inc.
Author URI:   https://libbeydesign.com/
Template:     hello-elementor
Version:      1.0.0
Text Domain:  happierhomecare
*/

/* Zero Top Margin Headers */
h1,h2,h3,h4,h5,h6 { margin-top: 0!important; }
/* Reduce Space Between Dropdown Arrow and Top-Level Menu Item */
.elementor-nav-menu .sub-arrow { padding-left: 5px; }
/* Add invisible border to dropdown menus */
ul.elementor-nav-menu--dropdown a,
ul.elementor-nav-menu--dropdown a:focus,
ul.elementor-nav-menu--dropdown a:hover { /*Change width to match horizontal padding */ border-right: 8px solid transparent; }
/* Keep all phone numbers on same line */
main a[href^="tel:"] { display: inline-block!important; }
/* Remove padding from last paragraph */
.hentry 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; }
/* Add spacing below ul and ol when followed by p tag */
ul + p, ol + p { margin-top: 16px; }
/* Add focus to top nav search icon */
blockquote { margin: 0 0 20px; padding: 20px; border-left: 4px solid #a31d4a; }
.elementor-text-editor ul { padding-left: 20px; }
.elementor-text-editor ul li { margin-bottom: 4px; line-height: 1.3; }
/* Align icon lists to top */
.elementor-widget .elementor-icon-list-item, .elementor-widget .elementor-icon-list-item a { align-items: normal; }
span.elementor-icon-list-icon { padding-top: 2px; }
/* Add space under nested lists */
ul li ul, ul li ol { margin-bottom: 4px; }
/* Header */
#header-contact ul > li.elementor-icon-list-item span.elementor-icon-list-text { display: none; visibility: hidden; }
#header-contact ul > li.elementor-icon-list-item:nth-of-type(5) span.elementor-icon-list-text { display: block!important; visibility: visible!important; }
header .elementor-nav-menu .sub-arrow { padding-top: 20px; }
button.elementor-search-form__submit { box-shadow: 0 0; }
button.elementor-search-form__submit:focus { color: #f4f2ff; }
.elementor-text-editor ul { padding-left: 20px; }
.elementor-text-editor ul li { margin-bottom: 4px; line-height: 1.3; }
/* Secondary Pages */
@media (max-width: 767px) {
	figure.elementor-image-box-img img { max-width: 300px; margin-bottom: 20px; }
	.elementor-image-box-content p { text-align: left; }
}
@media (min-width: 1025px) {
	body:not(.home) h2.elementor-heading-title.elementor-size-default { font-size: 2.25rem; }
}
.elementor-widget .elementor-icon-list-item,
.elementor-widget .elementor-icon-list-item a { align-items: normal; }
span.elementor-icon-list-icon { padding-top: 2px; }
/* Force blog post titles and Read More links to change when hovered or in focus */
.elementor-post__text a:hover, .elementor-post__text a:focus { color: #2c2e2d!important; }
#cta a:link, #cta a:active, #cta a { text-decoration: none; }
#cta a:hover, #cta a:focus { text-decoration: underline; }
/* Sticky Menu */
section#sticky-menu.elementor-sticky--active { box-shadow: 0 0 10px rgb(0 0 0 / 20%); }
/* Toggle Styles */
.elementor-toggle-item i { line-height: 1.2; }
@media (min-width: 768px) {
	.elementor-widget-text-editor img.alignright { margin-left: 40px; margin-bottom: 20px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.elementor-toggle-item i { line-height: 1.3; }
	.elementor-tab-content ul { column-count: 2; }
}
@media (min-width: 1025px) {
	.elementor-toggle-item i { line-height: 1.5; }
	.elementor-tab-content ul { column-count: 3; }
}
/* Print Style Overrides */
@media print {
	header.elementor-location-header section.elementor-sticky--effects,
	header.elementor-location-header .elementor-element.elementor-icon-list--layout-inline.elementor-align-right.elementor-widget__width-auto.elementor-list-item-link-full_width.elementor-widget.elementor-widget-icon-list,
	header .elementor-search-form--skin-full_screen.elementor-widget__width-auto.elementor-widget.elementor-widget-search-form,
	header.elementor-location-header section:not(.elementor-sticky--effects),
	a[href]:after,
	abbr[title]:after,
	a[href^="#"]:after,a[href^="javascript:"]:after,
	div#respond, .elementor-widget-post-navigation { display: none; visibility: hidden; }
	section, .elementor-widget-container { padding: 10px!important; margin: 0!important; }
	.elementor-element > .elementor-container { min-height: auto!important; max-width: 100%!important; }
	.elementor-container.elementor-column-gap-default { max-width: 100%!important; }
	.elementor-shape svg { display: none; visibility: hidden; }
	footer.elementor-section { padding: 0!important; }
}
