/**
 * Hamenagen - ערכת נושא גלובלית לכל האתר
 * html[data-hm-theme] - סנכרון עם כפתור ההדר
 */

html[data-hm-theme="light"],
html:not([data-hm-theme]) {
	color-scheme: light;
	--hm-site-page-bg: #f4f5f8;
	--hm-site-text: #333333;
	--hm-site-heading: #20215a;
	--hm-site-muted: #666666;
	--hm-site-surface: #ffffff;
	--hm-site-surface-soft: #f7f6ff;
	--hm-site-border: rgba(32, 33, 90, 0.14);
	--hm-site-link: #cb1e53;
	--hm-site-input-bg: #ffffff;
	--hm-site-input-border: rgba(32, 33, 90, 0.2);
	--hm-site-checkbox-border: rgba(32, 33, 90, 0.35);
	--hm-site-checkbox-checked: #cb1e53;
	--hm-site-checkbox-tick: #ffffff;
	--hm-site-btn-bg: #ffffff;
	--hm-site-btn-border: rgba(32, 33, 90, 0.18);
	--hm-site-btn-text: #20215a;
}

html[data-hm-theme="dark"] {
	color-scheme: dark;
	--hm-site-page-bg: #16162e;
	--hm-site-text: #f5f5f7;
	--hm-site-heading: #f5f5f7;
	--hm-site-muted: rgba(245, 245, 247, 0.65);
	--hm-site-surface: #1e1e32;
	--hm-site-surface-soft: rgba(255, 255, 255, 0.05);
	--hm-site-border: rgba(255, 255, 255, 0.12);
	--hm-site-link: #fa8504;
	--hm-site-input-bg: rgba(255, 255, 255, 0.06);
	--hm-site-input-border: rgba(255, 255, 255, 0.2);
	--hm-site-checkbox-border: rgba(255, 255, 255, 0.4);
	--hm-site-checkbox-checked: #fa8504;
	--hm-site-checkbox-tick: #ffffff;
	--hm-site-btn-bg: rgba(255, 255, 255, 0.08);
	--hm-site-btn-border: rgba(255, 255, 255, 0.18);
	--hm-site-btn-text: #f5f5f7;
}

/* רקע וטקסט בסיסי */
body.hm-header-v2-active {
	background-color: var(--hm-site-page-bg) !important;
	color: var(--hm-site-text) !important;
	transition: background-color 0.25s ease, color 0.25s ease;
}

body.hm-header-v2-active #page,
body.hm-header-v2-active .site,
body.hm-header-v2-active #content,
body.hm-header-v2-active #primary,
body.hm-header-v2-active main,
body.hm-header-v2-active .site-content,
body.hm-header-v2-active .elementor-location-single,
body.hm-header-v2-active .elementor-location-archive {
	background-color: transparent !important;
	color: inherit;
}

/* Elementor - טקסט כללי */
body.hm-header-v2-active .elementor-widget-text-editor,
body.hm-header-v2-active .elementor-widget-theme-post-content,
body.hm-header-v2-active .elementor-widget-shortcode,
body.hm-header-v2-active .entry-content,
body.hm-header-v2-active .page-content {
	color: var(--hm-site-text);
}

body.hm-header-v2-active .elementor-widget-heading .elementor-heading-title,
body.hm-header-v2-active h1:not([class*="hm-"]):not([class*="hmp-"]):not([class*="hmc-"]),
body.hm-header-v2-active h2:not([class*="hm-"]):not([class*="hmp-"]):not([class*="hmc-"]),
body.hm-header-v2-active h3:not([class*="hm-"]):not([class*="hmp-"]):not([class*="hmc-"]),
body.hm-header-v2-active h4:not([class*="hm-"]):not([class*="hmp-"]):not([class*="hmc-"]) {
	color: var(--hm-site-heading);
}

body.hm-header-v2-active a:not([class*="hm-"]):not([class*="hmp-"]):not(.elementor-button):not(h1 a):not(h2 a):not(h3 a):not(h4 a):not(h5 a):not(h6 a) {
	color: var(--hm-site-link);
}

/* כפיית עיצוב טפסים גלובלי בתוך תוכן האתר */
body.hm-header-v2-active .elementor input[type="text"],
body.hm-header-v2-active .elementor input[type="email"],
body.hm-header-v2-active .elementor input[type="password"],
body.hm-header-v2-active .elementor input[type="search"],
body.hm-header-v2-active .elementor input[type="tel"],
body.hm-header-v2-active .elementor input[type="url"],
body.hm-header-v2-active .elementor textarea,
body.hm-header-v2-active .elementor select,
body.hm-header-v2-active .entry-content input[type="text"],
body.hm-header-v2-active .entry-content input[type="email"],
body.hm-header-v2-active .entry-content input[type="password"],
body.hm-header-v2-active .entry-content textarea,
body.hm-header-v2-active .entry-content select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background: var(--hm-site-input-bg) !important;
	border: 1px solid var(--hm-site-input-border) !important;
	border-radius: 8px !important;
	color: var(--hm-site-text) !important;
	font-family: "פולין", "Polin", sans-serif !important;
}

body.hm-header-v2-active .elementor button:not([class*="hm-"]):not([class*="hmp-"]),
body.hm-header-v2-active .entry-content button:not([class*="hm-"]):not([class*="hmp-"]) {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	font-family: "פולין", "Polin", sans-serif !important;
}

