/*
 * Site-wide font: DVOT-Surekh  (Unicode Marathi / Devanagari OpenType font)
 *
 * The font file must be placed at:   fonts/DVOT-Surekh.ttf   (or .otf / .woff / .woff2 - see src below)
 * If the font is installed on the PC it is used from there. If neither is found the browser
 * silently falls back to Mangal -> Nirmala UI -> sans-serif.
 *
 * This file must be linked LAST in <head> so it wins over style.css, theme-override.css and DevExtreme.
 * Icon fonts (DevExtreme DXIcons, Font Awesome, Glyphicons) are NOT touched - the rules below only
 * set the font on text containers and let normal inheritance do the rest.
 */
@font-face
{
    font-family: 'DVOT-Surekh';
    src: local('DVOT-Surekh'), local('DVOT Surekh'), local('DVOTSurekh'),
         url('../fonts/DVOT-Surekh.woff2') format('woff2'),
         url('../fonts/DVOT-Surekh.woff') format('woff'),
         url('../fonts/DVOT-Surekh.ttf') format('truetype'),
         url('../fonts/DVOT-Surekh.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root
{
    --site-font: 'DVOT-Surekh', 'Mangal', 'Nirmala UI', 'Segoe UI', Tahoma, sans-serif;
}

html,
body,
h1, h2, h3, h4, h5, h6,
table, th, td,
input, select, textarea, button, optgroup, label,
.header h1,
.main-content > header .flex.items-center.space-x-1,
/* DevExtreme widgets (grid, popups, editors, buttons ...) */
.dx-theme-generic-typography,
.dx-theme-generic-typography input,
.dx-theme-generic-typography textarea,
.dx-widget,
.dx-widget input,
.dx-widget textarea,
.dx-field,
.dx-field input,
.dx-field textarea,
.dx-overlay-wrapper,
.dx-overlay-wrapper input,
.dx-overlay-wrapper textarea,
/* jQuery UI date picker */
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button
{
    font-family: var(--site-font) !important;
}
