.listing-header {
    background-color: #fff;
    text-align: center;
    padding: 2em 1em;
    margin: 2em 0;
}

.listing-header h2, .discipleship-header h2 {
    font-size: calc(26px + (30 - 26) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(40px + (80 - 40) * ((100vw - 300px) / (1440 - 300)));
}

.card-deck-wrapper {
    margin-top: 20px;
}

.card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.card-deck .card {
    margin-bottom: 15px;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

.card {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

img {
    vertical-align: middle;
    border-style: none;
}

.card-block {
    height: auto;
    margin: 15px 10px;
}

.card-title {
    margin-bottom: .75rem;
    font-weight: normal;
}

h3.card-title {
    font-size: calc(20px + (20 - 16) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(24px + (24 - 20) * ((100vw - 300px) / (1440 - 300)));
}

.card-block-rm {
    border-bottom: solid 3px #007fc7;
}

.card.card-empty {
    visibility: hidden;
}


@media (min-width: 576px) {
    .card-deck {
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    .card-deck .card {
        justify-content: space-between;
    }
    .card-deck .card {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }


}

.paper {
    margin: 10em 1em;
    background-color: #fff;
    padding: 3em;
}

.paper h1, .kitab-suci h1 {
    font-size: calc(26px + (30 - 26) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(30px + (50 - 40) * ((100vw - 300px) / (1440 - 300)));
}

.kitab-suci h1 {
    text-align: center;
}

.paper h3 {
    font-size: calc(20px + (20 - 16) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(28px + (24 - 20) * ((100vw - 300px) / (1440 - 300)));
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 11px;
}

.ltj-series, .dns-series {
    font-size: 15px;
}

.ltj-series a, .dns-series a {
    color: #1a71a6;
    font-size: 15px;
    line-height: calc(20px + (20 - 16) * ((100vw - 300px) / (1440 - 300)));
    line-height: 44px;
}

.ltj-questions p, .dns-questions p {
    text-align: center;
}

.ltj-body a.button {
    box-sizing: border-box;
    margin: 0px;
    padding: 0.65em 2em;
    border: 0px;
    font-family: 'Montserrat', sans-serif;
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1440 - 300)));
    line-height: calc(20px + (20 - 16) * ((100vw - 300px) / (1440 - 300)));    font-variant: inherit;
    vertical-align: baseline;
    color: rgb(255, 255, 255);
    text-decoration: none;
    -webkit-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
    position: relative;
    display: inline-block;
    text-align: center;
    border-radius: 0.5em;
    cursor: pointer;
    outline: 0px;
    clear: both;
    background: rgb(26, 113, 166);
}

.headerbible {
    margin: 1em 0;
    display: flex;
}

.title-chap {
    display: inline-flex;
}

.form-control {
    height: 40px;
    padding: 8px 14px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.form-control:focus {
    outline: none;
}

select#chapterss {
    margin-left: 5px;
}

form.form-inline.pull-right {
    display: inline-flex;
    margin-left: auto;
}

.prevnex {
    margin: 1em 0em 3em 0em;
    display: flex;
}

.prevnex button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
    border-radius: 4px;
}

button#next {
    margin-left: auto;
}

blockquote.no-ref-tag {
    margin-top: 15px;
    font-weight: 600;
}

.kitab-suci {
    margin-top: 10em;
    background-color: #fff;
    padding: 3em 2em;
}

@media (max-width: 768px) {
    .paper {
        margin: 0em;
        background-color: #fff;
        padding: 10em 1em;
    }
}