html {
    scroll-behavior: smooth
}

body {
    /*min-height: 75rem;*/
    padding-top: 4.5rem;
    background-color: #1b1b1b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    font-size: 20px;
}

/* ------------------------------------------------------------
 Header Bar
------------------------------------------------------------ */

.bg-dark {
    background-color: #111 !important;
}

#searchbar-text-top {
    border: 1px solid #333333;
    border-radius: 5px;
    height: calc(1.5em + .5rem + 8px);
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #333333;
}

.btn-outline-light:hover {
    color: #f8f9fa;
    background-color: #212529;
    border-color: #f8f9fa;
}

.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
    font-size: 1rem ;
}

.navbar-light .nav-item .nav-link:active, .navbar-light .nav-item .nav-link:focus {
    color: #fff !important;
}

/* ------------------------------------------------------------
 Main Content
------------------------------------------------------------ */

.container {
    width: 100%;
}

.main {
    color: #fff;
    font-size: 2.2rem;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.left {
    text-align: left !important;
}

.white-text {
    color: #fff;
}

.title {
    font-size: 2.2rem;
    margin: 0 auto;
    line-height: 2.2rem;
    font-weight: 300;
}

.subtitle {
    font-size: 1.2rem;
    margin: 0.6em auto 1.6em auto;
    font-weight: 300;
}

.jw {
    color: #bf360c;
}

/*.jw::after {
    content: " ";
}*/

.hl {
    background-color: #ffff99;
    padding: 4px;
}

p {
    margin: 20px 0;
}

.page-content {
    width: 60%;
    margin: 20px auto 30px;
    /*padding: 3rem 1rem;*/
    min-height: calc(100vh - 115px);
    background-color: #fff;
    font-weight: 400;
    color: #000;
    /*padding: 40px 60px;*/
    border: 1px solid #dddcda;
}

.audio-icon {
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    display: inline-block;
    margin-right: 5px;
}

.bi.bi-headphones.menu {
    color: gold !important;
}

.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px 10px 0 10px;
    display: none;
    text-align: center;
    z-index: 999;
}

.audio-wrapper {
    padding: 0;
}

audio {
    width: 100%;
}


/* ------------------------------------------------------------
 Jumbotron
------------------------------------------------------------ */

.jumbotron {
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    background-color: #151515;
    margin-top: -16px !important;
    border-radius: 0 !important;
    min-height: calc(100vh - 40px);
    justify-content: center;
    align-items: center;
    display: flex;
}

.form-control:focus {
    color: #fff;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 0%);
}

input[type="search"] {
    width: 100%;
    border-radius: 12px;
    border: none;
    padding: .75em;
    background: transparent !important;
    color: #fff;
}

input.top-nav, input.top-nav::-webkit-input-placeholder {
    font-size: 13px;
    line-height: 3;
}

