/* English / Hebrew / Russian: the language switch, and Hebrew pages read right to left.
   Loaded by mu-plugins/site-languages.php on every page. */
/* each language has its own colour: English copper, Hebrew blue, Russian green. The page's language is a filled
   pill with a tick; the others are outlined and fill in on hover. */
.jo-langs { display: inline-flex; align-items: center; gap: 6px; margin: 0 12px; vertical-align: middle; font-size: 1em; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.jo-langs a, .jo-langs span { --c: #c8813f; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border: 1.5px solid var(--c); border-radius: 999px; color: #fff; text-decoration: none !important; letter-spacing: .01em; transition: background-color .15s, color .15s, transform .15s; }
.jo-langs [lang="he"] { --c: #4f8fdc; }
.jo-langs [lang="ru"] { --c: #3ea76a; }
.jo-langs a { background: rgba(255, 255, 255, .06); }
.jo-langs a:hover, .jo-langs a:focus-visible { background: var(--c); color: #fff; transform: translateY(-1px); outline: 0; }
.jo-langs span { background: var(--c); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.jo-langs span::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
body > .jo-langs { display: flex; justify-content: center; margin: 8px 0; }
body > .jo-langs a { color: var(--c); background: #fff; }
body > .jo-langs a:hover { color: #fff; background: var(--c); }

/* ---------- Hebrew: right to left ---------- */
body.rtl { text-align: right; }
body.rtl .menu-items > li,
body.rtl #header.stuck.tablemenu #menu-primary-items > li,
body.rtl [class*="hcolumn-"],
body.rtl .float-left { float: right; }
body.rtl .menu-items ul { left: auto; right: 0; }
body.rtl .menu-items ul ul { left: auto; right: 100%; margin-left: 0; margin-right: 5px; }
body.rtl .menu-items > li:last-child > ul { right: auto; left: 0; }
body.rtl .menu-items ul a { padding: 10px 15px 10px 5px; }
body.rtl .alignleft { float: right; margin-left: 1.5em; margin-right: 0; }
body.rtl .alignright { float: left; margin-right: 1.5em; margin-left: 0; }
body.rtl ul, body.rtl ol { padding-right: 0; }
body.rtl .entry-content ul, body.rtl .entry-content ol { margin-left: 0; margin-right: 1.5em; }
body.rtl blockquote { border-left: 0; border-right: 4px solid #c9a45c; padding-left: 0; padding-right: 1em; }
body.rtl input, body.rtl textarea, body.rtl select { text-align: right; }
body.rtl input[type="email"], body.rtl input[type="tel"], body.rtl input[type="url"] { direction: ltr; text-align: right; }
@media only screen and (max-width: 969px) {
	body.rtl .menu-items > li { float: none; }
	body.rtl .menu-items ul { right: auto; }
	body.rtl .menu-items > li > a, body.rtl .menu-items ul li a { padding: 6px 15px 6px 6px; }
	body.rtl .menu-items ul li a { padding-right: 35px; padding-left: 6px; }
	body.rtl .menu-items ul ul li a { padding-right: 55px; }
}
