/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 07 2026 | 09:43:44 */
/* Override fonts for hebrew version - change to Rubik */
body.rtl,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl p,
body.rtl span,
body.rtl a,
body.rtl button,
body.rtl input,
body.rtl textarea {
	font-family: 'Rubik', sans-serif !important;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6 {
	font-weight: 600;
}

/* Make Arrow for Hebrew Accordion better spacing */
body.rtl :where(.brxe-accordion) .accordion-title.icon-left .icon {
	margin-left: 10px;
	margin-right: 0;
}

.post-password-required {
	margin: 120px auto;
}

/* === language switcher === */

div.brxe-polylang-language-switcher {
	position: relative;
	display: inline-block;
}

select#lang_choice_1 {
	padding: 0;
	/* appearance: none; */
	padding-inline-end: 2rem;
}

div.brxe-polylang-language-switcher:hover,
select#lang_choice_1:hover {
	color: #2563eb;
}

/* for blue nav */
body.page-id-8 div.brxe-polylang-language-switcher:hover,
body.page-id-8 select#lang_choice_1:hover {
	color: #fff;
}

div.brxe-polylang-language-switcher::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);

	/* Use mask instead of background-image */
	-webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="none"%3E%3Cpath d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5" stroke="currentcolor"%3E%3C/path%3E%3C/svg%3E');
	mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="none"%3E%3Cpath d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5" stroke="currentcolor"%3E%3C/path%3E%3C/svg%3E');

	background-color: currentColor; /* Inherit text color */
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	pointer-events: none;
}

/* rtl */

body.rtl select#lang_choice_1 {
	font-family: 'Rubik', sans-serif !important;
}

body.rtl div.brxe-polylang-language-switcher::after {
	right: initial;
	left: 0;
}

/* ========== memorial ribbon ========== */

.memorial-badge {
	position: relative;
	display: inline-block;
	overflow: hidden;
}

.memorial-badge img {
	display: block;
}

/* Default (English) – lower right corner */
.memorial-badge::before {
	content: 'In Loving Memory\A Passed away in 2026';
	white-space: pre;
	position: absolute;
	bottom: 35px;
	right: -65px;
	width: 250px;
	padding: 8px 0;

	background: #000;
	color: #fff;
	text-align: center;

	font:
		400 12px/1.2 system-ui,
		-apple-system,
		'Segoe UI',
		Arial,
		sans-serif;
	letter-spacing: 0.3px;

	transform: rotate(-45deg);
	transform-origin: center;

	z-index: 2;
	pointer-events: none;
}

/* Hebrew – lower left corner */
body.rtl .memorial-badge::before {
	content: 'זכרונו לברכה\A נפטר ב-2026';
	direction: rtl;

	bottom: 20px;
	right: -85px;
	width: 250px;
}

/* Hide conditional form groups by default */
.form-group:has([name='form-field-nmgdyd']),
.form-group:has([name='form-field-jkpuzb']),
.form-group:has([name='form-field-axbabu']){
	display: none;
}
