/* main bible verse, text formatting */
.section, .chapter {line-height: 1.8}
.compact-ui .section, .compact-ui .chapter {line-height: 1.5}

.section p,
.section div.p,
.chapter div.p {
	text-indent: 1em;
	margin: 0;
	text-align: justify;
}

.section ins {
	text-decoration: none;
	font-style: italic;
}

.chapter-num {
	float: inline-start;
	font-size: 2em;
	line-height: 1;
	margin: 0 .25em .5em 0;
}

.chapter-num + p {
	text-indent: 0;
}

/* notes and cross references */
.note,
.cf {
	display: inline;
}

.note .key,
.cf .key {
	vertical-align: top;
	font-size: 60%;
	font-weight: normal;
	font-style: normal;
	color: #7491CE;
	cursor: pointer;
	display: inline;
	text-decoration: none;
}

:is(.note, .cf) + :is(.note, .cf) {
	padding-left: 0.20em;
}


	.compact-ui .note  +.note,
	.compact-ui .note + .cf,
	.compact-ui .cf + .note,
	.compact-ui .cf + .cf {
		padding-left: 0.50em;
	}


.chapter .note .key:hover,
.chapter .cf.key:hover {
	color: #fff;
	background: #33C;
}

.chapter .note .text,
.chapter .cf .text {
	display: none;
}

.document-footer .cf .key,
.document-footer .note .key {
	display: inline;
	vertical-align: top;
	font-size: 8px;
	font-weight: bold;
	color: #33C;
}

.text .notetype {
	font-weight: bold;
	font-style: italic;
}

.bibleref
/*, .xt */{
	color: #7491CE;
	cursor: pointer;
}

.bibleref:hover
/* ,.xt:hover */ {
	text-decoration: underline;
}

/* Gospels red letters */
.woc,
.wj {
	font-style:normal!important;
	color: #A00;
}

.yhwh,
.nog {
	font-variant: small-caps;
}

.chapter .note .text,
.chapter .cf .text,
#search-results .note,
#search-results .cf {
	display: none;
}

/* most books */

.section .chapter-num,
.section .c-num,
.section .c {
	float: inline-start;
	font-size: 2.4em;
	line-height: 1;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
	margin-inline-end: .15em;
	padding-top: 0.1em;
	font-family: CharisSILW, avenir, helvetica;
}

:is(.c, .c-num, .chapter-num) + :is(.p, p) {
	text-indent: 0!important;
}

.v-num,
.verse-num {
	display: inline-block;
	color: #333;
	font-family: CharisSILW, avenir, helvetica;
	font-weight: bold;
	font-size: 70%;
	text-indent: 0;
	vertical-align: top;
}

.v-1 {
	display: none;
}

/* Psalms */
.PS .c {
	margin-inline-end: 1ch;
	width: 0;
	direction: rtl;
}

.PS .c.psa {
	font-size: 1.2em;
	margin-top: 2em;
	text-align: center;
	float: none;
}

.c:has(+ .p, + p) {
	width: auto;
	margin-inline-end: 0;
}

.PS .c.psa + div:is(.q, .q1, .q2, .qc) {
	clear: both;
}

.PS .c.psa + div:is(.q, .q1) > .v-1 {
	display: inline;
}

.v {
	padding: .3em 0;
}

.section[lang=he] .p,
.chapter[lang=he] .p,
.section[lang=heb] .p,
.chapter[lang=heb] .p {
	font-size: 125%;
}


.windows-container [lang=he],
.windows-container [lang=heb] {
	font-family: 'SBL Hebrew', EzraSIL;
}


.windows-container [lang=grc],
.windows-container [lang=ell],
.windows-container [lang=el] {
	font-family: GentiumPlus, 'Gentium Plus';
}


h3.is1,
div.s,
div.s1,
div.is1 {
	color: #333;
	font-weight: bold;
	margin-top: 1em;
}

/*
.PS .s,
.PS .s1,
*/
div.s,
div.s1,
.PS .ms {
	text-align: center;
}

.d {
	font-size: .8em;
	font-style: italic;
	line-height: 1.2;
	text-align: center;
	margin-bottom: 0.2em;
}

.d:first-child {
	margin-top: 2em;
}

.q, .q1 {
	padding-left: 3em!important;
	text-indent: -1.5em!important;
	position: relative;
}

.q2 {
	padding-left: 4em!important;
	text-indent: -1.5em!important;
	position: relative;
}

:is(.q, q1) :is(.verse-num, .v-num) {
	position: absolute;
	width: 2em;
	text-align: end;
	top: 0;
	left: 0;
}

.qa {
	font-style: italic;
	text-align: center;
}

div:has(+ .qs) {
	display: inline-block;
	margin-bottom: 1em;
}

.qs {
	font-style: italic;
	float: inline-end;
	margin-left: 2em;
	text-align: end;
	color: #777;
}

.c + .p,
.c + p {
	margin-top: 0;
	text-indent: 0;
}

/* USFM */
.mt,
.mt1 {
	display: block;
	text-align: center;
	font-size: 2em;
	margin-top: 3em;
	margin-bottom: 1em;
	line-height: 1.2;
}

.mt2,
.mt3,
.mt4 {
	display: block;
	text-align: center;
	margin-top: 3em;
	line-height: 1.2;
}

.mt2 {
  font-style: italic;
  font-size: 1.4em;
}

.mt3 {
  font-size: 1.2em;
}

.mt4 {
  font-size: 1.0em;
  line-height: 1.5;
}

:is(.mt, .mt1, .mt2, .mt3, .mt4) + :is(.mt, .mt1, .mt2, .mt3, .mt4) {
	margin-top: 0;
}

/* introduction */
.is {
	margin-top: 1em;
	text-align: center;
}

.ip {
	line-height: 1.4;
	font-size: .9em;
	text-indent: 1.5em;
}

/* commentaries */
.comm-v-num {
	font-weight: bold;
	display: block;
	margin: 3em 0 0;
}

.commentary {
	line-height: 1.5;
	font-size: .9em;
}

/* **** */

.r {
	font-size: 1em;
	font-style: italic;
	line-height: 1.2;
	text-align: center;
}

.r:first-child {
	margin-top: 2em;
}

.pc {
  text-align: center;
}

.add {
  font-style: italic;
}

.it {
  font-style: italic;
}

.bd {
  font-weight: bold;
}

.bdit {
  font-weight: bold;
  font-style: italic;
}

.sc {
  font-variant: all-small-caps;
}

.sd,
.sd1 {
  margin-top: 6rem;
}

.sd2 {
  margin-top: 3rem;
}

.sd3 {
  margin-top: 2rem;
}

.sd4 {
  margin-top: 1rem;
}
