html:not(.dark)
{
   --button-opacity: 1;
   --highlight-opacity: 0.25;
   --color-god-speak: hsl(240, 100%, 78%);
   --color-jesus-speak: hsl(0, 100%, 69%);
   --placeholder-intensity: 0;

   --placeholder-color: rgba(0, 0, 0, 0.25);
   --placeholder-color: rgba(255, 255, 255, 0.5);
   
   background-color: var(--html-background-color);
}
html.dark
{
   --button-opacity: 1;
   --highlight-opacity: 0.25;
   --color-god-speak: hsl(240, 100%, 78%);
   --color-jesus-speak: hsl(0, 100%, 69%);
   --placeholder-intensity: 255;
   --placeholder-color: rgba(255, 255, 255, 0.5);

   xxxbackground-color: var(--html-background-color-dark);
   background: var(--html-background-color-dark);
}

body
{
   margin: var(--body-margin);
   font-family: var(--default-font);
   font-size: var(--body-font-size);
}
html.georgia body
{
   font-family: var(--georgia-font);
}

body::before
{
   content: "";
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   height: 1px;
   background: var(--status-color);
   z-index: 2147483647;
   pointer-events: none;
}

section.editor
{
   position: relative;
   background-color: var(--note-background-color);
   font-size: var(--input-text-font-size);
}
section.editor:not(.full)
{
   height: var(--section-height);
}
section.editor.full
{
   height: calc(100% - var(--header-height) - var(--gap)) !important;

   position: absolute;
   width: 100%;
   height: 100% !important;
   top: 0px;
   z-index: 1;

   z-index: 3;
}
section.editor.blur:not(".__invisible")
{
   filter: grayscale(0.5);
}
section.editor.blur .blurs
{
   opacity: 0.25;
}
section.editor table
{
   word-break: break-word;
}
section.editor td
{
   padding: 0px;
   vertical-align: middle;
}

html:not(.inline) div.note
{
   display: none;
}
body.audio-playing div.note
{
   display: none;
}
div.note, div.verses > div.strongs
{
   --height: calc(var(--device-height) * 0.5);
   --heading-height: 2.5em;
   --heading-height: 1.5em;

   --size: 30px;
   --radius-1: calc(var(--size) * 0.5);
   --radius-2: calc(var(--radius-1) * 0.5);
   --border-width: 1px;
   --border-style: solid;

   background-color: var(--note-background-color);
   color: black;
   min-height: calc(3em + var(--heading-height));
   max-height: var(--height);
   font-size: var(--user-font-size) !important;

   border-width: var(--border-width) !important;
   border-style: var(--border-style);
   border-color: hsla(0, 0%, 100%, 0.5);
   border-radius: var(--radius-2);
   border-top-left-radius: var(--radius-1);
}
div.verses > div.strongs
{
   overflow-y: scroll;
   
   margin-top: 4px;
}
div.note div.ql-editor
{
   max-height: calc(var(--height) - var(--heading-height));
}
div.inlineHeading
{
   --padding-top: 0.5em;
   --padding-top: 0px;

   font-weight: bold;
   padding-top: var(--padding-top);
   background-color: hsla(0, 0%, 100%, 0.5);

   border-top-right-radius: var(--radius-2);
   border-top-left-radius: var(--radius-1);
}
div.ql-editor.special::-webkit-scrollbar-thumb
{
   background-color: black;
}
div.ql-editor.special:not(.scrolling)::-webkit-scrollbar-thumb
{
   background-color: hsla(0, 0%, 0%, 0.25);
}
div.note a
{
   text-decoration-color: hsla(0, 0%, 0%, 0.25);
   color: inherit;
}

#tdEditor
{
   vertical-align: top;
   position: relative;
   width: 100%;
   height: 100%;
   display: block;
   overflow-x: hidden;
}
#trEditorHeading
{
   height: 2rem;
   line-height: 150%;
   
   background: hsla(0, 0%, 100%, 0.5);
}
#tdEditorHeading
{
   font-size: 2rem !important;
   padding: var(--gap) 0px;
}
#divEditor
{
   font-size: var(--user-font-size);
   width: 100%;
   height: calc(100% - var(--editor-margin-top));
   bottom: 0px;
   position: absolute;
}

main
{
   --margin: var(--gap);

   width: calc(100% - (var(--margin) + var(--scrollbar)));
   height: calc(100% - (var(--margin) * 2));
   height: 100%;
   padding: 0px var(--scrollbar) 0px var(--margin);
   overflow-x: hidden;
   overflow-y: scroll;
   position: relative; /* Necessary for scrollBy function to work */
   position: fixed;
}
main.no-scroll
{
   overflow-y: hidden;
   padding: 0px var(--margin) !important;
}
main > table
{
   table-layout: fixed;
}
main.edit div.fill
{
   height: var(--main-height);
}
main.edit
{
   overflow-y: hidden;
   background-color: rgba(0, 0, 0, 0.75);
}
main.edit div.cover,
body.menu-active div.cover,
body.link-menu-active div.cover,
body.summary-edit div.cover
{
   z-index: calc(var(--body-z-index) + 1);
}
body.menu-active div.cover,
body.link-menu-active div.cover,
body.summary-edit div.cover
{
   background-color: hsla(0, 0%, 0%, 0.5);
}
div.cover
{
   position: fixed;
   width: 100%;
   height: 100%;
   left: 0px;
   top: 0px;
   z-index: calc(var(--body-z-index) - 2);
}

/*body.touch main div.heading span.heading
{
   opacity: 0.25;
}*/

html.dark main #divVersesContainer > div:not(.parallel) > p, 
html.dark main #divVersesContainer > div.parallel > p, 
html:not(.dark) main #divVersesContainer > div > p.selected, /* #highlight */
html.dark div.summary, 
html.dark spud.outline
{
   --shadow-color: hsla(0, 0%, 0%, 0.5);
   --outline-text-color: white;

   color: white;
}
spud.outline span
{
   color: var(--outline-text-color);
}
html.dark main #divVersesContainer > div.parallel > p, 
html.dark main #divVersesContainer > div.parallel > div.summary,
html.dark main #divVersesContainer > div.parallel > spud.outline
{
   x--shadow-color: hsla(0, 0%, 100%, 0.5);
}
main #divVersesContainer > div.parallel > div:nth-child(1)
{
   padding-top: 1em;
}
html:not(.dark) main #divVersesContainer > div > p,
html:not(.dark) div.summary,
html:not(.dark) spud.outline
{
   color: hsl(0, 0%, 20%);
}
html:not(.dark) div.summary,
html:not(.dark) spud.outline
{
   --shadow-color: hsla(0, 0%, 0%, 0.85);

   color: white;
}
main #divVersesContainer > div > p
{
   font-size: var(--user-font-size) !important;
   line-height: 150% !important;
   text-align: justify;
   margin-block-start: 0px;
   margin-block-end: 0px;
   position: relative;
   padding: 0 4px;
}
/* Allow hyphens for verses that look too spaced in text-align = justify mode */
main #divVersesContainer > div > p[data-verse="Rom1:31"]
{
   hyphens: auto; /* Combined with lang="en" on main element in content.php */
}
main #divVersesContainer > div > p:first-child
{
   margin-block-start: 0px;
}
main #divVersesContainer > div > p:last-child
{
   margin-block-end: 0px;
}
div.summary, spud.outline
{
   --x: 0;
   --y: 50%;

   font-size: 0.8rem !important;
   line-height: 125% !important;
   text-align: center;
   position: relative;
   padding: 0 4px;
   letter-spacing: 0.2em;
   word-spacing: 0.2em;
   text-transform: uppercase;
   opacity: 0.5;
   margin-block-start: 1em;
   margin-block-end: 1em;

   background-size: cover;
   background-repeat: no-repeat;
   opacity: 1;
   padding: 1em 0;
   margin: 0;
   background-position: var(--x) var(--y);

   margin: 0 -8px;

   user-select: none;
   
   z-index: 0;
}
html.landscape div:not(.parallel) > div.summary
{
   --x: -4px;
}
html.landscape div.parallel > div.summary
{
   --x: 2px;
}
/*xxxdiv.summary::before
{
   content: "";
   display: inline-block;
   position: absolute;
   
   border-radius: 1em;
   background: linear-gradient(0deg, hsl(200, 25%, 7%), hsl(200, 25%, 21%), hsl(200, 25%, 35%));
   width: calc(100% - 3em);
   outline: 1px solid white;
   z-index: -1;
}*/
html.summary-images div.summary::after
{
   background-image: url(../images/favicon.png) !important;
   
   xxxleft: 15px;
   xxxheight: 100%;
   xxxtop: 0;
}
div.summary::after
{
   xxxbackground-image: url(../mp4/favicon.webp);
   background-image: url(../mp4/favicon200.webp);
   background-image: url(../images/favicon.png) !important;
   background-size: contain;
   background-repeat: no-repeat;
   content: "";
   display: inline-block;
   position: absolute;
   width: 80%;
   height: 80%;
   left: 20px;
   top: 7px;
   opacity: 0.5;

   opacity: 0.25;
   z-index: 0;

   width: 100%;
   height: calc(14px + 100%);
   top: -7px;
   opacity: 1;
   xz-index: -1;
   
   --drop-shadow-1: drop-shadow(0px 0px 3px var(--shadow-color));
   filter: var(--drop-shadow-1) var(--drop-shadow-1);
}
/* body.audio-playing spud.outline, */
body.audio-playing div.summary
{
   xxxanimation: animate-audio-playing 1s ease-in forwards;

   height: 2px !important;
   padding: 0 !important;
   overflow: hidden;
   width: 200%;
   left: -50%;

   height: 0px !important;
}
@keyframes animate-audio-playing
{
   0%
   {
      transform: translateX(0);
      opacity: 1;
      height: auto;
      padding: 1em 0;
   }
   99%
   {
      xheight: inherit;
      xpadding: 1em 0;
      xopacity: inherit;
      opacity: 1;
      height: auto;
      padding: 1em 0;
   }
   100%
   {
      transform: translateX(-100%);
      height: 0;
      padding: 0;
      opacity: 0;
   }
}
spud.outline
{
   display: block;
   font-weight: bold;
}
div.summary span:first-child
{
   --border-radius-1: 1em;
   --border-radius-2: calc(var(--border-radius-1) * 4);

   border-radius: var(--border-radius-1);
   padding: 0.5em;
   z-index: -1;
   display: inline-block;
   width: calc(100% - 3em);
   position: relative;
   color: transparent;
   
   outline: 1px solid white;
   padding-bottom: 1.5em;
   padding-top: 0;
   background: linear-gradient(0deg, hsl(200, 25%, 7%), hsl(200, 25%, 21%), hsl(200, 25%, 35%));
   background: var(--html-background-color-dark);
   background: hsla(0, 0%, 0%, 0.5);
   margin-top: 0em;
   margin-bottom: -2em;
   
   outline: 3px solid wheat;
   outline-style: ridge;
   outline: 3px ridge hsla(0, 0%, 100%, 0.95);
   
   padding-bottom: 2em;
   
   border-top-left-radius: var(--border-radius-2);
   
   outline-color: var(--outline-color);
}
body[data-bible-group=Ge] div.summary span:first-child,
body[data-bible-group=Ge] spud.outline span
{
   --outline-color: hsl(0, 100%, 50%);
}
body[data-bible-group=Josh] div.summary span:first-child,
body[data-bible-group=Josh] spud.outline span
{
   --outline-color: hsl(30, 100%, 50%);
}
body[data-bible-group=Job] div.summary span:first-child,
body[data-bible-group=Job] spud.outline span
{
   --outline-color: hsl(55, 100%, 50%);
   --outline-text-color: black;
}
body[data-bible-group=Isa] div.summary span:first-child,
body[data-bible-group=Isa] spud.outline span
{
   --outline-color: hsl(100, 100%, 40%);
}
body[data-bible-group=Hos] div.summary span:first-child,
body[data-bible-group=Hos] spud.outline span
{
   --outline-color: hsl(165, 100%, 40%);
}
body[data-bible-group=Mat] div.summary span:first-child,
body[data-bible-group=Mat] spud.outline span
{
   --outline-color: hsl(195, 100%, 50%);
}
body[data-bible-group=Acts] div.summary span:first-child,
body[data-bible-group=Acts] spud.outline span
{
   --outline-color: hsl(225, 100%, 55%);
}
body[data-bible-group=Rom] div.summary span:first-child,
body[data-bible-group=Rom] spud.outline span
{
   --outline-color: hsl(265, 100%, 60%);
}
body[data-bible-group=Jas] div.summary span:first-child,
body[data-bible-group=Jas] spud.outline span
{
   --outline-color: hsl(300, 100%, 50%);
}
body[data-bible-group=Rev] div.summary span:first-child,
body[data-bible-group=Rev] spud.outline span
{
   --outline-color: hsl(335, 100%, 50%);
}
div.summary span:nth-child(2), spud.outline span
{
   --drop-shadow-1: drop-shadow(0px 0px 0.5px var(--shadow-color));
   --drop-shadow-2: drop-shadow(0px 0px 10px var(--shadow-color));

   filter: 
      var(--drop-shadow-1) var(--drop-shadow-1) var(--drop-shadow-1) 
      var(--drop-shadow-1) var(--drop-shadow-1) var(--drop-shadow-1)
      var(--drop-shadow-2);
/*      var(--drop-shadow-2) var(--drop-shadow-2) var(--drop-shadow-2);*/
   xbackground: var(--shadow-color);
   border-radius: 1em;
   padding: 0.5em;
   xopacity: 0.75;

   display: inline-block;
   width: calc(100% - 3em);
   
   xoutline: 1px solid white;
   
   xbackground: linear-gradient(0deg, hsl(200, 25%, 7%), hsl(200, 25%, 21%), hsl(200, 25%, 35%));
   
   position: relative;
   
   z-index: 0;

   z-index: 1;
}
spud.outline span
{
   filter: none;
   xoutline: 3px ridge hsla(0, 0%, 100%, 0.95);

   border-top-left-radius: 4em;

   filter: drop-shadow(0px 0px 4px hsla(0 0% 0% / 0.5));
   border: 1px solid hsla(0 0% 0% / 0.5);
}
div.summary span:nth-child(2)
{
   margin-top: -100%;
   xmix-blend-mode: difference;
}
div.summary div
{
   position: absolute;
}
xxxdiv.summary div video
{
   width: 100%;
   height: 100%;
}
/*html.dark*/ spud.outline span
{
   background: hsla(0, 0%, 100%, 0.95);
   background-color: var(--note-background-color);
   
   background: var(--outline-color);
}
html.dark div.parallel > spud.outline span
{
   background: hsla(0, 0%, 100%, 0.5);
   background-color: var(--note-background-color);

   background: var(--outline-color);
}

