body {font-family:"Liberation Serif","Noto Serif Tamil","Noto Serif Devanagari"; font-size:1.25em;}
body[language="sa"] {font-family:"Liberation Serif","Noto Serif Tamil","Noto Serif Devanagari"; font-size:2em;}
coverpage {text-align:center; page-break-before:always;}
h1, h2  {display:block; font-family:"Liberation Serif","Noto Serif Devanagari";
              page-break-before:always; font-size:1.25em; text-align:center;}
h1, h2 > atitle[language="sa"] > line {display:block; font-family:"Noto Serif Devanagari","Liberation Serif"; font-weight:bold;
                                                              color:black;}
navigation{display:block;}
text > a {text-decoration:none; font-weight:bold; margin-left:.05em;}

article > details > id {display:none;}
article > bdetails > id {display:none;}
id,pfile, cfile, nfile {display:none;}

book-title, book, title, atitle, btitle, subtitle, author, publisher, year {
                         display:block; font-weight:bold;  font-size: 1.15em;
                         text-align:center; margin-top:1em; margin-bottom:1em;}

atitle1{display:block; font-weight:bold;  font-size: 1.15em; text-align:center;}

title > line {font-size:1em; line-height:1.5em;}

publisher, year {font-size:.75em;}

b{font-weight:bold;}
br {display:block;}
para {display:block;  margin-top:1em; margin-bottom:1em; text-align:justify; break-inside:auto;}

para > text {display:block; font-size:1em; text-indent:2em; line-height:1.5em;
		               margin-top:1em; margin-bottom:1em;}

para > translation {display:block; text-indent:2em; line-height:1.5em;
                                    margin-top:1em; margin-bottom:1em;}

text > sup {line-height:0; vertical-align: super; font-size:1em; font-weight:bold; 
                 margin-left:0.15em; margin-right:.25em;}
verse > line > sup {line-height:0; vertical-align: super; font-size:.75em; font-weight:bold; 
                 margin-left:0.05em; margin-right:.25em;}

sup {font-size:.85em; margin-left:.05em;}
details > title > line > sup {line-height:0; vertical-align: super; font-weight:bold; 
                 margin-left:0.05em; margin-right:.25em;}
p-title > sup {line-height:0; vertical-align: super; font-weight:bold; 
                 margin-left:0.05em; margin-right:.25em;}				 

verse > number {display:none;}
verse, sverse, gverse, inscription  {display:block; font-style:normal; 
                                                                margin-top:2em; line-height:2em;
                                                                page-break-inside:avoid;}
line {display:block; line-height:1.5em;}
verse[language="en"] > line {font-family:"Serif"; font-style:italic;}
sverse > line {font-family:"Sanskrit 2003"; font-style:normal;}
gverse > line {font-family:"Noto Serif Grantha"; font-style:normal; font-size: .85em;}

verse > line > sup {line-height:0; vertical-align: super; font-weight:bold; 
                             margin-left:0.05em; margin-right:.25em;}	

verse[language="sa"]  {display:block; font-style:normal; margin-top:1em; line-height:1.5em;}
verse[language="en"]  {display:block; font-style:italic; margin-top:1em; line-height:1.5em;}
verse[language="gr"]  {display:block; font-style:normal; margin-top:1em; line-height:1.5em;}
verse[language="ta"]  {display:block; font-style:normal; margin-top:1em; line-height:1.5em; font-weight:bold;}

verse[language="en"] > line {font-family:"Liberation Serif"; font-style:italic; font-size:1.15em;}
verse[language="sa"] > line {font-family:"Noto Serif Devanagari"; font-style:normal; font-size:1.15em;}

v-title[language="en"] {display:block; font-family:"Liberation Serif"; font-size:1.25em;
                                           font-weight:bold; margin-bottom:1em;}
v-title[language="ta"] {display:block; font-family:"Noto Serif Tamil"; font-size:1.25em;
                                           font-weight:bold; margin-bottom:1em;}
v-title[language="sa"] {display:block; font-family: "Noto Serif Devanagari"; font-size:1.5em;
                                           line-height:2em; font-weight:bold; margin-top:0em; margin-bottom:0em;}

p-title {display:block; font-weight:bold; text-align:left; margin-top:1.5em; margin-bottom:1.15em;}
em {font-weight:normal; font-style:italic;}

para:first-of-type> text:first-of-type:first-letter{font-size:1.5em;}

para > text > ul {display:block;  list-style:decimal; columns:1; list-style-position:outside; 
                             text-indent:0em; padding-left:1em;
                             margin-left:1em; margin-right:1em;}
para > text > ul > li {display:list-item; line-height:1.5em; margin-top:1em;}

para > ul {display:block;  list-style:decimal; columns:1; list-style-position:outside; text-indent:0;
                         margin-left:2em;}
para > ul > li {display:list-item; line-height:1.75em;}

para > text > ol[language="en"] {display:block;  list-style:none; 
                               font-family:"Liberation Serif";
                               list-style-position:outside; text-indent:0;
                               margin-left:2%; columns:2;}

para > text > ol[language="sa"] {display:block;  list-style:none; 
                               font-family:"Noto Serif Devanagari";
                               list-style-position:outside; text-indent:0;
                               margin-left:2%; columns:2;}
                               
para > text > ol > li {display:list-item; color:black; line-height:1.75em;}	   

footnote > text {display:block; margin-top:1em; margin-bottom:1em;
                        text-align:justify; line-height:1.5em; text-indent:0;
						break-after:always;}
footnote > text > sup {vertical-align: baseline; font-weight:normal;}
footnote > p-title {display:block; font-weight:bold; text-align:center; margin-top:1em; margin-bottom:1.em;}

footnote > ol {display:block;  list-style:disc; list-style-position:outside; text-indent:0;
                         margin-left:2%; columns:3;}
footnote > ol > li {display:list-item; color:black; line-height:1.75em;}

para > table1 {display:table; border-spacing:1px; border:1px solid;
                           page-break-inside:avoid; text-align:left;}
para > table1 > row1 {display:table-row; padding:10px;}
para > table1 > th1 {display:table-row; width:auto; font-weight:bold; background:lightgrey;}
para > table1 > row1 > col1 {display:table-cell; border:1px solid;
                                                    padding-left:.25em; padding-right:.25em;
                                                    padding-top:.25em; padding-bottom:.25em;}
para > table1 > th1> col1 {display:table-cell; border:1px solid;}

/* Added standard figure and table rules */
figure.book-figure {
  display: block;
  margin: 1.2em auto;
  text-align: center;
  max-width: 680px;
  page-break-inside: avoid;
}
figure.book-figure img {
  display: block;
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
figure.book-figure figcaption.caption {
  display: block;
  background: transparent;
  color: #3b2e25;
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1.4;
  margin-top: 0.5em;
  text-align: center;
}
sanskrit-verse {
  display: block;
  font-family: "Noto Serif Devanagari", serif;
  font-style: normal;
  margin-top: 1em;
  line-height: 1.5em;
}
para table, .table-wrap table {
  border-collapse: collapse;
  margin: 1em auto;
  width: 90%;
  max-width: 680px;
}
para table th, para table td, .table-wrap table th, .table-wrap table td {
  border: 1px solid #b8a990;
  padding: 6px 10px;
  text-align: left;
}
para table thead th, .table-wrap table thead th {
  background: #eae0cc;
  font-weight: bold;
}
