/* iPad mini in landscape */
@media only screen
and (min-width : 484px) 
 {
	    body {margin-left:5%;margin-right:5%;background-color:#f2f4f4;
		      font-size:1.15em;color:black;
		      line-height:1.5em;}
}

/* iPad mini in landscape */
@media only screen
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
	    body {margin-left:5em;margin-right:5em;background-color:#f2f4f4;
		      font-size:1.5em;color:black;
		      line-height:1.5em;}
}

/* #### Desktops #### */
@media screen and (min-width: 1024px){
	    body {margin-left:5em;margin-right:5em;background-color:#f2f4f4;
		      font-size:1.25em;color:black;
		      line-height:1.5em;}

		.caption{background-color: black; color: white;  
		               text-align:center; font-size: .75em; line-height: 1.5em;}
		.floatleft  {float:left;}
		.floatclear {clear: left;}
}

coverpage {text-align:center; page-break-before:always;}
h1,h2  {page-break-before:always; font-size:1.25em; text-align:center;}

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; 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:1em; line-height:1.5em;
                                                                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="sa"] > line {font-family:"Noto Serif Devanagari"; 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-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 {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;}

