/* The user's fonts are selected per character, independently of the page locale. */
@font-face {
  font-family: "ERP Text";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}

@font-face {
  font-family: "ERP Text";
  src: url("../fonts/KhmerOS_battambang.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1780-17FF, U+19E0-19FF;
}

@font-face {
  font-family: "ERP Text";
  src: url("../fonts/KaiTi.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3100-312F, U+31A0-31BF, U+31C0-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE10-FE1F, U+FE30-FE4F, U+FF00-FFEF, U+20000-2FA1F, U+30000-323AF;
}

:root {
  --app-font-family: "ERP Text", sans-serif;
  --font-family-sans-serif: "ERP Text", sans-serif;
}

html,
body,
h1, h2, h3, h4, h5, h6,
button, input, optgroup, select, textarea,
.btn, .form-control, .select2-container, .select2-search__field,
.tooltip, .popover {
  font-family: var(--app-font-family);
}

/* Icon classes keep their own font families; bold/italic text uses synthesis. */