html:not(.dark) main div.heading
{
   background: hsl(0, 0%, 15%) !important;
   color: black;
}
main div.heading
{
   color: white;
   background: hsl(var(--hue-red), var(--saturation-red), var(--lightness-red)) !important;
   background: hsl(var(--hue-color-raspberry), var(--saturation-color-raspberry), var(--lightness-color-raspberry)) !important;
   background: var(--html-background-color-medium) !important;
   background: hsl(0, 0%, 95%) !important;

   /*--hue: 0;
   --saturation: 0%;
   --lightness: 95%;
   background: 
      -webkit-linear-gradient(
         top, 
         hsla(var(--hue), var(--saturation), var(--lightness), 1.0) 0%, 
         hsla(var(--hue), var(--saturation), var(--lightness), 0.9) 100%) !important; */ /* #transparentHeader */
   xxxbackground: hsla(var(--hue), var(--saturation), var(--lightness), 0.8) !important;
   xxxbackdrop-filter: blur(10px);

   font-size: 2rem !important;
   line-height: 150% !important;
   text-align: center;

   blueredthemebackground: linear-gradient(90deg, 
      hsl(var(--hue-red), var(--saturation-red), var(--lightness-red)), 
      hsl(var(--hue-red), var(--saturation-red), var(--lightness-red)) 5%, 
      hsl(0, 0%, 95%) 25%, 
      hsl(0, 0%, 95%) 75%, 
      hsl(var(--hue-blue), var(--saturation-blue), var(--lightness-blue)) 95%,
      hsl(var(--hue-blue), var(--saturation-blue), var(--lightness-blue))) 
      !important;
}
main div.heading > *:not(hr):not(select):not(.select-wrapper)
{
   filter: var(--invert);
}
span.heading /* #redBookmark */
{
   filter: invert(0) !important;
}
span.heading > span /* #redBookmark */
{
   filter: var(--invert);

   position: relative;
}
div.heading.small span.heading > span
{
   top: -1px;
}
html:not(.dark) span.heading > span
{
   filter: invert(1);
}
main div.heading span.range
{
   opacity: 0.5;
   font-size: calc(0.5rem + 0.15em); /* Make the font a little bit bigger when scrolled down */
   margin-left: 0.5em;
   position: absolute;

   /* #bodge...
   width: fit-content;*/  /* fit-content no longer works since about September 2019 */
   width: 200px;
   text-align: left; /* ...#bodge */
   
   opacity: 0.75;
   visibility: hidden;
   
   width: 0px;
}
main div.heading span.range::before
{
   content: var(--range-text);
   display: inline-block;
   position: absolute;
   left: -2em;
   top: 0;
   visibility: visible;
   text-align: right;
   width: 4em;
   font-weight: bold;
   
   visibility: hidden;
}
main div.heading span.range::after
{
   content: "verses";
   display: block;
   position: absolute;
   left: 3em;
   top: 0;
   visibility: visible;
   font-size: 0.75em;
   xxxtext-transform: uppercase;

   visibility: hidden;
}

/*html.locked #tdChapter > div.heading > span.heading:after
{
   --original-size: 0.5em;
   --size: var(--original-size);
   --margin: var(--size);

   content: "";
   background-image: var(--lock-image);
   background-size: var(--size);
   display: inline-block;
   width: var(--size);
   height: var(--size);
   xxxvertical-align: text-top;
   position: absolute;
   xxxright: calc((var(--original-size) * 2) + var(--margin));
   right: -1em;
   xxxtop: var(--margin);
   top: var(--small-gap);
   opacity: 0.5;
}*/
/*html.locked #tdChapter > div.heading > span.heading:after*/
html.locked #tdChapter > div.heading:after
{
   --offset: 0.1em;
   --original-size: calc(1.5em - (var(--offset) * 2));
   --size: var(--original-size);

   content: "";
   background-image: var(--lock-image);
   display: block;
   position: absolute;
   opacity: 0.15;
   top: var(--offset);
   width: var(--size);
   height: var(--size);
   background-size: var(--size);
   left: calc(50% - (var(--size) * 0.5));
   filter: var(--invert);
}

/*html.locked body.lock #tdChapter > div.heading > span.heading:after
{
   --size: calc(var(--original-size) * 2);
   --margin: calc(var(--original-size) * 0.5);

   opacity: 1;
}*/
html.locked body.lock #tdChapter > div.heading:after
{
   --drop-shadow-match: drop-shadow(0px 0px 1px hsl(0, 0%, 95%));

   opacity: 1;
   filter: var(--invert) var(--heading-filter) !important;
}
html.locked body.lock span.heading
{
   xxxopacity: 0.5;
}

div.heading
{
   position: fixed;
   width: calc(100% - (var(--scrollbar) * 2));
   top: 0px;
   left: var(--scrollbar);
   left: 0px;
   padding: 0px var(--scrollbar);
   z-index: 1;

   z-index: 2;
}
div.heading.small
{
   background-color: var(--html-background-color);
}
html.dark div.heading.small
{
   background-color: var(--html-background-color-dark);
}
div.heading div.book, div.heading div.filter
{
   background-size: var(--size);
   position: absolute;
   width: var(--size);
   height: var(--size);
   top: var(--margin);
   z-index: 1;
   cursor: pointer;

   blueredthemeopacity: 0.85;
}
html:not(.dark) div.heading div.book, html:not(.dark) div.heading div.filter
{
   filter: none !important;
}
div.heading div.book
{
   --size: 1em;
   --margin: 0.25em;
   --bible-version: 'KJV';

   background-image: var(--book-image);
   xxxleft: calc(var(--margin) * 1.5);
   left: var(--margin);
   filter: var(--invert) var(--heading-filter) !important;

   filter: var(--invert) !important;
   xxxmix-blend-mode: multiply;

   blueredthemefilter: brightness(1) !important;
}
div.heading div.book::after
{
   content: var(--bible-version);
   position: absolute;
   left: 0;
   width: 100%;
   height: 1em;
   color: rgba(60, 60, 60, 1.0);
   filter: invert(0.6);
   font-size: 0.25em;
   font-weight: 800;
   text-transform: uppercase;
   line-height: 1em;
   text-align: center;
   pointer-events: none;
   letter-spacing: 0.15em;
   top: -3px;
}
div.heading div.filter
{
   --size: 1em;
   --margin: 0.25em;

   background-image: var(--search-image);
   right: var(--margin);
   text-align: center;

   blueredthemefilter: brightness(1) !important;
}
div.heading div.filter:hover
{
   /*KEEP animation: animate-transform 1s; */
}
@keyframes animate-transform
{
   0%
   {
      transform: rotate(0deg) scale(1);
      opacity: 1;
   }
   100%
   {
      transform: rotate(360deg) scale(0.65);
      opacity: 0;
   }
}
div.heading div.filter > div
{
   position: relative;
   width: calc(100% - 1px); /* This is so the character appears centered in the off-centred appearance of the image */
   height: 100%;
   display: none;
}
div.heading div.filter > div > div.part
{
   font-size: 0.25em;
   position: absolute;
   top: -100%;
   width: 100%;
}
div.heading div.filter > div > div.arrow
{
   background-image: url("../images/doublearrow.svg?version=2");
   background-size: var(--size);
   position: absolute;
   width: var(--size);
   height: var(--size);
   opacity: 0;
}
div.heading div.filter > div > div.arrow.F
{
   left: calc(var(--size) - 2px);
   top: -1px;
   opacity: 1;
}
div.heading div.filter > div > div.arrow.C
{
   left: -1px;
   top: calc(var(--size) - 2px);
   opacity: 1;
   transform: rotate(90deg);
}
#divHeadingSpacer
{
   height: 3rem;
   height: 3.5rem;
}
#divFindSpacer
{
   height: 3rem;
}
body.dictionary #divFindSpacer
{
   display: none;
}

span.text
{
   filter: var(--drop-shadow);
   text-overflow: ellipsis;
}

button:active, button:focus
{
   outline: none;
}

