@font-face {
    font-family: "OldStandardTT";
    src: url("/static/fonts/oldstandard-regular.ttf") format("truetype");
    unicode-range: U+0000-058F, U+0600-FB1C, U+FB50-FFFF;
}
@font-face {
    font-family: "OldStandardTT";
    font-style: italic;
    src: url("/static/fonts/oldstandard-italic.ttf") format("truetype");
    unicode-range: U+0000-058F, U+0600-FB1C, U+FB50-FFFF;
}
@font-face {
    font-family: "OldStandardTT";
    font-weight: bold;
    src: url("/static/fonts/oldstandard-bold.ttf") format("truetype");
    unicode-range: U+0000-058F, U+0600-FB1C, U+FB50-FFFF;
}
@font-face {
    font-family: "OldStandardTT";
    font-weight: bold;
    font-style: italic;
    src: url("/static/fonts/unifrakturmaguntia19.ttf") format("truetype");
}
@font-face {
    font-family: "TaameyFrankCLM";
    src: url("/static/fonts/taameyfrank-regular.ttf") format("truetype");
    unicode-range: U+0590-05FF, U+FB1D-FB4F;
    size-adjust: 110%;
}
@font-face {
    font-family: "TaameyFrankCLM";
    font-style: italic;
    src: url("/static/fonts/taameyfrank-oblique.ttf") format("truetype");
    unicode-range: U+0590-05FF, U+FB1D-FB4F;
    size-adjust: 110%;
}
@font-face {
    font-family: "TaameyFrankCLM";
    font-weight: bold;
    src: url("/static/fonts/taameyfrank-bold.ttf") format("truetype");
    unicode-range: U+0590-05FF, U+FB1D-FB4F;
    size-adjust: 110%;
}
@font-face {
    font-family: "TaameyFrankCLM";
    font-weight: bold;
    font-style: italic;
    src: url("/static/fonts/taameyfrank-bold-oblique.ttf") format("truetype");
    unicode-range: U+0590-05FF, U+FB1D-FB4F;
    size-adjust: 110%;
}
@font-face {
    font-family: "ScheherazadeNew";
    src: url("/static/fonts/scheherazadenew-regular.ttf") format("truetype");
    unicode-range: U+0590-05FF, U+FB1D-FB4F;
    size-adjust: 110%;
}
@font-face {
    font-family: "ScheherazadeNew";
    font-weight: bold;
    src: url("/static/fonts/scheherazadenew-bold.ttf") format("truetype");
    unicode-range: U+0590-05FF, U+FB1D-FB4F;
    size-adjust: 110%;
}
@font-face {
    font-family: "UnifrakturM19";
    src: url("/static/fonts/unifrakturmaguntia19.ttf") format("truetype");
}
@font-face {
    font-family: "UnifrakturM19";
    font-style: italic;
    src: url("/static/fonts/unifrakturmaguntia19.ttf") format("truetype");
}
@font-face {
    font-family: "UnifrakturM19";
    font-weight: bold;
    src: url("/static/fonts/unifrakturmaguntia19.ttf") format("truetype");
}
@font-face {
    font-family: "UnifrakturM19";
    font-weight: bold;
    font-style: italic;
    /* src: url("/static/fonts/oldstandard-bold.ttf") format("truetype"); */
    src: url("/static/fonts/unifrakturmaguntia19.ttf") format("truetype");
}
@font-face {
    font-family: "ScheherazadeNew";
    src: url("/static/fonts/scheherazadenew-regular.ttf") format("truetype");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF;
    size-adjust: 110%;
}
@font-face {
    font-family: "ScheherazadeNew";
    font-weight: bold;
    src: url("/static/fonts/scheherazadenew-bold.ttf") format("truetype");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF;
    size-adjust: 110%;
}

:root {
    --key: #111;
    --spot: #37b;
    --red: #d10;
    /* --spot: #68d; */
    --bg: #fff;
}
@media (prefers-color-scheme: dark) {
    :root {
        --key: #bbb;
        /* --spot: #c84; */
        --spot: #8af;
        --red: #f55;
        --bg: #000;
    }
}
@media print {
    :root {
        --key: #000;
        --spot: #000;
        --bg: #fff;
    }
}

html {
    color: var(--key);
    background: var(--bg);
    font-family: "TaameyFrankCLM", "ScheherazadeNew", "OldStandardTT";
    font-size: 20px;
    line-height: 28px;
    overflow-x: hidden;
    overflow-y: scroll;
    /* max-width: 1080px; */
    max-width: 720px;
    margin: 0 auto;
}

body {
    position: relative;
}

p, h1, h2, h3, ul, ol, dl, table, figure {
    margin: 0.5rem 0;
}

