@import url("payutto-fonts.css");
@import 'https://fonts.googleapis.com/css?family=Athiti:400,600|Thasadith:400,600|Gentium+Basic|Merriweather:300,300i,700,700i|PT+Sans|Noto+Serif'; /* Crimson+Text:400,400i,600,600i| */
/*@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;700&family=IBM+Plex+Sans+Thai+Looped:wght@400;600&display=swap');*/
@import url("keys.css");
kbd, .key { font-size:0.65em; line-height: 1.2em;  padding: 0.2em 0.4em; }
body#tinymce.wp-editor p .hidden { display: inline; color: #EEE; }
p .hidden { display: none; }
body#tinymce.wp-editor p.list-item+p, p.list-item+p { margin-top: 1em; }
body#tinymce.wp-editor p.list-item+p.list-item, p.list-item+p.list-item { margin-top: 0; }
body#tinymce.wp-editor p.list-item, p.list-item { text-indent: -0.8em; padding-left: 3em; margin-top: 0; margin-bottom: 0; text-align: left; }
body#tinymce.wp-editor p span, p span { text-indent: 0; }		/* fix cascading indentation */
body#tinymce.wp-editor p.sub-paragraph { text-indent: 2em; padding-left: 3em; margin-bottom: 0; }
body#tinymce.wp-editor p+p.sub-paragraph { margin-top: -1em; }
span.sub-paragraph { margin-left: 2em; }
body#tinymce.wp-editor p.half-page-indent { margin-left: 50%; text-indent: 0; }
body#tinymce.wp-editor p.no-indent { text-indent: 0; }

span.tab-block-10, span.tab-block { display: inline-block;  width: 10ex; text-indent: 0; }
span.tab-block-20 { display: inline-block;  width: 20ex; text-indent: 0; }
span.tab-block-25 { display: inline-block;  width: 25ex; text-indent: 0; }
span.tab-block-30 { display: inline-block;  width: 30ex; text-indent: 0; }
span.tab-block-40 { display: inline-block;  width: 40ex; text-indent: 0; }
article.post+p a {
  font-weight: bold;
  color: #717171;
  background: #e9e9e9;
  text-decoration: none;
  padding: 7px 10px;
  margin-left: 6px;
  margin-right: 6px;
  border-radius: 3px;
  border: solid 1px #c0c0c0;
  box-shadow: inset 0px 1px 0px rgba(255,255,255, .7), 0px 1px 3px rgba(0,0,0, .1);
  text-shadow: 1px 1px 0px rgba(255,255,255, 0.7);
 }

body#tinymce.wp-editor:lang(en)
{
    font-family: 'Merriweather', serif;
    font-size: 1em;
}
body#tinymce.wp-editor {
	font-family: "TF Srivichai", serif;
	font-size: 18pt;
}
/* not successful inside TinyMCE
body#tinymce.wp-editor:lang(en)
{
    font-family: 'Merriweather', serif;
    font-size: 1em;
}
*/

body#tinymce.wp-editor h1, body#tinymce.wp-editor h2, body#tinymce.wp-editor h3, body#tinymce.wp-editor h4
{
	font-family: "TF Uthong", serif;
	font-weight: bold;
}
body#tinymce.wp-editor h1 { font-size: 22pt; text-align: center; }
body#tinymce.wp-editor h2 { font-size: 20pt; }
body#tinymce.wp-editor h3 { font-size: 18pt; }
body#tinymce.wp-editor h4 { font-size: 18pt; font-weight: normal; }
body#tinymce.wp-editor h5, body#tinymce.wp-editor h6
{
	text-indent: 2em;
	font-size: 18pt;
	font-family: "TF Srivichai", serif !important;
	font-weight: bold !important;
}
/* not successful inside TinyMCE
body#tinymce.wp-editor h1:lang(en), body#tinymce.wp-editor h2:lang(en), body#tinymce.wp-editor h3:lang(en), body#tinymce.wp-editor h4:lang(en), body#tinymce.wp-editor h5:lang(en), body#tinymce.wp-editor h6:lang(en)
{
    font-family: 'Merriweather', serif;
}
*/

body#tinymce.wp-editor p
{
	text-indent: 2em;
	text-align: justify;
	margin: 3px auto 1em;
}

blockquote.pali-quote p,
.article-container article.post blockquote.pali-quote p,
.article-container .post article.post blockquote.pali-quote p,
body#tinymce.wp-editor blockquote p
{
	text-indent: 0em;
	text-align: left;
	margin: 3px auto 1em;
}

body#tinymce.wp-editor blockquote
{
	border: none;
	margin: 1em 2cm;
	padding: 0;
}