.special0::-webkit-scrollbar
{
   width: 0px !important;
   height: 0px !important;
}
.special::-webkit-scrollbar
{
   width: var(--scrollbar);
}
.special::-webkit-scrollbar-track-piece
{
   background: var(--html-background-color);
   background: none;
}
html.dark .special::-webkit-scrollbar-track-piece
{
   background: var(--html-background-color-dark);
   background: none;
}
.special::-webkit-scrollbar-thumb
{
   border-radius: var(--scrollbar);
   background-color: hsla(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
}
main:not(.scrolling):not(.touch).special::-webkit-scrollbar-thumb
{
   background-color: var(--color-no-scroll);
}
html:not(.dark) main:not(.scrolling):not(.touch).special::-webkit-scrollbar-thumb
{
   background-color: hsla(0, 0%, 0%, 0.25);
}
.special.transparent::-webkit-scrollbar-thumb
{
   background: none !important;
}
#divSearchHelp:not(.scrolling):not(.touch).special::-webkit-scrollbar-thumb
{
   background-color: var(--color-no-scroll);
}

.special-horizontal::-webkit-scrollbar
{
   height: var(--scrollbar);
}
.special-horizontal::-webkit-scrollbar-track-piece
{
   background: none;
}
html.dark .special-horizontal::-webkit-scrollbar-track-piece
{
   background: none;
}
.special-horizontal::-webkit-scrollbar-thumb
{
   border-radius: var(--scrollbar);
   background-color: hsla(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   background-color: hsl(223, 100%, 50%);
}
main div.find div.whitehead:not(.scrolling):not(.touch).special-horizontal::-webkit-scrollbar-thumb
{
   background-color: var(--color-no-scroll);
}
.special-horizontal.transparent::-webkit-scrollbar-thumb
{
   background: none !important;
}

html.dark #trLastUpdated
{
   color: white;
}
#trLastUpdated
{
   color: black;
   cursor: pointer;
}
#trLastUpdated td
{
   padding: var(--gap) 0px;
}
#trLastUpdated.hidden
{
   display: none;
}
#divLastUpdated
{
   text-align: center;
   font-size: 12px;
   xxxopacity: 0.5;

   /* This is some really nice CSS to make a div fit within the width of the display, else it shows a ... */
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   padding: 0px var(--gap);
   width: calc(100vw - (2 * var(--gap)));
   height: var(--emoji-img-height);
}
#divLastUpdated img, div.timestamp img, div.datestamp img
{
   height: var(--emoji-img-height);
   margin-bottom: calc(var(--emoji-img-height) * -0.25);
}
#spanLastUpdated
{
   letter-spacing: 0.2em;
   word-spacing: 0.2em;
   text-transform: uppercase;
}

#textareaClipboard
{
   width: 100px; /* Have to set an arbitrary value, else copied verses can disrupt layout of absolute positioned elements, like the div.menu */
   height: 0px;
   opacity: 0;
   cursor: var(--chat-cursor);
   /* The following settings allow for pasting in Gmail without having to select the Paste As Plain Text option */
   background: white;
   font-size: 13px;
   font-family: Verdana;
   white-space: pre;
   
   /* Fix bug with horizontal scrolling after a search */
   xxxoverflow: hidden;
   white-space: pre-wrap;

   /* Fix bug with height and overflow causing blank copied verse */
   position: fixed;
   left: 0;
   top: 0;
   width: 1px;
   min-height: 1px;
   opacity: 0;
   pointer-events: none;
   white-space: pre-wrap;
   overflow: visible;
   z-index: -1;
}

div.buttons
{
   position: fixed;
   bottom: 0px;
   z-index: 1;
   width: 100%;
   padding-top: 4px;
   pointer-events: none;
}
div.buttons li
{
   --size-li: calc(var(--height-button-img) + (var(--gap) * 2));
   width: var(--size-li);
   height: var(--size-li);
   pointer-events: auto; 
}
div.buttons li img
{
   --size-img: var(--height-button-img);
   width: var(--size-img);
   height: var(--size-img);
   margin: var(--gap) 0px;
}

.button
{
   border: 1px solid #404040;
   cursor: pointer;
   text-align: center;
   border-radius: 50%;
   background-color: hsla(201, 12.5%, 15%, 0.5);
   color: white;
}
.button.selected
{
   background-color: rgba(76, 143, 252, 0.75) !important;
}

li.button
{
   border: 1px solid rgba(255, 255, 255, 0.5);
   border-radius: 4px;
   background-color: hsla(201, 12.5%, 100%, 0.25);
   height: 27px;
}
li.button:not(.noChangeColor):hover
{
   background-color: rgba(76, 143, 252, 0.5) !important;
}
main div.find div.speech
{
   --size: calc(var(--input-height) - (var(--gap) * 2));

   position: absolute;
   height: calc(100% - (2 * var(--gap)));
   bottom: var(--gap);
   pointer-events: none;
   background-color: hsl(var(--hue-green), var(--saturation-green), var(--lightness-green));
   height: var(--input-height);
   width: 100%;
   bottom: 0px;
}
main div.find div.speech ul
{
   align-items: stretch;
}
main div.find div.speech li
{
   height: var(--size);
   xxxborder-radius: calc((var(--size) * 0.5) + 1px); /* Includes border */
   pointer-events: auto; 
   position: relative;

   padding: 0px var(--gap);
   font-size: 1rem;
   font-size: 1.25rem;

   border-radius: 0px;
   border: none;
   background: none;
   xwidth: 50%;

   margin: 0px; /* #centerBorder */

   xxxborder: 1px solid hsla(0, 0%, 100%, 0.75);
   border-radius: 4px;
   
   background: linear-gradient(90deg, hsla(0, 0%, 0%, 0.15), transparent);
   height: calc(100% - 4px);

   align-self: stretch;
   height: auto;
}
main div.find div.speech li:nth-child(1),
main div.find div.speech li:nth-child(2)
{
   width: 40%;
}
main div.find div.speech li:nth-child(3)
{
   width: 20%;
}
main div.find div.speech li:nth-child(2)
{
   border-width: 1px 0 1px 0;
}
main div.find div.speech li:first-child
{
   xborder-right: 0.5px solid white; /* #centerBorder */
}
main div.find div.speech li:last-child
{
   xborder-left: 0.5px solid white; /* #centerBorder - Make sure separator is aligned center above navigation Home button - otherwise Johnny Storm will notice */
}
main div.find div.speech li span
{
   margin-top: var(--medium-gap);
   xxxdisplay: inline-block;
   vertical-align: middle;
}
#liCatalogName span
{
   xxxmargin-top: 6px;
}
main div.find div.speech ul:last-child li
{
   xxxmargin-top: auto; /* This makes buttons align to bottom when I've made one of the buttons bigger than the others */
}
main div.find div.speech li /*>*/ img
{
   --img-size: calc(var(--size) * 0.5);
   --img-size: calc(var(--size) * 0.65);

   width: var(--img-size);
   height: var(--img-size);
   xxxmargin-top: calc((var(--size) - var(--img-size)) * 0.5);

   position: unset;
}
main div.find div.speech li /*>*/ img.bigger
{
   --img-size: var(--size);
}
main div.find div.speech li img.big
{
   --img-size: calc(var(--size) * 0.75);
}
main div.find div.speech .button
{
   opacity: 1;
}
main div.find div.speech .button img
{
   xxxopacity: 0.6;
   padding: 0px;
}
main div.find div.speech .button:hover img
{
   opacity: 1;
}
main div.find div.speech ul:nth-child(2)
{
   top: calc(50% - (var(--size) * 0.5));
   position: absolute;
   width: 100%;
}
main div.find div.speech ul:last-child
{
   --left: calc((var(--margin) * 3) + (var(--input-height) * 1));
   --left: var(--input-height);

   width: calc(100% - (var(--left) * 2));
   left: var(--left);
   padding: calc(var(--gap) - 1px) 0px;
   position: absolute;
}
main div.find div.speech li td:first-child
{
   width: 40px;
}

main div.find div.portion
{
   --size: calc(var(--input-height) - (var(--gap) * 2));

   position: absolute;
   height: calc(100% - (2 * var(--gap)));
   bottom: var(--gap);
   xxxpointer-events: none;
   background-color: hsl(var(--hue-orange), var(--saturation-orange), var(--lightness-orange));

/* #color    background: linear-gradient(to right, hsl(var(--hue-red), var(--saturation-red), var(--lightness-red)) 0%, hsl(var(--hue-orange), var(--saturation-orange), var(--lightness-orange)) 10%, hsl(var(--hue-orange), var(--saturation-orange), var(--lightness-orange)) 90%, hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow)) 100%);*/

   height: var(--input-height);
   width: 100%;
   bottom: 0px;
}
div.portion > ul
{
   xxx--left: calc((var(--margin) * 3) + (var(--input-height) * 1));
   --left: var(--input-height);

   width: calc(100% - (var(--left) * 2));
   left: var(--left);
   position: absolute;
   height: 100%;
}
div.portion > ul > li
{
   height: 100%;
   width: -webkit-fill-available;

   background: none;
   border: none;
   border-radius: 0px;

   background: linear-gradient(90deg, hsla(0, 0%, 0%, 0.15), transparent);
   border-radius: 4px;
   margin-top: 4px;
   height: calc(100% - 8px);
}
div.portion > ul > li:not(:last-child)
{
   xxxborder-right: 1px solid hsla(0, 0%, 100%, 0.5);
}
div.portion > ul > li td:first-child
{
   width: calc(var(--input-height) * 0.5);
   xxxdisplay: none;
   position: absolute;
}
div.portion > ul > li td:last-child
{
   font-size: 1rem;
   padding: 0px 4px;
   white-space: nowrap;
}
div.portion > ul > li img
{
   --height: calc(var(--input-height) * 0.9);

   position: unset;
   opacity: 0.25;
   
   margin-top: -4px;
}

main div.find div.whitehead
{
   --size: calc(var(--input-height) - (var(--gap) * 2));
   --left: var(--input-height);
   --black: hsl(var(--hue-black), var(--saturation-black), var(--lightness-black));

   position: absolute;
   height: calc(100% - (2 * var(--gap)));
   bottom: var(--gap);
   pointer-events: none;
   background-color: var(--black);
   height: var(--input-height);
   width: 100%;
   bottom: 0px;
   filter: invert(1);

   width: calc(100% - (var(--left) * 2));
   left: var(--left);
   overflow-x: scroll;
   overflow-y: hidden;
   
   border-left: var(--left) solid var(--black);
   border-right: var(--left) solid var(--black);
   left: 0;
}
main div.find div.whitehead li
{
   height: var(--size);
   pointer-events: auto; 
   position: relative;

   padding: 0px var(--gap);
   font-size: 1.25rem;

   border-radius: 0px;
   border: none;
   background: none;

   margin: 0px;

   border-radius: 4px;

   background: linear-gradient(90deg, hsla(0, 0%, 100%, 0.15), transparent);
}
main div.find div.whitehead li.active
{
   border: 1px solid hsl(0, 0%, 90%);
}
/*
main div.find div.whitehead li:nth-child(1)
{
   width: 20%;
}
main div.find div.whitehead li:nth-child(2)
{
   width: 20%;
}
main div.find div.whitehead li:nth-child(3)
{
   width: 20%;
}
main div.find div.whitehead li:nth-child(4)
{
   width: 20%;
}
main div.find div.whitehead li:nth-child(5)
{
   width: 20%;
}
*/
main div.find div.whitehead li:first-child
{
   xborder-right: 0.5px solid white;
}
main div.find div.whitehead li:last-child
{
   xborder-left: 0.5px solid white;
}
main div.find div.whitehead li span
{
   margin-top: var(--medium-gap);
   vertical-align: middle;
   
   font-size: 0.84rem;
}
main div.find div.whitehead ul:last-child li
{
   margin-top: auto; /* This makes buttons align to bottom when I've made one of the buttons bigger than the others */
}
main div.find div.whitehead li /*>*/ img
{
   --img-size: calc(var(--size) * 0.65);

   width: var(--img-size);
   height: var(--img-size);

   position: unset;
}
main div.find div.whitehead li /*>*/ img.bigger
{
   --img-size: var(--size);
}
main div.find div.whitehead .button
{
   opacity: 1;
}
main div.find div.whitehead .button img
{
   opacity: 0.6;
   padding: 0px;
}
main div.find div.whitehead .button:hover img
{
   opacity: 1;
}
main div.find div.whitehead ul:nth-child(2)
{
   top: calc(50% - (var(--size) * 0.5));
   position: absolute;
   width: 100%;
}
main div.find div.whitehead ul:last-child
{
   left: 0;
   padding: calc(var(--gap) - 1px) 0px;
   position: absolute;

   xoverflow-x: scroll;
   width: 150%;
   
   width: 100%;
}
main div.find div.whitehead li td:first-child
{
   width: 40px;
}

main div.find div.notes
{
   --size: calc(var(--input-height) - (var(--gap) * 2));

   position: absolute;
   height: calc(100% - (2 * var(--gap)));
   bottom: var(--gap);
   pointer-events: none;
   background-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   height: var(--input-height);
   width: 100%;
   bottom: 0px;
}

#tdInputSearch
{
   text-align: left;
}

#tdSearch
{
   width: 38px;
   background-color: hsla(var(--hue-search-blue), var(--saturation-search-blue), var(--lightness-search-blue), 1);
   border-radius: 0px;
   border-left: 0px solid transparent;
   border-right: 0px solid transparent;
}
#tdSearch img
{
   vertical-align: middle;
   pointer-events: none;
   width: 16px;
   height: 16px;
}
#tdSearchList
{
   background-color: rgba(76, 143, 252, 0.6);
   border-radius: 0px 23px 23px 0px;
   border-left: 0px solid transparent;
   width: 38px;
}
#tdSearchList.disabled2
{
   background-color: rgba(255, 70, 70, 1);
}
#tdSearchList img
{
   vertical-align: middle;
   pointer-events: none;
   width: 28px;
   height: 28px;
}
#selectSearchList
{
   position: absolute;
   margin: -4px 0 0 -32px;
   width: 36px;
   height: 36px;
   background-color: rgba(255, 0, 0, 0);
   opacity: 0;
   cursor: pointer;
}

img.filter
{
   width: 21px;
   vertical-align: middle;
}
#tdFilter
{
   background-color: hsla(201, 12.5%, 15%, 0.5) !important;
   border: 1px solid #404040 !important;
   border-radius: 23px 23px 4px 4px;
   border-radius: 23px 23px 23px 23px;
   width: 38px;
   width: 75px;
}
#tdFilter.filter
{
   background-color: rgba(76, 143, 252, 1) !important;
}
#tdFilter.wide
{
   border-radius: 23px 23px 4px 4px;
}

#tableSearch
{
   border-spacing: 0px;
   border-radius: 4px;
   padding: 2px;
   border: 1px solid rgba(255, 255, 255, 0.0);
}

::-webkit-input-placeholder
{
   color: var(--placeholder-color);
}
:focus::-webkit-input-placeholder
{
   xxxtransform: translate(-20%, -30%);
   transform: translate(-20%, -10%);
   transition: all 0.5s ease-in-out;
   xxxfont-size: calc(var(--font-size) * 0.5);
   font-size: calc(var(--font-size) * 0.75);
}
.spud:focus::-webkit-input-placeholder
{
   transform: translate(3%, -10%);
}

::-webkit-search-cancel-button
{
   -webkit-appearance: none; /* Hide the default X icon */
   height: 20px;
   width: 20px;
   background-image: url(../images/backspace.png);
   background-size: 20px 20px;
   opacity: 0.35;
}

.spacer
{
   width: 4px;
}

.baseline *
{
   vertical-align: baseline;
}
.baseline span
{
   font-family: var(--default-font);
}

span.number, span.subheading
{
   opacity: 0.65;
   font-size: 0.85em;
}
span.number
{
   display: inline-block;
   vertical-align: top;

   width: 2rem;
   font-size: 0.85rem;
   text-align: center;
   height: 50%;

   width: 2em;

   font-size: calc(var(--user-font-size) * 0.85 / 1.25);
}
xspan.number.before::before
{
   content: "\00a0";
}
xspan.number.after::after
{
   content: "\00a0";
}

span.number span
{
   position: absolute;
}
span.number,
span.number * {
   -webkit-user-select: none;
   user-select: none;
}

span.number.paragraph::after
{
   content: "\00b6";  /* pilcrow */
   position: absolute;
   font-size: 0.75em;
   left: 2px;
   top: -1px;
}
span.number.citation::before
{
   content: "\2022";  /* bullet */
   position: absolute;
   left: -6px;
}

main > div.gap
{
   height: calc(var(--header-height) + var(--header-margin));
}
main > div.gap.hidden
{
   display: none;
}

#tdChapter
{
   vertical-align: top;
}

.select-wrapper
{
   /* With assistance of JavaScript we dynamically shift the widths of the side-by-side book and chapter select elements */
   --size: var(--select-font-size);
   --margin: calc(var(--select-font-size) * 0.25);
   --mult: 1;
   --width-icon: calc((var(--size) + (var(--margin) * 2)) * var(--mult));
}

select.quote
{
   font-size: var(--select-font-size); /* This is necessary because the select element does not inherit font-size from div.heading - it would otherwise be 13.33px */
   font-size: 1rem;

   position: absolute;
   xtop: 0px;
   height: 100%;
   z-index: 1;

   background-color: rgba(255, 0, 0, 0.0);
   opacity: 0.0;
   cursor: pointer;

   color: transparent;
   border-top: none;
   border-bottom: none;
   border-left: none;
   border-right: 1px dashed black;
   border-right: none;
   border-radius: 8px;
   opacity: 1;
   
   bottom: 0px;
   height: 300%; /* Make the select value and dropdown arrow appear above the top of the display */
   xxxborder-bottom: 4px solid hsl(0, 0%, 0%, 0.55);
   
   width: 100%;
   height: 300px;
   position: relative;

   --border-color: hsl(0, 0%, 0%, 0.55);
   --border-color-2: hsl(0, 0%, 0%, 0.25);

   --border-color: hsl(0, 0%, 0%, 0.4);
   --border-color-2: hsl(0, 0%, 0%, 0.2);
   
   border-bottom: 2px solid var(--border-color);
   xborder-left: 0.5px solid var(--border-color-2);
   xborder-right: 0.5px solid var(--border-color-2);
   
   background: 
      linear-gradient(
         to bottom, 
         transparent 0,
         transparent 270px,
         hsla(0, 0%, 95%, 1)
      );
      
   appearance: none; /* Fixes webkit issue where down button was being forced upon us and not allowing the background */
}
html:not(.dark) select.quote
{
   filter: invert(1);
}
#selectGroup
{
   xborder-left: 1px solid var(--border-color);
}
#selectVerse
{
   xborder-right: 1px solid var(--border-color);
}

select.quote:focus
{
   color: black;
   xxxopacity: 0.0001;
   
   outline: none;
   box-shadow: none;
}
body:not(.select-verse) select.quote
{
   --width: calc(var(--select-quote-division) - var(--width-icon) - (var(--select-font-size) * 0.1));
}
/*body.select-verse select.quote*/
body.select-verse .select-wrapper
{
   --width: calc(var(--select-quote-division-book) - var(--width-icon) - (var(--select-font-size) * 0.1));
   --width: calc(var(--select-quote-division-book) - var(--width-icon));
   --width: calc(var(--select-quote-division-book) - (var(--width-icon) * 2) - 1.5px); /* 1.5px is to align with html background linear gradient */
   
   bottom: -12px;
}

.select-wrapper
{
   position: absolute;
   display: inline-block; /* shrink-wraps to select */
   bottom: 0;
   
   font-size: 2rem;
}
.select-wrapper::after
{
   content: var(--select-name);

   position: absolute;
   left: 0;
   bottom: 4px;

   width: 100%;
   height: 1em;

   xxxbackground: hsl(0, 0%, 95%);
   color: rgba(60, 60, 60, 1.0);
   filter: invert(0.6);

   font-size: 0.25em;
   font-weight: 800;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   line-height: 1em;
   text-align: center;

   pointer-events: none; /* important so select is still clickable */

   letter-spacing: 0.15em;
   
   bottom: 2px;
   
   z-index: 1;
   filter: none;
}
html:not(.dark) .select-wrapper::after
{
   filter: invert(1);
}
div.heading.small .select-wrapper::after
{
   xfont-size: 0.3em;
}
/*
.select-wrapper.select-chapter::after,
.select-wrapper.select-verse::after
{
   content: "\00a0" var(--select-name);

   text-align: left;
   font-size: 0.35em;
   bottom: 1px;
}
div.heading.small .select-wrapper.select-chapter::after,
div.heading.small .select-wrapper.select-verse::after
{
   font-size: 0.35em;
}
*/
/*
.select-wrapper::before
{
   content: var(--select-label) "\00a0\00a0";

   position: absolute;
   left: 0;
   bottom: 4px;

   width: 100%;
   height: 1em;

   color: rgba(60, 60, 60, 1.0);
   filter: invert(0.6);

   font-size: 0.25em;
   font-weight: 800;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   line-height: 1em;
   text-align: right;

   pointer-events: none;

   letter-spacing: 0.15em;
   
   bottom: 2px;
}
*/
/* Linear gradient border ... */
.select-wrapper::before
{
   --size: 2rem;
   
   content: "";
   position: absolute;
   left: 0;
   top: calc(300px - var(--size) - 6px);
   width: 100%;
   height: var(--size);
   pointer-events: none;
   --border-color: hsl(0 0% 0% / 0.2);
   background: /* Bottom: solid dark border 
      linear-gradient(var(--border-color), var(--border-color))
         bottom / 100% 2px no-repeat,*/

      /* Left: transparent at top, dark at bottom */
      linear-gradient(to bottom, transparent, var(--border-color))
         left / 1px 100% no-repeat,

      /* Right: transparent at top, dark at bottom */
      linear-gradient(to bottom, transparent, var(--border-color))
         right / 1px 100% no-repeat;
}
div.heading.small .select-wrapper::before
{
   --size: 1.35rem;
}
/* ... Linear gradient border */

/*#selectGroup*/
.select-group
{
   --select-name: "Group";
   
   xtop: 0px;
   left: 0px;
   width: var(--width-icon);
   z-index: 2;
   left: var(--width-icon);
}

/*#selectBook*/
.select-book
{
   --select-name: "Book";
   
   left: var(--width-icon);
   width: var(--width);
   xborder-bottom: 4px solid hsl(0, 0%, 0%, 0.55);
   left: calc(var(--width-icon) * 2);
}
/*#selectChapter*/
.select-chapter
{
   --select-name: "Chapter";
   
   xborder-bottom: 4px solid hsl(0, 0%, 40%);
}
body:not(.select-verse) #selectChapter
{
   right: var(--width-icon);
   width: calc(100% - (2 * var(--width-icon)) - var(--width));
}
/*body.select-verse #selectChapter*/
body.select-verse .select-chapter
{
   left: calc(50% - 1.5px); /* 1.5px is to align with html background linear gradient */
   width: calc((100% - (2 * var(--width-icon)) - var(--width)) * 0.5);
   width: calc((100% - (3 * var(--width-icon)) - var(--width)) * 0.5);
}
/*body.select-verse #selectVerse*/
body.select-verse .select-verse
{
   --select-name: "Verse";
   
   right: var(--width-icon);
   width: calc((100% - (2 * var(--width-icon)) - var(--width)) * 0.5);
   xborder-bottom: 4px solid hsl(0, 0%, 40%);
   width: calc((100% - (3 * var(--width-icon)) - var(--width)) * 0.5);
}

/*SPAR
.select-group,
body.select-verse .select-chapter
{
   background: 
      linear-gradient(
         to bottom, 
         transparent 90%,
         hsla(0, 0%, 0%, 0.15)
      );
}
.select-group,
.select-book,
body.select-verse .select-chapter,
body.select-verse .select-verse
{
   background: 
      linear-gradient(
         to bottom, 
         black, 
         transparent 95%
      );
}
*/

#spanTest
{
   position: absolute;
   text-align: center;
   xxxleft: 50%;
   bottom: var(--gap);
   color: white;
   background: hsla(0, 0%, 0%, 0.5);

   width: 100%;
   pointer-events: none;
   left: 0px;
   overflow-wrap: break-word;
}

#divVersesContainer > div p::before
{
   --offset-horizontal: -2px;
   --offset-vertical: 0px;
   --size: 30px;
   --radius-1: calc(var(--size) * 0.5);
   --radius-2: calc(var(--radius-1) * 0.5);
   --border-width: 1px;
   --border-style: solid;

   content: "";
   display: block;
   position: absolute;
   z-index: -1;
   top: var(--offset-vertical);
   bottom: var(--offset-vertical);
   left: var(--offset-horizontal);
   right: var(--offset-horizontal);
   border-radius: var(--radius-2);
   
   left: calc(var(--offset-horizontal) - 4px);
}
p.selected::before, html:not(.inline) p.note::before
{
   border-style: var(--border-style);
}
p.selected::before
{
   border-width: var(--border-width) !important;
   border-color: hsla(0, 0%, 100%, 0.5);
   
   border-color: hsl(var(--hue-red), var(--saturation-red), var(--lightness-red));
   border-left-width: var(--scrollbar) !important;
}
html:not(.inline) p.note::before
{
   border-width: 0px;
   border-right-width: var(--border-width);
   border-right-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
}

html.dark p.selected:before
{
   background-color: hsla(0, 0%, 100%, var(--selection-opacity));
   
   /*background-color: hsla(var(--hue-red), var(--saturation-red), var(--lightness-red), 0.5); #red-select*/
   
   background-color: hsla(var(--hue-red), var(--saturation-red), var(--lightness-red), 0.5);
}
html:not(.dark) p.selected:before
{
   background-color: hsl(0, 0%, 20%);
   border-color: hsla(0, 0%, 0%, 0.5);
}
p.selected:not(.range):before
{
   border-top-left-radius: var(--radius-1) !important;
}
p.selected.range ~ p.selected.range:not(.last):before
{
   border-top: none !important;
   border-bottom: none !important;
   border-radius: 0px !important;
}
p.selected.range.first:before
{
   border-bottom: none !important;
   border-bottom-left-radius: 0px !important;
   border-bottom-right-radius: 0px !important;
   border-top-left-radius: var(--radius-1) !important;
}
p.selected.range.last:before
{
   border-top: none !important;
   border-top-left-radius: 0px !important;
   border-top-right-radius: 0px !important;
}

p.selected.double:not(.range)::before
{
   animation-name: animate-border;
   animation-duration: 0.5s;
   animation-iteration-count: infinite;
   animation-direction: alternate;
   animation-timing-function: ease-in-out;
}

p.selected:not(.favourite)::after
{
   content: var(--count-strongs);
   display: block;
   position: absolute;
   margin-top: -2.25em;
   font-size: 0.85rem;
   right: 0em;
   background-color: hsla(0, 0%, 100%, var(--selection-opacity));
   width: 2em;
   height: 2em;
   border-radius: 1em;
   text-align: center;
   border: 1px solid hsla(0, 0%, 100%, 0.5);
}

#inputDatePortion::-webkit-clear-button
{
   -webkit-appearance: none;
   margin: 0;
}
#inputDatePortion
{
   --hotspot-size: calc(var(--size) + var(--border));
   --clip-size: 20px;

   position: absolute;
   width: calc(var(--hotspot-size) + var(--clip-size));
   height: var(--hotspot-size);

   background-color: rgba(255, 0, 0, 0.0);
   opacity: 0.0;
   cursor: pointer;

   clip-path: inset(0px 0px 0px var(--clip-size));
   margin-left: calc(var(--clip-size) * -2);

   border: none;
   right: 0px;
}
#inputDatePortion::-webkit-calendar-picker-indicator
{
   width: var(--hotspot-size);
   height: var(--hotspot-size);
   cursor: pointer;
}

#divVersesContainer
{
   -webkit-column-break-inside: avoid;
}
#divVersesContainer > div
{
   margin-bottom: var(--gap);
}
div.verses
{
   cursor: pointer; /* For selecting verses or sections in the browser */
}

main div.find
{
   --font-size: 1.5rem;
   --input-height: calc(var(--font-size) * 2);

   position: fixed;
   left: 0px;
   bottom: 0px;
   width: 100%;
   height: var(--input-height);
}

.stripe > *:nth-child(even)
{
   background-color: var(--html-background-color-darker);
   color: hsl(0, 0%, 75%);
}
main div.find input
{
   font-size: var(--font-size);
   width: 100%;
   height: var(--input-height);
   border: 0px;
   text-align: center;
   caret-color: hsla(0, 0%, 100%, 0.5);
}
main div.find[data-group=notes] input
{
   --placeholder-color: hsla(0, 0%, 0%, 0.5);

   caret-color: hsla(0, 0%, 0%, 0.5);
}
main div.find input::-webkit-search-cancel-button, main div.find input::-webkit-calendar-picker-indicator
{
   display: none;
}
input.search, input.number
{
   color: white;
}
input.search,
div.find img.search,
div.find img[data-group=search]
{
   xxxtransition: all 0.5s ease-in-out;
}
body.noMatch input.search
{
   color: hsla(0, 0%, 100%, 0.25);
}
body.noMatch div.find img.search,
body.noMatch div.find img[data-group=search]
{
   opacity: 0.25;
}
div.find[data-group=portion] input,
div.find[data-group=speech] input,
div.find[data-group=whitehead] input
{
   display: none;
}
div.find[data-group=verse] input
{
   background-color: hsl(var(--hue-red), var(--saturation-red), var(--lightness-red));

/* #color    background: linear-gradient(to right, hsl(var(--hue-blue), var(--saturation-blue), var(--lightness-blue)) 0%, hsl(var(--hue-red), var(--saturation-red), var(--lightness-red)) 10%, hsl(var(--hue-red), var(--saturation-red), var(--lightness-red)) 90%, hsl(var(--hue-orange), var(--saturation-orange), var(--lightness-orange)) 100%);*/
}
div.find[data-group=notes]
{
   background-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));

/* #color    background: linear-gradient(to right, hsl(var(--hue-orange), var(--saturation-orange), var(--lightness-orange)) 0%, hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow)) 10%, hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow)) 90%, hsl(var(--hue-green), var(--saturation-green), var(--lightness-green)) 100%);*/
}
div.find[data-group=notes] input
{
   background-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   color: hsl(var(--hue-black), var(--saturation-black), var(--lightness-black));
   text-align: right;
   width: calc(100% - (var(--icon-width) * 2));
   margin-left: var(--icon-width);
}
div.find[data-group=search] input
{
   background-color: hsl(var(--hue-blue), var(--saturation-blue), var(--lightness-blue));

/* #color    background: linear-gradient(to right, hsl(var(--hue-green), var(--saturation-green), var(--lightness-green)) 0%, hsl(var(--hue-blue), var(--saturation-blue), var(--lightness-blue)) 10%, hsl(var(--hue-blue), var(--saturation-blue), var(--lightness-blue)) 90%, hsl(var(--hue-red), var(--saturation-red), var(--lightness-red)) 100%);*/

   padding: 0 var(--icon-width) 0 calc(2 * var(--icon-width));
}
div.autocomplete
{
   color: white;
   opacity: 0.5;
   font-size: var(--font-size);
   white-space: nowrap;
}
div.filter-info
{
   color: white;
   opacity: 0.5;
   font-size: calc(var(--font-size) * 0.75);
   white-space: nowrap;
   text-align: right;
   margin-right: var(--icon-width);
   position: absolute;
   top: 50%;
   transform: translate(0, -50%);
   right: 0;
}

