:root {  
    --mh_primary_bg_color: #00aeef;
    --mh_primary_text_color: #ffffff;  
    --mh_button_off_bg_color: #eeeeee;
    --mh_error_text_color: #cc0000; 
    --mh_input_filter_text_color: #555555;
    --mh_item_hover_bg_color: #dcdcdc;
    --mh_dark_pnum_color: #aaa;
    --mh_dark_gray1_text_color: #cccccc;
    --mh_dark_gray1_bg_color: #121212;
    --mh_dark_gray2_bg_color: #242424; 
    --mh_light_gray1_text_color: #333333; 
    --mh_light_subheader_icon_color: #656565;
    --mh_scrollbar-thumb-bg_color: #888888;
    --mh_scroll_bg_color: #2b2b2b;
    --mh_light_disabled_icon_color: #999999;  
}

html, body, .sermon-reader-container {
    background-color: var(--mh_dark_gray1_bg_color);
    color: var(--mh_dark_gray1_text_color) !important;
}
::-webkit-scrollbar {
    width: 10px;
    background: var(--mh_scroll_bg_color);
}

::-webkit-scrollbar-thumb {
    background: var(--mh_scrollbar-thumb-bg_color);
    border-radius: 8px;
}  

.instruction-header {
    background-color: var(--mh_light_gray1_text_color);
    color: var(--mh_dark_gray1_text_color);
    margin: 0;
    height: 38px;
}

.instruction-header p {
    margin: 0
}

.offcanvas-header {
    padding: 0.5rem 1rem
}

.instruction-header button {
    width: fit-content;
    align-items: center;
    padding: 0
}

.subheader {
    align-items: center;
    border: none;
    display: flex;
    height: 38px;
    justify-content: center;
    text-align: center;
    color: var(--mh_dark_gray1_text_color);
    background-color: var(--mh_light_gray1_text_color);
}

.highlight, .check, button.submit-btn {
    background-color: var(--mh_primary_bg_color) !important;
    color: var(--mh_primary_text_color) !important
}

button i {
    font-size: 35px !important;
    vertical-align: middle;
}

.instruction-icon i {
    width: 32px !important;
    font-size: 28px !important
}

.instruction-header button, .btn-close, .instruction-header button:hover, .btn-close:hover {
    background-color: transparent; 
}

.offcanvas-header .btn-close {
    height: 28px;
    padding: 0;
    background: none !important
}

.offcanvas-header .btn-close i {
    font-size: 28px;
    color: var(--mh_dark_gray1_text_color);
    vertical-align: middle
}

.offcanvas-body {
    background: var(--mh_dark_gray2_bg_color);
    color: var(--mh_dark_gray1_text_color);
}

button:focus:not(:focus-visible), button:focus-visible, h1:focus-visible, .form-check-input:focus {
    outline: none !important;
    box-shadow: none
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.highlighted-text, .spinner-border {
    color: var(--mh_primary_bg_color);
    font-weight: 700;
}

.sermon-link {
    text-decoration: none;
}

a, a:hover {
    color: var(--mh_dark_gray1_text_color);
}

.flex-center {
    display: flex;
    gap: 8px;
}

.p-10 {
    padding: 0 10px;
}

.table > :not(caption) > * > * {
    padding: 0.3em .5rem;
    vertical-align: middle;
    height: 38px;
}

.content-align {
    text-align: justify;
}

div.textLine {
    font-style: normal;
    left: 0;
    padding-bottom: 1em;
    position: relative;
    top: 0;
}

div.quote {
    font-style: normal;
    left: 0;
    padding-top: 0.5em;
    position: relative;
    top: 0;
}

div.scripture {
    font-style: italic;
    text-indent: 1em;
}

div.scripture, div.singing {
    padding-left: 2.5em;
    padding-right: 2.5em;
}

.lang-amh, .lang-ar, .lang-fa, .lang-ur {
    font-family: Arial, sans-serif !important;
}

.lang-ar, .lang-fa, .lang-ur {
    font-weight: bold !important;
    /*	direction: rtl;*/
}

.lang-mya div, .lang-mya span {
    line-height: 2em !important;
    font-family: Myanmar, sans-serif !important;
}

.pnum {
    font-size: 1.5em !important;
    top: 0.1em;
    margin-right: 0.5em;
    vertical-align: baseline;
    display: inline;
    position: relative;
    cursor: pointer;
    color: var(--mh_primary_bg_color);
}

.pnum-small {
    top: 0;
    font-weight: 600;
    font-size: 1em !important;
    color: var(--mh_dark_pnum_color);
}

.pointer {
    cursor: pointer
}

.sermon-indent {
    text-indent: 1em;
}

th, tr {
    border-color: var(--mh_input_filter_text_color) !important
}

th, td {
    color: var(--mh_dark_gray1_text_color) !important;
    text-align: center;
}

tr {
    cursor: pointer
}

.table {
    border: none;
    margin: 0
}

.table thead th {
    position: sticky;
    top: -1px;
    background-color: var(--mh_input_filter_text_color) !important;
    z-index: 10;
}

.header-info {
    flex: 1;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 100px;
}

button {
    background-color: var(--mh_light_gray1_text_color);
    color: var(--mh_dark_gray1_text_color);
    border: none;
    font-size: 1rem;
    font-weight: 400 !important;
    min-height: 2rem !important;
    text-transform: capitalize !important;
    border-radius: 4px;
    vertical-align: middle;
    width: 64px;
    height: 40px;
    text-align: center !important;
    vertical-align: middle;
}

button:hover {
    color: var(--mh_primary_text_color);
    background-color: var(--mh_primary_bg_color);
}

button.submit-btn:disabled, button:disabled, button:disabled:hover {
    background-color: var(--mh_input_filter_text_color) !important;
    color: #999 !important;
    border: none !important;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #eee;
    outline: 0;
    box-shadow: 0 0 0 1px rgb(0 174 239);
}

.welcome {
    width: 500px
}

button.update-btn, button.submit-btn {
    height: 38px
}

.player-btn {
    width: auto;
    height: auto;
    background-color: transparent;
    color: var(--mh_dark_gray1_text_color);
}

.divider {
    border-bottom: 1px solid var(--mh_input_filter_text_color);
}

.search-container, #time-code-block {
    flex: 0.25;
}

.separator {
    border: 1px solid var(--mh_input_filter_text_color);
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-list-container {
    flex: 1;
    overflow-y: auto;
    min-height: 50px;
}

#sentence-list {
    flex: 0.5;
    height: 100vh
}

#sentence-list .blocks {
    flex: 1;
    overflow-y: auto;
}

#sentence-list:active, #sentence-list:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--mh_primary_bg_color);
}

#time-code-block {
    padding-left: 1px;
} 

#time-code-block > div {
    overflow: hidden;
    height: 100vh;
    gap: 12px;
}

ul {
    padding-left: 1em
}

.offcanvas.offcanvas-start {
    width: 25%;
}

@media (min-width: 768px) and (max-width: 1024px) {
    #sentence-list {
        flex: 0.5;
    }

    #time-code-block {
        flex: 0.5;
    }

    .offcanvas.offcanvas-start {
        width: 50%;
    }

    button {
        width: 48px;
        height: 36px
    }
}
