/*
English
*/
@font-face {
    font-family: "Arial";
    src: local('Arial'),
         url('Arial.ttf') format('truetype');
}

@font-face {
    font-family: "DejaVu Sans";
    src: local('DejaVu Sans'),
         url('DejaVuSans.ttf') format('truetype');
}

@font-face {
    font-family: "Helvetica";
    src: local('Helvetica'),
         url('Helvetica.ttf') format('truetype');
}

@font-face {
    font-family: "Roboto";
    src: local('Roboto'),
         url('Roboto.ttf') format('truetype');
}

@font-face {
    font-family: "Tahoma";
    src: local('Tahoma'), 
         url('Tahoma.ttf') format('truetype');
}

/*
Chinese
*/ 
@font-face {
    font-family: "Kai";
    src: local('Kai'),
         url('XingKai.ttf') format('truetype');
}

@font-face {
    font-family: "Microsoft YaHei";
    src: local('Microsoft YaHei'),
         url('YaHei.woff2') format('woff2'),
         url('YaHei.ttf') format('truetype');
}

@font-face {
    font-family: "Noto Sans SC";
    src: local('Noto Sans SC'),
         url('NotoSansSC.otf') format('otf'),
         url('NotoSansSC.ttf') format('truetype');
}

@font-face {
    font-family: "Noto Serif SC";
    src: local('Noto Serif SC'),
         url('NotoSerifSC.otf') format('otf');
}

@font-face {
    font-family: "Songti SC";
    src: local('Songti SC'),
         url('Songti.otf') format('otf'),
         url('Songti.ttc') format('ttc');
}

/* 
Tipitaka stylesheet for Unicode Latin encoding. 
*/
body, html { 
    font-family: "Tahoma", "Arial",   
                 "Hannotate SC", "HanziPen SC", "Heiti SC", "Hiragino Sans GB", "Kai", "Lantinghei SC", "Libian SC", "LingWai SC", "SimSong", "Songti SC", "STFangsong", "STSong ", "Weibei SC", "Xingkai SC", "Yuppy SC";
    background: white;
    margin: 0;
    padding: 0;
    width: 100%;
} 

note {color: gray}
note::before {
    content: "[";
    color: gray;
}
note::after{
    content: "]";
    color: gray;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
} 
p {
    border-top: 0in; border-bottom: 0in;
    padding-top: 0in; padding-bottom: 0in;
    margin-top: 0in; margin-bottom: 0.5cm;
}

/*------ Style substitutions ------*/
/*
p.bld {font-weight:bold;}
hi.paranum {font-size:18pt;font-weight:bold;}
hi.dot {font-size:18pt;font-weight:bold;}
hi.bold {font-weight:bold;}
p.hangnum {font-size:16pt;margin-bottom:-0.75cm;text-indent:2em;}
p.nikaya {font-size:28pt;font-weight:bold;text-align:center;}
p.book {font-size:25pt;font-weight:bold;text-align:center;}
p.chapter {font-size:22pt;font-weight:bold;text-align:center;}
p.centre {font-size:16pt;text-align:center;}
p.bodytext {font-size:16pt;text-indent:2em;}
p.unindented {font-size:16pt;text-indent:0em;}
p.title {font-size:20pt;font-weight:bold;text-align:center;}
p.subhead {font-size:20pt;font-weight:bold;text-align:center;}
p.subsubhead {font-size:18pt;font-weight:bold;text-align:center;}
p.gatha1 {font-size:16pt;margin-bottom:0em;margin-left:4em;}
p.gatha2 {font-size:16pt;margin-bottom:0em;margin-left:4em;}
p.gatha3 {font-size:16pt;margin-bottom:0em;margin-left:4em;}
p.gathalast {font-size:16pt;margin-bottom:0.5cm;margin-left:4em;}
*/

/*------ Style substitutions ------*/
/*
p.Tbld {font-weight:bold;}
hi.Tparanum {font-size:18pt;font-weight:bold;}
hi.Tdot {font-size:18pt;font-weight:bold;}
hi.Tbold {font-weight:bold;}
p.Thangnum {font-size:16pt;margin-bottom:-0.75cm;text-indent:2em;}
p.Tnikaya {font-size:28pt;font-weight:bold;text-align:center;}
p.Tbook {font-size:25pt;font-weight:bold;text-align:center;}
p.Tchapter {font-size:22pt;font-weight:bold;text-align:center;}
p.Tcentre {font-size:16pt;text-align:center;}
p.Tbodytext {font-size:16pt;text-indent:2em;}
p.Tunindented {font-size:16pt;text-indent:0em;}
p.Ttitle {font-size:20pt;font-weight:bold;text-align:center;}
p.Tsubhead {font-size:20pt;font-weight:bold;text-align:center;}
p.Tsubsubhead {font-size:18pt;font-weight:bold;text-align:center;}
p.Tgatha1 {font-size:16pt;margin-bottom:0em;margin-left:4em;}
p.Tgatha2 {font-size:16pt;margin-bottom:0em;margin-left:4em;}
p.Tgatha3 {font-size:16pt;margin-bottom:0em;margin-left:4em;}
p.Tgathalast {font-size:16pt;margin-bottom:0.5cm;margin-left:4em;}
*/
/*--removing underline from links */

@media (max-width: 1024px) { 
  p.gatha1 {  margin-left: 2em;}
  p.gatha2 {  margin-left: 2em;}
  p.gatha3 {  margin-left: 2em;}
  p.gathalast {  margin-left: 2em;}
  p.Tgatha1 {  margin-left: 2em;}
  p.Tgatha2 {  margin-left: 2em;}
  p.Tgatha3 {  margin-left: 2em;}
  p.Tgathalast {  margin-left: 2em;}
  p.Egatha1 {  margin-left: 2em;}
  p.Egatha2 {  margin-left: 2em;}
  p.Egatha3 {  margin-left: 2em;}
  p.Egathalast {  margin-left: 2em;}
}


a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover {
    text-decoration: none;       
    text-decoration-color: #blue}
a:active {text-decoration: none; color:yellow}