div.find img
{
   --height: calc(var(--input-height) * 0.5);
   xxx--margin: calc((var(--input-height) - var(--height)) * 0.5);
   --padding: calc((var(--input-height) - var(--height)) * 0.5); /* Need to increase clickable area - use padding around image */

   position: absolute;
   xxxtop: var(--margin);
   top: 0px;
   padding: var(--padding);
   height: var(--height);

   pointer-events: auto;
}
div.find:not([data-group=verse]) img.reverse
{
   display: none;
}
div.find img.reverse
{
   right: calc(var(--height) + (2 * var(--padding))) !important;
   transform: scale(-1, 1);
}
div.find img.group
{
   xxxleft: var(--margin);
   left: 0px;
   z-index: 103;
}
div.find img.group.second
{
   left: calc(var(--height) + (var(--padding) * 2));
}
div.find img:not(.group)
{
   right: 0px;
}
div.find[data-group=search] img.search:not(.group)
{
   content: var(--filter-image);
}
body.filtered div.find[data-group=search] img.search:not(.group)
{
   animation: animate-filter-image 3s ease-in-out infinite;
}
@keyframes animate-filter-image
{
   0%, 25%
   {
      opacity: 1;
   }
   50%
   {
      opacity: 0;
   }
   75%, 100%
   {
      opacity: 1;
   }
}
div.find[data-group=search] select.filter
{
   --size: var(--icon-width);
   --border: 0px;

   right: 0px;
}
div.find:not([data-group=search]) select.filter
{
   display: none;
}
div.find[data-group=verse] img.search:not(.group),
div.find[data-group=search] img.search.hide-filter-info:not(.group)
{
   content: var(--arrow-image);
}
div.find[data-group=portion] img.search:not(.group),
div.find[data-group=speech] img.search:not(.group),
div.find[data-group=whitehead] img.search:not(.group)
{
   content: var(--find-image);
}
div.find[data-group=notes] img.search:not(.group)
{
   content: var(--write-image);
}
div.find[data-group=verse] img.group:not([data-group=verse]),
div.find[data-group=portion] img.group:not([data-group=portion]),
div.find[data-group=notes] img.group:not([data-group=notes]),
div.find[data-group=speech] img.group:not([data-group=speech]),
div.find[data-group=search] img.group:not([data-group=search]),
div.find[data-group=whitehead] img.group:not([data-group=whitehead])
{
   display: none;
}
div.find[data-group=whitehead] img.search:not(.group),
div.find[data-group=whitehead] img.group[data-group=whitehead]
{
   filter: invert(1);
}