/* צ'קבוקס אחיד ומוכרח - דורס Elementor / תבנית / accent-color */
body.hm-header-v2-active .elementor input[type="checkbox"],
body.hm-header-v2-active .entry-content input[type="checkbox"],
body.hm-header-v2-active .hmsp-wrap input[type="checkbox"],
body.hmsp-portal-active .hmsp-wrap input[type="checkbox"],
body.hm-header-v2-active .hm-footer input[type="checkbox"],
body.hm-header-v2-active .hm-adv input[type="checkbox"],
body.hm-header-v2-active .hm-signup input[type="checkbox"],
body.hm-header-v2-active #hm-singer-loginform input[type="checkbox"] {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	display: inline-block !important;
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	max-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid var(--hm-site-checkbox-border) !important;
	border-radius: 5px !important;
	background: var(--hm-site-input-bg) !important;
	background-color: var(--hm-site-input-bg) !important;
	background-image: none !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	vertical-align: middle !important;
	position: relative !important;
	flex-shrink: 0 !important;
	cursor: pointer !important;
	accent-color: var(--hm-site-checkbox-checked) !important;
	outline: none !important;
	float: none !important;
	opacity: 1 !important;
	transform: none !important;
	print-color-adjust: exact !important;
	-webkit-print-color-adjust: exact !important;
}

body.hm-header-v2-active .elementor input[type="checkbox"]::before,
body.hm-header-v2-active .entry-content input[type="checkbox"]::before,
body.hm-header-v2-active .hmsp-wrap input[type="checkbox"]::before,
body.hmsp-portal-active .hmsp-wrap input[type="checkbox"]::before,
body.hm-header-v2-active .hm-footer input[type="checkbox"]::before,
body.hm-header-v2-active .hm-adv input[type="checkbox"]::before,
body.hm-header-v2-active .hm-signup input[type="checkbox"]::before,
body.hm-header-v2-active #hm-singer-loginform input[type="checkbox"]::before,
body.hm-header-v2-active .elementor input[type="checkbox"]:not(:checked)::after,
body.hm-header-v2-active .entry-content input[type="checkbox"]:not(:checked)::after,
body.hm-header-v2-active .hmsp-wrap input[type="checkbox"]:not(:checked)::after,
body.hmsp-portal-active .hmsp-wrap input[type="checkbox"]:not(:checked)::after,
body.hm-header-v2-active .hm-footer input[type="checkbox"]:not(:checked)::after,
body.hm-header-v2-active .hm-adv input[type="checkbox"]:not(:checked)::after,
body.hm-header-v2-active .hm-signup input[type="checkbox"]:not(:checked)::after,
body.hm-header-v2-active #hm-singer-loginform input[type="checkbox"]:not(:checked)::after {
	content: none !important;
	display: none !important;
}

body.hm-header-v2-active .elementor input[type="checkbox"]:checked,
body.hm-header-v2-active .entry-content input[type="checkbox"]:checked,
body.hm-header-v2-active .hmsp-wrap input[type="checkbox"]:checked,
body.hmsp-portal-active .hmsp-wrap input[type="checkbox"]:checked,
body.hm-header-v2-active .hm-footer input[type="checkbox"]:checked,
body.hm-header-v2-active .hm-adv input[type="checkbox"]:checked,
body.hm-header-v2-active .hm-signup input[type="checkbox"]:checked,
body.hm-header-v2-active #hm-singer-loginform input[type="checkbox"]:checked {
	background: var(--hm-site-checkbox-checked) !important;
	background-color: var(--hm-site-checkbox-checked) !important;
	background-image: none !important;
	border-color: var(--hm-site-checkbox-checked) !important;
}

body.hm-header-v2-active .elementor input[type="checkbox"]:checked::after,
body.hm-header-v2-active .entry-content input[type="checkbox"]:checked::after,
body.hm-header-v2-active .hmsp-wrap input[type="checkbox"]:checked::after,
body.hmsp-portal-active .hmsp-wrap input[type="checkbox"]:checked::after,
body.hm-header-v2-active .hm-footer input[type="checkbox"]:checked::after,
body.hm-header-v2-active .hm-adv input[type="checkbox"]:checked::after,
body.hm-header-v2-active .hm-signup input[type="checkbox"]:checked::after,
body.hm-header-v2-active #hm-singer-loginform input[type="checkbox"]:checked::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: 1px !important;
	left: 5px !important;
	right: auto !important;
	bottom: auto !important;
	width: 5px !important;
	height: 9px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: solid var(--hm-site-checkbox-tick) !important;
	border-width: 0 2px 2px 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transform: rotate(45deg) !important;
	box-sizing: border-box !important;
}

body.hm-header-v2-active .elementor input[type="checkbox"]:focus-visible,
body.hm-header-v2-active .entry-content input[type="checkbox"]:focus-visible,
body.hm-header-v2-active .hmsp-wrap input[type="checkbox"]:focus-visible,
body.hmsp-portal-active .hmsp-wrap input[type="checkbox"]:focus-visible,
body.hm-header-v2-active .hm-footer input[type="checkbox"]:focus-visible,
body.hm-header-v2-active .hm-adv input[type="checkbox"]:focus-visible,
body.hm-header-v2-active .hm-signup input[type="checkbox"]:focus-visible,
body.hm-header-v2-active #hm-singer-loginform input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--hm-site-checkbox-checked) !important;
	outline-offset: 2px !important;
}