@font-face { src: url('../fonts/NotoSerifSinhala-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'sinhala'; }
@font-face { src: url('../fonts/NotoSerifSinhala-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'sinhala'; }

@font-face { src: url('../fonts/NotoSerifDevanagari-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'devanagari'; }
@font-face { src: url('../fonts/NotoSerifDevanagari-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'devanagari'; }

@font-face { src: url('../fonts/NotoSerif-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'roman'; }
@font-face { src: url('../fonts/NotoSerif-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'roman'; }

@font-face { src: url('../fonts/thai/THSarabunNew.ttf') format('truetype'); font-weight: normal; font-family: 'thai'; }
@font-face { src: url('../fonts/thai/THSarabunNew-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'thai'; }

@font-face { src: url('../fonts/lao/LaoPaliAlpha-Light.woff') format('truetype'); font-weight: normal; font-family: 'lao'; }
@font-face { src: url('../fonts/lao/LaoPaliAlpha-Regular.woff') format('truetype'); font-weight: bold; font-family: 'lao'; }

@font-face { src: url('../fonts/myanmar/mm3-multi-os(16-08-2011).ttf') format('truetype'); font-weight: normal; font-family: 'myanmar'; }
@font-face { src: url('../fonts/myanmar/mm3-multi-os(16-08-2011).ttf') format('truetype'); font-weight: bold; font-family: 'myanmar'; }

@font-face { src: url('../fonts/NotoSerifKhmer-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'khmer'; }
@font-face { src: url('../fonts/NotoSerifKhmer-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'khmer'; }

@font-face { src: url('../fonts/NotoSerifBengali-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'bengali'; }
@font-face { src: url('../fonts/NotoSerifBengali-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'bengali'; }

@font-face { src: url('../fonts/NotoSansGurmukhi-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'gurmukhi'; }
@font-face { src: url('../fonts/NotoSansGurmukhi-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'gurmukhi'; }

@font-face { src: url('../fonts/lanna/Hariphunchai.otf') format('truetype'); font-weight: normal; font-family: 'tai tham'; }
@font-face { src: url('../fonts/lanna/Hariphunchai.otf') format('truetype'); font-weight: bold; font-family: 'tai tham'; }

@font-face { src: url('../fonts/NotoSerifGujarati-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'gujarati'; }
@font-face { src: url('../fonts/NotoSerifGujarati-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'gujarati'; }

@font-face { src: url('../fonts/NotoSerifTelugu-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'telugu'; }
@font-face { src: url('../fonts/NotoSerifTelugu-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'telugu'; }

@font-face { src: url('../fonts/NotoSerifKannada-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'kannada'; }
@font-face { src: url('../fonts/NotoSerifKannada-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'kannada'; }

@font-face { src: url('../fonts/NotoSerifMalayalam-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'malayalam'; }
@font-face { src: url('../fonts/NotoSerifMalayalam-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'malayalam'; }

@font-face { src: url('../fonts/NotoSansBrahmi-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'brahmi'; }

@font-face { src: url('../fonts/tibetian/NotoSansTibetan-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'tibetan'; }
@font-face { src: url('../fonts/tibetian/NotoSansTibetan-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'tibetan'; }

@font-face { src: url('../fonts/NotoSerif-Regular.ttf') format('truetype'); font-weight: normal; font-family: 'cyrillic'; }
@font-face { src: url('../fonts/NotoSerif-Bold.ttf') format('truetype'); font-weight: bold; font-family: 'cyrillic'; }

.UT[lang=en] { font-family: 'roman'; }
.UT[lang=si] { font-family: 'sinhala'; line-height: 1.5rem; }
.UT[lang=ch] { font-family: 'roman';} /* TODO need a chinese font */
.UT[lang=hi] { font-family: 'devanagari';}
.UT[lang=th] { font-family: 'thai'; font-size: 1.5rem; line-height: 1.7rem; }
.UT[lang=my] { font-family: 'myanmar';}
.UT[lang=in],.UT[lang=es],.UT[lang=pt] { font-family: 'roman';}

.PT[script=si],.tab-content[script=si] { font-family: 'sinhala'; line-height: 1.5rem; }
.PT[script=hi],.tab-content[script=hi] { font-family: 'devanagari'; }
.PT[script=ro],.tab-content[script=ro] { font-family: 'roman'; }
.PT[script=th],.tab-content[script=th] { font-family: 'thai'; font-size: 1.5rem; line-height: 1.7rem; }
.PT[script=lo],.tab-content[script=lo] { font-family: 'lao'; line-height: 170%; /*font-size: 125%;*/ }
.PT[script=my],.tab-content[script=my] { font-family: 'myanmar'; }
.PT[script=km],.tab-content[script=km] { font-family: 'khmer'; }
.PT[script=be],.tab-content[script=be] { font-family: 'bengali'; }
.PT[script=as],.tab-content[script=as] { font-family: 'bengali'; } /* assamese */
.PT[script=gm],.tab-content[script=gm] { font-family: 'gurmukhi'; }
.PT[script=tt],.tab-content[script=tt] { font-family: 'tai tham'; font-size: 1.5rem; }
.PT[script=gj],.tab-content[script=gj] { font-family: 'gujarati'; }
.PT[script=te],.tab-content[script=te] { font-family: 'telugu'; }
.PT[script=ka],.tab-content[script=ka] { font-family: 'kannada'; }
.PT[script=mm],.tab-content[script=mm] { font-family: 'malayalam'; }
.PT[script=br],.tab-content[script=br] { font-family: 'brahmi'; }
.PT[script=tb],.tab-content[script=tb] { font-family: 'tibetan'; }
.PT[script=cy],.tab-content[script=cy] { font-family: 'cyrillic'; }