img.icon
{
   width: 16px;
}

span.spanSearch
{
   background: rgba(255, 255, 255, 0.25);
   border-radius: 4px;
   margin: -2px;
   padding: 1px;
   border: 1px solid rgba(255, 255, 255, 0.5);
}

hr:not(.bridge):not(.white)
{
   background: 
      -webkit-linear-gradient(
         left, 
         rgba(0, 0, 0, 0.0) 0%, 
         rgba(0, 0, 0, 0.2) 10%, 
         rgba(0, 0, 0, 0.8) 50%, 
         rgba(0, 0, 0, 0.2) 90%, 
         rgba(0, 0, 0, 0.0) 100%);
}
hr.bridge
{
   --hue: 0;
   --saturation: 0%;
   --lightness: 80%;

   background: 
      -webkit-linear-gradient(
         left, 
         hsla(var(--hue), var(--saturation), var(--lightness), 0.0) 0%, 
         hsla(var(--hue), var(--saturation), var(--lightness), 0.2) 10%, 
         hsla(var(--hue), var(--saturation), var(--lightness), 0.8) 50%, 
         hsla(var(--hue), var(--saturation), var(--lightness), 0.2) 90%, 
         hsla(var(--hue), var(--saturation), var(--lightness), 0.0) 100%);
   filter: drop-shadow(0px 0px 1px #000000) drop-shadow(0px 1px 1px #000000) drop-shadow(0px 2px 1px #000000);
}
hr.bridge.clip
{
   position: absolute;
   display: inline-block;
   width: 100%;
   left: 0px;
}
hr.bridge.clip.top
{
   clip: rect(0px, 2000px, 100px, 0px); /* top, right, bottom, left */
   top: calc(100% - 2px);
}
hr.bridge.clip.bottom
{
   filter: drop-shadow(0px 0px 1px #000000) drop-shadow(0px -1px 1px #000000) drop-shadow(0px -2px 1px #000000);
   position: fixed;
   bottom: -2px;

   /* This clip removes the small drop-shadow below the horizontal line. The rect's bottom value MUST include the actual horizontal line for the drop-shadow to appear. */
   clip: rect(-100px, 2000px, 1px, 0px); /* top, right, bottom, left */
}
body.find-active hr.bridge.clip.bottom
{
   bottom: calc(3rem - 1px);
}
body.find-active[data-group=verse] hr.bridge.clip.bottom
{
   --hue: var(--hue-red);
   --saturation: var(--saturation-red);
   --lightness: var(--lightness-red);
}
body.find-active[data-group=speech] hr.bridge.clip.bottom
{
   --hue: var(--hue-green);
   --saturation: var(--saturation-green);
   --lightness: var(--lightness-green);
}
body.find-active[data-group=notes] hr.bridge.clip.bottom
{
   --hue: var(--hue-yellow);
   --saturation: var(--saturation-yellow);
   --lightness: var(--lightness-yellow);
}
body.find-active[data-group=search] hr.bridge.clip.bottom
{
   --hue: var(--hue-blue);
   --saturation: var(--saturation-blue);
   --lightness: var(--lightness-blue);
}
body.find-active[data-group=portion] hr.bridge.clip.bottom
{
   --hue: var(--hue-orange);
   --saturation: var(--saturation-orange);
   --lightness: var(--lightness-orange);
}
hr.white
{
   background: 
      -webkit-linear-gradient(
         left, 
         rgba(255, 255, 255, 0.0) 0%, 
         rgba(255, 255, 255, 0.2) 10%, 
         rgba(255, 255, 255, 0.8) 50%, 
         rgba(255, 255, 255, 0.2) 90%, 
         rgba(255, 255, 255, 0.0) 100%);
}

#tdChapter
{
   position: relative;
   padding: 0px;
}

div.indicator
{
   position: absolute;
   width: var(--scrollbar);
   height: 3rem;
   border-radius: var(--scrollbar);
   left: calc(var(--gap) * -1);
   top: 0px;
   background-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   opacity: 1;
   z-index: 1;

   top: -4rem;
   background-color: hsla(var(--hue-green), var(--saturation-green), var(--lightness-green), 0.35);
   width: calc(100vw - (2 * var(--scrollbar)));
   height: 6rem;
   border-radius: 3rem 1rem 1rem 1rem;

   left: calc(2px + var(--gap) * -1);
   border: 1px solid hsl(var(--hue-green), var(--saturation-green), var(--lightness-green));
   width: calc(100vw - 13px);
   border-left: var(--scrollbar) solid hsl(var(--hue-green), var(--saturation-green), var(--lightness-green));
   xxxmix-blend-mode: lighten;

   background-color: hsla(var(--hue-green), var(--saturation-green), var(--lightness-green), 1);
   xxxmix-blend-mode: color-burn;

   background-color: var(--color-no-scroll2);
   border: 1px solid hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   border-left: var(--scrollbar) solid hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   
   --size: 30px;
   --radius-1: calc(var(--size) * 0.5);
   --radius-2: calc(var(--radius-1) * 0.5);

   border-radius: var(--radius-2);
   border-top-left-radius: var(--radius-1) !important;
   height: 10vh;

   cursor: grab;
   touch-action: none;
   user-select: none;
}
div.indicator.dragging
{
   cursor: grabbing;
}
div.indicator.none
{
   /*
   display: block !important;
   background-color: var(--color-no-scroll2);
   border: 1px solid white;
   border-left: var(--scrollbar) solid white;
   z-index: 0;
   */
}

.anti-clockwise img
{
   transform: rotate(-90deg);
}
.clockwise img
{
   transform: rotate(90deg);
}

html:not(.footer) div.footer:not(.menuitem)
{
   display: none !important;
}
html:not(.header) div.summary,
html:not(.header) spud.outline
{
   display: none !important;
}
#divNotesContainer, #divParagraphsContainer, #divCitationsContainer
{
   text-align: center;
   color: white;
}
#divNotesContainer > div:first-of-type, #divParagraphsContainer > div:first-of-type, #divCitationsContainer > div:first-of-type
{
   letter-spacing: 0.2em;
   margin-top: var(--gap);
}
#divNotesContainer > div.notes, div.paragraphs, div.citations
{
   --opacity: var(--default-opacity);

   display: inline-block;
   text-align: left;
   margin: var(--gap) 0px;
}
#divNotesContainer > div.notes > div, div.paragraphs > div, div.citations > div
{
   padding: var(--gap);
}
span.link
{
   text-decoration: underline;
   text-decoration-color: hsla(0, 0%, 100%, var(--opacity));
   cursor: pointer;
}
span.grammar
{
   word-spacing: normal;
   opacity: var(--opacity);
}
div.paragraphs span.grammar
{
   display: none;
}

div.heading.small span.testament, 
div.heading.small span.group,
div.heading.small #divReadingHeading
/*div.heading.small .select-wrapper::after*/
{
   display: none;
}
#divSubheading
{
   --padding-left: 6em;
   --padding-right: 5em;

   text-align: center;
   width: calc(100% - (var(--scrollbar) * 2) - var(--padding-left) - var(--padding-right));
   padding: 0px var(--padding-right) 0px var(--padding-left);

   font-size: 0.25em;
   font-weight: 800;
   position: fixed;
   top: 0.25em;
   line-height: 1em;

   /* It's necessary to simulate opacity since we want the drop shadow to be fully opaque */
   color: rgba(60, 60, 60, 1.0);

   letter-spacing: 0.2em;
   text-transform: uppercase;

   filter: var(--invert) var(--heading-filter) !important;

   filter: var(--invert) !important;
   mix-blend-mode: luminosity;
}
html:not(.dark) #divSubheading
{
   filter: invert(1) !important;
}
#divReadingHeading
{
   position: absolute;
   width: calc(100% - (var(--scrollbar) * 2) - var(--padding-left) - var(--padding-right));
   margin-top: 3.3em;
}
#tdChapter:not(.reading) #divReadingHeading,
#divReadingHeading /* Disabled in favour of select element labels */
{
   display: none;
}

#divVersesContainer div.parallel
{
   xxxbackground: hsl(var(--hue-red), var(--saturation-red), var(--lightness-red));
   xxxoutline: var(--gap) solid hsl(var(--hue-red), var(--saturation-red), var(--lightness-red));
}

#divSubheadingParallel
{
   text-transform: none;
   height: 2em;
   font-size: 0.67rem;
}
#divSubheadingParallel td
{
   width: 50%;
}
#divSubheadingParallel td:first-child
{
   text-align: left;
}
#divSubheadingParallel td:last-child
{
   text-align: right;
}
div.heading:not(.small) #divSubheadingParallel
{
   line-height: 2em;
}

#divHelp
{
   --border-width: 3px;
   --size: 100px;
   --radius-1: calc(var(--size) * 0.5);
   --radius-2: calc(var(--radius-1) * 0.5);

   position: absolute;
   width: calc(100% - var(--size));
   height: var(--size);
   left: calc(var(--size) * 0.5);
   top: calc(50% - (var(--size) * 0.5));
   background-image: url("../images/signpost2.svg?version=1");
   background-size: calc(var(--size) * 0.75);
   background-repeat: no-repeat;
   background-position: 10px center;
   border-radius: var(--radius-2) var(--radius-1) var(--radius-2) var(--radius-2);
   background-color: hsla(var(--hue-black), var(--saturation-black), var(--lightness-black), var(--button-opacity));
   border: var(--border-width) solid hsla(0, 0%, 100%, 0.5);
   cursor: pointer;
   text-align: center;
   color: white;
   filter: var(--drop-shadow);
   font-size: 30px;
   vertical-align: middle;
}
#divHelp.hidden
{
   opacity: 0.25;
   visibility: inherit;
}

div.verses > div.strongs > div.entry
{
   line-height: 150% !important;
   text-align: justify;
   padding: var(--gap);

   overflow-y: scroll;
   max-height: calc(var(--height) - 65px);

   max-height: calc(var(--height) - 200px); /* To allow room for Lexicon */
}

a
{
   color: inherit;
   text-decoration-color: hsla(0, 0%, 0%, 0.5);
}

div.verses > div.strongs > div.entry a
{
   text-decoration: underline;
   text-decoration-color: hsla(0, 0%, 0%, 0.5);
   
   position: relative;
   display: inline-block;
}
div.verses > div.strongs > div.entry a::before
{
   content: attr(data-strongs-number) " ";
   position: absolute;
   top: -0.95em;
   left: 50%;
   transform: translateX(-50%);
   font-size: 0.6em;
   white-space: nowrap;
   opacity: 0.5;

   font-weight: bold;
   top: -1.05em;
}
div.verses > div.strongs > div.entry:not(:has(div[data-verse-id])) a
{
   pointer-events: none; /* Disable a(nchors) in Strong descriptions, but not Strong verse links */
}

div.strongs div.inlineHeading
{
   text-align: center;

   background: hsla(0, 0%, 0%, 0.25);
   color: white;
   font-size: 1.25rem;
   padding: 4px;
   font-weight: normal;
   background: hsla(0, 0%, 100%, 0.25);
   color: black;
   border-bottom: 1px solid hsla(0, 0%, 0%, 0.25);
}

div.splash
{
   width: 100%;
   height: 100%;
   background: var(--html-background-color-dark);
   font-family: serif;

   opacity: 1;
   transition: opacity 0.5s ease;
   overflow: hidden;
   /*
   background: 
      url("../../../interface/images/clouds-double.png"),
      linear-gradient(
      180deg,
      deepskyblue,
      hsl(200, 25%, 11%) 33%,
      hsl(200, 25%, 15%));

    background-size: 508%;
    background-repeat: no-repeat;
    background-position: -8em -5em;
   */
}
div.splash.fade-out
{
   opacity: 0;
}
div.splash img
{
   /*
   min-width: 100%;
   min-height: 100.1%;
   max-height: 100.1%;

   max-width: 180%;
   max-height: 130%;
   */
   xmax-width: calc(100% - (2 * var(--gap)));
   xmax-height: calc(100% - (2 * var(--gap)));
}
div.splash video
{
   max-width: calc(100% - (2 * var(--gap)));
   max-height: calc(100% - (2 * var(--gap)));
   clip-path: inset(0 0 40px 0);
}

div.splash img.animation
{
   top: -4em;
}

div.splash div.animation
{
   position: relative;
   top: 46% !important
}
div.splash div.animation img {
   display: block;
   width: 100%;
   max-width: 450px;
}
div.splash div.animation img.reflection {
   transform: translate(-50%, 41%) scaleY(-1);
   opacity: 0.35;
   mask-image: linear-gradient(
      to top,
      black,
      transparent 50%
   );
   -webkit-mask-image: linear-gradient(
      to top,
      black,
      transparent 50%
   );
}

div.splash img.rainbow
{
   position: absolute;
   top: 10% !important;
   opacity: 0.5;
   width: 100%;
   height: 18%;
   left: 70% !important;
}

div.splash img.dove
{
   position: absolute;
   top: 10% !important;
   max-width: 25%;
   max-height: 10%;
}
div.splash img.jesus,
div.splash img.pharisee
{
   position: absolute;
   bottom: 15%;
   max-width: 40%;
   max-height: 50%;
   
   -webkit-box-reflect: below 0px 
      linear-gradient(
         to bottom, 
         transparent 60%, 
         rgba(0, 0, 0, 0.35)
      );
}
div.splash img.jesus
{
   --scale: 1.15;

   left: 0;
   xanimation: rotate3 3s ease-in-out infinite;
   xanimation: rotate4 3s ease-in-out infinite;
}
div.splash img.pharisee
{
   --scale: 1.5;

   right: 0;
   xanimation: rotate3 3s ease-in-out infinite;
   xanimation-delay: -1.5s;
   xanimation: rotate4 3s ease-in-out infinite;
}

@keyframes rotate3 {
  0%   { rotate: -2deg; }
  50%  { rotate: 2deg; scale: 1.15; translate: 10px;}
  100% { rotate: -2deg; }
}

@keyframes rotate4 {
  0%   { transform: rotateY(30deg); rotate: -2deg; }
  50%  { transform: rotateY(-30deg); rotate: 2deg; scale: var(--scale); translate: 10px; }
  100% { transform: rotateY(30deg); rotate: -2deg; }
}

div.splash img.flare.overlay
{
   mix-blend-mode: hard-light;
}
div.splash img.flare
{
   --size: 300%;

   max-width: var(--size);
   max-height: var(--size);
   width: var(--size);
}
div.splash > span.the-bible
{
   color: #F8EE99;
   color: hsla(0, 0%, 0%, 0.65);
   font-size: 5em;
   font-weight: bold;
   padding-bottom: 0.5em;
   filter: drop-shadow(2px 4px 6px black);

   animation: animate-fadeIn 2s ease-in-out;
   transform-origin: center;
}

@keyframes animate-fadeIn
{
   0%
   {
      opacity: 0;
      transform: translate(-50%, -50%) scale(10);
   }
   90%
   {
      transform: translate(-50%, -50%) scale(0.9);
   }
   100%
   {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
   }
}
div.splash > span.the-bible > span
{
   font-size: 0.5em;
   margin-top: -0.5em;
}
body:not(.refresh-button) div.splash > span.refresh-button,
body:not(.refresh-button) div.splash > div.app-version,
body.refresh-button div.splash > div.instructions
{
   display: none;
}
div.splash > span.refresh-button
{
   --size: 70px;
   --radius-1: calc(var(--size) * 0.5);
   --radius-2: calc(var(--radius-1) * 0.5);

   color: white;
   font-size: 2em;
   /*
   padding: 0.5em;
   border: 1px solid white;
   border-radius: var(--radius-2) var(--radius-1) var(--radius-2) var(--radius-2);
   background: hsla(0, 0%, 0%, 0.5);
   */
   xopacity: 0.5;
}
div.splash > span.refresh-button.clicked
{
   xanimation: animate-refresh-button 0.5s ease-in-out;
}
@keyframes animate-refresh-button
{
   0%
   {
      opacity: 0.5;
   }
   50%
   {
      opacity: 1;
   }
   100%
   {
      opacity: 0.5;
   }
}
div.splash > span.refresh-button > img
{
   width: 2.5em;
}
div.splash > span.refresh-button
{
   -webkit-box-reflect: below -10px 
      linear-gradient(
         to bottom, 
         transparent 10%, 
         rgba(0, 0, 0, 0.25)
      );
}
div.splash > span.refresh-button.clicked > img
{
   animation: animation-spin 1s linear infinite;
}

@keyframes animation-spin {
   from {
      transform: rotate(0deg);
   }
   to {
      transform: rotate(360deg);
   }
}

div.splash > span.refresh-button:not(.clicked) > img
{
   animation: animation-pulse 0.5s ease-in-out infinite alternate;
}

@keyframes animation-pulse {
   from {
      transform: scale(1);
   }
   to {
      transform: scale(1.1);
   }
}

@media (orientation: portrait)
{
   div.splash:not(.quote-disabled) img,
   div.splash:not(.quote-disabled) > span.the-bible
   {
      xtop: 60%;

      xmargin-top: -5em;
   }
   div.splash:not(.quote-disabled) > span.the-bible
   {
      xmargin-top: -1em;
   }
   div.splash.quote-disabled > quote
   {
      display: none;
   }
   div.splash > span.refresh-button
   {
      top: 85% !important;
   }
}
@media (orientation: landscape)
{
   div.splash > quote
   {
      xdisplay: none;
   }
   div.splash > span.refresh-button
   {
      top: 50% !important;
      left: 85% !important;
   }
}
div.splash > quote
{
   animation: animate-fadeIn 5s;
}
div.splash > quote > p
{
   opacity: 0.5;
   color: white;
   font-size: 2em;
   text-align: center;
   line-height: 1.7em;
   margin-block-start: 0;
   margin-block-end: 0;
   opacity: 1;
   padding: 1em 0.3em;
}
div.splash > quote > p:last-child
{
   position: absolute;
   xxxbottom: 2em;
   width: calc(100% - 2em);
   font-size: 3em;
   margin: 0 1em 1em 1em;
   padding: 0;
   
   top: 3em;
}
div.splash > quote > p > span.u
{
   border-bottom: var(--underline);
}
div.splash > quote > p > span.n
{
   opacity: 1;
   font-family: sans-serif;
   font-size: 1em;
   background: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   color: white;
   border: 1px solid white;
   border-radius: 1.5em 1em 1em 1em;
   padding: 0.15em 0.25em;
}
div.splash > quote > p > span.n.red
{
   background: hsl(var(--hue-red), var(--saturation-red), var(--lightness-red));
}
div.splash > quote > p > span.n.orange
{
   background: hsl(var(--hue-orange), var(--saturation-orange), var(--lightness-orange));
}
div.splash > quote > p > span.n.yellow
{
   background: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
}
div.splash > quote > p > span.n.green
{
   background: hsl(var(--hue-green), var(--saturation-green), var(--lightness-green));
}
div.splash > quote > p > span.n.blue
{
   background: hsl(var(--hue-blue), var(--saturation-blue), var(--lightness-blue));
}

input.number:invalid
{
   color: hsla(0, 0%, 100%, 0.5);
}

#divSearchHelp
{
   color: white;
   background: var(--html-background-color-dark);
   width: calc(100% - (2 * var(--gap)));
   height: calc(100% - (2 * var(--gap)));
   position: absolute;
   left: 0;
   top: 0;
   overflow-y: scroll;
   padding: var(--gap);

   font-size: var(--user-font-size) !important;
   line-height: 150% !important;
   text-align: justify;
   margin-block-start: 0px;
   margin-block-end: 0px;
}

#selectList,
#selectNavigation
{
   --size: var(--icon-width);
   --border: 0px;
   --hotspot-size: calc(var(--size) + var(--border));
   --padding: calc(var(--hotspot-size) * 0.25);

   position: var(--menu-positioning-method);
   left: calc(var(--hotspot-size));
   top: 0px;
   width: var(--hotspot-size);
   height: var(--hotspot-size);
   cursor: pointer;
   opacity: 0.0;
   background-color: rgba(255, 0, 0, 0.0);

   z-index: 111;
   display: none;
}
body[data-group=search] #selectList,
body[data-group=verse] #selectNavigation
{
   z-index: 112;
   display: block;
}

body.hide-scroll-to-selection div.scroll-to-selection
{
   display: none !important;
}
div.scroll-to-selection
{
   /*
   --size: 2rem;

   width: var(--size);
   height: var(--size);

   content: var(--arrowTop-image);
 
   top: calc(100% - (3 * var(--size)));

   background: hsla(0, 0%, 100%, 0.5);
   border: 1.5px solid black;
   border-radius: 25%;
   padding: 0.5em;

   cursor: pointer;

   opacity: 0.5;
   */
   --size: var(--menu-item-size);
   --image-size: calc(var(--size) * 0.5);
   --radius-1: calc(var(--size) * 0.5);
   --radius-2: calc(var(--radius-1) * 0.5);
   --border: 1px;
   --bottom: calc(var(--size) + (2 * (var(--border) + var(--gap))));

   background-image: url("../images/arrowTop.svg?version=4");
   background-size: var(--image-size);
   background-position: center;
   background-repeat: no-repeat;
   background-color: hsla(var(--hue-black), var(--saturation-black), var(--lightness-black), var(--button-opacity));

   position: var(--menu-positioning-method);
   display: inline-block;
   z-index: calc(var(--body-z-index) + 3);
   width: var(--size);
   height: var(--size);
   cursor: pointer;

   border: var(--border) solid white;
}
@media (orientation: portrait)
{
   div.scroll-to-selection
   {
      border-radius: var(--radius-2) var(--radius-1) var(--radius-2) var(--radius-2);
      bottom: var(--bottom);
      right: var(--gap);
   }
}
@media (orientation: landscape)
{
   div.scroll-to-selection
   {
      border-radius: var(--radius-2) var(--radius-2) var(--radius-2) var(--radius-1);
      left: var(--gap);
      bottom: var(--gap);
   }
}
body.find-active div.scroll-to-selection
{
   bottom: calc(3rem + var(--bottom));
}
div.scroll-to-selection.hidden
{
   opacity: 0.25;
   visibility: inherit;
}
body.menu-active div.scroll-to-selection,
body.note-active div.scroll-to-selection
{
   display: none;
}

a.strongs.selected
{
   border-radius: 4px;
   background: hsla(0, 0%, 100%, 0.25);
   border: 1px solid hsla(0, 0%, 100%, 0.5);
   padding: 1px;
   margin: -2px;
}

div.thayers
{
   overflow-y: scroll;
   xxxmax-height: 121px;
   text-align: justify;
   line-height: 150% !important;
   padding: var(--gap);
   background: hsl(43 100% 65% / 1);

   background: hsla(0, 0%, 100%, 0.25);
}
div.thayers span.temp
{
   text-align: center;
   display: block;
}

/*
@media (orientation: landscape)
{
   #divCommentaryContainer,
   #divDictionaryContainer,
   #divLexiconContainer,
   #divReferenceContainer
   {
      display: none;
   }
}
@media (orientation: portrait)
{
*/
   body:not(.commentary) #divCommentaryContainer,
   body:not(.dictionary) #divDictionaryContainer,
   body:not(.lexicon) #divLexiconContainer,
   body:not(.reference) #divReferenceContainer
   {
      display: none;
   }
   body.commentary main.special,
   body.dictionary main.special,
   body.lexicon main.special,
   body.reference main.special
   {
      xxxheight: 50%;
   }
/*
}
*/
#divCommentaryContainer,
#divDictionaryContainer,
#divLexiconContainer,
#divReferenceContainer
{
   --color-commentary: hsl(43, 100%, 75%);
   --margin: var(--gap);

   width: 100%;
   height: 50%;
   xxxposition: absolute;
   top: 50%;
   background: var(--color-commentary);
   overflow-y: scroll;

   background: hsl(0, 0%, 90%);
   filter: drop-shadow(0px -6px 4px black);
   
   height: 100%;
}
body.find-active #divCommentaryContainer,
body.find-active #divDictionaryContainer,
body.find-active #divLexiconContainer,
body.find-active #divReferenceContainer
{
   height: calc(50% - 3rem);
   
   height: calc(100% - 3rem);
}
div.commentary,
div.dictionary,
div.lexicon,
div.reference
{
   margin: var(--margin);
   color: black;
   font-size: var(--user-font-size) !important;
   text-align: justify;
}
#divCommentaryContainer hr.bridge
{
   position: fixed;
   opacity: 0.5;
}
#divCommentaryContainer hr.bridge.top
{
   top: calc(50% - 1px);
}
#divCommentaryContainer hr.bridge.bottom
{
   bottom: -1px;
}
body.find-active #divCommentaryContainer hr.bridge.bottom
{
   bottom: calc(3rem - 1px);
}
div.commentary div.vheading
{
   margin-bottom: var(--margin);
}
div.commentary div.chap
{
   margin-top: var(--margin);
}
div.commentary div.verse,
div.commentary div.versenum
{
   opacity: 0.5;
   margin: var(--margin) 0;
}

#buttonSearchSelection {
   --background-color: hsl(var(--hue-search-blue), var(--saturation-search-blue), var(--lightness-search-blue));
   --image: var(--search-image);
}
#buttonHighlight {
   --background-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   --image: url("../images/highlight.svg");
}
#buttonDictionaryLookup {
   --background-color: hsl(var(--hue-red), var(--saturation-red), var(--lightness-red));
   --image: var(--book-image);
}
#buttonPhraseEmoji {
   --background-color: hsl(var(--hue-black), var(--saturation-black), var(--lightness-black));
   --image: var(--emoji-image);
   
