/*
 * Pali text stylesheet rules
 *    - rules for Pali Text's background & inter-verse space (e.g., measure bars, etc.)
 *    - rules for syllable markup (e.g., light & heavy syllables)
 *	  - rules for recordings (lefthand col.) & glossary (righthand col.) sections 
 */
 
@import url('basic.css');

/*
 * Pali text & Eng. trans. rules
 */
 
div.suttaText {
	 text-align: 		center; 
	 background-color: 	mediumaquamarine;
}

table.suttaText {
	font-size: 			large; 
	font-family: 		"Times Ext Roman"; 
	font-weight: 		normal; 
	background-color: 	white;
	color: 				darkslategray; 
	text-align: 		left; 
	margin: 			auto;
}

tr.suttaText {
	text-align:			center;
	vertical-align:		middle;
	background-color: 	#FFD750; 
}

tr.suttaMargin {
	background-color: 	#FFD750; 
	font-size: 			medium;
}

td.suttaLine { 
	text-align: 		center;
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-left: 		1px solid tan; 
	border-right: 		1px solid tan;
	font-size: 			0.1px;  /* for use when there's *no* text in space */
}

td.suttaLineText { 
	text-align: 		left;
	vertical-align: 	top;
	background-color: 	#FFD750;
	color:				sienna;
	border-left: 		1px solid tan; 
	border-right: 		1px solid tan;
	font-size: 			medium;
	padding-top:		2pt;
	padding-bottom:		2pt;
	padding-left:		20pt;
}

td.suttaLineStart { 
	text-align: 		center;
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-left: 		1px solid tan; 
	border-right: 		1px solid silver;
	font-size: 			0.1px;  /* for use when there's *no* text in space */
}

td.suttaLineStartNoBar { 
	text-align: 		center;
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-left: 		1px solid tan; /* no measure-bar is used */
	font-size: 			0.1px;  /* for use when there's *no* text in space */
}

td.suttaLineNumber { 
	text-align: 		right;
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-left: 		1px solid tan; 
	border-right: 		1px solid silver;
	font-size: 			8pt;  /* use this for when a line number is in space */
	color: 				grey;
	display:			'';		/* used to show & hide text */
}

td.suttaGanaEnd {
	text-align: 		left; 
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-right: 		1px solid silver;
	font-size: 			0.1px; /* for use when there's *no* text in space */
}

td.suttaGanaText {
	text-align: 		left;
	vertical-align: 	top;	/* push Eng. trans. up against bottom of Pali text */
	background-color: 	#FFD750;
	border-right: 		1px solid silver;
	font-size: 			medium;	/* for when there's an Eng. trans. in space */
	color:				sienna;
	padding-top:		2pt;
	padding-left:		11pt;
	padding-bottom:		2pt;
}

td.suttaGanaNote {
	text-align: 		left; 
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-right: 		1px solid silver;
	font-size: 			large;  /* for when there's an *endnote* in the space */
}

td.suttaLineEnd {
	text-align: 		left; 
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-right: 		1px solid tan;
	font-size: 			0.1px;
}

td.suttaLineEndNote {
	text-align: 		left; 
	vertical-align: 	middle;
	background-color: 	#FFD750;
	border-right: 		1px solid tan;
	font-size: 			large;  /* for when there's an *endnote* at end of line */
	text-align: 		left; 
}

div.textPaliWords {
	 color:				darkslateblue;
	 font-size:			large;
	 font-family:		'Times Ext Roman', serif;
	 font-weight:		normal;
	 letter-spacing:	2pt;
	 display:			''; 			/* default:  display Pali words */
}

div.textEnglishText {
	 display:			'';				/* default: display English text */
}

/* 
 * inter-verse spaces
 */

td.suttaInterVerseSpace {
	background-color: 	mediumaquamarine;
	border-top:		1px solid tan; 
	border-bottom:	1px solid tan;
}

