/* Use one font source across the website, panel, PWA and dynamically rendered forms. */
@font-face {
    font-family: "primary-font";
    src: url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-300.woff2") format("woff2"),
         url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-300.woff") format("woff");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "primary-font";
    src: url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-400.woff2") format("woff2"),
         url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-400.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "primary-font";
    src: url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-500.woff2") format("woff2"),
         url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-500.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "primary-font";
    src: url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-700.woff2") format("woff2"),
         url("/website/assets/vendor/fonts/farsi-fonts-fa-num/iran-sans-700.woff") format("woff");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --site-font-family: "primary-font", Tahoma, sans-serif;
    --bs-font-sans-serif: var(--site-font-family);
    --bs-body-font-family: var(--site-font-family);
}

/* Text only: leave icon glyphs, code editors and printed licenses alone. */
@media screen {
    html:root body,
    html:root body :is(div, span, p, a, font, i, label, legend, input, textarea, select,
        option, optgroup, button, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd,
        table, thead, tbody, tfoot, tr, th, td, small, strong, b, em, blockquote,
        summary, section, article, nav, header, footer, main, fieldset, form,
        address, caption, abbr, cite, mark, u, s, sub, sup, text, tspan):not(:where(
            [class^="icon-"], [class*=" icon-"], .bx, .bi, .fa, .fas, .far, .fal,
            .fab, .fad, .fa-solid, .fa-regular, .fa-brands, .glyphicon,
            .ti, .material-icons, .material-symbols-outlined, .CodeMirror, .CodeMirror *,
            .ace_editor, .ace_editor *, .html-editor, pre *, code *, kbd *, samp *
        )) {
        font-family: var(--site-font-family) !important;
    }
}