/*
   left: calc(50% + var(--size) + 12px - var(--offset));
   
   font-size: 2rem;
   padding-bottom: 4px;
   color: white;
*/
}
#buttonWriteNotes {
   --background-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   --image: var(--write-image);
   
   left: calc(50% - var(--size) - 4px - var(--offset));
}
#buttonWriteNotes::after,
#buttonVerseEmoji::after,
#buttonAudioPlay::after {
   content: "⋮⋮";
   color: white;
   display: block;
   position: absolute;
   left: -0.275em;
   top: 50%;
   transform: translateY(-55%);
   letter-spacing: -0.075em;
   font-size: 3em;
   font-size: 40px;
   filter: drop-shadow(0px 0px 3px black);
}
#buttonCrossReferences {
   --background-color: hsl(var(--hue-yellow), var(--saturation-yellow), var(--lightness-yellow));
   --background-color: hsl(var(--hue-red), var(--saturation-red), var(--lightness-red));
   --image: var(--link-image);
   
   left: calc(50% + 4px - var(--offset));
}
#buttonVerseEmoji {
   --background-color: hsl(var(--hue-black), var(--saturation-black), var(--lightness-black));
   --image: var(--emoji-image);
   
   left: calc(50% + var(--size) + 12px - var(--offset));
   
   font-size: 2rem;
   padding-bottom: 4px;
   color: white;
}
#buttonVerseEmoji.has-emoji,
#buttonPhraseEmoji.has-emoji
{
   background: var(--background-color);
}
#inputVerseEmoji,
#inputPhraseEmoji
{
   font-size: 2rem;
   max-width: 50%;

   max-width: 25vw;
   height: 25vw;
   border-radius: 50%;
   background: black;
   color: white;
   border: 2px solid white;
   z-index: 1000000;
}
#inputVerseEmoji::backdrop
{
   background: #0009;
   backdrop-filter: blur(3px);
}