hr {
    /* border-top: 0.5px solid var(--key);
    border-bottom: 0.5px solid var(--key);
    border-left: 0.5px solid var(--key);
    border-right: 0.5px solid var(--key); */
    border: 0.5px solid var(--key);
    /* border-top: 1px solid var(--key);
    border-bottom: none; */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    /* width: 100vw; */
    /* position: relative; */
    /* left: calc(50% - 50vw); */
}
hr::before {
    content: "";
    border: 0.5px solid var(--key);
    display: inline-block;
    position: absolute;
    margin-top: -0.5px;
    width: calc(50vw - 50%);
    right: 100%;
}
hr::after {
    content: "";
    border: 0.5px solid var(--key);
    display: inline-block;
    position: absolute;
    margin-top: -0.5px;
    width: calc(50vw - 50%);
    left: 100%;
}
/* hr::after {
    content: "";
    border-top: 1px solid var(--key);
    border-bottom: none;
    display: inline-block;
    width: 100vw;
    height: 1px;
    margin-top: -1px;
    position: absolute;
    left: calc(50% - 50vw);
} */
hr+hr {
    display: none;
    margin-top: calc(-0.5rem + 1px);
}

[lang=he] {
    display: inline-block;
    direction: rtl;
    text-align: right;
    /* font-size: 22px; */
    /* line-height: 28px; */
}

/* b i, i b, em strong, strong em {
    font-family: "UnifrakturM19";
    font-weight: normal;
    font-style: normal;
} */

h1 {
    font-family: "TaameyFrankCLM", "ScheherazadeNew", "UnifrakturM19", "OldStandardTT";
    font-size: 36px;
    line-height: 36px;
    margin-top: 1rem;
}
h1>a, h1>a:visited, h1>a:hover, h1>a:active {
    color: var(--key) !important;
    text-decoration: none !important;
}
h1>i, h1>em {
    line-height: 34px;
}

nav {
    position: absolute;
    inset-inline-start: 0px;
    top: -2rem;
}
nav+h1 {
    margin-top: 2rem;
}
nav>p>span::after {
    content: ' » ';
}

h2 {
    font-size: 24px;
    line-height: 28px;
    margin-top: 0.75rem;
}

table {
    border-collapse: collapse;
}

tr, th, td {
    padding: 0;
    text-align: left;
}
td:empty::after, th:empty::after {
    content: '—';
}
td.l, th.l {
    text-align: left;
}
td.c, th.c {
    text-align: center;
}
td.r, th.r {
    text-align: right;
}
thead tr:last-child th, thead tr:last-child td {
    border-bottom: 1px solid var(--key);
}
td, th {
    padding-left: 0.5em;
    padding-right: 0.5em;
}
td:first-child, th:first-child {
    padding-left: 0.25rem;
}
td:last-child, th:last-child {
    padding-right: 0.25rem;
}
td:not(:first-child), th:not(:first-child) {
    border-left: 1px solid var(--key);
}

figure {
    margin: 0.5rem 0;
}
figcaption {
    font-style: italic;
    text-align: center;
}

img {
    border: 3px double var(--key);
    width: calc(100% - 6px);
    height: auto;
}

.thumb {
    display: inline-block;
    margin: 1em;
}
.thumb img {
    width: 200px;
    height: 160px;
    object-fit: contain;
    object-fit: cover;
}

a, a:visited {
    color: var(--spot);
    text-decoration: none;
    /* text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px; */
}
a:hover, a:active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    /* text-decoration: underline;
    text-decoration-style: double;
    text-decoration-thickness: 1px; */
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1rem;
}
.grid>* {
    justify-self: center;
    align-self: center;
}

@media (min-width: 480px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 960px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

ul ul {
    margin: 0 0;
}

form, fieldset {
    display: inline-grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
    justify-items: start;
    align-items: center;
}
fieldset {
    border: 1px solid var(--key);
    border-radius: 10px;
}
input {
    font-family: "OldStandardTT", "TaameyFrankCLM";
    font-size: 20px;
    line-height: 28px;
}
input[type=text], input[type=password] {
    padding: 0 7.5px;
    background-color: transparent;
    color: var(--key);
    border: 1px solid var(--key);
    border-radius: 10px;
}
button, input[type=submit] {
    padding: 0 10px;
    color: var(--bg);
    background-color: var(--key);
    /* border: 1px solid var(--spot); */
    border-radius: 10px;
}

sup {
    font-size: 15px;
    line-height: 15px;
    vertical-align: super;
    /* top: -20px; */
}
sup.sa {
    display: inline-block;
    font-size: 15px;
    line-height: 15px;
    vertical-align: super;
    position: relative;
    top: -3px;
    margin-left: -6px;
    margin-right: -1px;
    /* width: 0px !important; */
    /* left: -6px; */
}

