/*
    fonts.css: DBIM 4.1 / 4.2, Noto Sans for English and the 22 scheduled Indian languages.
    The font files come from Google Fonts (links in each page's <head>); a browser only
    downloads a script's file when text in that script is on the page.
    Identical in SancharSaathi, Grievance, SFC and TafcopUserFeedbacks.
*/

/* :root:root and "html body" are one step more specific than Bootstrap's :root and body,
   so these win whatever order the stylesheets load in (TAFCOP's Bootstrap 4 hard-codes
   its body font). Form controls already inherit in both Bootstrap versions. */
:root:root {
    --bs-body-font-family: "Noto Sans", "Noto Sans Bengali", "Noto Sans Gujarati", "Noto Sans Gurmukhi",
        "Noto Sans Kannada", "Noto Sans Malayalam", "Noto Sans Oriya", "Noto Sans Tamil", "Noto Sans Telugu",
        "Noto Sans Arabic", "Noto Sans Ol Chiki", "Noto Sans Meetei Mayek", system-ui, sans-serif;
    --bs-font-sans-serif: var(--bs-body-font-family);
}

html body,
.tooltip,
.popover {
    font-family: var(--bs-body-font-family);
}

/* jquery.filer.css gives the file-upload widget its own sans-serif; fonts.css loads after it */
.jFiler,
.jFiler-theme-default .jFiler-input {
    font-family: inherit;
}