td.suttaInterVerseMeasure {
	background-color: 	mediumaquamarine;
	border-top:		1px solid tan; 
	border-bottom:	1px solid tan;
	border-right:	1px solid silver;	/* measure bar */
}

td.suttaInterVerseGlossary {
	background-color:		white; 
	/* border-left: 		2px solid lemonchiffon; -- omit to simplify hide/show */ 
	/* border-right: 		2px solid lemonchiffon; -- omit to simplify hide/show */
}

td.suttaInterVerseSpaceTop {
	text-align:			center;
	vertical-align:		middle;
	background-color: 	mediumaquamarine;
	color:				lemonchiffon;
	font-family:		Tahoma, sans-serif;
	font-size:			small;
	font-weight:		bold;
	font-style:			normal;
	border-top:			1pt solid cadetblue;/* bottom of section header */
	border-bottom:		1px solid tan;		/* top of Pali Text section */
}

td.suttaInterVerseMeasureTop {
	text-align:			center;
	vertical-align:		middle;
	background-color: 	mediumaquamarine;
	color:				lemonchiffon;
	font-family:		Tahoma, sans-serif;
	font-size:			small;
	font-weight:		bold;
	font-style:			normal;
	letter-spacing:		2px;				/* given small sans-serif font, add space */
	border-top:			1pt solid cadetblue;/* bottom of section header */
	border-bottom:		1px solid tan;		/* top of Pali Text section */
	border-right:		1px solid silver;	/* add measure bar */
}

td.suttaInterVerseGlossaryTop {
	text-align:			center; 
	vertical-align:		middle;
	background-color:	mediumaquamarine; 
	color:				#5A5A5A;	/* dark dim gray :-) */
	font-family:		"Times New Roman";
	font-size:			small; 
	font-weight:		normal;
	font-style:			normal;
	border-top:			1pt solid cadetblue; 
	border-bottom:		2px solid lemonchiffon; 
}

td.suttaInterVerseSpaceBottom {
	text-align:		center;
	vertical-align:	middle;
	background-color: 	mediumaquamarine;
	color:			lemonchiffon;
	font-family:	Tahoma, sans-serif;
	font-size:		small;
	font-weight:	bold;
	font-style:		normal;
	border-top:		1px solid tan;		/* bottom of Pali Text section */
}

td.suttaInterVerseMeasureBottom {
	text-align:		center;
	vertical-align:	middle;
	background-color: 	mediumaquamarine;
	color:			lemonchiffon;
	font-family:	Tahoma, sans-serif;
	font-size:		small;
	font-weight:	bold;
	font-style:		normal;
	border-right:	1px solid silver;	/* measure bar */
}

td.suttaInterVerseGlossaryBottom {
	text-align:		center; 
	vertical-align:	middle;
	background-color:		mediumaquamarine; 
	color:			#5A5A5A;	/* dark dim gray :-) */
	font-family:	"Times New Roman";
	font-size:		small; 
	font-weight:	normal;
	font-style:		normal;
	border-top:		2px solid lemonchiffon; 
}

/*
 * Pali Chants recording rules
 */

td.headerPaliChants {
	text-align: 	center;
	vertical-align: middle; 
	background-color: 	wheat; 
	color: 			darkslateblue;
	font-family: 	"Times New Roman", serif;
	font-size: 		medium; 
	font-weight: 	normal;
	line-height:	100%;
	letter-spacing:	1px;
	white-space: 	nowrap;
	padding:		8pt 0 8pt 0;
	border: 		2px solid white;
}

td.headerChant1 { 	/* NC Buddhist Vihara */
	text-align: 	center; 
	vertical-align: bottom; 
	background-color: 	lightsalmon; 
	color: 			navy; 
	font-family: 	Tahoma, sans-serif;
	font-size: 		8pt;
	font-weight: 	bold;
	white-space: 	nowrap;
	padding:		0;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2;
}

