
#bible-passage-selectors {
    max-width: 65%;
}

#select-book {
    max-width: 25rem;
}

#select-chapter {
    max-width: 6rem;
}

/* Sticky buttons, like back-to-top */

.btn-sticky {
    position: sticky;
    bottom: 0.5em;
    z-index: 100;
    opacity: 0.9;
}

.btn-sticky:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.back-to-top {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in;
}


/* Concordance form */

select[multiple] {
    width: 95%;
    margin: auto;
    display: block;
    min-height: 150px;
}

/* Concordance list-group (right panel) */

.list-group-books {
    @extend .list-group;

    a {
        @extend .list-group-item, .list-group-item-action;
    }

    a.unselected {
        @extend .list-group-item-light;
    }

    a.selected .badge {
        @extend .bg-dark;
    }

    a.unselected .badge {
        @extend .bg-secondary;
    }

     .flex-book {
        @extend .d-flex, .justify-content-between, .align-items-start;
    }

    .progress {
        height: 3px !important;
    }

    a.selected .progress-bar {
        @extend .bg-info;
    }

    a.unselected .progress-bar {
        @extend .bg-secondary;
    }
}

/* Concordance results */

.results {
    .copyverse .material-icons {// for copyverse icon
        font-size: 18px;
    }

    dd {
        margin-left: 0em;
        margin-bottom: 1em;

        @media screen and (min-width: 540px) {
            margin-left: 1em;
        }
        @media screen and (min-width: 720px) {
            margin-left: 2em;
        }
    }

    & + .results {
        border-top: 2px solid transparent;
        border-image: linear-gradient(to left, #f0f0f0, #8c8b8b, #f0f0f0) 30;
    }

    mark {
        background-color: var(--bs-warning);
        font-weight: bold;
        padding: .2em 0;/* remove padding from Bootstrap*/
    }
}

/* Bible Reading */

.chapter {
    margin-bottom: 1em;

    @media screen and (min-width: 1140px) {
        column-count: 2;
        column-gap: 60px;
        column-rule: 1px solid var(--bs-info);
    }

    @media screen and (min-width: 2400px) {
        column-count: 3;
    }

    blockquote {
        padding: 0 0 0 0.8em;
        margin-bottom: 1.4em;
        border-left: 2px dotted silver;
        border-radius: 0.7em;

        p {
            margin-bottom: 0.4em;
        }
    }

    p {
        text-align: justify;
        line-height: 1.85em;
        /*text-indent: 1em;*/
    }
}

/* Bible style (reading or results) */

.divineName {
    font-variant: small-caps;
}

.note {
    vertical-align: super;
    color: var(--bs-success);
    font-weight: bold;
    font-style: italic;
    font-size: 0.83em;
    line-height: 0;
    /* space around */
    padding-left: 3px;
    padding-right: 3px;
    /* Source: https://stackoverflow.com/questions/2326004/prevent-selection-in-html */
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.note:active, .note:hover, .note:focus {
    color: var(--bs-success);
    text-decoration: none;
}

.verse a {
    color: var(--bs-info);
    font-weight: bold;
}

.crossReference {
    color: var(--bs-success);
    font-style: italic;
    font-size: 0.9em;
}

.crossReference a {
    color: var(--bs-success);
    font-style: italic;
}

q.woc {// WOC Words of Christ in red
    color: darken(var(--bs-danger), 25%);
}

.dark-mode q.woc {
    color: white;
}

q.woc:before, q.woc:after {// cancel default <q></q>
    content: "";
}

/*
    btn-circle
    https://bootstrapious.com/p/bootstrap-circle-button
*/

.btn-circle {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    padding: 0;
    border-radius: 50%;
}

.btn-circle .material-icons {
    position: relative;
    top: -2px;
}

.btn-circle-sm {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 0.9rem;
}

.btn-circle-lg {
    width: 55px;
    height: 55px;
    line-height: 55px;
    font-size: 1.1rem;
}

.btn-circle-xl {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 1.3rem;
}
