MediaWiki: Common.css: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
mNo edit summary
mNo edit summary
(130 intermediate revisions by 3 users not shown)
Line 3: Line 3:


/* =================================== */
/* =================================== */
/* ===     ALL PAGES, ALL SKINS       */
/* === ALL PAGES, ALL SKINS */
/* =================================== */
/* =================================== */


Line 10: Line 10:
/* Hebrew font */
/* Hebrew font */
@font-face {
@font-face {
font-family: "SBL Hebrew";  
  font-family: "SBL Hebrew";  
unicode-range: U+0590-05FF;
  unicode-range: U+0590-05FF;
src: url("/customizations/SBL-Hebrew/subset-hebrew/SBL-Hebrew.woff2") format("woff2"),  
  src: url("/customizations/SBL-Hebrew/subset-hebrew/SBL-Hebrew.woff2") format("woff2"),  
    url("/customizations/SBL-Hebrew/subset-hebrew/SBL-Hebrew.woff") format("woff");
        url("/customizations/SBL-Hebrew/subset-hebrew/SBL-Hebrew.woff") format("woff");
font-display: swap;
  font-display: swap;
}
}
/* Greek font */
/* Greek font */
@font-face {
@font-face {
font-family: "Gentium Plus";  
  font-family: "Gentium Plus";  
unicode-range: U+0370-03FF, U+1F00-1FFF;
  unicode-range: U+0370-03FF, U+1F00-1FFF;
src: url("/customizations/Gentium-Plus/subset-greek/GentiumPlus-Regular.woff2") format("woff2"),  
  src: url("/customizations/Gentium-Plus/subset-greek/GentiumPlus-Regular.woff2") format("woff2"),  
    url("/customizations/Gentium-Plus/subset-greek/GentiumPlus-Regular.woff") format("woff");
        url("/customizations/Gentium-Plus/subset-greek/GentiumPlus-Regular.woff") format("woff");
   font-display: swap;;
   font-display: swap;;
}
}
Line 34: Line 34:
/* === CSS Variables === */
/* === CSS Variables === */
:root {
:root {
  /* Font families */
/* === Font Families === */
  --font-sans: "SBL Hebrew", "Gentium Plus", "Open Sans", "Segoe UI", "Helvetica Neue", "Roboto", Arial, sans-serif;
--font-serif: "SBL Hebrew", "Gentium Plus", "Lora", serif;
  --font-serif: "SBL Hebrew", "Gentium Plus", "Lora", serif;
--font-sans: "SBL Hebrew", "Gentium Plus", "Open Sans", "Segoe UI", "Helvetica Neue", "Roboto", Arial, sans-serif;


  /* Scriptura Brand Colors */
/* === Brand Colors === */
  --color-brand-orange: #de835e;             /* warm clay orange */   
--color-brand-red2:            #7d2b2d;
--color-brand-red1:            #9a393b;
--color-brand-orange:         #de835e;
--color-brand-mustard1:        #f2c256;
--color-brand-mustard2:        #ffd85c;
--color-brand-green:          #28615e;
--color-brand-blue:            #3eb9cf;
--color-brand-dark-gray:      #382c34;
--color-brand-sand:            #f4eadb;


  --color-brand-red1: #9a393b;               /* rich red */
/* === Brand Colors & Variations, with Consistent Naming === */
  --color-brand-red: #9a393b;                /* alias for brand-red1 */
--color-red-dark:              var(--color-brand-red2);
 
--color-red:                  var(--color-brand-red1);
  --color-brand-red2: #7d2b2d;               /* deeper red */
--color-red-light:             #c85a5e;
  --color-brand-red-dark: #7d2b2d;           /* alias for brand-red2 */
--color-red-lighter:          #dc8786;
 
--color-red-lightest:         #efb0af;
  --color-brand-mustard1: #f2c256;           /* golden mustard */
 
  --color-brand-mustard: #f2c256;           /* alias for brand-mustard1 */
--color-orange-dark:          #c76e4e;
--color-orange:               var(--color-brand-orange);
 
--color-mustard:              var(--color-brand-mustard1);
--color-mustard-light:        var(--color-brand-mustard2);
 
--color-green:                var(--color-brand-green);
 
--color-blue-darkest:         #2a6170;
--color-blue-darker:          #317a88;
--color-blue-dark:             #369aae;
--color-blue:                  var(--color-brand-blue);
 
--color-black:                #000000;
--color-gray:                  var(--color-brand-dark-gray);
--color-gray-light:            #7a6f73;
--color-gray-lighter:          #a49a9d;
 
--color-sand-dark:             #DDCDB6;
--color-sand:                  var(--color-brand-sand);
--color-sand-light:            #f8f3eb;
--color-sand-lighter:          #fbf9f4;
--color-sand-lightest:         #fdfcf8;
--color-white:                #ffffff;


   --color-brand-mustard2: #ffd85c;           /* sunny mustard */
/* === Semantic: Text Colors === */
  --color-brand-mustard-light: #ffd85c;     /* alias for brand-mustard2 */
--color-text: var(--color-gray);   /* Body text */
    
--color-text-light: var(--color-gray-light);       /* Lighter secondary text */
  --color-grand-green: #28615e;             /* deep forest green */
--color-text-dark: var(--color-black);       /* High-contrast fallback */
--color-text-muted: var(--color-sand-dark);   /* Muted/disabled tone */
--color-text-accent: var(--color-sand-lighter); /* Faint highlight */
--color-text-accent-light: var(--color-sand-lightest); /* Near-white highlight */


  --color-brand-blue: #3eb9cf;               /* bright cyan-blue */
/* === Semantic: Headings === */
--color-heading-main: var(--color-red);   /* Main headings */
--color-heading-sub: var(--color-blue-dark);    /* Subheadings */


  --color-brand-sand: #f4eadb;               /* light parchment beige */
/* === Semantic: Link Colors === */
 
--color-link-default: var(--color-blue-darker);     /* Normal link color */
  --color-brand-dark-gray: #382c34;          /* very dark gray with warm brown tint */
--color-link-hover: var(--color-blue-dark);     /* Link hover color */
  --color-brand-gray-dark: #382c34;         /* alias for brand-dark-gray */
--color-link-new: var(--color-red);       /* Redlink (non-existent page) */
 
--color-link-new-hover: var(--color-red-dark); /* Redlink hover */
 
  /* Brand Color Variations */
  --color-red-light: #ba6d72;                /* softer version of brand-red */
 
  --color-sand-light: #f8f3eb;               /* lighter version of brand-sand */
  --color-sand-lighter: #fbf9f4;            /* even lighter version of brand-sand */
  --color-sand-lightest: #fdfcf8;           /* near white version of brand-sand */


  --color-gray: #7a6f73;                     /* muted version of brand-dark-gray, similar to #777 */  
/* === Semantic: Backgrounds === */
--color-background: var(--color-sand-lighter);     /* General background */
--color-background-dark: var(--color-sand);      /* Darker general background */
--color-background-light: var(--color-sand-lightest);      /* General background */


 
  /* Semantic Color Assignments */
  --color-text-main: var(--color-brand-gray-dark);        /* Main body text – dark gray with warm tint */
  --color-text-muted: var(--color-gray);                  /* Muted/subtext – soft, desaturated gray */
  --color-heading-main: var(--color-brand-red);            /* Primary headings – rich red */
  --color-heading-sub: var(--color-brand-blue);            /* Subheadings – bright cyan-blue */
  --color-link-default: var(--color-red-light);            /* Default links – softer red tone */
  --color-link-hover: var(--color-brand-red-dark);        /* Link hover – deeper red for emphasis */
  --color-link-new: var(--color-brand-gray-dark);          /* Nonexistent page links ('redlink') – fallback to main text tone */
  --color-site-notice: var(--color-brand-mustard-light);  /* Site notice background – sunny mustard */


  /* Legend Color Assignments */
/* === Semantic: Legend / Status Colors === */
  --color-legend-completed: var(--color-brand-red1);
--color-legend-completed: #8F3D3F;
  --color-legend-inprogress: var(--color-brand-orange);
--color-legend-inprogress: #D88B6B;
  --color-legend-planning: var(--color-brand-sand);
--color-legend-planning: var(--color-sand-dark);
--color-legend-translation: #A12C2F;
}
}


Line 92: Line 115:
body {
body {
   font-family: var(--font-sans);
   font-family: var(--font-sans);
font-size: 16px; /* default for tweeki skin is 14px */
  font-size: 16px; /* default for tweeki skin is 14px */
   line-height: 1.6;
   line-height: 1.6;
background-color: var(--color-sand-lightest);
  background-color: var(--color-background-light);
   background-color: var(--white);
   background-color: var(--color-white);
color: var(--color-brand-gray-dark);
  color: var(--colortext);
}
}


Line 104: Line 127:
   font-size: 3.0rem;
   font-size: 3.0rem;
   font-weight: 600;
   font-weight: 600;
   color: var(--color-brand-red);
   color: var(--color-heading-main);
   letter-spacing: 0em;
   letter-spacing: 0em;
   word-spacing: 0em;
   word-spacing: 0em;
Line 126: Line 149:
     font-size: 2.1rem;  
     font-size: 2.1rem;  
     font-weight: 600;  
     font-weight: 600;  
    color: var(--color-brand-red);  
  color: var(--color-heading-main);
     letter-spacing: 0.01em;  
     letter-spacing: 0.01em;  
     word-spacing: 0.01em;  
     word-spacing: 0.01em;  
Line 137: Line 160:
     font-size: 1.7rem;
     font-size: 1.7rem;
     font-weight: 600;  
     font-weight: 600;  
    color: var(--color-brand-gray-dark);
  color: var(--color-gray);
     letter-spacing: 0.015em;  
     letter-spacing: 0.015em;  
     word-spacing: 0.02em;  
     word-spacing: 0.02em;  
Line 147: Line 170:
     font-size: 1.1rem;  
     font-size: 1.1rem;  
     font-weight: 600;  
     font-weight: 600;  
    color: var(--color-brand-blue);  
  color: var(--color-heading-sub);
     letter-spacing: 0.03em;  
     letter-spacing: 0.03em;  
     word-spacing: 0.03em;  
     word-spacing: 0.03em;  
Line 155: Line 178:
}
}
h5, .h5 {
h5, .h5 {
font-family: var(--font-serif);
  font-family: var(--font-serif);
     font-size: 1.1rem;  
     font-size: 1.1rem;  
     font-weight: 600;  
     font-weight: 600;  
    color: var(--color-brand-gray-dark);  
  color: var(--color-gray);  
     letter-spacing: 0.01em;  
     letter-spacing: 0.01em;  
     word-spacing: 0.02em;  
     word-spacing: 0.02em;  
Line 166: Line 189:
h6, .h6 {
h6, .h6 {
     font-family: var(--font-serif);
     font-family: var(--font-serif);
  font-size: 0.9rem;  
  font-size: 0.95rem;  
     font-weight: 600;  
     font-weight: 600;  
    color: var(--color-brand-blue);  
  color: var(--color-heading-sub);
     letter-spacing: 0.02em;  
     letter-spacing: 0.02em;  
     word-spacing: 0.02em;  
     word-spacing: 0.02em;  
Line 191: Line 214:
   font-weight: 600;
   font-weight: 600;
   letter-spacing: 0em;
   letter-spacing: 0em;
   color: var(--color-brand-gray-dark);
   color: var(--color-gray);
}
}
h1.firstHeading, h1.tweekiFirstHeading {
h1.firstHeading, h1.tweekiFirstHeading {
Line 204: Line 227:
   font-size: 115%;
   font-size: 115%;
   line-height: 120%;
   line-height: 120%;
padding-inline: 0.25%;
  padding-inline: 0.25%;
letter-spacing: -1%;
  letter-spacing: -1%;
word-spacing: 50%;
  word-spacing: 50%;
   direction: rtl;
   direction: rtl;
   unicode-bidi: isolate;
   unicode-bidi: isolate;
display: inline-block; /* Needed for padding to work on inline headings */
  display: inline-block; /* Needed for padding to work on inline headings */
   overflow: visible;
   overflow: visible;
text-transform: none;
  text-transform: none;
}
}
.he {
.he {
   font-size: 120%;
   font-size: 120%;
   line-height: 125%; /* a rough calculation of a browser's line-height:normal value of ~1.2 applied as follows: ~1.2 × 1.25 = 1.5, which is the line-height for the entire page */
   line-height: 125%; /* a rough calculation of a browser's line-height:normal value of ~1.2 applied as follows: ~1.2 × 1.25 = 1.5, which is the line-height for the entire page */
padding-inline: 0.2%;
  padding-inline: 0.2%;
letter-spacing: 1%;
  letter-spacing: 1%;
word-spacing: 50%;
  word-spacing: 50%;
   text-transform: none;
   text-transform: none;
   vertical-align: baseline;
   vertical-align: baseline;
Line 225: Line 248:
   display: inline;
   display: inline;
   overflow: visible;
   overflow: visible;
text-transform: none;
  text-transform: none;
}
}


.lead {
.lead {
font-family: var(--font-serif);
  font-family: var(--font-serif);
color:#000000;
  color:#000000;
}
}
.lead b, .lead strong {
.lead b, .lead strong {
font-weight: bold;
  font-weight: bold;
}
}
#bodyContent #contentSub {
#bodyContent #contentSub {
margin-left: 0;
  display:none;
}
}
#siteNotice {
#siteNotice {
background-color: var(--color-brand-mustard-light);
  background-color: var(--color-mustard-light);
}
}
#siteNotice h1 {
#siteNotice h1 {
Line 250: Line 273:
     font-family: var(--font-sans);
     font-family: var(--font-sans);
     font-weight: 600;
     font-weight: 600;
    color: var(--color-gray);
  color: var(--color-gray-light);
     margin-bottom: 0.2rem;
     margin-bottom: 0.2rem;
}
}
Line 256: Line 279:
#tweekiTOC .toctitle h2 a {
#tweekiTOC .toctitle h2 a {
     font-weight: 600;
     font-weight: 600;
    color: var(--color-gray);
  color: var(--color-gray-light);
}
}


Line 264: Line 287:
   display: none;
   display: none;
}
}
/* navbar adjustments */
/* navbar adjustments */
#mw-navigation {
#mw-navigation {
Line 275: Line 299:
     font-size: 0.9rem;
     font-size: 0.9rem;
}
}
 
.navbar {
 
  background-color: var(--color-sand);
/* for images that exceed the page width, put a <div class="img-fluid"> around them */
  font-size: 0.9rem;
.responsive-img img {
}
max-width: 100%;
.navbar a {
height: auto;
  font-size: 0.9rem;
}
.navbar a, .navbar a:visited {
  color: var(--color-gray-light);
}
.navbar a:hover, .navbar a:focus, .navbar a:active {
  color: var(--color-gray);
}
}


.navbar-brand img {
.navbar-brand img {
height: 30px;
  height: 35px;
margin-top: 0;
  margin-top: 0;
}
}


header .navbar-nav .nav-item {
header .navbar-nav .nav-item {
padding-right: 10px;
  padding-right: 10px;
}
 
/* login and sign up buttons and icons */
#anonLoginButton {
    color: var(--color-link-default) !important;
    border-color: var(--color-link-default) !important;
    background-color: transparent !important;
}
#anonLoginButton:hover {
    color: var(--white) !important;
    border-color: var(--color-link-hover) !important;
    background-color: var(--color-link-hover) !important;
}
 