td.headerChant2 {	/* Bodhi Lankarama Buddhist Temple */
	text-align: 	center; 
	vertical-align: bottom;
	background-color: 	#68D5B3;   /* light aquamarine */
	color: 			navy; 
	font-family: 	Tahoma, sans-serif;
	font-size: 		8pt; 
	font-weight: 	bold;
	white-space: 	nowrap;
	padding:		0;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2;
}

td.headerChant3 {	/*  Sri Lankaramaya Buddhist Temple */
	text-align: 	center; 
	vertical-align: bottom; 
	background-color: 	#E7BDD3; /* light lavender, matches web site lotus */
	color: 			navy; 
	font-family: 	Tahoma, sans-serif;
	font-size: 		8pt;
	font-weight: 	bold;
	white-space: 	nowrap;
	padding:		0;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2;
}

td.subheaderPaliChants {
	text-align:		center; 
	vertical-align: middle;
	background-color:	wheat; 
	color:			darkslateblue;
	font-family: 	Tahoma, sans-serif;
	font-size:		small; 
	font-weight:	normal;
	font-style:		normal;
	letter-spacing:	1px;	/* given small, sans-serif font, add space b/w letters */
	padding:		4pt 2pt 4pt 2pt;
	border:			1pt solid white;
	white-space: 	nowrap;
}

td.recordingChant1 {
	text-align:		center; 
	vertical-align:	middle; 
	background-color:		lightsalmon; 
	color:			darkslategray; 
	font-family:	"Times New Roman";
	font-size:		small;
	font-weight:	normal;
	font-style:		normal;
	border:			none;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2; 
}

td.recordingChant2 {
	text-align:		center; 
	vertical-align:	middle; 
	background-color:		#6ED5B3; 
	color:			darkslategray; 
	font-family:	"Times New Roman";
	font-size:		small;
	font-weight:	normal;
	font-style:		normal;
	border:			none;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2; 
}

td.recordingChant3 {
	text-align:		center; 
	vertical-align:	middle; 
	background-color:		#E7BDD3; 
	color:			darkslategray; 
	font-family:	"Times New Roman";
	font-size:		small;
	font-weight:	normal;
	font-style:		normal;
	border:			none;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2; 
}

td.recordingHalfLine1 {
	text-align:		center; 
	vertical-align:	top; 
	background-color:		lightsalmon; 
	color:			darkslategray; 
	font-family:	"Times New Roman";
	font-size:		small;
	font-weight:	normal;
	font-style:		normal;
	border:			none;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2;
	padding-top:	11pt;
}

td.recordingHalfLine2 {
	text-align:		center; 
	vertical-align:	top; 
	background-color:#6ED5B3; 
	color:			darkslategray; 
	font-family:	"Times New Roman";
	font-size:		small;
	font-weight:	normal;
	font-style:		normal;
	border:			none;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2;
	padding-top:	11pt;
}

td.recordingHalfLine3 {
	text-align:		center; 
	vertical-align:	top; 
	background-color:#E7BDD3;
	color:			darkslategray; 
	font-family:	"Times New Roman";
	font-size:		small;
	font-weight:	normal;
	font-style:		normal;
	border:			none;
	border-left:	1px solid #4EB592; 
	border-right:	1px solid #5EC5A2;
	padding-top:	11pt;
}

/*
 * glossary rules
 */

.glossary {
	text-align:		left;
	background-color:white; 
	color:			slategray; 
	font-size:		small;
	line-height:	100%; 	/* shrink default line height (=125% ?) */
	padding:		3pt;
	/* border-left:	2px solid lemonchiffon; - removed due to glossary-hide probs */
	/* border-right:2px solid lemonchiffon; - removed due to glossary-hide probs */
}

.glossary a {
	text-decoration:none;
}
	
/*
 * syllable markup
 */
 