body#tinymce.wp-editor blockquote.pali-quote,
body#tinymce.wp-editor blockquote.pali-quote p,
body#tinymce.wp-editor blockquote.english-quote,
body#tinymce.wp-editor blockquote.english-quote p
{
	font-style: normal !important;
}

body#tinymce.wp-editor ul, body#tinymce.wp-editor ol
{
	margin: 0 0 0.5em 2em;
}
body#tinymce.wp-editor ol.easy-footnotes-wrapper { margin-left: 0; }

ul.no-bullet li { list-style: none !important; }
ol, * ol, body#tinymce.wp-editor ol { list-style: thai; }
ol:lang(en), * ol:lang(en), body#tinymce.wp-editor ol:lang(en) { list-style: decimal; }

.emp-keyword { font-family: "TF Uthong", serif; font-style: italic; }
.dhamma-word { font-family: "Thasadith", serif; font-style: italic; font-weight: normal; font-size: 16.8px;}
.emp-dhamma-word { font-family: "Thasadith", serif; font-style: italic; font-weight: bold; font-size: 16.8px;}
.emp-phrase { font-style: italic; }

.question { font-family: "TF Uthong", serif; font-style: italic; font-weight: normal; }
.questioner { font-family: "TF Uthong", serif; font-style: italic; font-weight: bold;}
.answerer { font-family: "TF Uthong", serif; font-style: normal; font-weight: bold;}
.emp-dhamma-word:lang(en), .question:lang(en), .questioner:lang(en), .answer:lang(en) { font-family: 'PT Sans', sans; }

.pali-quote, .thai-quote, .other-quote
{
    display: block;
    padding: 0.5em 2em;
    text-align: center;
}

.pali-verse, .thai-verse
{
    display: block;
    padding: 0 0;
    text-align: center;
}
.pali-verse+p, .thai-verse+p { padding-top: 0.5em; }

.thai-verse
{
	font-family: "TF Srivichai", sans;
	font-size: 18pt;
}

.article-container.post article blockquote.pali-quote:lang(en),
.article-container.post article blockquote.pali-quote p:lang(en),
.article-container.post article .pali-verse:lang(en),
.article-container.post article .pali-word:lang(en),
.article-container.post article .pali-phrase:lang(en),
blockquote.pali-quote:lang(en), .pali-verse:lang(en), .pali-word:lang(en), .pali-phrase:lang(en)
{
	font-family: "Gentium Basic" !important;
	font-size: 14pt !important;
	font-style: italic !important;
}
.article-container.post article blockquote.pali-quote:lang(en),
.article-container.post article blockquote.pali-quote p:lang(en),
blockquote.pali-quote:lang(en)
{
	font-style: normal!important;
}

blockquote.pali-quote, .pali-verse, .pali-word, .pali-phrase,
.article-container.post article blockquote.pali-quote p
{
	font-family: "Gentium Basic", "TH Niramit AS", serif !important;
	font-style: italic;
	font-size: 18pt;
}

.article-container.post article blockquote.thai-quote,
.article-container.post article blockquote.thai-quote p,
.thai-quote, .thai-quote p, .thai-phrase
{
	font-family: "TF Srivichai", serif !important;
	font-style: italic;
}

.article-container.post article blockquote.other-quote,
.article-container.post article blockquote.other-quote p,
.other-quote, .other-quote p, .other-phrase
{
	font-family: "TF Uthong", serif !important;
	font-style: normal;
}

.article-container.post article blockquote.english-quote,
.article-container.post article blockquote.english-quote p,
.english-quote, .english-quote p
{
	font-family: "Merriweather", "Noto Serif", serif !important;
	font-style: normal !important;
	font-size: 12pt;
}

table:lang(en)
{
	font-family: "Merriweather", serif;
}
table th, table td
{
	vertical-align: top;
}

.item-title
{
	font-family: "TF Uthong", serif;
	font-weight: bold;
	font-style: italic;
	font-size: 18.5pt;
}

.sub-item-title
{
	font-family: "TF Uthong", serif;
	font-weight: normal;
	font-style: italic;
	font-size: 18.5pt;
}
.item-title:lang(en), .sub-item-title:lang(en)
{
	font-family: 'Merriweather', serif;
	font-weight: bold;
	font-size: 1rem;
}
html:lang(en) .item-title, html:lang(en) .sub-item-title { font-size: 1rem; }

.out-refer { font-style: italic; font-weight: normal; }
.tripitaka-refer { font-family: "TH Niramit AS", serif; font-style: italic; font-weight: normal; font-size: 12pt;}
.pali-quote, .pali-verse { font-language-override: "PLI"; }