#buttonAudioPlay {
   --background-color: hsl(var(--hue-green), var(--saturation-green), var(--lightness-green));
   --image: url("../images/play01.svg");
   --image: url("../images/playOnSelect.svg?version=8");
   --margin: 4px;
   
   right: var(--margin);
   top: calc(48px + var(--margin));
}
html.button-show body.has-reading:not(.none) #buttonAudioPlay {
   display: block !important;
}
.draggable {
   touch-action: none;
}
#buttonSearchSelection,
#buttonHighlight,
.highlight-color,
#buttonDictionaryLookup,
#buttonPhraseEmoji,
.draggable {
   --size: 64px;
   --size-icon: calc(var(--size) / 2);
   --offset: 10px;

   position: fixed;
   z-index: 999999;
   width: var(--size);
   height: var(--size);
   border: none;
   border: 1px solid white;
   border-radius: 999px;
   background: var(--background-color) var(--image) center/var(--size-icon) var(--size-icon) no-repeat;
   box-shadow: 0 8px 24px rgba(0,0,0,.35);
   display: none;
   padding: 0;
   -webkit-touch-callout: none;
   user-select: none;
}
#buttonSearchSelection:active,
#buttonHighlight:active,
#buttonDictionaryLookup:active,
#buttonPhraseEmoji:active,
.draggable:active {
   transform: scale(.96);
}
body.audio-playing #buttonSearchSelection,
body.audio-playing #buttonHighlight,
body.audio-playing #buttonDictionaryLookup,
body.audio-playing #buttonPhraseEmoji,
body.audio-playing .draggable {
   opacity: 0.5;
}
#buttonDictionaryLookup:disabled
{
   opacity: 0.5;
   cursor: not-allowed;
}
.highlight-color
{
   --size: 32px;

   border-radius: 4px;
}
html:not(.button-show) #buttonSearchSelection,
html:not(.button-show) #buttonHighlight,
html:not(.button-show) #buttonDictionaryLookup,
html:not(.button-show) #buttonPhraseEmoji,
html:not(.button-show) .draggable,
html:not(.button-show) .highlight-color
{
   display: none !important;
}

#divCountDown
{
   color: white;
   opacity: 0.35;
   font-size: 20rem;
   font-weight: bold;
   transition: opacity .25s;
}
html:not(.dark) #divCountDown
{
   color: black;
}

span.parallel-words
{
   display: none;
}
html.parallel.portrait span.parallel-words
{
   --color-parallel: hsl(43, 100%, 75%);

   display: block;
   background: var(--color-parallel);
   color: black;
   width: 100%;
   padding: 0 12px;
   margin-left: -12px;
}
html:not(.parallel) div.parallel
{
   display: none;
}

#dictionaryPopup.hidden
{
   display: none;
}

#dictionaryPopup
{
   position: fixed;
   inset: 0;
   z-index: 999999;
}

#dictionaryPopup .dictionary-popup-backdrop
{
   position: absolute;
   inset: 0;
   background: hsla(0, 0%, 0%, 0.65);
   xxxbackdrop-filter: blur(4px);

   background: hsla(0, 0%, 0%, 0.5);
}

#dictionaryPopup .dictionary-popup-panel
{
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: min(90vw, 700px);
   max-height: 80vh;
   overflow: auto;
   border: 1px solid hsla(210, 30%, 80%, 0.18);
   border-radius: 1.25rem;
   background: linear-gradient(
      to bottom,
      hsl(215, 25%, 16%),
      hsl(220, 25%, 10%)
   );
   box-shadow:
      0 1.5rem 4rem hsla(0, 0%, 0%, 0.5),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
   color: hsl(0, 0%, 96%);
}

#dictionaryPopup .dictionary-popup-content
{
   padding: 1.5rem 1.25rem 1.25rem 1.25rem;
}

#dictionaryPopupTitle
{
   margin: 0 2.5rem 1rem 0;
   font-size: 1.5rem;
   line-height: 1.2;
   color: hsl(0, 0%, 100%);
}

#dictionaryPopupDefinitions
{
   display: flex;
   flex-direction: column;
   gap: 0.85rem;
   font-size: 1.25rem;
}

#dictionaryPopupDefinitions p
{
   margin: 0;
   line-height: 1.5;
   color: hsl(0, 0%, 88%);
}

#dictionaryPopup .dictionary-popup-close
{
   position: absolute;
   top: 0.75rem;
   right: 0.75rem;
   width: 2.25rem;
   height: 2.25rem;
   border: none;
   border-radius: 50%;
   cursor: pointer;
   font-size: 1.1rem;
   line-height: 1;
   background: hsla(0, 0%, 100%, 0.08);
   color: hsl(0, 0%, 100%);
   
   padding-top: 4px;
}

#dictionaryPopup .dictionary-popup-close:hover
{
   background: hsla(0, 0%, 100%, 0.14);
}

body.dictionary-popup-open
{
   overflow: hidden;
}

#highlightPopup.hidden
{
   display: none;
}

#highlightPopup
{
   position: fixed;
   inset: 0;
   z-index: 999999;
}

#highlightPopup .highlight-popup-backdrop
{
   position: absolute;
   inset: 0;
   background: hsla(0, 0%, 0%, 0.65);
   backdrop-filter: blur(4px);
}

