/* alwb.css
*  Note: css for dropdown menu is jquery.dropdown.css
*/

a {
    color: #2a6496;
}

a:hover {
    color: #0099ff;
}

div.alwb-media-dropdown-div {
    font-size: 70% !important;
    position: absolute;
}

span.mediaMenuItemId {
    color: #a91827;
    font-style: normal;
    font-weight: bold;
}

span.mediaMenuItemPeople {
    font-weight: bold;
    font-style: normal;
    color: blue;
}

@font-face {
    font-family: 'Alegreya';
    src: url('fonts/Alegreya-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya';
    src: url('fonts/Alegreya-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya';
    src: url('fonts/Alegreya-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Alegreya';
    src: url('fonts/Alegreya-BoldItalic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'LiberationSerif';
    src:
        url('fonts/LiberationSerif-Bold.ttf') format('truetype'),
        url('fonts/LiberationSerif-BoldItalic.ttf') format('truetype'),
        url('fonts/LiberationSerif-Italic.ttf') format('truetype'),
        url('fonts/LiberationSerif-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Psaltica';
    src: url('fonts/Psaltica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Base styles remain the same */
html,
body {
    font-family: 'Alegreya', Georgia, serif;
    font-size: 11pt;
    line-height: 15pt;
    background-color: #f3ebe1;
    color: black;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

/* Night mode via CSS class — avoids resetting inline styles on every element */
body.night-mode,
body.night-mode .content,
body.night-mode .content td,
body.night-mode .content th,
body.night-mode .content div,
body.night-mode .content span {
    background-color: black;
}
body.night-mode p,
body.night-mode .content td,
body.night-mode .content th,
body.night-mode .content span,
body.night-mode .content div {
    color: #FBF0D9;
}

/* The host-grid-layout class on the BODY element defines the Grid Container. */
.host-grid-layout {
    display: grid;
    /* On small screens, the iframes stack vertically (single column) */
    grid-template-columns: 1fr; 
    
    /* Gap between the stacked items on mobile */
    gap: 10px; 
    
    /* Ensure the body covers the full viewport height */
    min-height: 100dvh;
    padding: 10px;
    box-sizing: border-box; 
}

/* Ensure the wrapper DIVs take up the available grid space */
#FrameText-wrapper,
#FrameScore-wrapper {
    width: 100%;
    height: 500px; 
    overflow: hidden; 
}

/* Ensure the iFrames fill their wrapper 100% */
#FrameText,
#FrameScore {
    width: 100%;
    height: 100%;
    border: none; 
}

/* -------------------------------------------
   B. DESKTOP LAYOUT (The Two-Column Grid)
   ------------------------------------------- */
@media (min-width: 768px) {
    .host-grid-layout {
        /* Define the required fixed-percentage columns and gap */
        grid-template-columns: 38% 61%; 
        column-gap: 1%;
        
        /* Use height: 100% to fill the 100% height of the HTML element */
        height: 100%; 
        /* Ensure the viewport height calculation uses the full size */
        min-height: 100dvh;
        
        /* gap: 0 is fine, but column-gap handles the horizontal spacing */
        gap: 0; 
        
        /* Padding is already defined on the mobile view, no need to repeat here. */
        /* If padding is needed, it must be subtracted from the fixed positioning below. */
    }

    /* Make sure the wrappers take up all available vertical space in the grid */
    #FrameText-wrapper,
    #FrameScore-wrapper {
        height: 100%; 
    }
}

/* * Styles for the Floating Audio Player 
 * Add these rules to your existing alwb.css file.
 */

/* 1. Main Container (Wrapper) */
.audio-player-container {
    /* Mimics: bg-white fixed rounded-lg shadow-2xl transition-opacity duration-300 ease-in-out */
    background-color: white;
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
    transition: opacity 300ms ease-in-out;
}

/* 2. Header (Drag Handle) */
.audio-player-header {
    /* Mimics: flex justify-between items-center bg-blue-600 p-2 rounded-t-lg cursor-move border-b border-blue-500 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2563eb; /* blue-600 */
    padding: 0.5rem; /* p-2 */
    border-top-left-radius: 0.5rem; /* rounded-t-lg */
    border-top-right-radius: 0.5rem;
    border-bottom: 1px solid #3b82f6; /* border-b border-blue-500 */
    cursor: move;
}

.header-controls-group {
    /* Mimics: flex items-center space-x-2 */
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space-x-2 */
}

/* 3. Header Text */
.header-drag-text {
    /* Mimics: text-sm font-semibold text-white pl-1 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* font-semibold */
    color: white; /* text-white */
    padding-left: 0.25rem; /* pl-1 */
}

/* 4. Download Button */
.header-download-btn {
    /* Mimics: text-xs font-medium transition duration-150 rounded px-2 py-0.5 bg-yellow-400 text-gray-900 hover:bg-yellow-500 */
    font-size: 0.75rem; /* text-xs */
    font-weight: 500; /* font-medium */
    transition: all 150ms ease-in-out;
    border-radius: 0.25rem; /* rounded */
    padding: 0.25rem 0.5rem; /* px-2 py-0.5 */
    background-color: #facc15; /* yellow-400 */
    color: #1f2937; /* gray-900 */
    text-decoration: none; /* remove default underline */
}

.header-download-btn:hover {
    background-color: #eab308; /* yellow-500 */
}

/* 5. Close Button */
.header-close-btn {
    /* Mimics: text-white hover:text-white transition duration-150 p-0.5 rounded-full hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-red-400 */
    color: white; /* text-white (or same as header text) */
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
    padding: 0.125rem; /* p-0.5 */
    border-radius: 9999px; /* rounded-full */
}

/* FIX: Ensure the SVG icon inside the button has a defined size */
.header-close-btn svg {
    width: 1rem; /* 16px */
    height: 1rem; /* 16px */
    display: block;
}

.header-close-btn:hover {
    background-color: #1d4ed8; /* blue-700 */
}

.header-close-btn:focus {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #f87171; /* ring-2 focus:ring-red-400 */
}

/* 6. Audio Player Body */
.audio-player-body {
    /* Mimics: p-2 bg-white rounded-b-lg */
    padding: 0.5rem; /* p-2 */
    background-color: white;
    border-bottom-left-radius: 0.5rem; /* rounded-b-lg */
    border-bottom-right-radius: 0.5rem;
}

/* Ensure the audio element takes full width */
#main-audio-player {
    width: 100%;
}






/* Properties for the Menu Bar */
div.agesMenu {
    font-size: 120%;
    width: 100%;
    background: rgba(245, 241, 235, 0.55);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: fixed;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
}

.menu-left {
    flex-shrink: 0;
}

.menu-right {
    flex-shrink: 0;
    margin-left: auto;
}

.agesMenu .jqm-dropdown,
.agesMenu .section-popover {
    position: absolute;
}

.agesMenu a .fa {
    font-size: 1em;
}

/* Properties to control the spacing between menu bar icons
   and their color.
   Note that the alwb.js controls the sizing dynamically
   depending on various factors.
*/
i.ages-menu-link {
    padding: 0.25em;
    color: #555;
}

/* Section indicator in menu bar */
#section-indicator {
    display: none;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 0.65em;
    color: #a91827;
    cursor: pointer;
    padding: 0 0.5em;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
}
#section-indicator.active {
    display: inline-block;
}

/* Section popover */
.section-popover {
    display: none;
    position: fixed;
    top: 2em;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245, 241, 235, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 8px 0;
    z-index: 10001;
    max-height: 60vh;
    overflow-y: auto;
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.section-popover.open {
    display: block;
}
.section-popover a {
    display: block;
    padding: 6px 16px;
    color: #36454f;
    text-decoration: none;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 11pt;
}
.section-popover a:hover {
    background: rgba(169, 24, 39, 0.08);
    color: #a91827;
}
.section-popover a.current {
    color: #a91827;
    font-weight: bold;
}

/* alwb.css */

.parishMenu {
  /* Positioning: Fixed to the viewport */
  position: fixed; 
  top: 0;          
  left: 0;         
  
  /* Sizing */
  width: 300px;
  height: 100dvh;
  
  /* Styling */
  background-color: #333; 
  color: white;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5); 
  z-index: 1000; /* Ensure it is above all other content */
}

/* Optional: Style for the button itself */
#menu-button {
    position: fixed; /* Keep the button visible and static */
    top: 10px;
    left: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

.enlargeFontBtn {
    margin: 10px;
}
.shrinkFontBtn {
    margin: 10px;
}
.lang-view-btn {
    margin: 10px;
}



.closeParishMenuBtn {
    /* Example: Give it a distinct look */
    background-color: #a04040; /* Dark Reddish color */
    color: white;
    margin: 10px; 
    font-weight: bold;
    /* This button also inherits general styles from .parishMenu button */
}

/* Sets the color of icons in content div */
.content, .index-content > a >.fa {
    color: #000000;
}

/* Sets the color of icons in content div */
.content,
.index-content>a>.fa {
    color: #000000;
}

/* Properties for the main content on a service or book */
div.content {
    position: relative;
    margin-top: 30px;
    margin-left: 5px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Properties for the content of an index page */
div.index-content {
    position: relative;
    box-sizing: border-box;
    margin-top: 30px;
    margin-left: 5px;
    overflow-y: auto;
    padding-bottom: 10em;
    max-width: none !important;
}

/* Accordion Text*/
.panelTitle {
    font-size: 100%;
}

.panel-body {
    background-color: #FBF0D9;
}

div.panel-heading {
    background-color: #BCB6A9 !important;
}

/* Placeholders to change specific icons */
.fa-arrows {}

.fa-bars {
    padding-top: 1px;
}

.fa-byznote:before {
    font-family: 'Psaltica';
    font-size: 250%;
    content: '\006c';
    line-height: 0;
    position: relative;
    bottom: -18px;
}

.fa-calendar {}

.fa-caret-square-o-left {}

.fa-caret-square-o-right {}

.fa-columns {}

.fa-columns {}

.fa-envelope {}

.fa-info-circle {
    padding-left: 2px;
}

.fa-list-alt {}

.fa-minus {}

.fa-mobile {}

.fa-money {}

.fa-music {}

.fa-plus {}

.fa-question-circle {}

.fa-text-height {}

.fa-undo {}

.fa-volume-up {
    padding-left: 3px;
}

/* Sets properties for the Byzantine Music Score Icon */
.byzscore {
    height: 10pt;
    width: 15pt;
}

/* Properties of the 'button' hyperlinks in the Index pages */
.IndexLink {
    font-size: 100% !important;
    background-color: #BCB6A9;
}

.container {
    position: absolute;
    left: -10px;
    height: 100%;
}

span.media-icon {
    font-family: 'Alegreya', Georgia, serif;
    font-style: italic;
    margin: 0 3px;
}

div.media-group {
    text-align: center;
    height: 18pt;
}

div.media-group-empty {
    text-align: center;
    height: 0;
}

.m-g-e {}

.m-g-e::after {
    content: '(No media for this version.)';
    text-align: center;
    color: SlateGray;
    font-size: 0%;
}

p {
    color: black;
    /* night mode #FBF0D9 */
    font-size: 11pt;
    line-height: 15pt;
    text-align: left;
    font-family: 'Alegreya', Georgia, serif;
    margin-bottom: 0em;
    /* to control spacing after para */
}

p.actor {
    text-align: left;
    font-size: 80%;
    color: #a91827;
    font-weight: bold;
    text-indent: 0;
    margin-top: 5px;
    margin-bottom: 0;
}

p.actor::first-letter {
    font-size: 118%;
}

p.actorinaudible {
    color: #a91827;
    font-weight: bold;
    text-indent: 20pt;
    font-size: 80%;
    text-align: left;
    line-height: 150%;
    margin-top: 5px;
    margin-bottom: 0;
}

p.actorinaudible::first-letter {
    font-size: 125%;
}

p.alttext {
    font-size: 80%;
    background-color: #CCCCCC;
    margin-left: 2em;
}

#LoB {
    width: 50%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 30px;
    font-size: 12pt;
    font-weight: bold;
    line-height: 350%;
}

p.lobTitle {
    color: #a91827;
    font-size: 12pt;
    font-weight: bold;
    line-height: 200%;
    text-align: center;
}

p.bookmarklink {
    font-size: 12pt;
    font-weight: bold;
    line-height: 200%;
    text-align: center;
}

p.bkmrk {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrkR {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk00 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk01 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk02 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk03 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk04 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk05 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk06 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk07 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk08 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk09 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk10 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk11 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk12 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk13 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk14 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk15 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk16 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk17 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk18 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk19 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.bkmrk20 {
    font-size: .1%;
    line-height: .1%;
    opacity: 0;
}

p.break {
    margin-bottom: 10px;
}

p.chant {
    font-size: 100%;
    line-height: 150%;
    margin-bottom: 6pt;
    text-align: left;
    text-indent: 20pt;
}

p.chant::first-letter {
    color: #a91827;
    font-size: 125%;
}

p.chapverse {
    font-weight: normal;
    font-style: italic;
    text-indent: 0;
    text-align: center;
    color: #a91827;
    font-size: 80%;
    margin-top: 0;
    margin-bottom: 0;
}

p[class^='bmc_'],
p[class^='emc_'] {
    display: none;
}

p.bmc_collapse {
    display: block;
    text-align: center;
    font-style: normal;
    font-size: 90%;
    color: blue;
    line-height: 100%;
    margin-top: 4px;
    margin-bottom: 12px;
}

.bmc_collapse:hover {
    cursor: pointer;
}

p.emc_collapse {
    display: block;
    text-align: center;
    font-style: normal;
    font-size: 90%;
    color: blue;
    line-height: 100%;
    margin-top: 12px;
    margin-bottom: 3px;
}

.emc_collapse:hover {
    cursor: pointer;
}

p.credits1 {
    font-family: 'Alegreya', Georgia, serif;
    margin-top: 1em;
    text-align: left;
    font-weight: bold;
    font-size: 10pt;
    margin-bottom: 1em;
}

p.credits2 {
    font-family: 'Alegreya', Georgia, serif;
    text-align: left;
    font-size: 9pt;
}

p.credits3 {
    font-family: 'Alegreya', Georgia, serif;
    text-align: left;
    font-size: 9pt;
    margin-bottom: 1em;
}

p.designation {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 95%;
    font-style: normal;
    font-weight: bold;
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
}

p.dialog {
    text-align: left;
    text-indent: 20pt;
    font-size: 95%;
    line-height: 130%;
    margin-bottom: 6pt;
}

p.dialogzero {
    text-align: left;
    text-indent: 20pt;
    font-size: 95%;
    line-height: 130%;
    margin-bottom: 0;
}

p.greekmelody {
    font-family: 'Alegreya', Georgia, serif;
    text-align: center;
    font-weight: normal;
    font-size: 70%;
    font-weight: normal;
    font-style: italic;
    color: #a91827;
    margin-top: 3px;
    margin-bottom: 3px;
}

p.heirmos {
    font-size: 100%;
    text-align: left;
    text-indent: 0;
    line-height: 150%;
    margin-bottom: 10px;
}

p.heirmos::first-letter {
    -webkit-initial-letter: 2;
    initial-letter: 2;
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 200%;
    font-weight: 300;
    padding-right: 4px;
}

p.hymn {
    font-size: 100%;
    text-align: left;
    text-indent: 0;
    line-height: 150%;
    margin-bottom: 10px;
}

p.hymn::first-letter {
    -webkit-initial-letter: 2;
    initial-letter: 2;
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 200%;
    font-weight: 300;
    padding-right: 4px;
}

p.hymnlinefirst {
    font-size: 100%;
    text-align: left;
    text-indent: 0;
    line-height: 150%;
    margin-bottom: 0;
}

p.hymnlinefirst::first-letter {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 180%;
    font-weight: normal;
}

p.hymnlinemiddle {
    font-size: 100%;
    text-align: left;
    text-indent: 0;
    line-height: 150%;
    margin-top: 0;
    margin-bottom: 0;
}

p.hymnlinelast {
    font-size: 100%;
    text-align: left;
    text-indent: 0;
    line-height: 150%;
    margin-top: 0;
    margin-bottom: 10px;
}

p.iambiccanon1 {
    font-size: 100%;
    line-height: 150%;
    margin-bottom: 0;
    text-align: left;
    padding-left: 23px;
    text-indent: -23px;
}

p.iambiccanon1::first-letter {
    color: #a91827;
    font-size: 180%;
    font-weight: normal;
}

p.iambiccanon234 {
    font-size: 100%;
    text-align: left;
    line-height: 150%;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 18px;
    text-indent: -18px;
}

p.iambiccanon234::first-letter {
    color: #a91827;
    font-size: 125%;
    font-weight: normal;
}

p.iambiccanon5 {
    font-size: 100%;
    text-align: left;
    line-height: 150%;
    margin-top: 0;
    margin-bottom: 18px;
    padding-left: 18px;
    text-indent: -18px;
}

p.iambiccanon5::first-letter {
    color: #a91827;
    font-size: 125%;
    font-weight: normal;
}

p.inaudible {
    text-indent: 20pt;
    font-size: 80%;
    text-align: left;
    line-height: 150%;
    margin-top: 0px;
}

p.logoleft {
    text-indent: -14px;
}

p.melody {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 95%;
    font-style: italic;
    font-weight: normal;
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
}

p.missalreading {
    text-align: left;
    text-align-last: right;
    font-size: 80%;
    font-weight: normal;
    text-indent: 20pt;
    margin-top: 5px;
    margin-bottom: 0;
}

p.missaltitle {
    text-align: left;
    text-align-last: right;
    font-size: 80%;
    color: #a91827;
    font-weight: bold;
    text-indent: 0;
    margin-top: 5px;
    margin-bottom: 0;
}

p.mixed {
    font-family: 'Alegreya', Georgia, serif;
    font-size: 95%;
    font-style: normal;
    font-weight: normal;
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
}

p.mode {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 95%;
    font-weight: bold;
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
}

p.name {
    font-weight: normal;
    font-style: normal;
    text-align: center;
    color: #a91827;
    font-size: 80%;
    margin-top: 3px;
    margin-bottom: 3px;
}

p.nodisplay {
    display: none;
}

p.noprintdesig {
    font-family: 'Alegreya', Georgia, serif;
    font-weight: normal;
    font-size: 95%;
    font-style: normal;
    color: #a91827;
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
}

.notavailable {
    font-style: italic;
    font-weight: lighter;
    font-size: 70%;
    line-height: 130%;
    text-indent: 16px;
    color: gray;
    float: right;
}

p.prayer {
    font-size: 100%;
    text-align: left;
    text-indent: 20pt;
    line-height: 150%;
    margin-bottom: 6px;
}

p.prayeroptional {
    text-align: left;
    text-indent: 20pt;
    line-height: 150%;
    margin-bottom: 6px;
    font-style: italic;
    font-size: 80%;
    color: #651612;
}

p.prayerzero {
    font-size: 100%;
    text-align: left;
    text-indent: 20pt;
    line-height: 150%;
    margin-bottom: 0;
}

p.reading {
    font-size: 100%;
    text-align: left;
    text-indent: 20pt;
    line-height: 150%;
    margin-bottom: 6px;
}

p.readingcenterzero {
    text-align: center;
    font-size: 100%;
    line-height: 150%;
    margin-bottom: 0;
}

p.readingcenter {
    text-align: center;
    font-size: 100%;
    line-height: 150%;
    margin-bottom: 6px;
}

p.readingzero {
    font-size: 100%;
    text-align: left;
    text-indent: 20pt;
    line-height: 150%;
    margin-bottom: 0;
}

p.rubric {
    color: #a91827;
    font-size: 80%;
    font-style: italic;
    text-align: left;
    text-indent: 20pt;
}

p.servicesources {
    padding-left: 25px;
    text-align: left;
    font-family: serif;
    font-size: 80%;
    color: #a91827;
    font-weight: bold;
}

p.servicesourcessection {
    padding-left: 25px;
    padding-bottom: 5px;
    text-indent: 15px;
    text-align: left;
    font-family: serif;
    font-size: 80%;
}

p.servicesourcestitle {
    padding-left: 10px;
    text-align: left;
    font-family: serif;
    font-size: 90%;
    font-weight: bold;
}

p.smallcenter {
    font-family: 'Alegreya', Georgia, serif;
    text-align: center;
    font-size: 70%;
    font-weight: bold;
    color: #a91827;
    margin-top: 3px;
    margin-bottom: 3px;
}

p.smallcenterboldred {
    font-family: 'Alegreya', Georgia, serif;
    text-align: center;
    font-size: 70%;
    font-weight: bold;
    color: #a91827;
    margin-top: 3px;
    margin-bottom: 3px;
}

p.smalldesig {
    font-family: 'Alegreya', Georgia, serif;
    text-align: center;
    font-size: 70%;
    font-weight: bold;
    color: #a91827;
    margin-top: 3px;
    margin-bottom: 3px;
}

p.source {
    margin-top: 6px;
    font-weight: normal;
    font-style: normal;
    font-size: 70%;
    color: gray;
    text-align: left;
}

p.source0 {
    margin-top: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 70%;
    color: gray;
    text-align: left;
    height: 0;
    position: relative;
    top: -3em;
}

p.source1 {
    margin-top: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 70%;
    ;
    color: gray;
    text-align: left;
    height: 0;
    position: relative;
    top: -6em;
}

p.synaxarioncommemoration {
    font-size: 100%;
    text-align: left;
    text-indent: 14px;
    line-height: 150%;
    margin-top: 6px;
    margin-bottom: 6px;
}

p.synaxarioncommemoration::first-letter {
    color: #a91827;
    font-size: 180%;
    font-weight: normal;
}

p.synaxarionversetitle {
    color: #a91827;
    text-align: center;
    font-weight: normal;
    font-size: 90%;
    margin-top: 6px;
    margin-bottom: 0;
}

p.synaxarionverse0 {
    text-align: center;
    font-style: normal;
    font-size: 90%;
    line-height: 100%;
    margin-bottom: 0;
}

p.synaxarionverse {
    text-align: center;
    font-style: normal;
    font-size: 90%;
    line-height: 100%;
    margin-bottom: 3px;
}

p.synaxarionnarrationtitle {
    color: #a91827;
    text-align: center;
    font-weight: normal;
    font-size: 70%;
    ;
    margin-top: 6px;
    margin-bottom: 0;
}

p.synaxarionnarration1 {
    text-align: left;
    font-size: 70%;
    ;
    line-height: 150%;
    margin-bottom: 6px;
}

p.synaxarionnarration1::first-letter {
    font-size: 180%;
    font-weight: normal;
}

p.synaxarionnarration10 {
    text-align: left;
    font-size: 70%;
    ;
    line-height: 150%;
    margin-bottom: 0;
}

p.synaxarionnarration10::first-letter {
    font-size: 180%;
    font-weight: normal;
}

p.synaxarionnarration0 {
    text-align: left;
    text-indent: 14px;
    font-size: 70%;
    ;
    line-height: 150%;
    margin-bottom: 0;
}

p.synaxarionnarrationlast {
    text-align: left;
    text-indent: 14px;
    font-size: 70%;
    ;
    line-height: 150%;
    margin-bottom: 6px;
}

p.synaxarionnote {
    text-align: left;
    text-indent: 14px;
    font-size: 70%;
    ;
    font-style: normal;
    font-weight: normal;
    color: #a91827;
    line-height: 150%;
    margin-top: 3px;
    margin-bottom: 3px;
}

p.title {
    font-family: 'Alegreya', Georgia, serif;
    font-size: 95%;
    font-weight: normal;
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
}

p.titlezero {
    text-align: center;
    font-style: normal;
    font-weight: bold;
    color: #a91827;
    font-size: 80%;
    margin-top: -7px;
    margin-bottom: 0;
}

p.typikon {
    padding-left: 22px;
    text-indent: -22px;
    text-align: left;
    font-family: serif;
    font-size: 80%;
}

p.typikonblock {
    text-align: left;
    font-family: serif;
    font-size: 80%;
}

p.typikoncenter {
    text-align: center;
    font-family: serif;
    font-size: 80%;
}

p.typikoncenteromitted {
    background-color: #e9e9e9;
    text-align: center;
    font-family: serif;
    font-size: 80%;
}

p.typikoncommemoration {
    text-align: left;
    font-family: serif;
    font-size: 80%;
    font-weight: bold;
}

p.typikonindent {
    text-align: left;
    text-indent: 22px;
    font-family: serif;
    font-size: 80%;
}

p.typikonnote {
    text-align: left;
    font-family: serif;
    font-size: 70%;
    ;
}

p.typikonomitted {
    background-color: #e9e9e9;
    padding-left: 22px;
    text-indent: -22px;
    text-align: left;
    font-family: serif;
    font-size: 80%;
}

p.verse {
    text-align: left;
    text-indent: 20pt;
    font-style: italic;
    font-size: 100%;
    line-height: 150%;
    margin-bottom: 3px;
}

p.versecenter {
    text-align: center;
    font-style: italic;
    font-size: 90%;
    line-height: 100%;
    margin-bottom: 3px;
}

.verticalLine {
    position: fixed;
    left: .5in;
    border-left: thick solid #ff0000;
    height: 10in;
}

.horizontalLine {
    position: fixed;
    top: .5in;
    border-top: thick solid #ff0000;
    width: 7in;
}

span.anum {
    color: #a91827;
    font-size: 80%;
}

span.bigblack {
    color: black;
    font-weight: normal;
    font-style: normal;
    font-size: 150%;
}

span.bigred {
    color: #a91827;
    font-weight: normal;
    font-style: normal;
    font-size: 150%;
}

span.black {
    font-style: normal;
    color: black;
}

span.blue {
    font-style: inherit;
    color: #0080c0;
}

span.bold {
    font-weight: bold;
    font-style: inherit;
}

span.bolditalics {
    font-weight: bold;
    font-style: italic;
}

span.bolditalicsred {
    font-weight: bold;
    font-style: italic;
    color: #a91827;
}

span.boldred {
    font-weight: bold;
    color: #a91827;
    font-style: inherit;
}

span.chapverse {
    font-weight: normal;
    font-style: italic;
    color: #a91827;
    font-size: 80%;
}

span.designation {
    font-style: normal;
    font-weight: bold;
    color: #a91827;
}

span.dialogafteractor {
    color: black;
    font-size: 118%;
    font-style: normal;
    font-weight: normal;
}

p.dialogwithactor {
    font-size: 95%;
    line-height: 130%;
    margin-bottom: 6pt;
    text-align: left;
}

span.actorwithdialog {
    color: #a91827;
    font-size: 88%;
    font-weight: bold;
}

span.goared {
    font-style: inherit;
    color: #a91827;
}

span.italics {
    font-style: italic;
}

span.italicsblack {
    font-style: italic;
    color: black;
}

span.italicsred {
    font-style: italic;
    color: #a91827;
}

span.melody {
    color: #a91827;
    font-style: italic;
    font-weight: normal;
}

span.mode {
    font-style: normal;
    font-weight: bold;
    color: #a91827;
}

span.optional {
    font-style: italic;
    font-size: 80%;
    color: #651612;
}

span.red {
    font-style: inherit;
    color: #a91827;
}

span.reference {
    font-variant: normal;
    font-weight: normal;
    font-style: italic;
    font-size: 70%;
    ;
    color: #a91827;
}

span.rubric {
    font-variant: normal;
    font-weight: normal;
    font-style: italic;
    font-size: 80%;
    color: #a91827;
}

span.smaller {
    color: inherit;
    font-weight: normal;
    font-style: normal;
    font-size: 70%;
}

span.smallred {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 70%;
    font-style: normal;
    font-weight: normal;
}

span.smallreditalic {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 70%;
    font-style: italic;
    font-weight: normal;
}

span.smallredbold {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 70%;
    font-style: normal;
    font-weight: bold;
}

span.smallreditalicbold {
    color: #a91827;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 70%;
    font-style: italic;
    font-weight: bold;
}

span.strong {
    font-weight: bold;
}

span.versiondesignation {
    font-style: normal;
    font-weight: lighter;
    font-size: 50%;
    vertical-align: middle;
    color: #428bca;
    float: right;
}

span.troparionfirstletter {
    color: #a91827;
}

span.troparionlinefirstletter {
    color: #a91827;
}

span.troparionminusfirstletter {
    font-size: 100%;
    margin-left: -3px;
}

span.achoir {}

span.aclergy {}

span.adeacon {}

span.ahierarch {}

span.apeople {}

span.apriest {}

span.areader {}

span.dchoir {}

span.dclergy {}

span.ddeacon {}

span.dhierarch {}

span.dpeople {}

span.dpriest {}

span.dreader {}

span.dwachoir {}

span.dwaclergy {}

span.dwadeacon {}

span.dwahierarch {}

span.dwapeople {}

span.dwapriest {}

span.dwareader {}

p.prayersbeforecommunionlink {
    display: block;
    text-align: center;
    font-style: normal;
    font-size: 90%;
    color: blue;
    line-height: 100%;
    margin-top: 4px;
    margin-bottom: 12px;
}

span.pbc {
    display: none;
}

.pbc-toggle-btn {
    border: none;
    display: block;
    text-align: center;
    font-style: normal;
    font-size: 90%;
    color: blue;
    line-height: 100%;
    margin-top: 4px;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}

table {
    margin: 0 3pt;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0 5px;
    display: inline;
}

tr {
    border-spacing: 0 5px;
}

td {
    vertical-align: top;
    width: 50%;
    padding-left: 8px;
    padding-right: 8px;
}

td.leftCell {
    border-right: thin solid silver;
}

.glyphicon {
    margin: 0 3px;
}

.index-title {
    text-align: center;
    font-family: 'Alegreya', Georgia, serif;
    font-size: 100%;
    color: #a91827;
    font-weight: bold;
    text-indent: 0;
    margin-top: 5px;
    margin-bottom: 10px;
}

.index-title-date {
    text-align: center;
    font-size: 100%;
    color: #a91827;
    font-weight: bold;
    text-indent: 0;
    margin-top: 5px;
    margin-bottom: 10px;

}

.index-desc-1 {
    text-align: left;
    text-indent: 20pt;
    font-size: 80%;
    line-height: 100%;
    margin-bottom: 6pt;
    max-width: 350px;
}

.index-desc-2 {
    text-align: left;
    text-indent: 20pt;
    font-size: 80%;
    line-height: 100%;
    margin-bottom: 6pt;
    max-width: 350px;
}

.index-desc-3 {
    text-align: left;
    text-indent: 20pt;
    font-size: 80%;
    line-height: 100%;
    margin-bottom: 6pt;
    max-width: 350px;
}

.index-file-timestamp {
    font-size: 70%;
    ;
    font-weight: lighter;
    color: #6E6E6E;
    vertical-align: 2px;
}

.index-month-tr {}

.index-month-td {
    padding-top: 1em;
}

.index-month {
    color: #a91827;
}

.index-day-tr {}

.index-day-td {}

.index-day-link {}

.index-service-day-tr {}

.index-service-day-td {
    padding-left: 0 !important;
}

.index-service-day {
    color: #a91827;
}

.index-commemoration {
    color: #a91827;
}

.index-service-language-tr {}

.index-service-language-td {
    vertical-align: middle;
    padding-right: 0 !important;
    width: 34%;
}

.index-service-language {
    vertical-align: middle;
}

.index-file-link-td {
    vertical-align: middle;
    width: 33%;
}

.index-file-link {
    vertical-align: middle;
}

.index-file-timestamp-td {
    vertical-align: middle;
    padding: 0 !important;
    width: 33%;
}

.pixels {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #222222;
}

.point {
    font-size: 12pt;
    line-height: 30px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #222222;
}

.em {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #222222;
}

.percentage {
    font-size: 100%;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #222222;
}

.undefined {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #222222;
}

#changeFont {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #333333;
    padding: 5px;
}

table.books-index-table {
    table-layout: fixed !important;
    width: 100% !important;
}

.index-books-language-td {
    vertical-align: middle;
    padding-right: 0 !important;
    width: 25% !important;
}

.index-books-language {
    vertical-align: middle;
}

.index-books-file-link-td {
    vertical-align: middle;
    padding-right: 0 !important;
    width: 45% !important;
}

.index-books-file-link {
    vertical-align: center;
}

.index-books-file-type-td {
    vertical-align: middle;
    padding: 0 !important;
    width: 25% !important;
}

.index-books-file-timestamp-td {
    vertical-align: middle;
    padding: 0 !important;
    width: 5% !important;
}

table.custom-index-table {
    table-layout: fixed !important;
    width: 60% !important;
}

.index-custom-language-td {
    vertical-align: middle;
    padding-right: 0 !important;
    width: 25% !important;
}

.index-custom-language {
    vertical-align: middle;
}

.index-custom-file-link-td {
    vertical-align: middle;
    padding-right: 0 !important;
    width: 25% !important;
}

.index-custom-file-link {
    vertical-align: center;
}

.index-custom-file-type-td {
    vertical-align: middle;
    padding: 0 !important;
    width: 25% !important;
}

.index-custom-file-timestamp-td {
    vertical-align: middle;
    padding: 0 !important;
    width: 25% !important;
}

.pref-panel {
    display: none;
    position: fixed;
    overflow-y: scroll;
    height: 100%;
    width: 100%;
    left: 0;
    top: 20px;
    padding: 10px;
    padding-bottom: 50px;
    background-color: burlywood;
    z-index: 2000;
}

.pref-instructions {
    padding: 10px;
}

.pref-closer {
    margin: 20px 0 10px 30px;
    text-decoration: underline;
    color: crimson;
    float: left;
    width: 100%;
}

.pref-closer:hover {
    cursor: pointer;
}

.pref-row-spacer {
    padding-bottom: 20px;
}

.print-btn {
    float: right;
    margin: 5px 5px 0 0;
}

.pref-left {
    float: left;
    width: 80%;
    min-height: 2em;
    text-align: right;
    padding-right: 10px;
}

.pref-right {
    float: left;
    width: 19%;
    min-height: 2em;
}

.pref-spacer {
    height: 1.5em;
    width: 100%;
    float: left;
}

.return-button {
    width: 80%;
    float: left;
    margin: 10px;
}

.return-button>.btn {
    float: right;
}

.save-button {
    width: 80%;
    float: left;
    margin: 10px;
}

.save-button>.btn {
    float: right;
}

@media print {
    @page {
        margin: .5in .75in .5in .75in;
    }

    .agesMenu {
        display: none;
    }

    p {
        font-family: palatino;
    }

    .actor,
    .designation,
    .red,
    .mode,
    .melody,
    .chapverse {
        color: #ff0000 !important;
        font-family: liberation !important;
    }

    .boldred {
        color: #ff0000 !important;
        /* check */
    }

    .mixed {
        font-family: liberation !important;
    }

    .source {
        color: gray !important;
        /* check */
    }

    .media-group,
    .media-group-empty {
        display: none !important;
        /* check */
    }

    .versiondesignation {
        color: red !important;
        /* check */
    }

    tr .designation,
    tr .actor,
    tr .mixed,
    tr .melody {
        page-break-after: avoid !important;
    }

    .glyphicon,
    .fa-byznote {
        display: none;
    }

    .print-btn {
        display: none;
    }

}