html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #191919;
}

* {
    box-sizing: border-box;
}

.window {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 20px;
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: stretch;
    background-color: #191919;
}
.top_title {
    flex: none;
    hyphens: auto; /*this is to flag this as a desktop display, hide display*/
    color: snow;
    padding-top: 0.2em;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    height: 1.5em;
    display: none;
}
.top_title.branding {
    color: snow;
    padding-top: 0.2em;
}
.brand_container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    overflow: hidden;
}
.bible_identifier {
    color: #9a9a9a;
    font-size: .7em;
    font-weight: bold;
}
.bar {
    width: 100%;
    min-width: 100%;
    height: 3em;
    min-height: 3em;
    flex: none;

    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}
.group {
    max-width: 100%;
    flex: 0 0 initial;
    white-space: nowrap;
}
.group_stretch {
    max-width: 100%;
    flex: 1 1 auto;
    border: none;
}
.content {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    overflow: hidden;
}
.navigation {
    display: inline-block;
    width: 30%;
    min-width: 15rem;
    height: 100%;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
}
.view {
    display: inline-block;
    height: 100%;
    width: 70%;
    flex: 2 2 auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-size: 20px;
}
.lyrics, .scripture {
    font-size: 1.5rem;
    line-height: 2.25rem;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    color: snow;
    overflow: hidden;
}
.scripture {
    display: none;
    flex-direction: column;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.scripture_header_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 2em;
    background-color: #303030;
    align-items: center;
    align-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.scripture_header {
    /* flex: none; */
    display: inline-block;
    flex: 1 1 initial;
    width: calc(100% - 6em);
    height: 100%;
    background: #303030;
    color: snow;
    font-size: 1em;
    font-weight: bold;
    overflow: hidden;
    text-align: center;
    vertical-align: center;
    line-height: 2em;
}

.hits_navigation {
    display: none;
    flex: 0 0 initial;
    width: 2em;
    line-height: 2em;
    height: 100%;
    cursor: pointer;
}
.hits_navigation.prev {
    /* display: inline-block; */
    margin-left: 1em;
}
.hits_navigation.next {
    /* display: inline-block; */
    margin-right: 1em;
}

.scripture_text {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: .5em .5em .5em .5em;
}



.scripture .sentence {
    display: inline;
}

.scripture .chapter_number {
    display: inline;
    margin-top: .5rem;
}

.scripture .verse_number {
    display: inline;
    color: #9a9a9a;
    vertical-align: super;
    font-size: 0.60em;
    white-space: nowrap;
}

.hot {
    background-color: cornflowerblue !important;
    color: snow !important;
}

.search_bar {
    border-radius: 12px;
    border: solid 1px lightblue;
    font-size: 20px;
    padding: .2em 2em .2em .5em;
    width: 100%;
}
.search_bar:focus {
    border: solid 1px cornflowerblue;
}
.search_bar:active {
    border: solid 1px cornflowerblue;
}
.clear_button {
    display: inline-block;
    position: relative;
    top: 0;
    left: -1.7em;
    color: cornflowerblue;
}
.clear_button:focus {
    color: dodgerblue;
}
.clear_button:active {
    color: dodgerblue;
}
.bible_nav {
    flex: none;
    display: none;
    flex-direction: row;
    justify-content: stretch;
    height: 100%;
    width: 100%;
    background-color: #303030;
}
.nav_container {
    flex: 1 1 auto;
    height: 100%;
    overflow: auto;
}
.half {
    width: 50%;
}
.quarter {
    width: 25%;
}
#hit_container {
    width: 50%;
    display: none;
}
.book_nav, .chapter_nav, .verse_nav, .hits_nav {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.book_nav .list_line {
    white-space: nowrap;
}

.list {
    display: inline-block;
    min-height: 100%;
    width: 100%;
    background-color: #303030;
}
.list_line {
    line-height: 1.3rem;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    text-indent: -2rem;
    background-color: #303030;
    color: snow;
}
.list_line:nth-child(even) {
    background-color: #202020;
}
.list_line:hover {
    cursor: pointer;
    color: cornflowerblue;
}
.list_line.fave {
    background-color: #61799f;
}
.list_line.fave:nth-child(even) {
    background-color: #445770;
}
.list_line.fave:hover {
    color: #a0a0a0;
}
.branding {
    display: inline-block;
    color: white;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: gray;
    margin: 0 1em;
}
.icon_white {
    display: inline-block;
    color: antiquewhite;
    font-size: 1em;
    margin: 0 .5em;
}
.icon_white.large {
    font-size: 1.5em;
}
.icon_white:hover {
    color: white;
}
.icon_white:active {
    color: lightgray;
}
.icon_white.blue {
    color: cornflowerblue;
}
.icon_white.grayed {
    color: #303030;
}
.icon_white.black {
    color: rgba(0, 0, 0, 0.0%);
}
.blue {
    color: cornflowerblue;
}
#fave {
    display: inline-block;
}
#login {
    display: inline-block;
}
#logout {
    display: none;
}
#settings_span {
    display: none;
}
#drawer_icon {
    display: none;
}
.login-out_span {
    display: inline-block;
    margin-left: .2em;
}
.lyrics_container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}
.lyrics_title {
    text-align: center;
    background-color: #303030;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    flex: none;
}
.lyrics_text {
    width: 100%;
    padding: .3em .3em 2em .3em;
    overflow: auto;
    overflow-wrap: anywhere;
    flex: 1 1 auto;
}
.lyrics_text .verse {
    margin-bottom: 1em;
}
.lyrics_text .chorus {
    margin-left: 2em;
    margin-bottom: 1em;
}
.lyrics_text p {
    margin: 0;
    padding: 0;
}
#link {
    display: inline-block;
    color: cornflowerblue;
}
#unlink {
    display: none;
}
#master_span {
    display: none;
}
.icon_hymnal {
    display: none;
}
#book_span {
    display: inline-block;
    margin-right: .4em;
    width: 1em;
}
.spacer_top, .spacer_bottom {
    display: none;
}