#anonSignupButton {
    color: var(--white) !important;
    border-color: var(--color-link-default) !important;
    background-color: var(--color-link-default) !important;
}
#anonSignupButton:hover {
    color: var(--white) !important;
    border-color: var(--color-link-hover) !important;
    background-color: var(--color-link-hover) !important;
}
#anonLoginButton i,
#anonSignupButton i {
  font-size: 0.9em;
  opacity: 0.7;
  color: inherit;
  transition: opacity 0.2s ease;
}
#anonLoginButton:hover i,
#anonSignupButton:hover i {
  opacity: 0.9;
}
 
.anonymous-show.fas.fa-user-plus {
    font-size: 0.8em; /* shrink icon relative to text */
    opacity: 0.4;
    transition: opacity 0.2s ease;
}
a:hover .anonymous-show.fas.fa-user-plus {
    opacity: 0.7;
}
 
/* for images that exceed the page width, put a <div class="img-fluid"> around them */
.responsive-img img {
  max-width: 100%;
  height: auto;
}
}


footer#footer {
footer#footer {
padding-top: 0;
  padding-top: 0;
padding-bottom: 0;
  padding-bottom: 0;
}
}
footer#footer #n-login-ext {
footer#footer #n-login-ext {
-webkit-appearance: none;  
  -webkit-appearance: none;  
}
}


/* Link styles */
/* Link styles */
Line 307: Line 387:
a:hover, a:focus,
a:hover, a:focus,
#content a:hover, #content a:focus {
#content a:hover, #content a:focus {
   color: var(--color-brand-red);
   color: var(--color-link-hover);
   text-decoration: underline;
   text-decoration: underline;
}
}
Line 316: Line 396:
a.external:hover, a.external:focus,
a.external:hover, a.external:focus,
#content a.external:hover, #content a.external:focus {
#content a.external:hover, #content a.external:focus {
   color: var(--color-brand-red) !important;
   color: var(--color-link-hover) !important;
}
}
a.new, a.new:visited, a.new:hover, a.new:focus,
a.new, a.new:visited,  
#content a.new, #content a.new:visited, #content a.new:hover, #content a.new:focus {
#content a.new, #content a.new:visited {
   /* class automatically assigned for links to pages that do not yet exist */
   /* class automatically assigned for links to pages that do not yet exist */
   color: var(--color-brand-gray-dark);
   color: var(--color-link-new);
}
a.new:hover, a.new:focus,
#content a.new:hover, #content a.new:focus {
  color: var(--color-link-new-hover);
}
#tweekiTOC #toc a, #tweekiTOC #toc a:visited {
  color: var(--color-gray-lighter);
}
#tweekiTOC #toc a.active, #tweekiTOC #toc a:focus, #tweekiTOC #toc a:hover {
  color: var(--color-gray);
}
}


audio {
    border-radius: 0.25rem;
}


/* for MsUpload */
/* for MsUpload */
#msupload-dropzone, #msupload-bottom {
#msupload-dropzone, #msupload-bottom {
height: auto;
  height: auto;
}
}


Line 345: Line 438:
/* hide sidebsar-right on small screens rather than displaying at the bottom of the screen */
/* hide sidebsar-right on small screens rather than displaying at the bottom of the screen */
div#sidebar-right {
div#sidebar-right {
display: none;
  display: none;
}
}
@media (min-width: 768px) {  /* Show sidebar on md (≥768px) and larger */
@media (min-width: 768px) {  /* Show sidebar on md (≥768px) and larger */
Line 358: Line 451:
/* When editing a page, stop sidebar getting in the way of SMW Form edit tools by shortening the sidebar */
/* When editing a page, stop sidebar getting in the way of SMW Form edit tools by shortening the sidebar */
#contentwrapper.editable #sidebar-right {
#contentwrapper.editable #sidebar-right {
height: 50px;
  height: 50px;
}
}


/* Accordion styling */
/* Accordion styling */
.accordion {
.accordion {
margin: 0 0 1.6em 1.6em;
  margin: 0 0 1.6em 1.6em;
}
}
.card {
.card {
background-color: unset;
  background-color: unset;
border: 0;
  border: 0;
padding: 0;
  padding: 0;
}
}
.card-header {
.card-header {
padding: 0;
  padding: 0;
background-color: unset;
  background-color: unset;
border-bottom: 0;
  border-bottom: 0;
}
}
.card-header h2 {
.card-header h2 {
margin-top: 0;
  margin-top: 0;
font-family: var(--font-sans);
  font-family: var(--font-sans);
}
}
.card-header .btn {
.card-header .btn {
padding: 0;
  padding: 0;
}
}
.card-body {
.card-body {
padding: 0;
  padding: 0;
}
}
.card-body pre {
.card-body pre {
margin-bottom: 0;
  margin-bottom: 0;
}
}
.user-show, .editor-show {
.staff-only, .user-only {
display: none;
  display: none;
}
}


Line 417: Line 510:
   overflow: auto;
   overflow: auto;
}
}
.jsgrid-grid-body { height: unset;   overflow: auto;
.jsgrid-grid-body { height: unset; overflow: auto;
}
}
.jsgrid-grid-table { height: unset;   overflow: auto;
.jsgrid-grid-table { height: unset; overflow: auto;
}
}
.outline > li {
.outline > li {
Line 443: Line 536:
/* Nav boxes linking to other Scriptura sites */
/* Nav boxes linking to other Scriptura sites */
.page-welcome .nav-boxes {
.page-welcome .nav-boxes {
display: flex;
  display: flex;
flex-wrap: wrap;
  flex-wrap: wrap;
align-items: stretch;
  align-items: stretch;
justify-content: space-between;
  justify-content: space-between;
}
}
.page-welcome .nav-boxes .nav-box {
.page-welcome .nav-boxes .nav-box {
flex-grow: 1;
  flex-grow: 1;
display: flex;
  display: flex;
align-items: flex-end;
  align-items: flex-end;
justify-content: center;
  justify-content: center;
padding-top: 1rem;
  padding-top: 1rem;
padding-bottom: 1rem;
  padding-bottom: 1rem;
}
}
.page-welcome .nav-boxes .nav-box:nth-child(even) {
.page-welcome .nav-boxes .nav-box:nth-child(even) {
background: #FBF9F7;
  background: #FBF9F7;
}
}
.page-welcome .nav-boxes .nav-box:nth-child(odd) {
.page-welcome .nav-boxes .nav-box:nth-child(odd) {
background: #F3EEE6;
  background: #F3EEE6;
}
}
.page-welcome .nav-boxes .nav-box p {
.page-welcome .nav-boxes .nav-box p {
display: flex;
  display: flex;
flex-direction: column;
  flex-direction: column;
text-align: center;
  text-align: center;
}
}
.page-welcome .nav-boxes .nav-box img {
.page-welcome .nav-boxes .nav-box img {
max-width: 100%;
  max-width: 100%;
height: auto;
  height: auto;
padding: 1rem;
  padding: 1rem;
}
}
/* Index of psalms */
/* Index of psalms */
.page-welcome .index {
.page-welcome .index {
display: flex;
  display: flex;
flex-wrap: wrap;
  flex-wrap: wrap;
justify-content: space-between;
  justify-content: space-between;
}
}
.page-welcome .index .index-item {
.page-welcome .index .index-item {
width: 3.2em; /*1.7em;*/
  width: 3.2em; /*1.7em;*/
font-size: 1.5em;
  font-size: 1.5em;
text-align: right;
  text-align: right;
padding: .3em .5em;
  padding: .3em .5em;
  display: inline-block;
}
}
.page-welcome .index .link-deemphasize a {
.page-welcome .index .link-deemphasize a {
color: #888;
  color: #888;
font-weight: lighter;
  font-weight: lighter;
}
}


/* Color Legend */
/* Color Legend */
/* Color variants */
.legend-translation  { background-color: var(--color-legend-translation); border: 4px solid white;}
.legend-completed  { background-color: var(--color-legend-completed); border: 4px solid transparent;}
.legend-inprogress  { background-color: var(--color-legend-inprogress); border: 4px solid transparent;}
.legend-planning  { background-color: var(--color-legend-planning); border: 4px solid transparent;}
.legend-borderless  { background-color: #ffffff; border: 4px solid transparent;}
/* Container for legend items */
/* Container for legend items */
.color-legend-container {
.color-legend-container {
   max-width: 600px;
   max-width: 800px;
   margin: 0 auto;
   margin: 0 auto;
   padding-top: 1rem;
   padding-top: 1rem;
  transform: scale(0.7);
}
}
.color-legend-row {
.color-legend-row {
   display: flex;
   display: flex;
   justify-content: center;
   justify-content: center;
   align-items: center;
   align-items: flex-start;
   text-align: center;
   text-align: center;
   flex-wrap: wrap;
   flex-wrap: wrap;
Line 506: Line 605:
/* Shared styling for outer circle */
/* Shared styling for outer circle */
.legend-circle-outer {
.legend-circle-outer {
   width: 60px;
   width: 64px;
   height: 60px;
   height: 64px;
   border-radius: 50%;
   border-radius: 50%;
  border: 2px solid white;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
Line 520: Line 618:
   height: 50px;
   height: 50px;
   border-radius: 50%;
   border-radius: 50%;
  border: 2px solid white;
   position: relative;
   position: relative;
   text-align: center;
   text-align: center;
   line-height: 50px;
   line-height: 44px;
   font-weight: bold;
   font-weight: bold;
   font-size: 16px;
   font-size: 16px;
   display: inline-block;
   display: inline-block;
}
}
/* Color variants */
.legend-completed    { background-color: var(--color-legend-completed); }
.legend-inprogress    { background-color: var(--color-legend-inprogress); }
.legend-planning      { background-color: var(--color-legend-planning); }
/* Label text below icon */
/* Label text below icon */
.legend-label {
.legend-label {
  djr-font-weight: bold;
   padding: 0.25rem;
   padding: 0.25rem;
}
}


/* === Page: Login === */
#userloginForm form {
width: 340px;
}
/* === Page: Signup === */
input.form-check-input[type="checkbox"] {
margin-top: 0.3rem;
margin-left: -1.25rem;
}


/* === Page: Access Request Thank You === */
/* === Page: Access Request Thank You === */
Line 545: Line 647:
/* Increase Hebrew text size (but not Hebrew text in svg diagrams) */
/* Increase Hebrew text size (but not Hebrew text in svg diagrams) */
.GrammarLayerSection > .hebrew {
.GrammarLayerSection > .hebrew {
font-size: 1.75rem;
  font-size: 1.75rem;
text-align: right;
  text-align: right;
}
}


Line 558: Line 660:
}
}


/* Semantics */
.mw-customtoggle-verbal {
    background-color: var(--color-link-default) !important;
    padding: 5px 1rem !important;
    border-radius: 0.25rem;
    outline: none;
    color: white;
    display: inline-block;


/* =================================== */
}
 
/* Poetry */
.mw-customtoggle-text-panel {
    position:sticky;
    top:100px;
    cursor:pointer;
    border-radius: 0.25rem;
    border:none;
    background-color:var(--color-link-default);
    display:inline-flex;
    gap:0.5rem;
    padding:0.5rem 1rem;
    align-items:center;
    justify-content:center;
    color:white;
    z-index:1028;
}
 
/* Verse by Verse (VxV) */
.mw-customtoggle-vxv-toc.js-toggle-caret-controller.mw-customtoggle {
    cursor:pointer;
    border-radius: 0.25rem;
    border:none;
    background-color:var(--color-link-default);
    display:inline-block;
    padding:0.5rem 1rem;
    align-items:center;
    justify-content:center;
    color:white;
    z-index:1028;
}
 
 
/* =================================== */
/* ======  MICHAEL'S CSS EDITS ======= */
/* ======  MICHAEL'S CSS EDITS ======= */
/* =================================== */
/* =================================== */
Line 569: Line 713:


.page-ResourceSite_Welcome-Mike #maincontentwrapper {
.page-ResourceSite_Welcome-Mike #maincontentwrapper {
display: flex;
  display: flex;
flex-direction: column;
  flex-direction: column;
justify-content: center;
  justify-content: center;
padding: 120px;
  padding: 120px;
}
}


Line 579: Line 723:


