/* #### Desktops #### */
@media screen and (min-width: 1024px){
		article {margin-left:20%; margin-right:20%; 
		         #font-family:"Times New Roman","Calibri","Serif";
		         font-size:1.25em; line-height:1.5em;
		}
}

@media screen and (max-device-width: 480px) {
		article {margin-left:50px; margin-right:50px; 
		         #font-family:"Times New Roman","Calibri","Serif";
		         font-size:1.5em; line-height:2em; font-weight:normal;
		}
}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
		article {margin-left:15px; margin-right:15px; 
		         font-family:"Times New Roman","Calibri","Serif";
		         font-size:1em; line-height:1.5em;
		}
}

body {font-size:1em; font-family:'Serif';}
navigation{display:block;}
text > a {text-decoration:none; font-weight:bold; margin-left:.05em;}

article > details > id {display:none;}
article > bdetails > id {display:none;}
pfile, cfile, nfile {display:none;}

book, title, atitle, btitle, author {display:block; font-weight:bold;  font-size: 1.15em;
                                                           text-align:center; margin-top:1em; margin-bottom:1em;}
title > line {font-size:1em; line-height:1.5em;}

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; text-indent:2em; line-height:1.5em;}
para > text > indent {display:block; font-style:normal; font-weight:normal; 
               text-indent:20em; 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, sverse, gverse, inscription  {display:block; font-style:normal; 
                                     text-indent:2em; margin-top:1em; line-height:1.5em;}
line {display:block; line-height:1.5em;}
verse[language="en"] > line { text-indent:2em; 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; text-indent:2em; font-style:normal; margin-top:1em; line-height:1.5em;}
verse[language="en"]  {display:block; text-indent:2em; font-style:italic; margin-top:1em; line-height:1.5em;}
verse[language="gr"]  {display:block; text-indent:2em; font-style:normal; margin-top:1em; line-height:1.5em;}

verse[language="sa"] > line {font-family:"Noto Serif Devanagari"; text-indent:2em; font-style:normal; font-size:1.15em;}

p-title {display:block; font-weight:bold; text-align:left; margin-top:1.5em; margin-bottom:1.15em;}
em {font-weight:bold; font-style:italic;}

para:first-of-type> text::first-letter{font-size:1.5em;}

para > text > ul {display:block;  list-style:decimal; columns:1; list-style-position:inside; 
                             text-indent:-1em; padding-left:1em;}
para > text > ul > li {display:list-item; line-height:1.5em;}

para > ul {display:block;  list-style:decimal; columns:1; list-style-position:outside; text-indent:0;
                         margin-left:10%;}
para > ul > li {display:list-item; line-height:1.75em;}

para > text > ol {display:block;  list-style:disc; 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;}

