* {margin:0;padding:0;box-sizing:border-box}
html, body {font-size:16pt}

a {text-decoration:none;color:#333}

.header, header, .footer, footer {height:50px;padding:10px;background:#333;color:#fff;text-align:center;position:relative;	font-family:Avenir, Helvetica}

.header, header {position:relative}

.header a, header a, .footer a, footer a {color:#fff}

header .prev, 
header .next,
header .home,
footer .home,
footer .prev, 
footer .next,
.header .prev, 
.header .next,
.header .home,
.footer .home,
.footer .prev, 
.footer .next {font-family:Arial;position:absolute;width:40px;height:50px;display:block;font-size:30px;padding-top:4px;z-index:1}
header .home,
footer .home,
.header .home,
.footer .home {top:0;left:0px;width:50px;background-position-y:-100px}

header .prev,
footer .prev,
.header .prev,
.footer .prev {width:45px;top:0;right:45px;padding:8px;background-position-y:-50px}
header .next,
footer .next,
.header .next,
.footer .next {width:40px;top:0;right:5px;padding:8px}


[dir=rtl] header .prev,
[dir=rtl] footer .prev,
[dir=rtl] .header .prev,
[dir=rtl] .footer .prev {right:auto;left:5px}
[dir=rtl] header .next,
[dir=rtl] footer .next,
[dir=rtl] .header .next,
[dir=rtl] .footer .next {right:auto;left:45px}
[dir=rtl] header .home,
[dir=rtl] footer .home,
[dir=rtl] .header .home,
[dir=rtl] .footer .home {left:auto;right:5px}


header .name,
.header .name {position:absolute;top:8px;left:0;width:100%;font-size:12pt;text-align:center;color:#eee}
header .location,
.header .location {position:absolute;bottom:8px;left:0;width:100%;font-size:14px;text-align:center;color:#fff}
/*
header .home {display:none}
*/



/* main index of all texts/versions */

.texts-index .name {font-size:14pt;padding-top:5px;display:block}


.texts-index-list {width:100%;border-collapse:collapse}
.texts-index-list td, .texts-index-list th {padding:5px;	vertical-align:top}

.texts-index-list tr th {width:50%;font-weight:bold;text-align:right;padding-right:10px}
.texts-index-list tr td {}

.texts-index-list tr:hover {background-color:#ccc}


.texts-index-list .texts-index-header th {background-color:#2a85e8;color:#fff;text-align:center}

/* index of books in a version */
.text-index .name {font-size:14pt;padding-top:5px;display:block}


/* book index */
.division-index .name {font-size:14pt;padding-top:5px;display:block}

.division-list li {	border-bottom:1px solid #ddd}
.division-list li a {display:block;padding:8px}
.division-list li:hover {background-color:#ccc}
.division-list li.division-list-header {background-color:#2a85e8;color:#fff;text-align:center;padding:5px}

/* chapter index */


.section-list li {	border-bottom:1px solid #ddd}
.section-list li a {display:block;padding:5px}
.section-list li:hover {background-color:#ccc}
.section-list li.book-list-header {background-color:#2a85e8;color:#fff;text-align:center;padding:5px}



/* docuemnt */
.section-document .name,
.section-document .location {font-size:10pt}

.section {padding:20px;font-size:14pt;font-family:Cambria, Times}



.footnotes {margin:1em;border-top:1px solid #666;padding-top:1em;font-size:0.8em}
.footnotes .footnote {margin-bottom:1em;padding-left:1.1em;
position:relative;display:block}
.footnotes .footnote .key {position:absolute;top:0.25em;left:0;width:10px;font-size:0.6em;	display:block;text-align:right}
.footnotes .footnote .backref  {color:#2a85e8;display:inline-block;padding-right:0.5em}


/* BIBLE.css *
/* fonts */
@font-face {font-family:'GentiumPlus';
    src:url('fonts/gentiumplus-r-webfont.eot');
    src:url('fonts/gentiumplus-r-webfont.eot?#iefix') format('eot'),
         url('fonts/gentiumplus-r-webfont.woff') format('woff'),
         url('fonts/gentiumplus-r-webfont.ttf') format('truetype'),
         url('fonts/gentiumplus-r-webfont.svg#webfontVIEluHTz') format('svg');font-weight:normal;font-style:normal}


@font-face {font-family:'EzraSILRegular';
    src:url('fonts/sileot-webfont.eot');
    src:url('fonts/sileot-webfont.eot?#iefix') format('eot'),
         url('fonts/sileot-webfont.woff') format('woff'),
         url('fonts/sileot-webfont.ttf') format('truetype'),
         url('fonts/sileot-webfont.svg#webfontVIEluHTx') format('svg');font-weight:normal;font-style:normal}

/* book name */
/*
.mt {display:block;text-align:center;font-size:2em;margin:1.2em 0}
*/




/* main bible verse, text formating */
.section, 
.chapter	{line-height:1.8}
.section p, 
.section div.p, 
.chapter div.p {text-indent:1em}

.section ins                                                {text-decoration:none;font-style:italic}
.chapter-num                                                {float:left;font-size:2em;line-height:1;margin:0 .25em .5em 0}
.chapter-num + p                                            {text-indent:0}
.chapter[dir=rtl] .chapter-num                              {float:right;margin:0 0 .5em .5em}
.verse-num, .v-num                                          {font-weight:bold;font-size:70%;vertical-align:top;color:#333; font-family:avenir, helvetica}

[lang=heb], 
.section[lang=he] .p, 
.section[lang=heb] .p, 
.chapter[lang=he] .p
.chapter[lang=heb] .p { font-family:'SBL Hebrew', 'Ezra SIL', EzraSILRegular !important; font-size:125%}

[lang=gre],
[lang=grc], 
.section[lang=grc] .p, 
.section[lang=gre] .p, 
.chapter[lang=grc] .p,
.chapter[lang=gre] .p {font-family:'Gentium', GentiumPlus !important}


/*
.chapter h3, .chapter .c {font-weight:bold;line-height:1.4;margin:1.5em 0 0.5em 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}
.chapter .note .key:hover,.chapter .cf.key:hover            {color:#fff;background:#3333cc}
.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:#3333cc}

.text .notetype { font-weight:bold; font-style:italic}


.bibleref {color:#7491CE;cursor:pointer}

.bibleref:hover {text-decoration:underline}


/* Gospels red letters */
.woc, .wj {color:#aa0000}


.chapter .note .text,.chapter .cf .text,
#search-results .note,#search-results .cf                   {display:none}

/* special display for Psalms */
span[class^='verse PSA_']                                    {display:block}



/* most books */
.section .c, 
.section .chapter-num,
.section .c-num {float:left;font-size:2.0em;line-height:1;font-weight:bold;margin-top:0;margin-bottom:0;margin-right:0.2em;font-family:avenir, helvetica}
[dir=rtl] .c,
[dir=rtl] .section .chapter-num,
[dir=rtl] .section .c-num {float:right;margin-right:0em;margin-left:0.2em}


div.c + div.p,
.chapter-num + div.p {text-indent:0 !important}
div.c + div.q {clear:both}
.v-1 {display:none}

/* Psalms */
.PS .c {font-size:1.2em;margin-top:2.0em;text-align:center;float:none}
.PS .v-1 {display:inline}
div.c + div.q .v-1{display:inline}




div[lang="heb"] .c {float:right;margin-right:0;margin-left:0.2em}

div[lang="heb"] {font-family:'Ezra SIL', 'SBL Hebrew';direction:rtl;text-align:right}

div[lang="heb"] div.p {direction:rtl;text-align:right}


h3.is1, 
div.s, 
div.is1 {color:#333;font-weight:bold}

.PS .s, .PS .ms {text-align:center}

.q {padding-left:3em  !important;text-indent:-1.5em !important;position:relative}

.q2 {padding-left:4em  !important;text-indent:-1.5em !important;position:relative}
.q .verse-num,
.q .v-num {position:absolute;display:block;width:2em;text-align:right;top:0;left:0}
.qs {text-align:right;font-style:italic}

.c + .p,
.c + p {margin-top:0;text-indent:0}

.d {font-size:0.8em;text-align:center}



/* USFM */
.mt {display:block;text-align:center;font-size:2.0em;margin-top:3.0em;margin-bottom:1.0em;line-height:1.2}
.mt2, .mt3 {display:block;text-align:center;font-size:1.4em;margin-top:3.0em;line-height:1.2}
.mt2 + .mt, .mt3 + .mt, .mt2 + .mt3{margin-top:0em}