.light {
	background-color: 	white;
	color: 				grey;
	font-weight: 		normal;
	font-size: 			large;
	white-space:		nowrap;	/* to handle endnotes attached to syllables */
	display:			'';		/* used to show & hide text */
}

.heavy {
	background-color: 	white;
	color: 				darkslategray;
	font-weight: 		bold;
	font-size: 			large;
	white-space:		nowrap;	/* to handle endnotes attached to syllables */
	display:			'';		/* used to show & hide text */
}
 
.lightWord { 
	color: 			grey;			/* allow various inheritable backgrounds */
	font-weight: 	normal;			/* inherit font-size */
	display:		'';				/* used to show & hide text */
}

.heavyWord {
	color: 			#0F0F0F;		/* allow various inheritable backgrounds */
	font-weight: 	bold;			/* inherit font-size */
	display:		'';				/* used to show & hide text */
}
 
.lightStress {
	vertical-align:	middle;
	color: 			grey;
	font-size: 		10pt;		/* this is specific to the "light stress" mark */
	font-weight: 	normal;
	padding-left:	6pt;
	padding-right:	6pt;
	display:		'';			/* used to show & hide text */
}

.heavyStress {
	vertical-align:	middle;
	color: 			darkslategray;
	font-size: 		12pt;		/* this is specific to the "heavy stress" mark */
	font-weight: 	bold;
	padding-left:	6pt;
	padding-right:	6pt;
	display:		'';			/* used to show & hide text */
}

.dot {							/* this is the intra-word syllable separator */
	color: 			grey;		/* allow various inherited backgrounds */
	font-size: 		10pt;		/* this is specific to the inter-syllable "dot" */
	padding-left:	1pt;
	padding-right:	1pt;
	display:		'';			/* used to show & hide text */
}

td.dot {
	background-color: 	white;		/* for Pali Text format, assert "white" bkgd */
	color: 			grey;
	font-size: 		10pt;
	display:		'';			/* used to show & hide text */
}

td.dotGanaEnd {
	background-color: 	white;
	color: 			grey;
	font-size: 		10pt;
	border-right: 	1px solid silver;
	display:		'';			/* used to show & hide text */
}

td.dash {					/* special rare case: a "hyphen" b/w Pali words */
	color:			grey;
	font-size: 		medium;
	font-weight:	normal;
	display:		'';		/* used to show & hide text */
}

td.dashGanaEnd {					/* special rare case: a "hyphen" b/w Pali words */
	color:			grey;
	font-size: 		medium;
	font-weight:	normal;
	border-right: 	1px solid silver;
	display:		'';			/* used to show & hide text */
}

.space {							/* this is a generic inter-word separator */
	color: 			grey;		/* allow various inherited backgrounds */
	font-size: 		small;
	padding-left:	1pt;
	padding-right:	1pt;
	display:		'';			/* used to show & hide text */
}

td.space {
	background-color: #FFD750;	/* for Pali Text format, use std page bkgd */
	font-size: 		medium; 	/* in case there's a dash, etc., in space */
	display:		'';			/* used to show & hide text */
}

/*
 * Notes section rules
 */
 
table.verseExcerpt {
	background-color:		whitesmoke;
	text-align:		center;	
	vertical-align:	middle;
	font-size:		90%;
	font-family:	Tahoma, sans-serif;
	margin:			12px 0px 12px 24px;
	border:			0.1px solid silver;
}

tr.verseExcerptHeaderTop {
	text-align:		center;
	background-color:		#D8DFDF;  /* dimish gray */
	font-family:	Tahoma, sans-serif;
	padding-right:	5pt;
	padding-left:	5pt;
}

td.verseExcerptHeaderLeft {
	text-align:		right;
	background-color:		#E8E8DF;  /* light-light gray */
	font-family:	Tahoma, sans-serif;
	padding-right:	5pt;
	padding-left:	5pt;
}

td.verseExcerptGana {
	border-right:	solid 1px silver;
	white-space:	nowrap;
}