/* ===== Icons (replaces Font Awesome all.js, 1.6 MB) =====
   Icons: Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com
   License: CC BY 4.0 (https://fontawesome.com/license/free) */
.fa,.fas{display:inline-block;height:1em;width:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:var(--fa-i) center/contain no-repeat;mask:var(--fa-i) center/contain no-repeat}
.fa.hide,.fas.hide{display:none}
.fa-caret-down{width:0.625em;--fa-i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20320%20512%27%3E%3Cpath%20d%3D%27M137.4%20374.6c12.5%2012.5%2032.8%2012.5%2045.3%200l128-128c9.2-9.2%2011.9-22.9%206.9-34.9s-16.6-19.8-29.6-19.8L32%20192c-12.9%200-24.6%207.8-29.6%2019.8s-2.2%2025.7%206.9%2034.9l128%20128z%27%2F%3E%3C%2Fsvg%3E")}
.fa-caret-up{width:0.625em;--fa-i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20320%20512%27%3E%3Cpath%20d%3D%27M182.6%20137.4c-12.5-12.5-32.8-12.5-45.3%200l-128%20128c-9.2%209.2-11.9%2022.9-6.9%2034.9s16.6%2019.8%2029.6%2019.8H288c12.9%200%2024.6-7.8%2029.6-19.8s2.2-25.7-6.9-34.9l-128-128z%27%2F%3E%3C%2Fsvg%3E")}
.fa-book{width:0.875em;--fa-i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20d%3D%27M96%200C43%200%200%2043%200%2096V416c0%2053%2043%2096%2096%2096H384h32c17.7%200%2032-14.3%2032-32s-14.3-32-32-32V384c17.7%200%2032-14.3%2032-32V32c0-17.7-14.3-32-32-32H384%2096zm0%20384H352v64H96c-17.7%200-32-14.3-32-32s14.3-32%2032-32zm32-240c0-8.8%207.2-16%2016-16H336c8.8%200%2016%207.2%2016%2016s-7.2%2016-16%2016H144c-8.8%200-16-7.2-16-16zm16%2048H336c8.8%200%2016%207.2%2016%2016s-7.2%2016-16%2016H144c-8.8%200-16-7.2-16-16s7.2-16%2016-16z%27%2F%3E%3C%2Fsvg%3E")}
.fa-search{width:1em;--fa-i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M416%20208c0%2045.9-14.9%2088.3-40%20122.7L502.6%20457.4c12.5%2012.5%2012.5%2032.8%200%2045.3s-32.8%2012.5-45.3%200L330.7%20376c-34.4%2025.2-76.8%2040-122.7%2040C93.1%20416%200%20322.9%200%20208S93.1%200%20208%200S416%2093.1%20416%20208zM208%20352c79.5%200%20144-64.5%20144-144s-64.5-144-144-144S64%20128.5%2064%20208s64.5%20144%20144%20144z%27%2F%3E%3C%2Fsvg%3E")}
.fa-check-circle{width:1em;--fa-i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M256%20512c141.4%200%20256-114.6%20256-256S397.4%200%20256%200S0%20114.6%200%20256S114.6%20512%20256%20512zM369%20209L241%20337c-9.4%209.4-24.6%209.4-33.9%200l-64-64c-9.4-9.4-9.4-24.6%200-33.9s24.6-9.4%2033.9%200l47%2047L335%20175c9.4-9.4%2024.6-9.4%2033.9%200s9.4%2024.6%200%2033.9z%27%2F%3E%3C%2Fsvg%3E")}
.fa-exclamation-circle{width:1em;--fa-i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M256%20512c141.4%200%20256-114.6%20256-256S397.4%200%20256%200S0%20114.6%200%20256S114.6%20512%20256%20512zm0-384c13.3%200%2024%2010.7%2024%2024V264c0%2013.3-10.7%2024-24%2024s-24-10.7-24-24V152c0-13.3%2010.7-24%2024-24zm32%20224c0%2017.7-14.3%2032-32%2032s-32-14.3-32-32s14.3-32%2032-32s32%2014.3%2032%2032z%27%2F%3E%3C%2Fsvg%3E")}

/* ===== Cross references per verse + popup (bible.php) ===== */
.verse .verse_text{flex:1 1 auto;min-width:0}
.xref-verse{display:block;margin:3px 0 0;font-size:15px;line-height:1.5;color:#999;text-align:left}
.xref-verse a.xref{color:#999;text-decoration:none;white-space:nowrap}
.xref-verse a.xref:hover,.xref-verse a.xref.active{color:#333;text-decoration:underline}
.xref-pop{display:block;margin:8px 0 4px;text-align:left;color:#222;border:1px solid #ddd;background:#fafafa;border-radius:4px;padding:10px 12px;font-size:17px;line-height:1.55}
.xref-pop__head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.xref-pop__title{flex:0 1 auto;margin-right:auto;font-weight:bold;text-decoration:none;color:inherit;line-height:28px;padding-top:2px}
.xref-pop__title:hover{text-decoration:underline}
.xref-pop__count{color:#222;font-size:14px;min-width:38px;text-align:center;line-height:28px}
.xref-pop button{box-sizing:border-box;height:28px;min-width:32px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #ddd;border-radius:3px;cursor:pointer;font-size:20px;line-height:1;padding:0 10px;color:#333;font-family:inherit}
/* IM Fell glyphs sit low in their box - lift them to the optical centre */
.xref-pop .xref-pop__prev,.xref-pop .xref-pop__next{padding-bottom:3px}
.xref-pop .xref-pop__close{padding-bottom:0}
.xref-pop button:hover{background:#eee}
.xref-pop .xref-pop__verse{margin:0 0 6px;padding:0}
.xref-pop .xref-pop__verse:last-child{margin-bottom:0}
.xref-pop__num{color:#c00;font-size:13px;margin-right:4px;vertical-align:super}
.xref-pop__loading{color:#888}
.footer-xref{font-size:12px;color:#888;margin-top:-4px;line-height:1.4}
.footer-xref a{color:inherit}

/* ===== Footer layout ===== */
#footer{align-items:flex-start}
#footer--right{text-align:right}
@media only screen and (max-width: 1250px){
    #footer{align-items:center}
    #footer--right{text-align:center}
}

/* ===== Header dropdowns: always above page content, dim page while the Bible menu is open ===== */
#header{position:relative;z-index:100}
#header-dropdown,#search-result{z-index:110}
#header-dropdown{top:100%}
#header-dropdown:not(.hide),#search-result:not(.hide):not(:empty){box-shadow:0 16px 24px -8px rgba(0,0,0,.22)}
#dropdown-open.active{border-bottom:0;padding-bottom:6px}
body:has(#header-dropdown:not(.hide))::before,body:has(#search-result:not(.hide):not(:empty))::before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:90}