.page-ResourceSite_Welcome-Mike .nav-boxes {
.page-ResourceSite_Welcome-Mike .nav-boxes {
display: flex;
  display: flex;
flex-wrap: wrap;
  flex-wrap: wrap;
align-items: flex-end;
  align-items: flex-end;
justify-content: space-between;
  justify-content: space-between;
}
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box {
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box {
flex-grow: 1;
  flex-grow: 1;
display: flex;
  display: flex;
align-items: flex-end;
  align-items: flex-end;
justify-content: center;
  justify-content: center;
}
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box:nth-child(even) {
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box:nth-child(even) {
background: #FBF9F7;
  background: #FBF9F7;
}
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box:nth-child(odd) {
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box:nth-child(odd) {
background: #F3EEE6;
  background: #F3EEE6;
}
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box p {
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box p {
display: flex;
  display: flex;
flex-direction: column;
  flex-direction: column;
text-align: center;
  text-align: center;
}
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box img {
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box img {
max-width: 100%;
  max-width: 100%;
height: auto;
  height: auto;
padding: 1rem;
  padding: 1rem;
}
}
/* Index of psalms */
/* Index of psalms */
.page-ResourceSite_Welcome-Mike .index {
.page-ResourceSite_Welcome-Mike .index {
display: flex;
  display: flex;
flex-wrap: wrap;
  flex-wrap: wrap;
justify-content: space-between;
  justify-content: space-between;
}
}
.page-ResourceSite_Welcome-Mike .index .index-item {
.page-ResourceSite_Welcome-Mike .index .index-item {
width: 3.2em; /*1.7em;*/
  width: 3.2em; /*1.7em;*/
font-size: 1.5em;
  font-size: 1.5em;
text-align: right;
  text-align: right;
padding: .3em .5em;
  padding: .3em .5em;
}
}
.page-ResourceSite_Welcome-Mike .index .link-deemphasize a {
.page-ResourceSite_Welcome-Mike .index .link-deemphasize a {
color: #888;
  color: #888;
font-weight: lighter;
  font-weight: lighter;
}
}


Line 628: Line 772:


.page-ResourceSite_Welcome-Mike .mw-body {
.page-ResourceSite_Welcome-Mike .mw-body {
margin-top: -150px !important;
  margin-top: -150px !important;
}
}


Line 635: Line 779:


.page-ResourceSite_Welcome-Mike .firstHeading {
.page-ResourceSite_Welcome-Mike .firstHeading {
color: #333;
  color: #333;
display: none !important;
  display: none !important;
opacity: 0 !important;
  opacity: 0 !important;
}
}
.image-gallery {
.image-gallery {
Line 766: Line 910:
   }
   }


.banner-container img {
    border-radius: 0.25rem;
}
/* Cropped banners */
/* Cropped banners */
@media screen and (min-width: 960px) { /* Desktop view */
@media screen and (min-width: 960px) { /* Desktop view */
   .cropped {
   .cropped {
Line 798: Line 944:
@media screen and (min-width: 960px) { /* Desktop view */
@media screen and (min-width: 960px) { /* Desktop view */
   .banner-mobile {
   .banner-mobile {
  display:none;
    display:none;
   }
   }
   .banner-desktop {
   .banner-desktop {
  width:100%;
    width:100%;
  height:auto;
    height:auto;
   }
   }
}
}
Line 808: Line 954:
@media screen and (max-width: 960px) { /* Mobile view */
@media screen and (max-width: 960px) { /* Mobile view */
   .banner-desktop {
   .banner-desktop {
  display:none;
    display:none;
   }
   }
   .banner-mobile {
   .banner-mobile {
     width:100%;
     width:100%;
  height:auto;
    height:auto;
   }
   }
}
}
Line 821: Line 967:
.banner-container {
.banner-container {
   position: relative;
   position: relative;
   display:inline-block;
   /* display:inline-block; */
   color: white;
   color: white;
}
}
Line 874: Line 1,020:
     border-radius: 50%;
     border-radius: 50%;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color: var(--color-link-default);
     display:flex;
     display:flex;
     align-items:center;
     align-items:center;
     justify-content:center;
     justify-content:center;
     color:white;
     color:white !important;
     bottom: 10px;
     bottom: 30px;
     right:10px;
     right:30px;
     z-index:9999;
     z-index:9999;
   }
   }
Line 892: Line 1,038:
     border-radius: 50%;
     border-radius: 50%;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color:var(--color-link-default);
     display:flex;
     display:flex;
     align-items:center;
     align-items:center;
     justify-content:center;
     justify-content:center;
     color:white;
     color:white !important;
     bottom: 10px;
     bottom: 10px;
     right:10px;
     right:10px;
Line 905: Line 1,051:
@media screen and (min-width: 960px) { /* Desktop view */
@media screen and (min-width: 960px) { /* Desktop view */
   .navi-button{
   .navi-button{
     border-radius: 12px;
     border-radius: 0.25rem;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color:var(--color-link-default);
     display:inline-block;
     display:inline-block;
     padding:0.5rem;
     padding:0.5rem 1rem;
     align-items:center;
     align-items:center;
     justify-content:center;
     justify-content:center;
     color:white;
     color:white !important;
     z-index:9999;
     z-index:9999;
   }
   }
Line 922: Line 1,068:
     width:50px;
     width:50px;
     height:50px;
     height:50px;
     border-radius: 50%;
     border-radius: 0.25rem;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color:var(--color-link-default);
     display:flex;
     display:flex;
     align-items:center;
     align-items:center;
     justify-content:center;
     justify-content:center;
     color:white;
     color:white !important;
     bottom: 10px;
     bottom: 10px;
     left:10px;
     left:10px;
Line 937: Line 1,083:
@media screen and (min-width: 960px) { /* Desktop view */
@media screen and (min-width: 960px) { /* Desktop view */
   .ps-navi {
   .ps-navi {
  position:fixed;
    position:fixed;
  top:70px;
    top:70px;
  left:85px;
    left:85px;
     border-radius: 12px;
     border-radius: 12px;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color:var(--color-red);
     color:white;
     color:white !important;
     z-index:9999;
     z-index:9999;
     height: 50px;
     height: 50px;
Line 970: Line 1,116:
     border-radius: 12px;
     border-radius: 12px;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color:var(--color-red);
     display:flex;
     display:flex;
     align-items:center;
     align-items:center;
     justify-content: flex-start;
     justify-content: flex-start;
     color:white;
     color:white !important;
     top: 70px;
     top: 70px;
     left:10px;
     left:10px;
Line 985: Line 1,131:
     border-radius: 12px;
     border-radius: 12px;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color:var(--color-red);
     color:white;
     color:white !important;
     z-index:9999;
     z-index:9999;
     height: 50px;
     height: 50px;
Line 1,012: Line 1,158:
     border-radius: 12px;
     border-radius: 12px;
     border:none;
     border:none;
     background-color:#9DC0AF;
     background-color:var(--color-red);
     display:flex;
     display:flex;
     align-items:center;
     align-items:center;
     justify-content: flex-start;
     justify-content: flex-start;
     color:white;
     color:white !important;
     z-index:9999;
     z-index:9999;
   }
   }
Line 1,032: Line 1,178:
   }
   }
   .btn-hide-text .fa {
   .btn-hide-text .fa {
  display:inline;
    display:inline;
   }
   }
}
}
Line 1,061: Line 1,207:
   }
   }
   .navi-hide-text .fa {
   .navi-hide-text .fa {
  display:inline;
    display:inline;
   }
   }
}
}
Line 1,101: Line 1,247:
}
}


.nav-tabs .nav-link {
border-top: 3px solid transparent;
}
/*Tab background colors*/
/*Tab background colors*/
.nav-tabs .nav-link:hover {
.nav-tabs .nav-link:hover {
   background-color: #f6f6f6;
   background-color: #f6f6f6;
}
}
.nav-tabs .nav-link.active {
.nav-tabs .nav-link.active {
   border-top: 3px solid #9DC0AF;
   border-top: 3px solid var(--color-link-default);
   border-left: 1px solid #9DC0AF;
   border-left: 1px solid var(--color-link-default);
   border-right: 1px solid #9DC0AF;
   border-right: 1px solid var(--color-link-default);
  color: var(--color-text);
  text-decoration: none !important;
}
}


/* Overlay highlighting style */
/* Overlay highlighting style */
span.hebrew {
span.hebrew {
padding-top: 3px;
  padding-top: 3px;
padding-bottom:3px;
  padding-bottom:3px;
}
}


span.gloss {
span.gloss {
padding-top: 3px;
  padding-top: 3px;
padding-bottom: 3px;
  padding-bottom: 3px;
}
}


Line 1,203: Line 1,353:
.psalm-table .hebrew-cell {
.psalm-table .hebrew-cell {
   text-align: right;
   text-align: right;
  direction: rtl;
   width: 35%;
   width: 35%;
}
}
Line 1,217: Line 1,368:
}
}


/* Default fallback, only applies to Hebrew column */
#buildOverlay td.hebrew-cell .line {
  direction: rtl;
  text-align: right;
}


/* Override for verse column */
/* Override for verse column */
#buildOverlay td.verse-cell .line {
#buildTextTable td.verse-cell .line {
   direction: ltr;
   direction: ltr;
   text-align: center;
   text-align: center;
Line 1,230: Line 1,376:


/* Override for CBC/English column */
/* Override for CBC/English column */
#buildOverlay td.cbc-cell .line {
#buildTextTable td.cbc-cell .line {
   direction: ltr;
   direction: ltr;
   text-align: left;
   text-align: left;
}
}
/* To distinguish individual english spans, but not the gap spans */
/* To distinguish individual english spans, but not the gap spans */
#buildOverlay td.cbc-cell span:not(.gap) {
#buildTextTable.mode-split td.cbc-cell span:not(.gap) {
   background-color: #e8e8e8;
   background-color: #e8e8e8;
   padding: 0.1em 0.2em;
   padding: 0.1em 0.2em;
Line 1,242: Line 1,388:
}
}


#buildTextTable.mode-split span.gap {
  cursor: alias;
}
#buildTextTable td.hebrew-cell .line span:nth-of-type(1)  { color: #d9534f; }  /* red */
#buildTextTable td.hebrew-cell .line span:nth-of-type(2)  { color: #888; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(3)  { color: #e67e22; }  /* strong orange */
#buildTextTable td.hebrew-cell .line span:nth-of-type(4)  { color: #888; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(5)  { color: #f1c40f; }  /* strong yellow */
#buildTextTable td.hebrew-cell .line span:nth-of-type(6)  { color: #888; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(7)  { color: #5cb85c; }  /* green */
#buildTextTable td.hebrew-cell .line span:nth-of-type(8)  { color: #888; }


#buildTextTable td.hebrew-cell .line span:nth-of-type(9)  { color: #5bc0de; }  /* cyan */
#buildTextTable td.hebrew-cell .line span:nth-of-type(10) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(1) { color: #d9534f; }  /* red */
#buildTextTable td.hebrew-cell .line span:nth-of-type(11) { color: #9370db; }  /* purple */
#buildOverlay td.hebrew-cell .line span:nth-of-type(2) { color: #f2a7a3; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(12) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(3) { color: #f0ad4e; }  /* orange */
#buildTextTable td.hebrew-cell .line span:nth-of-type(13) { color: #da70d6; }  /* pink-purple */
#buildOverlay td.hebrew-cell .line span:nth-of-type(4) { color: #f9d6a8; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(14) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(5) { color: #f7dc6f; }  /* yellow */
#buildTextTable td.hebrew-cell .line span:nth-of-type(15) { color: #ecb3d1; }  /* soft pink */
#buildOverlay td.hebrew-cell .line span:nth-of-type(6) { color: #fbf1b5; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(16) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(7) { color: #5cb85c; }  /* green */
#buildTextTable td.hebrew-cell .line span:nth-of-type(17) { color: #a67c52; }  /* brown */
#buildOverlay td.hebrew-cell .line span:nth-of-type(8) { color: #b2e2b2; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(18) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(9) { color: #5bc0de; }  /* cyan */
#buildTextTable td.hebrew-cell .line span:nth-of-type(19) { color: #7f8c8d; }  /* gray */
#buildOverlay td.hebrew-cell .line span:nth-of-type(10) { color: #b7e5f2; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(20) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(11) { color: #9370db; }  /* purple */
#buildTextTable td.hebrew-cell .line span:nth-of-type(21) { color: #16a085; }  /* teal */
#buildOverlay td.hebrew-cell .line span:nth-of-type(12) { color: #cdbdf0; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(22) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(13) { color: #da70d6; }  /* pink-purple */
#buildTextTable td.hebrew-cell .line span:nth-of-type(23) { color: #c0392b; }  /* deep red */
#buildOverlay td.hebrew-cell .line span:nth-of-type(14) { color: #efbced; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(24) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(15) { color: #ecb3d1; }  /* soft pink */
#buildTextTable td.hebrew-cell .line span:nth-of-type(25) { color: #2980b9; }  /* blue */
#buildOverlay td.hebrew-cell .line span:nth-of-type(16) { color: #f7d8e6; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(26) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(17) { color: #a67c52; }  /* brown */
#buildTextTable td.hebrew-cell .line span:nth-of-type(27) { color: #27ae60; }  /* rich green */
#buildOverlay td.hebrew-cell .line span:nth-of-type(18) { color: #d8c1aa; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(28) { color: #888; }


#buildOverlay td.hebrew-cell .line span:nth-of-type(19) { color: #7f8c8d; }  /* gray */
#buildTextTable td.hebrew-cell .line span:nth-of-type(29) { color: #8e44ad; }  /* deep purple */
#buildOverlay td.hebrew-cell .line span:nth-of-type(20) { color: #c1c7c7; }
#buildTextTable td.hebrew-cell .line span:nth-of-type(30) { color: #888; }


#buildOverlay.mode-split td.hebrew-cell .line span:nth-of-type(n+20) {
/* Fallback for any beyond the defined 15 pairs */
#buildTextTable.mode-split td.hebrew-cell .line span:nth-of-type(n+31) {
   color: #333;
   color: #333;
   background-color: #f2f2f2;
   background-color: #f2f2f2;
}
}
#buildOverlay.mode-align span.hebrew-selected {
 
#buildTextTable.mode-align span.hebrew-selected,
.alignment span.hebrew-selected {
   background-color: yellow;
   background-color: yellow;
   outline: 2px solid black;
   outline: 2px solid black;
}
}