.jumbo-search {
    border-radius: 12px;
    max-width: 480px;
    width: calc(100% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #333;
    margin: .6em 0 .3em;
    border: 2px solid transparent;
    transition: all .15s ease;
}

.btn-search {
    border: none;
    border-radius: 12px;
    background-color: transparent;
    color: #fff;
    padding: .25em .75em 0;
    line-height: 1;
    background: url("/assets/images/search.svg");
    background-repeat: no-repeat;
    background-size: 2.5rem;
    height: 1.75em;
    width: 1.75em;
    background-position: 50%;
    margin-top: .25rem;
    margin-right: .5rem;
    filter: invert(0);
    cursor: pointer;
}

.btn-search:hover {
    filter: invert(100%);
}

button:focus {
    outline: none !important;
}

.btn-outline-light.focus, .btn-outline-light:focus {
    box-shadow: none !important;
}


/* ------------------------------------------------------------
 Footer
------------------------------------------------------------ */

.footer {
    background-color: #111 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding: 0 15px;
}

.footer .container {
    color: #8b8b8b;
    text-align: center;
    padding: 0.34rem;
    font-size: 0.8rem;
}


/* ------------------------------------------------------------
 Front Page Book Buttons
------------------------------------------------------------ */

.books {
    width: 100%;
    padding: 2rem .5rem;
    text-align: center;
}

.books .book-navigation {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.books .book-navigation h3.book-section-header {
    font-size: 2.4rem;
    margin: 0 20px 0;
    border-bottom: solid 0.5px #ccc;
}

.books .book-navigation .content {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 860px;
    width: 100%;
    margin: 1rem auto;
    align-items: center;
}

.books .book-navigation .content .book-nav-button {
    width: 33%;
}

.books .book-navigation .content .book-nav-button .title {
    background: hsla(0, 0%, 100%, .2);
    font-weight: 300;
    padding: 10px 15px;
    margin: 11px;
    border-radius: 12px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .06), 0 5px 5px rgba(0, 0, 0, .03);
    transition: all .25s ease;
    font-size: 20px;
}

.book-button {
    cursor: pointer
}

.books .book-navigation .content .book-nav-button .title:hover {
  background: hsla(0, 0%, 100%, .5);
}


/* ------------------------------------------------------------
 Modal Dialogs
------------------------------------------------------------ */

.modal-content {
    position: relative;
    background-color: #333;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
    box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
    outline: 0;
    padding: 20px;
}

.modal-header {
    padding: 15px 15px 4px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
    color: #fff;
}

.modal-body {
    position: relative;
    padding: 15px;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 300px;
    overflow-y: auto;
}

.btn-chapters {
    color: #fff;
    background-color: #333;
    border-color: #ccc;
    width: 55px;
    border-radius: 12px;
    display: flex;
    margin: 12px;
    justify-content: center;
}

.btn-chapters:hover {
    color: #ababab;
    text-decoration: none;
    border-color: #ababab;
}

.book-name {
    background-color: #fff !important;
    border: 1px solid rgba(0,0,0,.125) !important;
}

.book-name.active {
    color: #fff;
    background-color: #8b8b8b!important;
}


/* ------------------------------------------------------------
 Chapter / Verse Page
------------------------------------------------------------ */

.bible-copyright {
    font-size: 0.75rem;
    text-align: center;
    margin: 60px auto 0 auto;
    padding: 20px 0 0 0;
    border-top: 1px dotted black;
}

h1.main-header {
    font-size: 2.5rem;
    font-weight: 600;
}

h3.sub-header {
    /*font-size: 1.3rem;*/
}

.chapter-content {
    width: 100%;
    /*margin: 20px auto 30px;*/
    /*padding: 3rem 1rem;*/
    /*min-height: calc(100vh - 115px);*/
    background-color: #fff;
    font-weight: 400;
    color: #000;
    padding: 10px 60px 40px 60px;
    /*border: 1px solid #dddcda;*/
}

.chapter-content a {
    color: #000;
}

.chapter-content a.verse:hover, a.verse-p:hover {
    background-color: #fff9da;
    text-decoration: none;
    color: #000;
}

table {
  display: table;
  border-collapse: separate;
  border-spacing: 2px;
  border-color: gray;
}


td {
    display: table-cell;
    padding-top: 20px;
    color: #fff;
}

.verse {
    vertical-align: text-top;
    font-size: 1.5rem;
    line-height: 2.2rem;
    font-weight: normal;
    color: #000;
}

.verse-num {
    vertical-align: text-top;
    font-size: 1rem;
    line-height: 2rem;
    padding-right: 10px;
    text-align: right;
    color: #a10004;
}

.single-verse {
    vertical-align: text-top;
    font-size: 2rem;
    line-height: 3rem;
    font-weight: normal;
    text-align: center;
    margin-top: 40px;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.red-text {
    color: #a10004;
}

.black-text {
    color: #000;
}

.spacing {
    letter-spacing: 6px;
}

.linebelow-red {
    border-bottom: thin dotted #a10004;
    padding-bottom: 10px;
}

.linebelow-black {
    border-bottom: thin dotted #000;
    padding-bottom: 10px;
}

.linebabove-black {
    border-top: thin dotted #000;
    padding-top: 10px;
}

.bible-version {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
}

ul.pagination {
    font-size: 1rem;
}

.col {
    padding: 0;
}

.btn-ch-chapters {
    color: #fff;
    background-color: #333;
    border-color: #ccc;
    border-radius: 12px !important;
    display: flex;
    margin: 12px;
    justify-content: center;
    width: 75px;
    max-width: 75px;
    border: 1px solid #ccc;
    padding: .375rem .75rem;
}

.btn-ch-chapters:hover {
    color: #ababab;
    text-decoration: none;
    border-color: #ababab;
}

.modal-ch-title-div {
    /*padding: 15px 15px 4px;*/
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

h4.modal-ch-title {
    font-size: 2rem;
    color: #fff;
}

.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #8b8b8b;
    border-color: #8b8b8b;
}

.modal-content.chapters {
    padding: 10px !important;
}

.ch-buttons {
    margin-left: 20px;
}

a.ch-anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

.bible-verse-back {
    text-align: center;
    margin-top: 50px;
    font-size: 1rem;
}

a.bible-verse-ch-link {
    color: #a10004;
}

a.bible-verse-ch-link:hover {
    color: #a10004;
    background-color: transparent;
    text-decoration: none;
}

p.bible-verse-back > a {
    color: blue;
}

p.bible-verse-back > a:hover {
    background-color: transparent;
}

/*p.book-intro {
    font-size: 1.3rem;
    padding: 0 80px;
    text-align: center;
    margin: 20px 0;
    color: #2c2c2c;
}*/

p.book-intro {
  font-size: 1.3rem;
  padding: 0 13px;
  text-align: left;
  margin: 50px 0 30px 0;
  margin: 20px 0;
  color: #2c2c2c;
}

p.daily-description, p.reading-plans-intro, p.stories-intro {
    color: #2c2c2c;
}

par {
    margin-top: 30px;
    display: block;
    line-height: 2.2rem;
}

nopar {
    margin-top: 30px;
    display: inline-block;
    line-height: 2.2rem;
}

.v-num {
    font-size: 0.8rem;
    vertical-align: top;
    color: #a10004;
    margin-right: 5px;
    /*color: #999;*/
}

.verse-p {
    font-size: 1.5rem;
    font-weight: normal;
}

/* ------------------------------------------------------------
 Daily
------------------------------------------------------------ */

div.devotion-content {
    font-size: 1.5rem;
    line-height: 2rem;
}

div.devotion-content > blockquote {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
}


/* ------------------------------------------------------------
 Search Results
------------------------------------------------------------ */

h1.search-header {
    font-size: 2.5rem;
}

td.search-verse {
    display: table-cell;
    padding-top: 40px;
    color: #fff;
}

.search-verse {
    vertical-align: text-top;
    font-size: 1.5rem;
    line-height: 2.2rem;
    font-weight: normal;
}

.search-verse-num {
    vertical-align: text-top;
    font-size: 0.75rem;
    line-height: 2rem;
    padding-right: 20px;
    text-align: left;
    color: #000;
    white-space: nowrap;
}

a.search-results {
    color: #323232;
}

a.search-results:hover {
    background-color: transparent !important;
    text-decoration: none;
    color: #000;
}

.search-results-form {
    max-width: 480px;
    margin-top: 50px;
}

.search-results-form-inner {
    border-radius: 12px;
    max-width: 480px;
    width: calc(100% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff !important;
    margin: .6em 0 .3em;
    border: 2px solid black;
    transition: all .15s ease;
}

.search-results-text {
    width: 100%;
    border-radius: 12px;
    border: none;
    padding: .75em;
    background: transparent !important;
    color: #000 !important;
}

.btn-search-results {
    border: none;
    border-radius: 12px;
    background-color: transparent;
    color: #fff;
    padding: .25em .75em 0;
    line-height: 1;
    background: url("/assets/images/search.svg");
    background-repeat: no-repeat;
    background-size: 2.5rem;
    height: 1.75em;
    width: 1.75em;
    background-position: 50%;
    margin-top: .25rem;
    margin-right: .5rem;
    filter: invert(0);
    cursor: pointer;
}

.btn-search-results:hover {
    filter: invert(50%);
}

input::-webkit-calendar-picker-indicator {
    opacity: 0;
}

p.search-info {
    text-align: center;
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: -5px;
    color: #2c2c2c;
}

/* ------------------------------------------------------------
 Audio Footer Player
------------------------------------------------------------ */

.cp-container {
    zoom:  100%;
    -moz-transform: scale(0.6); /* Firefox */
    -moz-transform-origin: center;
    -o-transform: scale(0.6); /* Opera */
    -o-transform-origin: center;
    -webkit-transform: scale(0.6); /* Safari And Chrome */
    -webkit-transform-origin: center
    transform: scale(0.6); /* Standard Property */
    transform-origin: center;  /* Standard Property */
    margin-top: -61px;
    box-sizing: unset !important;
}
.audio-toggle {
    display: block;
    position: fixed;
    bottom: 87px;
    right: 10px;
    color: #fff;
    z-index: 99999;
    background-color: #111;
    width: 50px;
    text-align: center;
    padding: 5px;
    cursor: pointer;
    font-size: 0.8rem !important;
    box-sizing: unset !important;
}
.audio-bottom-bar {
    z-index: 9999;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #111;
    font-size: 1rem;
    justify-content: center;
    align-content: center;
    padding: 4px 0;
    box-sizing: unset !important;
}
.audio-bottom {
    bottom: -110px;
}
.audio-toggle-off {
    bottom: 0 !important;
    cursor: pointer;
}
.audio-show {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 9999;
}

/* ------------------------------------------------------------
 Bible Stories
------------------------------------------------------------ */

h1.stories-header {
    font-size: 2.5rem;
}

.bible-stories-flex-container {
    display: flex;
    /*display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;*/
    text-align: center;
    /*padding-right: 15px;
    padding-left: 15px;*/
    padding-top: 0;
    font-size: 1.2rem;
    width: 100%;
}

.bible-stories-flex-child {
    /*flex: 1;*/
    display: inline-block;
    max-width: 50%;
    text-align: left;
    padding: 0 10px;
    /*background-color: #ddd;*/
    border-radius: 3px;
    margin: 5px;
}

.bible-stories-flex-child:first-child {
    /*margin-right: 20px;*/
    display: inline-block;
    max-width: 50%;
    text-align: left;
    padding: 0 10px;
    /*background-color: #ddd;*/
    border-radius: 3px;
    margin: 5px 90px 0 0;
    vertical-align: top;
}

.bible-stories-testament {
    text-align: left;
    font-size: 1.7rem;
    font-weight: 500;
    /*color: #03c;*/
}

p.stories-intro {
    font-size: 1.3rem;
    padding: 0 0px;
    text-align: center;
    margin: 50px 0 20px 0;
}

.story-link, .topic-link {
    color: #0000FF !important;
}

.story-link:hover, .topic-link:hover {
    color: #000C66 !important;
    text-decoration: none !important;
}

/* ------------------------------------------------------------
 Reading Plans
------------------------------------------------------------ */

a.list-group-item.reading-plans.list-group-item-action:focus, a.list-group-item.reading-plans.list-group-item-action:hover {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #dcedff;
}

a.list-group-item.reading-plans.list-group-item-action:visited {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #dcedff;
}

p.reading-plans-intro {
    text-align: center;
    width: 100%;
    font-size: 1rem;
    margin-bottom: 40px;
}

p.daily-description {
    font-size: 1.3rem;
    padding: 0 0px;
    text-align: center;
    margin: 20px 0;
    color: #2c2c2c;
}


/* ------------------------------------------------------------
 Bible Topics
------------------------------------------------------------ */

a.list-group-item.bible-topics.list-group-item-action:focus, a.list-group-item.bible-topics.list-group-item-action:hover {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #dcedff;
}

p.topic-category {
    font-size: 1.7rem;
    border-bottom: 1px solid black;
    font-weight: 600;
    margin: 30px 0 20px 0;
}

td.topic {
    width: 33.3%;
    padding: 0;
    font-size: 1.2rem;
}

a.topic-link {
    font-size: 1.2rem;
    color: #1d00ff;
}

p.topic-related-info {
    text-align: center;
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: -5px;
    color: #2c2c2c;
}


/* ------------------------------------------------------------
 Map
------------------------------------------------------------ */

.map-frame {
    width: 100%;
    height: 540px;
    border: 0;
}


/* ------------------------------------------------------------
 Other
------------------------------------------------------------ */

.settings-menu {
    float: right;
    margin: -5px 20px 20px 0;
    display: block;
}

@media (max-width: 500px) {
    .dropdown-menu{
        max-height: 200px;
        overflow-y: auto;
    }
}
