﻿@font-face {
    font-family: 'Baskerville';
    src: url('../fonts/baskerville-cufonfonts-webfont/baskvl.woff') format('woff');
    font-style: normal;
    font-weight: normal;
}

/*@font-face {
    font-family: 'Baskerville';
    src: url('../fonts/baskerville-cufonfonts-webfont/Baskerville.woff') format('woff');
    font-style: normal;
    font-weight: normal;
}*/
.text-bg ul:not(.browser-default) {
    text-align: left !important;
    margin: 0 !important;
    padding: 7px 14px !important;
}

.dropdown-chose-list {
    max-height: 420px;
    overflow: auto;
}

.hideIt {
    display: none;
}

ol li {
    text-align: left;

}

.newArya {
    background: url(/images/dot.png) 0 2em repeat-x #fff;
    margin: 0 0 .25em 0;
}

body {
    color: #333333;
    font-family: 'Baskerville';
    font-size: 20px;
    line-height: 1.42857143;
    padding-bottom: 20px;
}

strong {
    font-weight: bold;
}

.aboutContent, .viewToc {
    font-size: 13px !important;
    font-style: italic;
}

.aboutContent i {
    font-style: italic;
    font-size: 15px !important;
    font-weight: normal !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.div-hover:hover {
    background-color: #dddddd;
}

.switch label {
    margin-left: 12px;
}

.navbar-default {
    background-color: #eeeeee;
    border-color: #dddddd;
    color: #777777;
}

.navbar-default a {
    color: #777777;
}

.navbar-fixed {
    z-index: 999;
}

.navbar-fixed {
    top: 0;
}

mark {
    background: #ff0 !important;
    color: #000;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */

/*input,
select,
textarea {
    max-width: 280px;
}*/

/* Custom Stylesheet */

/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

.icon-block {
    padding: 0 15px;
}

.icon-block .material-icons {
    font-size: inherit;
}

.nav-wrapper ul a {
    font-size: 20px;
}

.page-header {
    margin: 56px 0 28px;
    padding-bottom: 13px;
}

.landing {
    font-family: "Baskerville";
    font-size: 34px;
    font-style: italic;
}

.jumbotron p {
    font-size: 20px;
    font-weight: 200;
    margin-bottom: 15px;
}

.jumbotron {
    background-color: #eeeeee;
}

.row-body {
    margin-top: 20px;
    padding-bottom: 48px;
}

footer {
    color: #777777;
    font-size: 80%;
}

blockquote {
    border-left: 5px solid #eeeeee;
    font-size: inherit;
    margin: 0 0 28px;
    padding: 14px 28px;
}

p {
    font-family: 'Baskerville';
}

.dropdown-content li > a, .dropdown-content li > span {
    color: inherit;
}

.author-image {
    max-height: 250px;
}

.list-unstyled {
    line-height: 1.5;
    list-style: none;
    padding-left: 0;
}

.l4 {
    font-size: 25px !important;
    font-weight: 500 !important;
}

.compilation-title {
    font-style: italic;
    margin-top: 10px;
}

.para {
    margin: 0;
    padding: 7px 14px;
}


.volume-title {
    font-weight: normal !important;
}

.text-muted {
    color: #777777;
}

.toc-section small {
    color: #777;
}

.row-body a:hover {
    text-decoration: underline;
}

.volume-title a {
    font-size: 30px;
}

a {
    color: #337ab7;
    text-decoration: none;
}

.toc-chapter {
    background: url(/images/dot.png) 0px 1em repeat-x #fff;
    margin: 0 0 0.25em 0;
}

.toc-chapter-title {
    background: #fff;
    display: inline;
    font-weight: normal !important;
    padding-right: 3px;
}

.l5 {
    font-size: 20px !important;
    font-weight: 500 !important;
}

.toc-part small {
    color: #777777;
}

.toc-book small {
    color: #777777;
}

.toc-item-title {
    font-size: 15px;
    margin-left: 20px;
}

.text-bg p {
    text-align: left;
}

.chapter-meta {
    margin-bottom: 14px;
    margin-top: 14px;
}

.chapter-meta p {
    font-size: 18px;
    font-weight: 300;
}

.desc {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 14px;
    padding: 0 14px;
}

.navbar-navigation {
    background-color: whitesmoke;
    border-color: #dddddd;
}

.breadcrumb {
    color: #337ab7;
}

.breadcrumb:last-child {
    color: grey;
}

.breadcrumb:before {
    color: inherit;
}

.navigations {
    border: 1px solid grey;
    border-radius: 12px;
    padding: 4px;
}

.text-bg-common {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 15px;
}


.chapter-title {
    border-bottom: 1px solid #eeeeee;
    padding: 0 14px 14px 14px;
    /*position: relative;*/
}

.date-badge, .date-badge-search {
    display: none;
    /*position: absolute;*/
    right: 0;
}

time.calendar {
    -webkit-transform: rotate(0deg) skewY(0deg);
    -webkit-transform-origin: 50% 10%;
    background-color: #fff;
    border-radius: 0.6em;
    box-shadow: 0 0 0 1px #777777;
    display: block;
    font-size: 0.4em;
    height: 7em;
    overflow: hidden;
    position: relative;
    transform-origin: 50% 10%;
    width: 7em;
}

.calendar .year {
    background-color: #777777;
    color: #fff;
    display: block;
    font-size: 1.6em;
    font-weight: 500;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

.calendar .day {
    color: #777777;
    display: block;
    font-weight: 600;
    position: absolute;
    text-align: center;
    top: 2.2em;
    width: 100%;
}

.calendar .month {
    bottom: 0.1em;
    color: #777777;
    display: block;
    font-size: 1.5em;
    font-weight: 500;
    position: absolute;
    text-align: center;
    width: 100%;
}

.calendar .date {
    color: #777777;
    display: block;
    font-size: 1.8em;
    font-weight: 500;
    letter-spacing: -0.05em;
    padding-top: 1.8em;
    text-align: center;
    width: 100%;
}

.chapter-heading {
    padding-right: 60px;
}

.text-bg p:hover {
    background-color: whitesmoke;
}

.btn-group, .btn-group-vertical {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.text-bg p[data-selected="true"] {
    background-color: #eee;
}

body[data-device-type="desktop"] .text-bg p[data-selected="true"] {
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.get-bookmarks {
    border-radius: 0%;
}

#navigations-values {
    background-color: whitesmoke;
}

h1, .l1, .h1 {
    font-size: 52px;
}

hr:after {
    color: #777777;
    content: "*";
    font-size: 1.5em;
    position: relative;
    top: -0.5em;
}

hr {
    border-top: none;
    text-align: center;
}

hr {
    border: 0;
    margin-bottom: 28px;
    margin-top: 28px;
}

.navigators a {
    font-size: 15px;
}

.navigators a:hover {
    background-color: #dddddd;
    text-decoration: none;
}

.list {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-top: 45px;
    padding-top: 39px;
}

.alphabet {
    border-bottom: 4px solid #eeeeee;
    font-family: "Baskerville";
    font-size: 43px;
    font-style: italic;
    margin-bottom: 15px;
    padding-top: 30px;
}

.col-overflow, .toc-overflow {
    -o-text-overflow: ellipsis;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#words {
    font-size: 85%;
}

.custom-menu {
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 5px;
    color: #333;
    display: none;
    font-family: sans-serif;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    z-index: 1000;
    text-align: left;
}

.custom-menu li {
    cursor: pointer;
    padding: 8px 12px;
}

.custom-menu li:hover {
    background-color: #DEF;
}

#text-share, #text-share-html {
    min-height: 100px;
    overflow-y: auto;
    resize: vertical;
}

#share-content .tabs {
    background-color: transparent;
}

.tabs .tab a {
    color: black;
}

.pagination li.active {
    background-color: #424242 !important;
}

.post-Options {
    display: block;
}

.small-span {
    font-size: 15px;
    font-weight: bold;
}

#modal1 a:hover {
    cursor: pointer;
    text-decoration: underline;
}

#snackbar {
    background-color: #333; /* Black background color */
    border-radius: 2px; /* Rounded borders */
    bottom: 30px; /* 30px from the bottom */
    color: #fff; /* White text color */
    left: 50%; /* Center the snackbar */
    margin-left: -125px; /* Divide value of min-width by 2 */
    min-width: 250px; /* Set a default minimum width */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    text-align: center; /* Centered text */
    visibility: hidden; /* Hidden by default. Visible on click */
    z-index: 1; /* Add a z-index if needed */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */

#snackbar.show {
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
    visibility: visible; /* Show the snackbar */
}