.color-grid-labels {
 
   display: flex;
 
   gap: 4px;
/* Override for verse column */
.alignment td.verse-cell {
   direction: ltr;
   text-align: center;
}
}
.color-grid-labels > div {
 
/* Override for CBC/English column */
.alignment td.cbc-cell {
  direction: ltr;
  text-align: left;
}
 
/* To distinguish individual English spans */
.alignment.mode-split td.cbc-cell span:not(.gap) {
  background-color: #e8e8e8;
  padding: 0.1em 0.2em;
  border-radius: 2px;
  border: 1px solid #dcdcdc;  /* soft edge without being distracting */
}
 
.alignment.mode-split span.gap {
  cursor: alias;
}
.alignment td.hebrew-cell span:nth-of-type(1)  { color: #b22222; } /* firebrick red */
.alignment td.hebrew-cell span:nth-of-type(2)  { color: #e67e22; } /* warm orange */
.alignment td.hebrew-cell span:nth-of-type(3)  { color: #f1c40f; } /* golden yellow */
.alignment td.hebrew-cell span:nth-of-type(4)  { color: #239b56; } /* forest green */
.alignment td.hebrew-cell span:nth-of-type(5)  { color: #1abc9c; } /* bright teal */
.alignment td.hebrew-cell span:nth-of-type(6)  { color: #2980b9; } /* strong blue */
.alignment td.hebrew-cell span:nth-of-type(7)  { color: #2e4053; } /* slate/navy */
.alignment td.hebrew-cell span:nth-of-type(8)  { color: #8e44ad; } /* royal purple */
.alignment td.hebrew-cell span:nth-of-type(9)  { color: #c71585; } /* medium violet */
.alignment td.hebrew-cell span:nth-of-type(10) { color: #6e2c00; } /* deep brown */
.alignment td.hebrew-cell span:nth-of-type(11) { color: #117864; } /* rich teal green */
.alignment td.hebrew-cell span:nth-of-type(12) { color: #5dade2; } /* sky blue */
.alignment td.hebrew-cell span:nth-of-type(13) { color: #e74c3c; } /* red coral */
.alignment td.hebrew-cell span:nth-of-type(14) { color: #7d6608; } /* antique gold */
.alignment td.hebrew-cell span:nth-of-type(15) { color: #884ea0; } /* soft purple */
.alignment td.hebrew-cell span:nth-of-type(16) { color: #273746; } /* charcoal slate */
 
/* Fallback for any beyond the defined 16 */
.alignment.mode-split td.hebrew-cell span:nth-of-type(n+17) {
  color: #333;
  background-color: #f2f2f2;
}
 
/* Highlight selected Hebrew span */
.alignment.mode-align span.hebrew-selected {
  background-color: yellow;
  outline: 2px solid black;
}
 
 
 
.color-grid-labels {
  display: flex;
  gap: 4px;
}
.color-grid-labels > div {
   flex: 1;
   flex: 1;
   text-align: center;
   text-align: center;
Line 1,401: Line 1,622:
   width: 45%;
   width: 45%;
   text-align: right;
   text-align: right;
  padding: 2px;
  vertical-align: top
 
}
table.psalm-table.plain th.verse-cell {
  width: 5%;
  text-align: center;
  font-weight: bold;
   padding: 2px;
   padding: 2px;
   vertical-align: top;
   vertical-align: top;
  direction: rtl;
}
}


table.psalm-table.plain th.verse-cell,
table.psalm-table.plain td.verse-cell {
table.psalm-table.plain td.verse-cell {
   width: 5%;
   width: 5%;
   text-align: center;
   text-align: center;
   font-weight: bold;
   font-weight: bold;
  padding: 2px;
   vertical-align: top;
   vertical-align: top;
}
}
Line 1,431: Line 1,658:
   vertical-align: top;
   vertical-align: top;
}
}




/* === COLUMN HEADINGS === */
/* === COLUMN HEADINGS === */
.psalm-table.at-a-glance {
.at-a-glance,
.structural {
   border-collapse: collapse;
   border-collapse: collapse;
}
}


.psalm-table.at-a-glance th.speaker-bar,
.at-a-glance th.speaker-bar,
.psalm-table.at-a-glance th.section-bar,
.structural th.speaker-bar,
.psalm-table.at-a-glance th.subsection-bar,
.at-a-glance th.section-bar,
.psalm-table.at-a-glance th.hebrew-cell,
.structural th.section-bar,
.psalm-table.at-a-glance th.verse-cell,
.at-a-glance th.subsection-bar,
.psalm-table.at-a-glance th.cbc-cell,
.structural th.subsection-bar,
.psalm-table.at-a-glance th.addressee-bar {
.at-a-glance th.hebrew-cell,
.structural th.hebrew-cell,
.at-a-glance th.verse-cell,
.structural th.verse-cell,
.at-a-glance th.cbc-cell,
.structural th.cbc-cell,
.at-a-glance th.addressee-bar,
.structural th.addressee-bar {
   background-color: #f6f6f6;
   background-color: #f6f6f6;
/*  border: 3px solid white; */
   text-align: center;
   text-align: center;
   vertical-align: middle;
   vertical-align: middle;
   padding: 0.5rem;
   padding: 0.5rem;
}
}
.at-a-glance .section-break td,
.structural .section-break td {
  height: 20px;
  padding: 0;
  border: none;
}
.at-a-glance .subsection-break td,
.structural .subsection-break td {
  height: 5px;
  padding: 0;
  border: none;
}
/* === SECTION COLORS === */
.at-a-glance .section-1,
.structural .section-1 { background-color: rgb(250, 242, 203); }
.at-a-glance .section-2,
.structural .section-2 { background-color: rgb(242, 215, 206); }
.at-a-glance .section-3,
.structural .section-3 { background-color: rgb(212, 214, 237); }
.at-a-glance .section-4,
.structural .section-4 { background-color: rgb(206, 234, 215); }
.at-a-glance .section-5,
.structural .section-5 { background-color: rgb(255, 224, 178); }
.at-a-glance .section-6,
.structural .section-6 { background-color: rgb(204, 229, 255); }
.at-a-glance .section-7,
.structural .section-7 { background-color: rgb(232, 213, 250); }
.at-a-glance .section-8,
.structural .section-8 { background-color: rgb(255, 236, 179); }
.at-a-glance .section-9,
.structural .section-9 { background-color: rgb(215, 248, 222); }
.at-a-glance .section-10,
.structural .section-10 { background-color: rgb(255, 209, 220); }
.at-a-glance .section-11,
.structural .section-11 { background-color: rgb(208, 242, 255); }
.at-a-glance .section-12,
.structural .section-12 { background-color: rgb(237, 221, 255); }
.at-a-glance .section-13,
.structural .section-13 { background-color: rgb(255, 239, 213); }
.at-a-glance .section-14,
.structural .section-14 { background-color: rgb(230, 255, 230); }
.at-a-glance .section-15,
.structural .section-15 { background-color: rgb(255, 222, 237); }
.at-a-glance .section-16,
.structural .section-16 { background-color: rgb(224, 224, 255); }


/* === COLUMN SIZES === */
/* === COLUMN SIZES === */
.at-a-glance th.columnbreak,
.at-a-glance th.columnbreak,
.at-a-glance td.columnbreak {  
.structural th.columnbreak,
width: 2%;  
.at-a-glance td.columnbreak,
border: none; /*1px solid transparent; /* give all td’s a placeholder border */;
.structural td.columnbreak {
  width: 2%;
  border: none;
}
}
.at-a-glance th.columnbreak + th.addressee-bar,
.at-a-glance th.columnbreak + th.addressee-bar,
.at-a-glance td.columnbreak + td.addressee-bar {
.structural th.columnbreak + th.addressee-bar,
   border-left: none !important; /* avoid hiding left-side borders of Addressee column */
.at-a-glance td.columnbreak + td.addressee-bar,
.structural td.columnbreak + td.addressee-bar {
   border-left: none !important;
}
}


.at-a-glance th.hebrew-cell { width: 20%; text-align: center; }
.at-a-glance th.hebrew-cell,
.at-a-glance th.verse-cell { width: 4%; }
.structural th.hebrew-cell { width: 20%; text-align: center; }
.at-a-glance th.cbc-cell { width: 35%; text-align: center; }
.at-a-glance th.verse-cell,
.at-a-glance th.emotion-bar { width: 7.5em; }  
.structural th.verse-cell { width: 4%; }
.at-a-glance th.cbc-cell,
.structural th.cbc-cell { width: 35%; text-align: center; }
.at-a-glance th.emotion-bar,
.structural th.emotion-bar { width: 7.5em; }


/* === STRUCTURAL CELLS === */
/* === STRUCTURAL CELLS === */
.at-a-glance td.speaker-bar, .at-a-glance td.addressee-bar {
.at-a-glance td.speaker-bar,
.structural td.speaker-bar,
.at-a-glance td.addressee-bar,
.structural td.addressee-bar {
   width: 6%;
   width: 6%;
   font-weight: bold;
   font-weight: bold;
Line 1,476: Line 1,769:
   vertical-align: top;
   vertical-align: top;
   text-align: center;
   text-align: center;
 
  box-sizing: border-box;
}
}


.at-a-glance td.subsection-bar {
.at-a-glance td.subsection-bar,
.structural td.subsection-bar {
   text-align: center;
   text-align: center;
   vertical-align: middle;
   vertical-align: middle;
Line 1,487: Line 1,781:
}
}


.psalm-table.at-a-glance td.emotion-bar {
.at-a-glance td.emotion-bar,
.structural td.emotion-bar {
   text-align: center;
   text-align: center;
   vertical-align: middle;
   vertical-align: middle;
Line 1,495: Line 1,790:
   line-height: 1.25;
   line-height: 1.25;
   width: 7.5em;
   width: 7.5em;
 
  min-width: 25px;
}
}


/* there needs to be a div inside in order for the text to go vertical */
/* there needs to be a div inside in order for the text to go vertical */
.psalm-table.at-a-glance td.emotion-bar div {
.at-a-glance td.emotion-bar div,
.structural td.emotion-bar div {
   writing-mode: vertical-rl;
   writing-mode: vertical-rl;
   text-align: center;
   text-align: center;
Line 1,511: Line 1,807:
   background-color: mediumvioletred;
   background-color: mediumvioletred;
   max-height: none;
   max-height: none;
  display: inline-block;
}
}


/* Hebrew column: right-align and RTL */
/* Hebrew column: right-align and RTL */
.at-a-glance td.hebrew-cell {
.at-a-glance td.hebrew-cell,
.structural td.hebrew-cell {
   text-align: right;
   text-align: right;
   direction: rtl;
   direction: rtl;
Line 1,521: Line 1,818:


/* === Image icon display === */
/* === Image icon display === */
/* Target the subsection cells */
.at-a-glance td.subsection-bar,
.psalm-table.at-a-glance td.subsection-bar {
.structural td.subsection-bar {
   vertical-align: -0.5rem;
   vertical-align: -0.5rem;
   padding-bottom: 1rem; /* optional: gives a little breathing room */
   padding-bottom: 1rem;
}
}


/* Ensure subsection content inside is centered */
.at-a-glance .subsection-content,
.psalm-table.at-a-glance .subsection-content {
.structural .subsection-content {
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
Line 1,537: Line 1,834:


/* === SECTION COLORS === */
/* === SECTION COLORS === */
 
/* COMMENTING THESE OUT TO IMPLEMENT EMOTIONAL COLOR-CODING FOR SECTIONS
.psalm-table.at-a-glance .section-1 td.subsection-bar,
.psalm-table.at-a-glance .section-1 td.subsection-bar,
.psalm-table.at-a-glance .section-1 td.hebrew-cell,
.psalm-table.at-a-glance .section-1 td.hebrew-cell,
.psalm-table.at-a-glance .section-1 td.verse-cell,
.psalm-table.at-a-glance .section-1 td.verse-cell,
.psalm-table.at-a-glance .section-1 td.cbc-cell{
.psalm-table.at-a-glance .section-1 td.cbc-cell{
background-color: #FAF2CB; /* default light yellow */
  background-color: #FAF2CB;
}
}


Line 1,549: Line 1,846:
.psalm-table.at-a-glance .section-2 td.verse-cell,
.psalm-table.at-a-glance .section-2 td.verse-cell,
.psalm-table.at-a-glance .section-2 td.cbc-cell{
.psalm-table.at-a-glance .section-2 td.cbc-cell{
background-color: #F2D7CE;  
  background-color: #F2D7CE;  
}
}


.psalm-table.at-a-glance .section-3 td.subsection-bar,
.psalm-table.at-a-glance .section-3 td.subsection-bar,
Line 1,557: Line 1,853:
.psalm-table.at-a-glance .section-3 td.verse-cell,
.psalm-table.at-a-glance .section-3 td.verse-cell,
.psalm-table.at-a-glance .section-3 td.cbc-cell{
.psalm-table.at-a-glance .section-3 td.cbc-cell{
background-color: #D4D6ED;  
  background-color: #D4D6ED;  
}
}
 
*/




Line 1,635: Line 1,931:
}*/
}*/
.psalm-table.participants tr.speaker-david td:not(.addressee-bar) {
.psalm-table.participants tr.speaker-david td:not(.addressee-bar) {
background-color: #FEFBC3 ;
  background-color: #FEFBC3 ;
}
}
.psalm-table.participants td.addressee-unspecified {
.psalm-table.participants td.addressee-unspecified {
background-color: #f8f9fa ;
  background-color: #f8f9fa ;
}
}
.psalm-table.participants td.addressee-yhwh {
.psalm-table.participants td.addressee-yhwh {
background-color: #E2D2F9 ;
  background-color: #E2D2F9 ;
}
}
/* ===== Span Styling for Highlighted Words ===== */
/* ===== Span Styling for Highlighted Words ===== */
Line 1,650: Line 1,946:




/* For building Expanded Paraphrases */
.insertion-point {
  display: inline;
  /*background: #ffffcc;
  border-bottom: 1px dotted #666;*/
  cursor: pointer;
}
#enter-insertion.modal-float {
  position: absolute;
  z-index: 9999;
  /*background: rgba(255, 255, 240, 0.95); /* light yellow, nearly opaque
  border: 1px solid #ccc;
  padding: 1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 6px;*/
  max-width: 95vw;
  width: auto;
  white-space: normal;
}
#enter-insertion.modal-float textarea {
  width: 80em;
  max-width: 100%;
  min-width: 50em;
  font-size: 1em;
  padding: 0.5em;
  box-sizing: border-box;
  resize: both;
  overflow: auto;
}




Line 1,690: Line 1,953:
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   border-collapse: collapse;
   table-layout: fixed;
   /* table-layout: fixed; */
}
}


Line 1,702: Line 1,965:


.expanded-paraphrase th.verse-cell {
.expanded-paraphrase th.verse-cell {
   width: 4%;
   width: 5%;
   text-align: center;
   text-align: center;
   padding: 0.5rem 1rem;
   padding: 0.5rem 1rem;
Line 1,709: Line 1,972:


.expanded-paraphrase th.cbc-cell {
.expanded-paraphrase th.cbc-cell {
   width: 56%;
   width: 55%;
   text-align: left;
   text-align: left;
   padding: 0.5rem;
   padding: 0.5rem;
Line 1,740: Line 2,003:


/* Bold Hebrew and English spans only inside expanded-paraphrase tables */
/* Bold Hebrew and English spans only inside expanded-paraphrase tables */
.expanded-paraphrase span.english {
.expanded-paraphrase span.english,
.expanded-paraphrase span.cbc{
   font-weight: bold;
   font-weight: bold;
}
}
Line 1,755: Line 2,019:




 
.criticalinfo {
 
   background-color: #ffeaea;
.lineation .psalm-table tr.split-row {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 300ms ease, max-height 300ms ease;
}
 
.lineation .psalm-table tr.split-row.visible {
  opacity: 1;
  max-height: 200px; /* big enough to show your row */
}
 
 
.lineation .hebrew-gap {
  display: inline-block;
  width: 0.5em;
  cursor: col-resize;
  user-select: none;
  opacity: 0.3;
  transition: opacity 0.2s ease;
}
 
.lineation .hebrew-gap:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05); /* subtle visual hint */
}
 
 
.lineation .hebrew-gap.merge-gap {
  background-color: rgba(0, 0, 0, 0.03);
  cursor: ns-resize;
}
 
.lineation .hebrew-gap.merge-gap:hover {
  background-color: rgba(0, 0, 0, 0.08);
}
 
.criticalinfo {
   background-color: #ffeaea;
   color: #a40000;
   color: #a40000;
   border: 2px solid #a40000;
   border: 2px solid #a40000;
Line 1,811: Line 2,036:
   font-size: 1.2em;
   font-size: 1.2em;
   margin-right: 0.5em;
   margin-right: 0.5em;
   z-index: 1;
   /* z-index: 1; */
}
}


Line 1,872: Line 2,097:
body.page-Welcome-alt {
body.page-Welcome-alt {
   /* background-image: url("https://staging.scriptura.org/mediawiki/images/b/bb/Texture-blank-bg.jpg"); */
   /* background-image: url("https://staging.scriptura.org/mediawiki/images/b/bb/Texture-blank-bg.jpg"); */
   background-color: var(--color-brand-sand);
   background-color: var(--color-sand);
   background-attachment: fixed;
   background-attachment: fixed;
   background-size: cover;
   background-size: cover;
Line 1,881: Line 2,106:
/* Tab pill formatting */
/* Tab pill formatting */
.nav-pills .nav-link.active {
.nav-pills .nav-link.active {
background-color:var(--color-brand-red-dark);
  background-color:var(--color-link-default);
color:#ffffff;
  color:#ffffff !important;
  text-decoration: none !important;
}
}


Line 1,897: Line 2,123:
   padding: 1rem;
   padding: 1rem;
   text-align: center;
   text-align: center;
}
.psalm-table .hebrew-cell div {
direction:rtl;
}
.quiet {
  color: #aaa;        /* Medium-light grey */
  font-style: italic;  /* Optional: make it look more like a note */
  font-size: 0.9em;    /* Optional: slightly smaller */
}
.english-selected {
  outline: 2px solid #999;
  outline-offset: 2px;
}
.psalm-table .mismatch {
  background-color: #ffe6e6 !important;
  outline: 2px solid red;
}
#buildTextTable  .overwritten {
    background-color: #e6f9ff !important;
    /*outline: 2px solid #33c !important;
    transition: background-color 0.3s ease;*/
    transition: background-color 1s ease-out, opacity 1s ease-out;
  opacity: 1;
}
/* Overall table layout */
.psalm-table.plain {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}
/* Header row */
.psalm-table.plain th {
  padding: 2px;
  vertical-align: top;
  font-weight: bold;
}
/* Hebrew text column */
.psalm-table.plain .hebrew-cell {
  width: 35%;
  text-align: right;
  direction: rtl;
  padding: 0.5rem;
  vertical-align: top;
}
/* Verse number column */
.psalm-table.plain .verse-cell {
  width: 10%;
  text-align: center;
  font-weight: bold;
  padding: 0.5rem;
  vertical-align: top;
}
/* English (CBC) text column */
.psalm-table.plain .cbc-cell {
  width: 55%;
  text-align: left;
  padding: 0.5rem;
  vertical-align: top;
}
/* Optional: styling for .line spans */
.psalm-table.plain .line {
  display: block;
  line-height: 1.5;
}
/* Optional: hover highlight for rows */
.psalm-table.plain td:hover {
  background-color: #f8f8f8;
}
/* Optional: styling for the CBC note/highlighter */
.psalm-table.plain .cbc-cell .smw-highlighter {
  font-weight: normal;
  cursor: help;
}
/* Rotating caret for collapsible elements */
/* Styles for the caret itself */
.collapse-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em; /* Spacing from text */
    vertical-align: middle; /* Align vertically with text */
    border-top: 0.3em solid; /* Creates the top part of the triangle (pointing down by default) */
    border-right: 0.3em solid transparent; /* Makes the sides transparent */
    border-left: 0.3em solid transparent;  /* Makes the sides transparent */
    transition: transform 0.2s ease-in-out; /* Smooth rotation animation */
    transform: rotate(0deg); /* Explicitly set default to point down */
}
/* Rule to rotate the caret when our JavaScript adds the 'is-expanded-toggle' class */
/* This targets any element with 'js-toggle-caret-controller' that also gets 'is-expanded-toggle' */
.js-toggle-caret-controller.is-expanded-toggle .collapse-caret {
    transform: rotate(180deg); /* Rotates the triangle to point up */
}
/* Base Table */
table.psalm-table.verse-by-verse  {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
}
/* Table Headings */
table.psalm-table.verse-by-verse  th {
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 1rem;
}
/* Column-specific heading alignment */
table.psalm-table.verse-by-verse  th:nth-child(1) {
  width: 40%;
  text-align: right;
}
table.psalm-table.verse-by-verse  th:nth-child(2) {
  width: 4%;
}
table.psalm-table.verse-by-verse  th:nth-child(3) {
  width: 56%;
  text-align: left;
}
/* Hebrew Text */
.verse-by-verse td[dir="rtl"] {
  text-align: right;
  direction: rtl;
  font-size: 1.1em;
  padding: 0.5rem;
}
/* Gloss Text */
.verse-by-verse td .gloss {
  font-size: 1em;
  direction: ltr;
}
/* Verse Number Column */
.verse-by-verse td:nth-child(2) div {
  text-align: center;
  font-weight: bold;
}
/* Section Header Cells */
.verse-by-verse td.section-header {
  text-align: center;
  vertical-align: middle;
  padding: 0.5rem;
  font-weight: bold;
  font-size: 1.25em;
}
/* Icons inside section headers */
.verse-by-verse td.section-header img.aag-icon {
  display: block;
  margin: 0.5rem auto 0;
  max-width: 50px;
  height: auto;
}
/* Background Colors for Sections */
.verse-by-verse .section-1  { background-color: #FAF2CB; }
.verse-by-verse .section-2  { background-color: #F2D7CE; }
.verse-by-verse .section-3 { background-color: #D4D6ED; }
/* Header strip inside a section cell */
.verse-by-verse .section-header .section-title {
  display: inline-block;
  padding: 0.25em 0.5em;
  background-color: inherit;
  font-size: 1.25em;
  font-weight: bold;
}
/* Specific header strip coloring */
.verse-by-verse .section-1 .section-title {
  background-color: #F5E9A3;
}
.verse-by-verse .section-2 .section-title {
  background-color: #E6B6A8;
}
.verse-by-verse .section-3 .section-title {
  background-color: #B3B5DE;
}
/* Interactive icons */
.interactive-icon {
    cursor: pointer; /* Changes the cursor to a pointer hand on hover */
    transition: transform 0.2s ease-in-out; /* Smooth transition for the hover effect */
}
.interactive-icon:hover {
    transform: translateY(-5px); /* Lifts the column slightly on hover */
}
.interactive-icon .aag-icon {
    /* If you want a visual change on the icon itself, you can add styles here */
    /* For example, a slight shadow or glow */
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}
/* If you have specific anchor targets that are not headings, you can target them by class or id prefix */
.anchor-target {
    scroll-margin-top: 55px; /* Adjust as needed */
}
.preview-box {
  max-height: 200px;
  overflow-y: auto;
  transition: max-height 0.3s ease;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-family: sans-serif;
  font-size: 0.95em;
  line-height: 1.4;
  margin-bottom: 0.25em;
}
.preview-box.expanded {
  max-height: 1000px;
}
.preview-box.collapsed {
  max-height: 200px;
}
.preview-toggle-link {
  display: inline-block;
  font-size: 0.85em;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 1em;
  margin-left: 0.25em;
}
/* This CSS targets any <a> tag that has both 'mw-selflink' and 'selflink' classes
  and is also empty (contains no text or other elements).
  By setting 'display: none;', this specific empty link will not be rendered.
  If the <p> tag containing it has no other content, it will effectively collapse
  and become invisible as well, thus "suppressing" the <p> as requested. */
a.mw-selflink.selflink:empty {
    display: none;
}
/* This CSS will only apply to the page with the title "Welcome/TOC" */
div.page-welcome a.mw-selflink.selflink:empty {
    display: none;
}
div.page-welcome .index-item > p:first-child {
    display: none;
}
a.mw-selflink.selflink .legend-circle-outer .legend-circle-inner p span {
color: var(--color-brand-mustard2) !important;
}
a.mw-selflink.selflink .legend-circle-outer .legend-circle-inner span {
color: var(--color-brand-mustard2) !important;
}
.info-block {
  background-color: #f5f5f5;  /* Pale gray */
  border-left: 4px solid #ccc; /* Optional visual accent */
  padding: 1em;
  margin: 1em 0;
  border-radius: 6px;
  font-size: 0.95em; /* Optional: slightly smaller font */
}
.diff {
  background-color: #ffd4d4;
  font-weight: bold;
}
.mismatch {
  background-color: #fff0f0;
}
}

Revision as of 11:57, 19 July 2025

/* CSS placed here will be applied to all skins */
/* Also see ../customizations/custom.* on the filesystem */

/* =================================== */
/* ===  ALL PAGES, ALL SKINS  */
/* =================================== */

/* See wgHooks for loading google fonts in the head block */

/* Hebrew font */
@font-face {
  font-family: "SBL Hebrew"; 
  unicode-range: U+0590-05FF;
  src:  url("/customizations/SBL-Hebrew/subset-hebrew/SBL-Hebrew.woff2") format("woff2"), 
        url("/customizations/SBL-Hebrew/subset-hebrew/SBL-Hebrew.woff") format("woff");
  font-display: swap;
}
/* Greek font */
@font-face {
  font-family: "Gentium Plus"; 
  unicode-range: U+0370-03FF, U+1F00-1FFF;
  src:  url("/customizations/Gentium-Plus/subset-greek/GentiumPlus-Regular.woff2") format("woff2"), 
        url("/customizations/Gentium-Plus/subset-greek/GentiumPlus-Regular.woff") format("woff");
  font-display: swap;;
}

/* Simple RTL text direction changes. See https://css-tricks.com/almanac/properties/d/direction/ */
*[dir="ltr"] { direction: ltr; unicode-bidi: embed; }
*[dir="rtl"] { direction: rtl; unicode-bidi: embed; text-align: right; }
bdo[dir="ltr"] { direction: ltr; unicode-bidi: bidi-override; }
bdo[dir="rtl"] { direction: rtl; unicode-bidi: bidi-override; text-align: right; }
span[dir] { unicode-bidi: bidi-override; }

/* === CSS Variables === */
:root {
/* === Font Families === */
--font-serif: "SBL Hebrew", "Gentium Plus", "Lora", serif;
--font-sans: "SBL Hebrew", "Gentium Plus", "Open Sans", "Segoe UI", "Helvetica Neue", "Roboto", Arial, sans-serif;

/* === Brand Colors === */
--color-brand-red2:            #7d2b2d;
--color-brand-red1:            #9a393b;
--color-brand-orange:          #de835e;
--color-brand-mustard1:        #f2c256;
--color-brand-mustard2:        #ffd85c;
--color-brand-green:           #28615e;
--color-brand-blue:            #3eb9cf;
--color-brand-dark-gray:       #382c34;
--color-brand-sand:            #f4eadb;

/* === Brand Colors & Variations, with Consistent Naming === */
--color-red-dark:              var(--color-brand-red2);
--color-red:                   var(--color-brand-red1);
--color-red-light:             #c85a5e;
--color-red-lighter:           #dc8786;
--color-red-lightest:          #efb0af;

--color-orange-dark:           #c76e4e;
--color-orange:                var(--color-brand-orange);

--color-mustard:               var(--color-brand-mustard1);
--color-mustard-light:         var(--color-brand-mustard2);

--color-green:                 var(--color-brand-green);

--color-blue-darkest:          #2a6170;
--color-blue-darker:           #317a88;
--color-blue-dark:             #369aae;
--color-blue:                  var(--color-brand-blue);

--color-black:                 #000000;
--color-gray:                  var(--color-brand-dark-gray);
--color-gray-light:            #7a6f73;
--color-gray-lighter:          #a49a9d;

--color-sand-dark:             #DDCDB6;
--color-sand:                  var(--color-brand-sand);
--color-sand-light:            #f8f3eb;
--color-sand-lighter:          #fbf9f4;
--color-sand-lightest:         #fdfcf8;
--color-white:                 #ffffff;

/* === Semantic: Text Colors === */
--color-text: var(--color-gray);   /* Body text */
--color-text-light: var(--color-gray-light);        /* Lighter secondary text */
--color-text-dark: var(--color-black);        /* High-contrast fallback */
--color-text-muted: var(--color-sand-dark);   /* Muted/disabled tone */
--color-text-accent: var(--color-sand-lighter); /* Faint highlight */
--color-text-accent-light: var(--color-sand-lightest); /* Near-white highlight */

/* === Semantic: Headings === */
--color-heading-main: var(--color-red);   /* Main headings */
--color-heading-sub: var(--color-blue-dark);    /* Subheadings */

/* === Semantic: Link Colors === */
--color-link-default: var(--color-blue-darker);     /* Normal link color */
--color-link-hover: var(--color-blue-dark);     /* Link hover color */
--color-link-new: var(--color-red);        /* Redlink (non-existent page) */
--color-link-new-hover: var(--color-red-dark); /* Redlink hover */

/* === Semantic: Backgrounds === */
--color-background: var(--color-sand-lighter);      /* General background */
--color-background-dark: var(--color-sand);      /* Darker general background */
--color-background-light: var(--color-sand-lightest);      /* General background */


/* === Semantic: Legend / Status Colors === */
--color-legend-completed: #8F3D3F;
--color-legend-inprogress: #D88B6B;
--color-legend-planning: var(--color-sand-dark);
--color-legend-translation: #A12C2F;
}


body {
  font-family: var(--font-sans);
  font-size: 16px; /* default for tweeki skin is 14px */
  line-height: 1.6;
  background-color: var(--color-background-light);
  background-color: var(--color-white);
  color: var(--colortext);
}

/* Headings */
h1, .h1 {
  font-family: var(--font-serif);
  font-size: 3.0rem;
  font-weight: 600;
  color: var(--color-heading-main);
  letter-spacing: 0em;
  word-spacing: 0em;
  margin-top: 3.2rem;
  margin-bottom: 1.2rem;
}
#bodyContent h1:not(:first-of-type):before, 
#bodyContent .h1:not(:first-of-type):before {
  display: block;
  content: "";
  padding: 2rem 0 0 !important;
  border-top: 1px solid #ddd;
  height: 1px;
  width: 100%;
}
#bodyContent h1:first-of-type {
  margin-top: 2.0rem;
}
h2, .h2 {
    font-family: var(--font-serif);
    font-size: 2.1rem; 
    font-weight: 600; 
  color: var(--color-heading-main);
    letter-spacing: 0.01em; 
    word-spacing: 0.01em; 
    margin-top: 2.5rem; 
    margin-bottom: 1.0rem;
}
h3, .h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-size: 1.7rem;
    font-weight: 600; 
  color: var(--color-gray);
    letter-spacing: 0.015em; 
    word-spacing: 0.02em; 
    margin-top: 2.0rem; 
    margin-bottom: 0.75rem;
}
h4, .h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem; 
    font-weight: 600; 
  color: var(--color-heading-sub);
    letter-spacing: 0.03em; 
    word-spacing: 0.03em; 
    margin-top: 1.6rem; 
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}
h5, .h5 {
  font-family: var(--font-serif);
    font-size: 1.1rem; 
    font-weight: 600; 
  color: var(--color-gray); 
    letter-spacing: 0.01em; 
    word-spacing: 0.02em; 
    margin-top: 1.3rem; 
    margin-bottom: 0.54em;
}
h6, .h6 {
    font-family: var(--font-serif);
  font-size: 0.95rem; 
    font-weight: 600; 
  color: var(--color-heading-sub);
    letter-spacing: 0.02em; 
    word-spacing: 0.02em; 
    margin-top: 1.0rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}
/* Reduce top margin between any two stacked headings */
h1 + h2,
h1 + h3,
h1 + h4,
h2 + h3,
h2 + h4,
h3 + h4,
h3 + h5,
h4 + h5,
h5 + h6 {
  margin-top: 0.5rem; 
}

.firstHeading, .tweekiFirstHeading {
  font-weight: 600;
  letter-spacing: 0em;
  color: var(--color-gray);
}
h1.firstHeading, h1.tweekiFirstHeading {
  margin-top: 0;
}
h1 .heHeading {
  padding-inline: 1%;
}

/* Hebrew specific headings and text */
.heHeading {
  font-size: 115%;
  line-height: 120%;
  padding-inline: 0.25%;
  letter-spacing: -1%;
  word-spacing: 50%;
  direction: rtl;
  unicode-bidi: isolate;
  display: inline-block; /* Needed for padding to work on inline headings */
  overflow: visible;
  text-transform: none;
}
.he {
  font-size: 120%;
  line-height: 125%; /* a rough calculation of a browser's line-height:normal value of ~1.2 applied as follows: ~1.2 × 1.25 = 1.5, which is the line-height for the entire page */
  padding-inline: 0.2%;
  letter-spacing: 1%;
  word-spacing: 50%;
  text-transform: none;
  vertical-align: baseline;
  direction: rtl;
  unicode-bidi: isolate;
  display: inline;
  overflow: visible;
  text-transform: none;
}

.lead {
  font-family: var(--font-serif);
  color:#000000;
}
.lead b, .lead strong {
  font-weight: bold;
}
#bodyContent #contentSub {
  display:none;
}
#siteNotice {
  background-color: var(--color-mustard-light);
}
#siteNotice h1 {
  margin-top: 0;
  color: #000;
}

#tweekiTOC #toctitle h2, 
#tweekiTOC .toctitle h2 {
    font-family: var(--font-sans);
    font-weight: 600;
  color: var(--color-gray-light);
    margin-bottom: 0.2rem;
}
tweekiTOC #toctitle h2 a, 
#tweekiTOC .toctitle h2 a {
    font-weight: 600;
  color: var(--color-gray-light);
}

/* collapse completely empty <p> tags and <p><br></p> tags */
p:empty:not(:focus),
p > br:only-child:not(:focus) {
  display: none;
}

/* navbar adjustments */
#mw-navigation {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.bg-light {
    background-color: var(--color-sand-light) !important;
}
#searchInput {
    min-width: 255px;
    font-size: 0.9rem;
}
.navbar {
  background-color: var(--color-sand);
  font-size: 0.9rem;
}
.navbar a {
  font-size: 0.9rem;
}
.navbar a, .navbar a:visited {
  color: var(--color-gray-light);
}
.navbar a:hover, .navbar a:focus, .navbar a:active {
  color: var(--color-gray);
}

.navbar-brand img {
  height: 35px;
  margin-top: 0;
}

header .navbar-nav .nav-item {
  padding-right: 10px;
}

/* login and sign up buttons and icons */
#anonLoginButton {
    color: var(--color-link-default) !important;
    border-color: var(--color-link-default) !important;
    background-color: transparent !important;
}
#anonLoginButton:hover {
    color: var(--white) !important;
    border-color: var(--color-link-hover) !important;
    background-color: var(--color-link-hover) !important;
}