#highlightPopup .highlight-popup-panel
{
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: min(90vw, 700px);
   max-height: 80vh;
   overflow: auto;
   border: 1px solid hsla(210, 30%, 80%, 0.18);
   border-radius: 1.25rem;
   background: linear-gradient(
      to bottom,
      hsl(215, 25%, 16%),
      hsl(220, 25%, 10%)
   );
   box-shadow:
      0 1.5rem 4rem hsla(0, 0%, 0%, 0.5),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
   color: hsl(0, 0%, 96%);
}

#highlightPopup .highlight-popup-content
{
   padding: 1.5rem 1.25rem 1.25rem 1.25rem;
}

#highlightPopupTitle
{
   margin: 0 2.5rem 1rem 0;
   font-size: 1.5rem;
   line-height: 1.2;
   color: hsl(0, 0%, 100%);
}

#highlightPopupColours
{
   display: flex;
   flex-direction: column;
   flex-flow: wrap;
   gap: 0.85rem;
   font-size: 1.25rem;
}

#highlightPopupColours > span
{
   --radius-1: 30px;
   --radius-2: 30px;
   
   line-height: 1.5;
   border-radius: var(--radius-2) var(--radius-2) var(--radius-2) var(--radius-1);
   padding: 10px;
   width: 40%;
   text-align: center;
}

#highlightPopupColours > span > span
{
   filter: drop-shadow(0 0 4px black);
}

#highlightPopup .highlight-popup-close
{
   position: absolute;
   top: 0.75rem;
   right: 0.75rem;
   width: 2.25rem;
   height: 2.25rem;
   border: none;
   border-radius: 50%;
   cursor: pointer;
   font-size: 1.1rem;
   line-height: 1;
   background: hsla(0, 0%, 100%, 0.08);
   color: hsl(0, 0%, 100%);
}

#highlightPopup .highlight-popup-close:hover
{
   background: hsla(0, 0%, 100%, 0.14);
}

body.highlight-popup-open
{
   overflow: hidden;
}

div.watermark
{
   position: absolute;
   xxxtransform: rotate(-90deg);
   xxxtransform-origin: bottom;
   xxxwidth: 100vh;
   xxxheight: 100vw;
   width: 100vw;
   height: 100vh;
   left: 0;
   top: 0;
   font-weight: bold;
   font-size: 5.5em;
   text-align: center;
   text-transform: uppercase;
   white-space: nowrap;
   opacity: 0.1;
}
div.watermark img
{
   --height: 6.5em;
   
   height: var(--height);
   vertical-align: bottom;
   filter: saturate(0) brightness(2);
   top: calc(100% - (var(--height) * 0.75)) !important;
}

div.app-version, div.instructions
{
   color: white;
   top: unset !important;
   font-size: 1.5em;
   bottom: 2% !important;
   letter-spacing: 0.1em;
   font-family: Arial;
   xopacity: 0.5;
   width: 100%;

   -webkit-box-reflect: below 5px 
      linear-gradient(
         to bottom, 
         transparent 10%, 
         rgba(0, 0, 0, 0.25)
      );
      
   font-family: 'Segoe UI', Tahoma, sans-serif;
   font-style: italic;
}

dialog#bookDialog, dialog#chapterDialog
{ 
   width: min(94vw, 560px); 
   max-height: 98dvh; 
   box-sizing: border-box; 
   overflow: auto; 
   border: 1px solid #465264; 
   border-radius: 20px; 
   padding: 18px 14px 20px; 
   color: #f3f5f8; 
   background: #1b222d; 
   box-shadow: 0 22px 70px #000b; 
}
dialog#bookDialog::backdrop, dialog#chapterDialog::backdrop
{ 
   background: #02060ac9; 
   backdrop-filter: blur(4px); 
}
dialog#bookDialog .dialog-heading, dialog#chapterDialog .dialog-heading
{ 
   display: flex; 
   justify-content: space-between; 
   align-items: center; 
   margin-bottom: 12px; 
   padding: 0 5px; 
}
dialog#bookDialog h1, dialog#chapterDialog h1
{ 
   margin: 0; 
   font-size: 1.1rem; 
   letter-spacing: .07em; 
   font-weight: 650; 
}
dialog#bookDialog h1
{ 
   transform: translate(-100%, 0) rotate(270deg);
   transform-origin: right;
}
#closeBooks, #closeChapters
{ 
   border: 0; 
   background: #323e4c; 
   color: white; 
   width: 32px; 
   height: 32px; 
   border-radius: 50%; 
   font-size: 21px; 
}
body:not([data-chapter^=Psalm]) dialog#chapterDialog .psalm-book,
dialog#chapterDialog:not(.psalm) #chapterGroups1,
dialog#chapterDialog:not(.psalm) #chapterGroups2,
dialog#chapterDialog:not(.psalm) #chapterGroups3,
dialog#chapterDialog:not(.psalm) #chapterGroups4,
dialog#chapterDialog:not(.psalm) #chapterGroups5,
dialog#chapterDialog.psalm #chapterGroups
{
   display: none;
}
dialog#bookDialog .testament, dialog#chapterDialog .psalm-book
{ 
   font-size: 11px; 
   font-weight: 750; 
   letter-spacing: .2em; 
   color: #a9b4c3; 
   text-align: center; 
   margin: 12px 0 8px; 
}
dialog#bookDialog .testament:nth-child(2)
{ 
   margin-top: -40px;
}
dialog#bookDialog .group 
{ 
   margin: 0 0 8px; 
}
dialog#bookDialog .book-row, dialog#chapterDialog .chapter-row 
{ 
   display: flex; 
   justify-content: center; 
   gap: clamp(5px, 1.4vw, 9px); 
   margin: 0 0 6px; 
   flex-wrap: wrap;
}
dialog#bookDialog .book-row
{
   margin: 0 0 4px !important; 
   flex-wrap: balance !important;
}
dialog#bookDialog .book, dialog#chapterDialog .chapter
{ 
   --c: #fff; 
   min-width: 0; 
   height: clamp(35px, 8vw, 44px); 
   border-radius: 9px; 
   border: 1px solid color-mix(in srgb, var(--c), transparent 25%); 
   color: var(--c); 
   background: color-mix(in srgb, var(--c) 13%, #1b222d); 
   font-size: clamp(12px, 3.3vw, 15px); 
   font-weight: 750; 
   font-variant-numeric: tabular-nums; 
   transition: background .15s, transform .15s; 

   height: clamp(26px, 6vw, 44px); 
}
dialog#bookDialog .book
{
   flex-basis: auto;
}
dialog#chapterDialog .chapter
{
   flex: 0 1 54px; 
}
dialog#bookDialog .book:hover, .book:focus-visible, .book.current, .chapter.current
{ 
   background: color-mix(in srgb, var(--c) 33%, #1b222d); 
   outline: 2px solid var(--c); 
   outline-offset: 1px; 
}
dialog#bookDialog .book:active 
{ 
   transform: scale(.95); 
}
dialog#bookDialog .divider 
{ 
   border: 0; 
   border-top: 1px solid #657184; 
   margin: 14px 9px; 
}
dialog#bookDialog #selection 
{ 
   min-height: 1.2em; 
   text-align: center; 
   font-size: 12px; 
   color: #bac6d3; 
   margin: 10px 0 0; 
}

#movingImage
{
   position: fixed;
   z-index: 9999;
   top: 100px;
   left: 100px;
   top: 40px;
   left: 166px;
   max-height: 10%;

   transition: top 0.6s ease, left 0.6s ease;
   cursor: pointer;
   
   filter: drop-shadow(hsla(0, 0%, 0%, 0.5) 2px 4px 6px);

   cursor: grab;
   touch-action: none;
   user-select: none;
   -webkit-user-select: none;
}
/*html:not(.summary-images) #movingImage*/
html.summary-images #movingImage
{
   display: none;
}
#movingImage.dragging
{
   cursor: grabbing;
   transition: none;
}

/* Vertically Draggable Divider ... */
#studyContainer {
   --divider-height: 8px;
   --divider-height: 10px; /* Also event.js ... container.style.gridTemplateRows = ... */
   
   display: grid;
   grid-template-rows: minmax(0, 1fr) var(--divider-height) minmax(0, 1fr);
   height: 100dvh;
   min-height: 0;
}

#biblePanel {
   position: relative;
   grid-row: 1;
   min-height: 0;
   overflow: auto;
   overflow-x: hidden;
}

#studyDivider {
   grid-row: 2;
   height: var(--divider-height);
   cursor: row-resize;
   touch-action: none;
   xxxbackground: #333;
   display: flex;
   align-items: center;
   justify-content: center;
   
   xxxbackground: linear-gradient(90deg, transparent, hsl(0 0% 100% / 0.5), hsl(340 100% 50% / 1), hsl(0 0% 100% / 0.5), transparent);
   xxxmask-image: linear-gradient(to top, black 75%, transparent 100%);
   xxxmargin-top: calc(-1 * var(--divider-height));
   z-index: 1;
   
   mask-image: linear-gradient(
      to left,
      transparent 25%,
      black 50%, transparent 75%
   );
   border-bottom: 1px solid hsl(0 0% 0% / 0.15);   
}

#studyDivider::after {
   content: "";
   width: 48px;
   height: 3px;
   background: #888;
   border-radius: 3px;
   
   background: white;
   background: black;
   height: 4px;
   border-radius: 4px;
}

#referencePanel {
   grid-row: 3;
   min-height: 0;
   overflow: auto;
   
   margin-top: calc(-1 * var(--divider-height));
}

body:not(.commentary, .dictionary, .lexicon, .reference) #studyContainer
{
   display: block;
}
body:not(.commentary, .dictionary, .lexicon, .reference) #biblePanel
{
   position: relative;
   inset: auto;
}
body:not(.commentary, .dictionary, .lexicon, .reference) #studyDivider
{
   display: none;
}
body:not(.commentary, .dictionary, .lexicon, .reference) #referencePanel
{
   display: none;
}
/* ... Vertically Draggable Divider */

/* Clouds ... */
.cloud-layer {
   width: 200%;
   top: 0;
   left: 0;
   position: fixed;
   pointer-events: none;
}
.cloud-layer img {
   --mid-scale: 5;
   --delay-mult-a: 6;
   --flip-horizontal: 1;
   
   position: absolute;
   height: unset !important;
   width: 1600px;
   top: 240px;
   opacity: var(--opacity-layer);
   animation: cloudMove2 calc(var(--delay-mult-a) * var(--delay-mult-b)) linear -65s infinite;

   top: -240px;
}
.cloud-layer.layer-back img {
   --scale: 1.4;
   --delay-mult-b: 56s;
   --opacity-layer: 0.4;
}
.cloud-layer.layer-mid img {
   --scale: 1;
   --flip-horizontal: -1;
   --delay-mult-b: 37s;
   --opacity-layer: 0.7;
}
.cloud-layer.layer-front img {
   --scale: 0.85;
   --delay-mult-b: 20s;
   --opacity-layer: 1.0;
}
@keyframes cloudMove2 {
   0% {
      left: calc(1000px * var(--mid-scale) * var(--scale));
      transform: scale(calc(var(--mid-scale) * var(--scale) * var(--flip-horizontal)), calc(var(--mid-scale) * var(--scale)));
   }
   100% {
      left: calc(-1000px * var(--mid-scale) * var(--scale));
      transform: scale(calc(var(--mid-scale) * var(--scale) * var(--flip-horizontal)), calc(var(--mid-scale) * var(--scale)));
   }
}
/* ... Clouds */

/* Highlight Options ... */
#highlightOptions {
   display: flex;
   flex-direction: column;
   gap: 8px;
}

#highlightOptions b {
   margin-top: 10px;
   letter-spacing: 3px;
}

#highlightOptions label {
   display: flex;
   align-items: center;
   gap: 10px;
   cursor: pointer;
}

#highlightOptions input {
   width: 20px;
   height: 20px;
   accent-color: #add8e6;
}

body:not([data-highlight-options~="god"]) god
{
   --color-god-speak: initial;
}

body:not([data-highlight-options~="jesus"]) jesus
{
   --color-jesus-speak: initial;
}

body:not([data-highlight-options~="names"]) highlight.blue
{
   --underline: none;
}

body:not([data-highlight-options~="titles"]) highlight.purple
{
   --underline: none;
}

body:not([data-highlight-options~="words"]) highlight:not(.phrase)[data-frequency]
{
   border-bottom: none;
}

body:not([data-highlight-options~="words"]) highlight:not(.phrase)[data-frequency]::after
{
   display: none;
}

body:not([data-highlight-options~="phrases"]) highlight.phrase[data-frequency]
{
   border-left: none;
   border-right: none;
}
/* ... Highlight Options */

/* Poetry Formatting ... */
html.highlight .poetry-line {
   display: block;
}

html.highlight .poetry-line.indent {
   padding-left: 24px;
}
/* ... Poetry Formatting */