.div-compilation {
    padding: 10px;
}

.div-compilation blockquote {
    border: none;
}

.small-bold {
    font-size: 20px;
}

.div-questions {
    padding: 10px;
}

.div-questions blockquote {
    border: none;
}

#content_compilation blockquote {
    border: none;
}

.tap-target {
    background-color: #eeeeee;
}

.hoverable {
    margin: 30px;
    transition: box-shadow .25s;
}

.depends_french {
    display: none;
}

.depends_french_eng_lbl {
    display: none;
}

.text-bg-french p {
    text-align: left;
}

.text-bg-french-eng-lbl p {
    text-align: left;
}

mark {
    background-color: inherit;
    color: black;
    font-weight: bold;
}

.small-summary {
    font-size: 15px;
    font-weight: 700;
}

.para-small-summary {
    text-align: left;
    margin: 0;
}

#authorSummary {
    vertical-align: top;
}

.summary-small {
    font-size: 15px;
}

.modal-content hr {
    border: 1px solid lightgrey;
}

.motto {
    font-size: 85%;
    border-bottom: 1px solid #eee;
    padding: 7px 14px;
    text-align: left;
}

.page-number {
    color: grey;
    font-size: 15px;
    display: none;
}

.depends_page_number .depends_french_eng_lbl {
    display: none;
}