#anonSignupButton {
    color: var(--white) !important;
    border-color: var(--color-link-default) !important;
    background-color: var(--color-link-default) !important;
}
#anonSignupButton:hover {
    color: var(--white) !important;
    border-color: var(--color-link-hover) !important;
    background-color: var(--color-link-hover) !important;
}
#anonLoginButton i,
#anonSignupButton i {
  font-size: 0.9em;
  opacity: 0.7;
  color: inherit;
  transition: opacity 0.2s ease;
}
#anonLoginButton:hover i,
#anonSignupButton:hover i {
  opacity: 0.9;
}

.anonymous-show.fas.fa-user-plus {
    font-size: 0.8em; /* shrink icon relative to text */
    opacity: 0.4;
    transition: opacity 0.2s ease;
}
a:hover .anonymous-show.fas.fa-user-plus {
    opacity: 0.7;
}

/* for images that exceed the page width, put a <div class="img-fluid"> around them */
.responsive-img img {
  max-width: 100%;
  height: auto;
}

footer#footer {
  padding-top: 0;
  padding-bottom: 0;
}
footer#footer #n-login-ext {
  -webkit-appearance: none; 
}


/* Link styles */
a, a:visited, 
#content a, #content a:visited {
  color: var(--color-link-default);
}
a:hover, a:focus,
#content a:hover, #content a:focus {
  color: var(--color-link-hover);
  text-decoration: underline;
}
a.external, a.external:visited,
#content a.external, #content a.external:visited {
  color: var(--color-link-default) !important;
}
a.external:hover, a.external:focus,
#content a.external:hover, #content a.external:focus {
  color: var(--color-link-hover) !important;
}
a.new, a.new:visited, 
#content a.new, #content a.new:visited {
  /* class automatically assigned for links to pages that do not yet exist */
  color: var(--color-link-new);
}
a.new:hover, a.new:focus,
#content a.new:hover, #content a.new:focus {
  color: var(--color-link-new-hover);
}
#tweekiTOC #toc a, #tweekiTOC #toc a:visited {
  color: var(--color-gray-lighter);
}
#tweekiTOC #toc a.active, #tweekiTOC #toc a:focus, #tweekiTOC #toc a:hover {
  color: var(--color-gray);
}