.verse_text {
    padding: 2rem 0;
}

.device_show, .device_hide {
}

.desktop_show {
    display: inline-block;
}

.hl_ly {
    background-color: #ffffc0;
    color: black;
}
.hl_lg {
    background-color: lightgreen;
    color: black;
}
.hl_lb {
    background-color: lightblue;
    color: black;
}
.hl_lr {
    background-color: lightcoral;
    color: black;
}
.hl_lp {
    background-color: mediumpurple;
    color: black;
}
.hl_w {
    background-color: white;
    color: black;
}
.hl_g {
    background-color: gray;
    color: black;
}


/*
  ##Device = Phones, Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

/*@media only screen and (min-width : 768px)*/
@media only screen
and (min-device-width: 300px)
and (max-device-width: 1366px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait)
{
    .desktop_show {}
    .device_show {
        display: inline-block;
    }
    .device_hide {
        display: none;
    }
    .window {
        width: 100%;
        height: 100%;
        overflow: hidden;
        font-size: 40px;
    }
    .top_title {
        hyphens: manual; /*flags this display as mobile, show top title*/
        flex: none;
        display: none;
    }
    .content {
        width: 100%;
        left: 0;
        height: 100%;
        flex: 1 1 auto;
        /* min-height: calc(100% - 1.4em); */
        /* height: 100%; */
    }
    .brand_container {
        display: none;
    }
    .group_stretch {
        min-width: 3em;
    }
    .bar {
        /*must adjust navigation, content*/
        --bar_height: 1.4em;
        height: 1.4em;
        min-height: 1.4em;
        overflow: hidden;
        justify-content: space-between;
        flex: none;
    }
    .icon_white {
        display: inline-block;
        color: antiquewhite;
        font-size: .5em;
        margin: 0 0 0 .3em;
    }
    .icon_white.large {
        font-size: .75em;
    }
    .search_bar {
        font-size: 20px;
    }
    .clear_button {
        display: inline-block;
        position: relative;
        top: 0;
        left: -1.9em;
        font-size: 20px;
        color: cornflowerblue;
    }
    .hits_navigation {
        display: inline-block;
    }
    .navigation {
        /* position: absolute; */
        /*display: inline-block;*/
        left: 0;
        /*top: 1.4em;
        height: calc(100% - 1.4em); */
        width: 100%;
        height: 100%;
        /* transition: left 200ms ease-in; */
    }
    .list_line {
        font-size: 20px;
        line-height: 40px;
    }
    .view {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        padding: 0;
        overflow-x: hidden;
    }
    .lyrics {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .lyrics_title {
        padding: 0 1.2em;
    }
    #drawer_icon {
        display: inline-block;
        margin-right: 0.5em;
    }
    #spacer1 {
        display: none;
        flex: none;
    }
    .scripture_header {
        height: 2.5rem;
    }
}


/* ipad section */
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1366px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape)
{
    .top_title {
        hyphens: manual; /*flags this display as ipad landscape, show top title*/
    }
    #search_parent {
        /*margin-top: -.2em;*/
    }
    .lyrics {
        padding: 0 1em 1.5em 1em;
    }
    .lyrics_title {

    }
    .icon_white {
        margin: 0 .3em;
    }
    .list_line {
        font-size: 30px;
        line-height: 45px;
    }
    #spacer1 {
        display: none;
        flex: none;
    }

}

@media only screen
and (min-device-width: 810px)
and (max-device-width: 915px)
and (orientation: landscape) {
    .top_title {
        hyphens: auto; /*flags this display as ipad landscape, hide top title*/
    }
    .icon_white {
        margin: 0 .3em;
    }
}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/
/*
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* CSS */

/*}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/
/*
@media (min-width: 481px) and (max-width: 767px) {

    /* CSS */

/*}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/
/*
@media (min-width: 320px) and (max-width: 480px) {

    /* CSS */

/*