#book_Page_Based, #showGraph {
    display: none;
}

.underline {
    cursor: pointer;

}

.clickable:hover {
    cursor: pointer;
}

#snackbar {
    color: white !important;
}

/* Light theme defaults */
.jumbotron {
    background-color: #eee !important;
}

.date-active {
    font-weight: bold;
    color: brown;
    text-decoration: underline;
}

/* Navbar default light theme */
.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

/* Dark theme overrides for navbar */
body.dark-theme .navbar-default {
    background-color: #1f1f1f !important;
    border-color: #333333 !important;
}

body.dark-theme .navbar-default .navbar-nav > li > a,
body.dark-theme .navbar-default .navbar-text,
body.dark-theme .navbar-default .navbar-brand {
    color: #ffffff !important;
}

body.dark-theme .navbar-default .navbar-nav > li > a:hover,
body.dark-theme .navbar-default .navbar-brand:hover {
    color: #66b3ff !important;
}

/* Dark theme overrides for date-active */
body.dark-theme .date-active,
body.dark-theme .jcalendar-set-day,
body.dark-theme .jcalendar-selected {
    font-weight: bold !important;
    color: #ff9966 !important;
    text-decoration: underline !important;
}

/* Text bg hover for light theme */
.text-bg p:hover {
    background-color: whitesmoke;
}

/* Text bg hover for dark theme */
body.dark-theme .text-bg p:hover {
    background-color: #1f1f1f !important;
}

/* Dark theme styles for body */
body.dark-theme {
    background-color: #121212 !important;
    color: #ffffff !important;
}

/* Dark theme styles */
body.dark-theme .jumbotron,
body.dark-theme .row-body,
body.dark-theme .row,
body.dark-theme .row > div[class*="col"],
body.dark-theme .card-content,
body.dark-theme .section {
    background-color: #121212 !important;
}

/* Calendar dark theme */
body.dark-theme .jcalendar-container {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
    border-color: #333333 !important;
}

body.dark-theme .jcalendar-container td,
body.dark-theme .jcalendar-container th,
body.dark-theme .jcalendar-container .jcalendar-header,
body.dark-theme .jcalendar-container .jcalendar-weekday {
    color: #ffffff !important;
    background-color: #1f1f1f !important;
}