audio {
    border-radius: 0.25rem;
}

/* for MsUpload */
#msupload-dropzone, #msupload-bottom {
  height: auto;
}

/* remove excess and irregular gutters to get more usable display area at every screen size */
/* for bootstrap 4 tweeki skin */
#content.mw-body {
    padding-left: 0;
    padding-right: 0;
}
@media (min-width: 576px) {
    nav#mw-navigation > div.container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* hide sidebsar-right on small screens rather than displaying at the bottom of the screen */
div#sidebar-right {
  display: none;
}
@media (min-width: 768px) {  /* Show sidebar on md (≥768px) and larger */
    div#sidebar-right {
        display: block;
    }
}
/* glyphicons are a tad tall and mess up vertical spacing, especially in the EDIT split dropdown button group */
#sidebar-right > .btn-block > a > .glyphicon {
    line-height: 0.9;
}
/* When editing a page, stop sidebar getting in the way of SMW Form edit tools by shortening the sidebar */
#contentwrapper.editable #sidebar-right {
  height: 50px;
}

/* Accordion styling */
.accordion {
  margin: 0 0 1.6em 1.6em;
}
.card {
  background-color: unset;
  border: 0;
  padding: 0;
}
.card-header {
  padding: 0;
  background-color: unset;
  border-bottom: 0;
}
.card-header h2 {
  margin-top: 0;
  font-family: var(--font-sans);
}
.card-header .btn {
  padding: 0;
}
.card-body {
  padding: 0;
}
.card-body pre {
  margin-bottom: 0;
}
.staff-only, .user-only {
  display: none;
}


/* these were used on timeless skin. still relevant with tweeki? */
.list-I li {
  list-style-type: upper-roman;
}

.list-A li {
  list-style-type: upper-alpha;
  margin-left: 40px; 
}

.list-1 li {
  list-style-type: decimal;
  margin-left: 80px; 
}

.list-a li {
  list-style-type: lower-alpha;
  margin-left: 120px; 
}
/* Enable PageForms spreadsheet-style grid to autogrow */
.jsgrid {
   height: unset !important;
   overflow: auto;
}
.jsgrid-grid-body { height: unset;  overflow: auto;
}
.jsgrid-grid-table { height: unset;  overflow: auto;
}
.outline > li {
  list-style-type: upper-roman;
}
.outline > li > li {
  list-style-type: upper-alpha;
  margin-left: 40px; 
}

.wikitable {
    width:100%
}



/* =================================== */
/* ===  STYLES FOR SPECIFIC PAGES === */
/* =================================== */


/* === Page: Welcome === */
/* Nav boxes linking to other Scriptura sites */
.page-welcome .nav-boxes {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}
.page-welcome .nav-boxes .nav-box {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.page-welcome .nav-boxes .nav-box:nth-child(even) {
  background: #FBF9F7;
}
.page-welcome .nav-boxes .nav-box:nth-child(odd) {
  background: #F3EEE6;
}
.page-welcome .nav-boxes .nav-box p {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.page-welcome .nav-boxes .nav-box img {
  max-width: 100%;
  height: auto;
  padding: 1rem;
}
/* Index of psalms */
.page-welcome .index {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.page-welcome .index .index-item {
  width: 3.2em; /*1.7em;*/
  font-size: 1.5em;
  text-align: right;
  padding: .3em .5em;
  display: inline-block;
}
.page-welcome .index .link-deemphasize a {
  color: #888;
  font-weight: lighter;
}

/* Color Legend */
/* Color variants */
.legend-translation  { background-color: var(--color-legend-translation); border: 4px solid white;}
.legend-completed  { background-color: var(--color-legend-completed); border: 4px solid transparent;}
.legend-inprogress  { background-color: var(--color-legend-inprogress); border: 4px solid transparent;}
.legend-planning  { background-color: var(--color-legend-planning); border: 4px solid transparent;}
.legend-borderless  { background-color: #ffffff; border: 4px solid transparent;}
/* Container for legend items */
.color-legend-container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 1rem;
}
.color-legend-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  flex-wrap: wrap;
}
/* Shared styling for outer circle */
.legend-circle-outer {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
/* Shared styling for inner circle */
.legend-circle-inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  text-align: center;
  line-height: 44px;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
}
/* Label text below icon */
.legend-label {
  padding: 0.25rem;
}

/* === Page: Login === */
#userloginForm form {
	width: 340px;
}

/* === Page: Signup === */
input.form-check-input[type="checkbox"] {
	margin-top: 0.3rem;
	margin-left: -1.25rem;
}

/* === Page: Access Request Thank You === */
.page-Request_Access_Thank_You #contentSub { display: none; }

/* === Page: all pages using the GrammarLayerSection tempalte === */
/* Increase Hebrew text size (but not Hebrew text in svg diagrams) */
.GrammarLayerSection > .hebrew {
  font-size: 1.75rem;
  text-align: right;
}

/* === Gray out Diagrammer glosses when there is a phrase-level gloss as a sibling === */
/* This should be done in the diagrammer itself. */
/* This solution is slow for large DOMs and isn't supported in older browsers */
/* The idea is to find any parent of a g.phrase-gloss and from there find all descendants with class="hebrew" and target the text or tspan tag below it */
*:has( > g.phrase-gloss) .gloss text,
*:has( > g.phrase-gloss) .gloss tspan {
  fill:#aaa;
}

/* Semantics */
.mw-customtoggle-verbal {
    background-color: var(--color-link-default) !important;
    padding: 5px 1rem !important;
    border-radius: 0.25rem;
    outline: none;
    color: white;
    display: inline-block;

}

/* Poetry */
.mw-customtoggle-text-panel {
    position:sticky; 
    top:100px; 
    cursor:pointer; 
    border-radius: 0.25rem; 
    border:none; 
    background-color:var(--color-link-default); 
    display:inline-flex; 
    gap:0.5rem; 
    padding:0.5rem 1rem; 
    align-items:center; 
    justify-content:center; 
    color:white; 
    z-index:1028;
}

/* Verse by Verse (VxV) */
.mw-customtoggle-vxv-toc.js-toggle-caret-controller.mw-customtoggle {
    cursor:pointer; 
    border-radius: 0.25rem; 
    border:none; 
    background-color:var(--color-link-default); 
    display:inline-block; 
    padding:0.5rem 1rem; 
    align-items:center; 
    justify-content:center; 
    color:white; 
    z-index:1028;
}


/* =================================== */
/* ======  MICHAEL'S CSS EDITS ======= */
/* =================================== */


/* === Page: ResourceSite/Welcome-Mike === */

/* == Centering Items in the "mw-parser-output" element == */

.page-ResourceSite_Welcome-Mike #maincontentwrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px;
}


/* == Adjusting the nav boxes and putting the index in columns and rows == */

.page-ResourceSite_Welcome-Mike .nav-boxes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box:nth-child(even) {
  background: #FBF9F7;
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box:nth-child(odd) {
  background: #F3EEE6;
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box p {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.page-ResourceSite_Welcome-Mike .nav-boxes .nav-box img {
  max-width: 100%;
  height: auto;
  padding: 1rem;
}
/* Index of psalms */
.page-ResourceSite_Welcome-Mike .index {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.page-ResourceSite_Welcome-Mike .index .index-item {
  width: 3.2em; /*1.7em;*/
  font-size: 1.5em;
  text-align: right;
  padding: .3em .5em;
}
.page-ResourceSite_Welcome-Mike .index .link-deemphasize a {
  color: #888;
  font-weight: lighter;
}



/* == Using negative margins to cover over the whitespace == */

.page-ResourceSite_Welcome-Mike .mw-body {
  margin-top: -150px !important;
}


/* == Editing the Header Title == */

.page-ResourceSite_Welcome-Mike .firstHeading {
  color: #333;
  display: none !important;
  opacity: 0 !important;
}
.image-gallery {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping to next line if needed */
  gap: 10px; /* Space between items */
  justify-content: center; /* Center align the gallery */
}

.image-gallery-item {
  text-align: center; /* Centers captions under the image */
  width: 300px; /* Ensures a consistent width for each item */
  flex: 0 1 auto; /* Prevents items from stretching unevenly */
}

.image-gallery-item img {
  width: 100%; /* Ensures images fit within their container */
  height: auto; /* Maintains the aspect ratio */
}

/* =================================== */
/* ======  RESOURCE SITE V2 CSS ====== */
/* =================================== */

/* == Highlights anchor text when clicking on an anchor link == */

span:target {
   background-color: #EAF3FF;
}

p:target {
  background-color: #EAF3FF;
}

/* == Responsive grid for cards == */

.cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* == Force scrollbars to be visible on MacOS == */
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

/* == Adjust elements for mobile == */
@media screen and (min-width: 960px) { /* Desktop view */
  .responsive {
    overflow-y:scroll;
    height:75vh;
  }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .responsive {
    display: block;
  }
}

@media screen and (min-width: 960px) { /* Desktop view */
  .responsive-med {
    overflow-y:scroll;
  }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .responsive-med {
    display: block;
  }
}

@media screen and (min-width: 960px) { /* Desktop view */
.sbs-container {
  display: flex;
  position:relative;
  overflow-y:scroll;
  flex:1
}
}

@media screen and (max-width: 960px) { /* Mobile view */
.sbs-container {
  display: block;
}
}

@media screen and (min-width: 960px) { /* Desktop view */
.sbs {
  display: flex;
  flex-direction: column;
  position:absolute; 
}
}

@media screen and (max-width: 960px) { /* Mobile view */
.sbs {
  display:block;
}
}
/*
:not(.limiter)>div {
  flex-basis: 0px;
  flex-grow: 1;
  overflow-y: auto;
}
*/

/* TOC Buttons */

.grid-container {
  display: grid;
  gap: 10px;   
  grid-template-columns: repeat(5, 1fr);
  }

.banner-container img {
    border-radius: 0.25rem;
}
/* Cropped banners */
@media screen and (min-width: 960px) { /* Desktop view */
  .cropped {
    aspect-ratio: 5 / 1;
    width:100%;
    height:auto;
    object-fit: cover;
    object-position: 50% 50%; 
  }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .cropped {
    aspect-ratio: 16 / 9;
    width:100%;
    height:auto;
    object-fit: cover;
    object-position: 50% 50%; 
  }
}

.cropped-home {
    aspect-ratio: 16 / 9;
    width:100%;
    height:auto;
    object-fit: cover;
    object-position: 50% 50%; 
  }

@media screen and (min-width: 960px) { /* Desktop view */
  .banner-mobile {
    display:none;
  }
  .banner-desktop {
    width:100%;
    height:auto;
  }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .banner-desktop {
    display:none;
  }
  .banner-mobile {
    width:100%;
    height:auto;
  }
}

/* Banner text overlay */

/* Container holding the image and the text */
.banner-container {
  position: relative;
  /* display:inline-block; */
  color: white;
}

.mid {
  font-weight: 900;
  color: white;
  margin: 0;
  position: absolute;
  display:inline-block;
  text-align:center;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  filter:drop-shadow(5px 5px 4px #000000);
  transform: translate(-50%, -50%);
}


/* Centered text */
.centered {
  position: absolute;
  display:inline-block;
  width:100%;
  text-align:center;
  vertical-align:middle;
  font-family: var(--font-serif);
  color:#ffffff;
  filter:drop-shadow(5px 5px 4px #000000);
}

/* Banner text overlay */
@media screen and (min-width: 960px) { /* Desktop view */
.banner-text-h1 {
  font-size:2em; 
}
}

@media screen and (min-width: 960px) { /* Desktop view */
.banner-text-h3 {
  font-size:1.5em; 
}
}

/* == Floating buttons == */

@media screen and (min-width: 960px) { /* Desktop view */
  .float-button{
    position:fixed;
    width:50px;
    height:50px;
    border-radius: 50%;
    border:none;
    background-color: var(--color-link-default);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white !important;
    bottom: 30px;
    right:30px;
    z-index:9999;
  }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .float-button{
    position:fixed;
    width:50px;
    height:50px;
    border-radius: 50%;
    border:none;
    background-color:var(--color-link-default);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white !important;
    bottom: 10px;
    right:10px;
    z-index:9999;
  }
}

@media screen and (min-width: 960px) { /* Desktop view */
  .navi-button{
    border-radius: 0.25rem;
    border:none;
    background-color:var(--color-link-default);
    display:inline-block;
    padding:0.5rem 1rem;
    align-items:center;
    justify-content:center;
    color:white !important;
    z-index:9999;
  }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .navi-button{
    position:fixed;
    width:50px;
    height:50px;
    border-radius: 0.25rem;
    border:none;
    background-color:var(--color-link-default);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white !important;
    bottom: 10px;
    left:10px;
    z-index:9999;
  }
}

@media screen and (min-width: 960px) { /* Desktop view */
  .ps-navi {
    position:fixed;
    top:70px;
    left:85px;
    border-radius: 12px;
    border:none;
    background-color:var(--color-red);
    color:white !important;
    z-index:9999;
    height: 50px;
    width:auto;
    max-width:50px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    overflow:hidden;
    -webkit-transition: max-width 0.5s;
    transition: max-width 0.5s;
  }
}

@media screen and (min-width: 960px) { /* Desktop view */
  .ps-navi:hover {
    max-width: 24rem;
 }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .ps-navi{
    position:fixed;
    width:50px;
    height:50px;
    border-radius: 12px;
    border:none;
    background-color:var(--color-red);
    display:flex;
    align-items:center;
    justify-content: flex-start;
    color:white !important;
    top: 70px;
    left:10px;
    z-index:9999;
  }
}

@media screen and (min-width: 960px) { /* Desktop view */
  .ps-navi-vxv {
    border-radius: 12px;
    border:none;
    background-color:var(--color-red);
    color:white !important;
    z-index:9999;
    height: 50px;
    width:auto;
    max-width:50px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    overflow:hidden;
    -webkit-transition: max-width 0.5s;
    transition: max-width 0.5s;
  }
}

@media screen and (min-width: 960px) { /* Desktop view */
  .ps-navi-vxv:hover {
    max-width: 24rem;
 }
}

@media screen and (max-width: 960px) { /* Mobile view */
  .ps-navi-vxv{
    width:50px;
    height:50px;
    border-radius: 12px;
    border:none;
    background-color:var(--color-red);
    display:flex;
    align-items:center;
    justify-content: flex-start;
    color:white !important;
    z-index:9999;
  }
}

.dropdown-menu{
    max-height: 75vh;
    overflow-y: auto;
    z-index:9999;
}

@media screen and (max-width: 960px) { /* Mobile view */
  .btn-hide-text {
    display: none;
  }
  .btn-hide-text .fa {
    display:inline;
  }
}

a.ps-navi.dropdown-toggle::after {
  margin-right: 13px;      /* Space between the caret and the edge */
  font-size: inherit;      /* Prevents the caret from becoming too large */
  vertical-align: middle;  /* Keeps caret aligned with text */
}

a.ps-navi-vxv.dropdown-toggle::after {
  margin-right: 13px;      /* Space between the caret and the edge */
  font-size: inherit;      /* Prevents the caret from becoming too large */
  vertical-align: middle;  /* Keeps caret aligned with text */
}

.navi-hide-text {
  white-space: nowrap;
  padding-left: 15px;
  max-height:1rem;
  -webkit-transition: color .25s 1.5s, max-width 2s;
  overflow: hidden;
}

@media screen and (max-width: 960px) { /* Mobile view */
  .navi-hide-text {
    display: none;
  }
  .navi-hide-text .fa {
    display:inline;
  }
}

.flex-icon {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

/* Drop-shadow for AAG icons */
.aag-icon {
  filter:drop-shadow(1px 1px 1px #000);
}

/* glosses for joint hovering over Hebrew & English */
.word, .gloss {
  cursor: pointer;
  /*padding: 2px 4px;*/
  /*border-radius: 4px;*/
  transition: background 0.15s ease;
}

.highlighted {
  background-color: #ffff99;
}

/* try to REMOVE the extra space put between Hebrew words */
span.word, span.hebrew {
  font-family: inherit;
  font-size: inherit;
  direction: rtl;
  white-space: nowrap;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none;
  letter-spacing: -0.05em; /* optional tweak */
}

.nav-tabs .nav-link {
	border-top: 3px solid transparent;
}
/*Tab background colors*/
.nav-tabs .nav-link:hover {
  background-color: #f6f6f6;
}
.nav-tabs .nav-link.active {
  border-top: 3px solid var(--color-link-default);
  border-left: 1px solid var(--color-link-default);
  border-right: 1px solid var(--color-link-default);
  color: var(--color-text);
  text-decoration: none !important;
}

/* Overlay highlighting style */
span.hebrew {
  padding-top: 3px;
  padding-bottom:3px;
}

span.gloss {
  padding-top: 3px;
  padding-bottom: 3px;
}

/* For building overlays */





#overlay-sections .multipleTemplateWrapper {
  padding: 1rem;
}

.multipleTemplateInstanceTable {
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.multipleTemplateInstanceTable td {
  padding: 0.5rem;
  vertical-align: top;
}

.inputSpan {
  display: block;
  margin-bottom: 0.5rem;
}

.inputSpan textarea,
.inputSpan input[type="text"],
.inputSpan select {
  width: 100% !important;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.fieldValuesDisplay {
  font-weight: bold;
  padding: 0.5rem;
}

.multipleTemplateInstance.minimized {
  background-color: #f8f9fa;
  border-left: 3px solid #dee2e6;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}

.addAboveButton::before {
  content: "➕";
  margin-right: 0.25rem;
}

.removeButton::before {
  content: "❌";
  margin-right: 0.25rem;
}



/* General table appearance */
.psalm-table {
  width: 100%;
  border-collapse: collapse;
}

.psalm-table th {
  padding: 0.5rem;
  font-weight: bold;
}

.psalm-table td {
  padding: 0.5rem;
  vertical-align: middle;
}

.psalm-table .hebrew-cell {
  text-align: right;
  direction: rtl;
  width: 35%;
}

.psalm-table .verse-cell {
  text-align: center;
  font-weight: bold;
  width: 10%;
}

.psalm-table .cbc-cell {
  text-align: left;
  width: 55%;
}


/* Override for verse column */
#buildTextTable td.verse-cell .line {
  direction: ltr;
  text-align: center;
}

/* Override for CBC/English column */
#buildTextTable td.cbc-cell .line {
  direction: ltr;
  text-align: left;
}
/* To distinguish individual english spans, but not the gap spans */
#buildTextTable.mode-split td.cbc-cell span:not(.gap) {
  background-color: #e8e8e8;
  padding: 0.1em 0.2em;
  border-radius: 2px;
  border: 1px solid #dcdcdc;  /* soft edge without being distracting */
}

#buildTextTable.mode-split span.gap {
  cursor: alias;
}
#buildTextTable td.hebrew-cell .line span:nth-of-type(1)  { color: #d9534f; }   /* red */
#buildTextTable td.hebrew-cell .line span:nth-of-type(2)  { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(3)  { color: #e67e22; }   /* strong orange */
#buildTextTable td.hebrew-cell .line span:nth-of-type(4)  { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(5)  { color: #f1c40f; }   /* strong yellow */
#buildTextTable td.hebrew-cell .line span:nth-of-type(6)  { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(7)  { color: #5cb85c; }   /* green */
#buildTextTable td.hebrew-cell .line span:nth-of-type(8)  { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(9)  { color: #5bc0de; }   /* cyan */
#buildTextTable td.hebrew-cell .line span:nth-of-type(10) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(11) { color: #9370db; }   /* purple */
#buildTextTable td.hebrew-cell .line span:nth-of-type(12) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(13) { color: #da70d6; }   /* pink-purple */
#buildTextTable td.hebrew-cell .line span:nth-of-type(14) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(15) { color: #ecb3d1; }   /* soft pink */
#buildTextTable td.hebrew-cell .line span:nth-of-type(16) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(17) { color: #a67c52; }   /* brown */
#buildTextTable td.hebrew-cell .line span:nth-of-type(18) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(19) { color: #7f8c8d; }   /* gray */
#buildTextTable td.hebrew-cell .line span:nth-of-type(20) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(21) { color: #16a085; }   /* teal */
#buildTextTable td.hebrew-cell .line span:nth-of-type(22) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(23) { color: #c0392b; }   /* deep red */
#buildTextTable td.hebrew-cell .line span:nth-of-type(24) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(25) { color: #2980b9; }   /* blue */
#buildTextTable td.hebrew-cell .line span:nth-of-type(26) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(27) { color: #27ae60; }   /* rich green */
#buildTextTable td.hebrew-cell .line span:nth-of-type(28) { color: #888; }

#buildTextTable td.hebrew-cell .line span:nth-of-type(29) { color: #8e44ad; }   /* deep purple */
#buildTextTable td.hebrew-cell .line span:nth-of-type(30) { color: #888; }

/* Fallback for any beyond the defined 15 pairs */
#buildTextTable.mode-split td.hebrew-cell .line span:nth-of-type(n+31) {
  color: #333;
  background-color: #f2f2f2;
}

#buildTextTable.mode-align span.hebrew-selected,
.alignment span.hebrew-selected {
  background-color: yellow;
  outline: 2px solid black;
}



/* Override for verse column */
.alignment td.verse-cell {
  direction: ltr;
  text-align: center;
}

/* Override for CBC/English column */
.alignment td.cbc-cell {
  direction: ltr;
  text-align: left;
}

/* To distinguish individual English spans */
.alignment.mode-split td.cbc-cell span:not(.gap) {
  background-color: #e8e8e8;
  padding: 0.1em 0.2em;
  border-radius: 2px;
  border: 1px solid #dcdcdc;  /* soft edge without being distracting */
}

.alignment.mode-split span.gap {
  cursor: alias;
}
.alignment td.hebrew-cell span:nth-of-type(1)  { color: #b22222; } /* firebrick red */
.alignment td.hebrew-cell span:nth-of-type(2)  { color: #e67e22; } /* warm orange */
.alignment td.hebrew-cell span:nth-of-type(3)  { color: #f1c40f; } /* golden yellow */
.alignment td.hebrew-cell span:nth-of-type(4)  { color: #239b56; } /* forest green */
.alignment td.hebrew-cell span:nth-of-type(5)  { color: #1abc9c; } /* bright teal */
.alignment td.hebrew-cell span:nth-of-type(6)  { color: #2980b9; } /* strong blue */
.alignment td.hebrew-cell span:nth-of-type(7)  { color: #2e4053; } /* slate/navy */
.alignment td.hebrew-cell span:nth-of-type(8)  { color: #8e44ad; } /* royal purple */
.alignment td.hebrew-cell span:nth-of-type(9)  { color: #c71585; } /* medium violet */
.alignment td.hebrew-cell span:nth-of-type(10) { color: #6e2c00; } /* deep brown */
.alignment td.hebrew-cell span:nth-of-type(11) { color: #117864; } /* rich teal green */
.alignment td.hebrew-cell span:nth-of-type(12) { color: #5dade2; } /* sky blue */
.alignment td.hebrew-cell span:nth-of-type(13) { color: #e74c3c; } /* red coral */
.alignment td.hebrew-cell span:nth-of-type(14) { color: #7d6608; } /* antique gold */
.alignment td.hebrew-cell span:nth-of-type(15) { color: #884ea0; } /* soft purple */
.alignment td.hebrew-cell span:nth-of-type(16) { color: #273746; } /* charcoal slate */

/* Fallback for any beyond the defined 16 */
.alignment.mode-split td.hebrew-cell span:nth-of-type(n+17) {
  color: #333;
  background-color: #f2f2f2;
}

/* Highlight selected Hebrew span */
.alignment.mode-align span.hebrew-selected {
  background-color: yellow;
  outline: 2px solid black;
}



.color-grid-labels {
  display: flex;
  gap: 4px;
}
.color-grid-labels > div {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.color-cell {
  display: inline-block;
  min-height: 20px;
  height: 100%;
  max-height: 30px;

  min-width: 20px;
  width: 100%;
  max-width: 80px;

  border: 1px solid #000;
  margin: 0;
  padding: 0;

  font-size: 0;
  line-height: 0;
  vertical-align: top;
}
.color-cell:hover::after {
  content: attr(title);
  font-size: 10px;
  line-height: 1;
  color: black;
  display: block;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 2px 4px;
  z-index: 10;
}
.psalm-structured-table td,
.psalm-structured-table th {
  border-collapse: collapse;
  border: 1px solid #ccc;
  padding: 0.5em;
  vertical-align: top;
}

.psalm-structured-table .smwtticon.note::before {
  content: "🛈";
  margin-right: 0.25em;
  color: #0074d9;
}



.quick-link {
  display: inline-block;
  padding: 2px;
  border-radius: 5px;
  outline: none;
  font-size: 0.8rem;
  color: dimgrey; /* dimgrey; */
  margin-right: 2rem; /* Only apply if spacing is needed */
}

.quick-link i.small-icon {
  font-size: 0.6rem;
}

.psalm-collapsible-content {
  background-color: #f6f6f6;
  padding: 15px;
}

/* === SLIDE-IN ELEMENTS === */

/* Floating Button */
.floating-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
}

/* Slide Panel - from right */
.slide-panel {
  position: fixed;
  top: 0;
  right: -300px; /* hidden off-screen */
  width: 300px;
  height: 100%;
  background: #f8f9fa;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  overflow-y: auto;
  transition: right 0.4s ease;
  z-index: 1040;
}

.slide-panel.open {
  right: 0;
}



table.psalm-table.plain {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  line-height: 1;
  overflow-wrap: normal;
}

table.psalm-table.plain th.hebrew-cell,
table.psalm-table.plain td.hebrew-cell {
  width: 45%;
  text-align: right;
  padding: 2px;
  vertical-align: top
  
}

table.psalm-table.plain th.verse-cell {
  width: 5%;
  text-align: center;
  font-weight: bold;
  padding: 2px;
  vertical-align: top;
}

table.psalm-table.plain td.verse-cell {
  width: 5%;
  text-align: center;
  font-weight: bold;
  vertical-align: top;
}

table.psalm-table.plain th.cbc-cell,
table.psalm-table.plain td.cbc-cell {
  width: 50%;
  text-align: left;
  padding: 2px;
  vertical-align: top;
}

table.psalm-table.plain td {
  padding: 0.5rem;
  vertical-align: top;
}

table.psalm-table.plain tr {
  vertical-align: top;
}


/* === COLUMN HEADINGS === */
.at-a-glance,
.structural {
  border-collapse: collapse;
}

.at-a-glance th.speaker-bar,
.structural th.speaker-bar,
.at-a-glance th.section-bar,
.structural th.section-bar,
.at-a-glance th.subsection-bar,
.structural th.subsection-bar,
.at-a-glance th.hebrew-cell,
.structural th.hebrew-cell,
.at-a-glance th.verse-cell,
.structural th.verse-cell,
.at-a-glance th.cbc-cell,
.structural th.cbc-cell,
.at-a-glance th.addressee-bar,
.structural th.addressee-bar {
  background-color: #f6f6f6;
  text-align: center;
  vertical-align: middle;
  padding: 0.5rem;
}

.at-a-glance .section-break td,
.structural .section-break td {
  height: 20px;
  padding: 0;
  border: none;
}

.at-a-glance .subsection-break td,
.structural .subsection-break td {
  height: 5px;
  padding: 0;
  border: none;
}

/* === SECTION COLORS === */
.at-a-glance .section-1,
.structural .section-1 { background-color: rgb(250, 242, 203); }
.at-a-glance .section-2,
.structural .section-2 { background-color: rgb(242, 215, 206); }
.at-a-glance .section-3,
.structural .section-3 { background-color: rgb(212, 214, 237); }
.at-a-glance .section-4,
.structural .section-4 { background-color: rgb(206, 234, 215); }
.at-a-glance .section-5,
.structural .section-5 { background-color: rgb(255, 224, 178); }
.at-a-glance .section-6,
.structural .section-6 { background-color: rgb(204, 229, 255); }
.at-a-glance .section-7,
.structural .section-7 { background-color: rgb(232, 213, 250); }
.at-a-glance .section-8,
.structural .section-8 { background-color: rgb(255, 236, 179); }
.at-a-glance .section-9,
.structural .section-9 { background-color: rgb(215, 248, 222); }
.at-a-glance .section-10,
.structural .section-10 { background-color: rgb(255, 209, 220); }
.at-a-glance .section-11,
.structural .section-11 { background-color: rgb(208, 242, 255); }
.at-a-glance .section-12,
.structural .section-12 { background-color: rgb(237, 221, 255); }
.at-a-glance .section-13,
.structural .section-13 { background-color: rgb(255, 239, 213); }
.at-a-glance .section-14,
.structural .section-14 { background-color: rgb(230, 255, 230); }
.at-a-glance .section-15,
.structural .section-15 { background-color: rgb(255, 222, 237); }
.at-a-glance .section-16,
.structural .section-16 { background-color: rgb(224, 224, 255); }

/* === COLUMN SIZES === */
.at-a-glance th.columnbreak,
.structural th.columnbreak,
.at-a-glance td.columnbreak,
.structural td.columnbreak {
  width: 2%;
  border: none;
}

.at-a-glance th.columnbreak + th.addressee-bar,
.structural th.columnbreak + th.addressee-bar,
.at-a-glance td.columnbreak + td.addressee-bar,
.structural td.columnbreak + td.addressee-bar {
  border-left: none !important;
}

.at-a-glance th.hebrew-cell,
.structural th.hebrew-cell { width: 20%; text-align: center; }
.at-a-glance th.verse-cell,
.structural th.verse-cell { width: 4%; }
.at-a-glance th.cbc-cell,
.structural th.cbc-cell { width: 35%; text-align: center; }
.at-a-glance th.emotion-bar,
.structural th.emotion-bar { width: 7.5em; }

/* === STRUCTURAL CELLS === */
.at-a-glance td.speaker-bar,
.structural td.speaker-bar,
.at-a-glance td.addressee-bar,
.structural td.addressee-bar {
  width: 6%;
  font-weight: bold;
  border: 1px solid grey;
  vertical-align: top;
  text-align: center;
  box-sizing: border-box;
}

.at-a-glance td.subsection-bar,
.structural td.subsection-bar {
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 1.25em;
  width: 15%;
}

.at-a-glance td.emotion-bar,
.structural td.emotion-bar {
  text-align: center;
  vertical-align: middle;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.25;
  width: 7.5em;
  min-width: 25px;
}

/* there needs to be a div inside in order for the text to go vertical */
.at-a-glance td.emotion-bar div,
.structural td.emotion-bar div {
  writing-mode: vertical-rl;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  color: white;
  padding: 4px;
  white-space: nowrap;
  line-height: 1.25;
  font-size: 0.9em;
  background-color: mediumvioletred;
  max-height: none;
  display: inline-block;
}

/* Hebrew column: right-align and RTL */
.at-a-glance td.hebrew-cell,
.structural td.hebrew-cell {
  text-align: right;
  direction: rtl;
}

/* === Image icon display === */
.at-a-glance td.subsection-bar,
.structural td.subsection-bar {
  vertical-align: -0.5rem;
  padding-bottom: 1rem;
}

.at-a-glance .subsection-content,
.structural .subsection-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}


/* === SECTION COLORS === */
/* COMMENTING THESE OUT TO IMPLEMENT EMOTIONAL COLOR-CODING FOR SECTIONS
.psalm-table.at-a-glance .section-1 td.subsection-bar,
.psalm-table.at-a-glance .section-1 td.hebrew-cell,
.psalm-table.at-a-glance .section-1 td.verse-cell,
.psalm-table.at-a-glance .section-1 td.cbc-cell{
  background-color: #FAF2CB;
}

.psalm-table.at-a-glance .section-2 td.subsection-bar,
.psalm-table.at-a-glance .section-2 td.hebrew-cell,
.psalm-table.at-a-glance .section-2 td.verse-cell,
.psalm-table.at-a-glance .section-2 td.cbc-cell{
  background-color: #F2D7CE; 
}

.psalm-table.at-a-glance .section-3 td.subsection-bar,
.psalm-table.at-a-glance .section-3 td.hebrew-cell,
.psalm-table.at-a-glance .section-3 td.verse-cell,
.psalm-table.at-a-glance .section-3 td.cbc-cell{
  background-color: #D4D6ED; 
}
*/



/* ===== Table Layout Styling ===== */
table.psalm-table.participants {
  border-collapse: collapse;
  width: 100%;
}

.psalm-table.participants th,
.psalm-table.participants td {
  padding: 0.2em;
  border: 1px solid #ccc;
  vertical-align: top;
}

.psalm-table.participants th {
  background-color: #eaecf0;
  text-align: center;
}


/* ===== Column Widths ===== */

.psalm-table.participants th.speaker-bar,
.psalm-table.participants td.speaker-bar {
  width: 15%;
  font-weight: bold;
}

.psalm-table.participants td.speaker-bar {
  text-align: left;
}

.psalm-table.participants th.hebrew-cell,
.psalm-table.participants td.hebrew-cell {
  width: 25%;
}
.psalm-table.participants td.hebrew-cell {
  text-align: right;
}

.psalm-table.participants th.verse-cell,
.psalm-table.participants td.verse-cell {
  width: 4%;
  text-align: center;
  font-weight: bold;
}

.psalm-table.participants th.cbc-cell,
.psalm-table.participants td.cbc-cell {
  width: 41%;
}
.psalm-table.participants td.cbc-cell {
  text-align: left;
}

.psalm-table.participants th.addressee-bar,
.psalm-table.participants td.addressee-bar {
  width: 15%;
}
.psalm-table.participants td.addressee-bar {
  text-align: left;
}

/* ===== Row Styling ===== 
.psalm-table.participants .section-\| td,
.psalm-table.participants .section-\| .hebrew-cell,
.psalm-table.participants .section-\| .verse-cell,
.psalm-table.participants .section-\| .cbc-cell,
.psalm-table.participants .section-\| .addressee-bar {
  background-color: #FEFBC3;
  vertical-align: top;
}*/
.psalm-table.participants tr.speaker-david td:not(.addressee-bar) {
  background-color: #FEFBC3 ;
}
.psalm-table.participants td.addressee-unspecified {
  background-color: #f8f9fa ;
}
.psalm-table.participants td.addressee-yhwh {
  background-color: #E2D2F9 ;
}
/* ===== Span Styling for Highlighted Words ===== */
.psalm-table.participants span[style*="background-color"] {
  font-weight: bold;
}






/* Style for the Expanded Paraphrase table */
.expanded-paraphrase {
  width: 100%;
  border-collapse: collapse;
  /* table-layout: fixed; */
}

/* Header styling */
.expanded-paraphrase th.hebrew-cell {
  width: 40%;
  text-align: right;
  padding: 0.5rem;
  vertical-align: top;
}

.expanded-paraphrase th.verse-cell {
  width: 5%;
  text-align: center;
  padding: 0.5rem 1rem;
  vertical-align: top;
}

.expanded-paraphrase th.cbc-cell {
  width: 55%;
  text-align: left;
  padding: 0.5rem;
  vertical-align: top;
}

/* Hebrew column cells */
.expanded-paraphrase td.hebrew-cell {
  text-align: right;
  direction: rtl;
  padding: 0.5rem;
  vertical-align: top;
}

/* Verse number cell */
.expanded-paraphrase td.verse-cell {
  text-align: center;
  font-weight: bold;
  padding: 0.5rem;
  vertical-align: top;
}

/* CBC paraphrase cell */
.expanded-paraphrase td.cbc-cell {
  text-align: left;
  padding: 0.5rem;
  vertical-align: top;
}


/* Bold Hebrew and English spans only inside expanded-paraphrase tables */
.expanded-paraphrase span.english,
.expanded-paraphrase span.cbc{
  font-weight: bold;
}

/* Inserted paraphrastic material */
.expanded-paraphrase span.insertion-point,
.expanded-paraphrase span.insertion {
  font-style: italic;
  font-weight: normal;
}
.expanded-paraphrase .insertion.active {
  background-color: #fff8e1; /* pale yellow background */
}


.criticalinfo {
  background-color: #ffeaea;
  color: #a40000;
  border: 2px solid #a40000;
  border-radius: 6px;
  padding: 1em 1.5em;
  margin: 1em 0;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.criticalinfo::before {
  content: "⚠️ ";
  font-size: 1.2em;
  margin-right: 0.5em;
  /* z-index: 1; */
}



.prominence-0 {
  background-color: transparent;
}

/* Least strong: pale yellow to white */
.prominence-1 {
  background-color: #fffcd0; /* or: #fff9a1, #fff67c, #ffffff */
}

/* Moderate: golden yellow */
.prominence-2 {
  background-color: #fae65a; /* or: #f9d94b, #f8c936, #fff24f */
}

/* Strong: orange */
.prominence-3 {
  background-color: #fd9e2d; /* or: #fd7f2c, #fd6c30, #fdb821 */
}

/* Most strong: deep red */
.prominence-4 {
  background-color: #fc2e57; /* or: #fc3d42, #fc5040, #fc5850 */
}


/* Background textures */
.texture-red {
  background-image: url('https://psalms.scriptura.org/mediawiki/images/6/61/Texture-red.jpg'); /* Replace with your image path */
  background-size: cover;       /* Scales image to cover the entire div */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
}

.texture-orange {
  background-image: url('https://psalms.scriptura.org/mediawiki/images/d/db/Texture-orange.jpg'); /* Replace with your image path */
  background-size: cover;       /* Scales image to cover the entire div */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
}

.texture-yellow {
  background-image: url('https://psalms.scriptura.org/mediawiki/images/a/a8/Texture-yellow.jpg'); /* Replace with your image path */
  background-size: cover;       /* Scales image to cover the entire div */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
}

.texture-sand {
  background-image: url('https://psalms.scriptura.org/mediawiki/images/9/90/Texture-sand.jpg'); /* Replace with your image path */
  background-size: cover;       /* Scales image to cover the entire div */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
}

body.page-Welcome-alt {
  /* background-image: url("https://staging.scriptura.org/mediawiki/images/b/bb/Texture-blank-bg.jpg"); */
  background-color: var(--color-sand);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Tab pill formatting */
.nav-pills .nav-link.active {
  background-color:var(--color-link-default);
  color:#ffffff !important;
  text-decoration: none !important;
}

/* Home Page TOC */
.toc-container {
  display: grid;
  grid-template-columns: repeat(autofit);
  padding: 1rem;
  position:fixed;
  top:70px;
  left:85px;
}
.toc-item {
  padding: 1rem;
  text-align: center;
}


.psalm-table .hebrew-cell div {
	direction:rtl;
}


.quiet {
  color: #aaa;         /* Medium-light grey */
  font-style: italic;  /* Optional: make it look more like a note */
  font-size: 0.9em;    /* Optional: slightly smaller */
}

.english-selected {
  outline: 2px solid #999;
  outline-offset: 2px;
}

.psalm-table .mismatch {
  background-color: #ffe6e6 !important;
  outline: 2px solid red;
}


#buildTextTable  .overwritten {
    background-color: #e6f9ff !important;
    /*outline: 2px solid #33c !important;
    transition: background-color 0.3s ease;*/
     transition: background-color 1s ease-out, opacity 1s ease-out;
  opacity: 1;
}

/* Overall table layout */
.psalm-table.plain {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

/* Header row */
.psalm-table.plain th {
  padding: 2px;
  vertical-align: top;
  font-weight: bold;
}

/* Hebrew text column */
.psalm-table.plain .hebrew-cell {
  width: 35%;
  text-align: right;
  direction: rtl;
  padding: 0.5rem;
  vertical-align: top;
}

/* Verse number column */
.psalm-table.plain .verse-cell {
  width: 10%;
  text-align: center;
  font-weight: bold;
  padding: 0.5rem;
  vertical-align: top;
}

/* English (CBC) text column */
.psalm-table.plain .cbc-cell {
  width: 55%;
  text-align: left;
  padding: 0.5rem;
  vertical-align: top;
}

/* Optional: styling for .line spans */
.psalm-table.plain .line {
  display: block;
  line-height: 1.5;
}

/* Optional: hover highlight for rows */
.psalm-table.plain td:hover {
  background-color: #f8f8f8;
}

/* Optional: styling for the CBC note/highlighter */
.psalm-table.plain .cbc-cell .smw-highlighter {
  font-weight: normal;
  cursor: help;
}

/* Rotating caret for collapsible elements */
/* Styles for the caret itself */
.collapse-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em; /* Spacing from text */
    vertical-align: middle; /* Align vertically with text */
    border-top: 0.3em solid; /* Creates the top part of the triangle (pointing down by default) */
    border-right: 0.3em solid transparent; /* Makes the sides transparent */
    border-left: 0.3em solid transparent;  /* Makes the sides transparent */
    transition: transform 0.2s ease-in-out; /* Smooth rotation animation */
    transform: rotate(0deg); /* Explicitly set default to point down */
}

/* Rule to rotate the caret when our JavaScript adds the 'is-expanded-toggle' class */
/* This targets any element with 'js-toggle-caret-controller' that also gets 'is-expanded-toggle' */
.js-toggle-caret-controller.is-expanded-toggle .collapse-caret {
    transform: rotate(180deg); /* Rotates the triangle to point up */
}




/* Base Table */
table.psalm-table.verse-by-verse  {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
}

/* Table Headings */
table.psalm-table.verse-by-verse  th {
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 1rem;
}

/* Column-specific heading alignment */
table.psalm-table.verse-by-verse  th:nth-child(1) {
  width: 40%;
  text-align: right;
}
table.psalm-table.verse-by-verse  th:nth-child(2) {
  width: 4%;
}
table.psalm-table.verse-by-verse  th:nth-child(3) {
  width: 56%;
  text-align: left;
}

/* Hebrew Text */
.verse-by-verse td[dir="rtl"] {
  text-align: right;
  direction: rtl;
  font-size: 1.1em;
  padding: 0.5rem;
}

/* Gloss Text */
.verse-by-verse td .gloss {
  font-size: 1em;
  direction: ltr;
}

/* Verse Number Column */
.verse-by-verse td:nth-child(2) div {
  text-align: center;
  font-weight: bold;
}

/* Section Header Cells */
.verse-by-verse td.section-header {
  text-align: center;
  vertical-align: middle;
  padding: 0.5rem;
  font-weight: bold;
  font-size: 1.25em;
}

/* Icons inside section headers */
.verse-by-verse td.section-header img.aag-icon {
  display: block;
  margin: 0.5rem auto 0;
  max-width: 50px;
  height: auto;
}

/* Background Colors for Sections */
.verse-by-verse .section-1   { background-color: #FAF2CB; }
.verse-by-verse .section-2  { background-color: #F2D7CE; }
.verse-by-verse .section-3 { background-color: #D4D6ED; }

/* Header strip inside a section cell */
.verse-by-verse .section-header .section-title {
  display: inline-block;
  padding: 0.25em 0.5em;
  background-color: inherit;
  font-size: 1.25em;
  font-weight: bold;
}

/* Specific header strip coloring */
.verse-by-verse .section-1 .section-title {
  background-color: #F5E9A3;
}
.verse-by-verse .section-2 .section-title {
  background-color: #E6B6A8;
}
.verse-by-verse .section-3 .section-title {
  background-color: #B3B5DE;
}

/* Interactive icons */
.interactive-icon {
    cursor: pointer; /* Changes the cursor to a pointer hand on hover */
    transition: transform 0.2s ease-in-out; /* Smooth transition for the hover effect */
}

.interactive-icon:hover {
    transform: translateY(-5px); /* Lifts the column slightly on hover */
}

.interactive-icon .aag-icon {
    /* If you want a visual change on the icon itself, you can add styles here */
    /* For example, a slight shadow or glow */
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

/* If you have specific anchor targets that are not headings, you can target them by class or id prefix */
.anchor-target {
    scroll-margin-top: 55px; /* Adjust as needed */
}


.preview-box {
  max-height: 200px;
  overflow-y: auto;
  transition: max-height 0.3s ease;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-family: sans-serif;
  font-size: 0.95em;
  line-height: 1.4;
  margin-bottom: 0.25em;
}

.preview-box.expanded {
  max-height: 1000px;
}

.preview-box.collapsed {
  max-height: 200px;
}

.preview-toggle-link {
  display: inline-block;
  font-size: 0.85em;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 1em;
  margin-left: 0.25em;
}

/* This CSS targets any <a> tag that has both 'mw-selflink' and 'selflink' classes
   and is also empty (contains no text or other elements).
   By setting 'display: none;', this specific empty link will not be rendered.
   If the <p> tag containing it has no other content, it will effectively collapse
   and become invisible as well, thus "suppressing" the <p> as requested. */
a.mw-selflink.selflink:empty {
    display: none;
}

/* This CSS will only apply to the page with the title "Welcome/TOC" */
div.page-welcome a.mw-selflink.selflink:empty {
    display: none;
}

div.page-welcome .index-item > p:first-child {
    display: none;
}

a.mw-selflink.selflink .legend-circle-outer .legend-circle-inner p span {
	color: var(--color-brand-mustard2) !important;
}

a.mw-selflink.selflink .legend-circle-outer .legend-circle-inner span {
	color: var(--color-brand-mustard2) !important;
}
.info-block {
  background-color: #f5f5f5;  /* Pale gray */
  border-left: 4px solid #ccc; /* Optional visual accent */
  padding: 1em;
  margin: 1em 0;
  border-radius: 6px;
  font-size: 0.95em; /* Optional: slightly smaller font */
}

.diff {
  background-color: #ffd4d4;
  font-weight: bold;
}
.mismatch {
  background-color: #fff0f0;
}