body.dark-theme .jcalendar-container .jcalendar-selected {
    background-color: #3366cc !important;
    color: #ffffff !important;
}

body.dark-theme .jcalendar-container td:hover {
    background-color: #2d2d2d !important;
}

/* Timeliny dot dark theme */
body.dark-theme .timeliny .timeliny-dot::before {
    background-color: #121212 !important;
    color: #ffffff !important;
}

/* Select element dark theme */
body.dark-theme select {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
    border-color: #333333 !important;
}

/* Select options dark theme */
body.dark-theme select option {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
}

/* Text color for all elements in dark mode */
body.dark-theme .row-body *,
body.dark-theme .row *,
body.dark-theme .row > div[class*="col"] *,
body.dark-theme .card-content *,
body.dark-theme .section * {
    color: #ffffff !important;
}

/* Links color in dark mode */
body.dark-theme .row-body a,
body.dark-theme .row-body a *,
body.dark-theme .row a,
body.dark-theme .row a *,
body.dark-theme .row > div[class*="col"] a,
body.dark-theme .row > div[class*="col"] a *,
body.dark-theme .card-content a,
body.dark-theme .card-content a *,
body.dark-theme .section a,
body.dark-theme .section a * {
    color: #66b3ff !important;
}

/* Ensure specific elements have white text in dark mode */
body.dark-theme .row-body p,
body.dark-theme .row-body span,
body.dark-theme .row-body div,
body.dark-theme .row-body h1,
body.dark-theme .row-body h2,
body.dark-theme .row-body h3,
body.dark-theme .row-body h4,
body.dark-theme .row-body h5,
body.dark-theme .row-body h6,
body.dark-theme .row-body label,
body.dark-theme .row-body li,
body.dark-theme .row p,
body.dark-theme .row span,
body.dark-theme .row div,
body.dark-theme .row h1,
body.dark-theme .row h2,
body.dark-theme .row h3,
body.dark-theme .row h4,
body.dark-theme .row h5,
body.dark-theme .row h6,
body.dark-theme .row label,
body.dark-theme .row li,
body.dark-theme .card-content p,
body.dark-theme .card-content span,
body.dark-theme .card-content div,
body.dark-theme .card-content h1,
body.dark-theme .card-content h2,
body.dark-theme .card-content h3,
body.dark-theme .card-content h4,
body.dark-theme .card-content h5,
body.dark-theme .card-content h6,
body.dark-theme .card-content label,
body.dark-theme .card-content li,
body.dark-theme .section p,
body.dark-theme .section span,
body.dark-theme .section div,
body.dark-theme .section h1,
body.dark-theme .section h2,
body.dark-theme .section h3,
body.dark-theme .section h4,
body.dark-theme .section h5,
body.dark-theme .section h6,
body.dark-theme .section label,
body.dark-theme .section li {
    color: #ffffff !important;
}

/* Override any inline styles within dark-theme only */
body.dark-theme [style*="background"],
body.dark-theme [style*="background-color"] {
    background-color: inherit !important;
}

body.dark-theme [style*="color"] {
    color: inherit !important;
}

/* Dropdown dark theme */
body.dark-theme .dropdown-content {
    background-color: #1f1f1f !important;
    border-color: #333333 !important;
}

body.dark-theme .dropdown-content li > a,
body.dark-theme .dropdown-content li > span {
    color: #ffffff !important;
}

body.dark-theme .dropdown-content li > a:hover {
    background-color: #2d2d2d !important;
}

body.dark-theme .dropdown-content .divider {
    background-color: #333333 !important;
}

#toast-container .toast {
    color: white !important;
}
/* Native browser highlight for Text Fragment URLs */
::target-text {
    background-color: #fff176;
    color: #000000;
    border-radius: 2px;
}

/* Fallback manual highlight (Firefox/Safari safety net) */
mark.specific-selection-highlight {
    background-color: #fff176;
    color: #000000;
    border-radius: 2px;
    padding: 0 1px;
}
