div#wrapper {
    padding-bottom: 500px;
}

#footer {
    background-color: transparent;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    bottom: 0px;
    position: absolute;
    width: 100%;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.25em;
}

h3, h4, h5 {
    font-size: 1em;
}

h5.highlight {
    margin-top: .5rem;
    margin-bottom: .1rem;
}

.ad-test {
    width: 728px;
    height: 90px;
    background: black;
}

.nav-tabs {
    background-color: #ecfaff;
}

.highlight {
    border-bottom: solid 1px #d1f7ff;
    background-color: #f7fdff;
    border-radius: 1em 1em 0 0;
}

.nav-tabs .nav-link.active {
    border: none;
    border-top: 2px solid #32b3d0;
}

.nav-item {

}

.nav-link {
    padding: .2rem 1rem;
    text-decoration: none;
}

.modal-content {
    color: black;
}

.btn-primary {
    background-color: #32b3d0;
}

.btn-primary:hover {
    color: #32b3d0;
    background-color: White;
}

.typeElement {
    margin: 0em;
}

.typer-container {
    margin: 0 auto;
    padding: 0 0;
}

.quote > span {
    font-family: "Lucida Console", ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
    font-size: 11pt;
    line-height: 1.9em;
    letter-spacing: .1em;
    text-rendering: optimizeLegibility;
    color: black;
}

div.quote {
    background: #fffff0 linear-gradient(#ffffff, #fffff0);
    border: 1px solid #eaead0;
    white-space: pre-wrap;
    padding: .2em;
    padding-right: .5em;
    position: relative;
    /*border-radius: 5px;*/
    min-height: 70px;
    text-align: left;
    border-radius: 1em;
}

div.result p {
    white-space: normal;
}

.quote span.speed {
    border-bottom: 5px solid;
    padding-bottom: 0px;
}

.lesson {
    /*max-height: available;*/
}

.code .quote {
    max-height: 500px;
    white-space: pre;
    white-space: break-spaces;
    overflow-y: auto;
    overflow-x: auto;
}

.done > .quote {
    background: White;
}

.quote.more {
    min-height: 140px;
}


#quote-source .source-text {
    min-width: 10em;
}

/*.lesson, #quote-source {*/
.lesson {
    background: linear-gradient(white, rgba(222, 251, 255, 0.71));
    color: #000000;
}

.lesson {
    margin-top: 20px;
    margin-bottom: 1em;
    padding: 40px 40px 40px 40px;
    border-radius: 1em;
    /*box-shadow: 0px 0px 6px rgba(0, 4, 120, 0.49);*/
}

.lesson.game {
    padding-left: 20px;
    padding-right: 20px;
}

.lesson_header {
    background: url("../images/paper_top_shadow.035e7b3d95f1.png");
    height: 20px;
}

.janicon {
    fill: #45a8cf;
    width: .9em;
    height: .9em;
    padding-bottom: .1em;
}

.startOver {
    float: right;
}

.quote-links {
    float: right;
}

.quote-links a {
    margin-right: 30px;
}

p.result, .result p {
    margin: 0px;
}

.result p {
    line-height: 120%;
}

p.result, .result p {
    margin: 0px;

}

.more-stats {
    clear: both;
}

.stat {
    margin: 2px;
}

.large.stat {
    /*width: 23%;*/
    float: left;
    color: #45a8cf;
}

.large.stat .top {
    /*font-family: 'Source Code Pro', monospace, Courier;*/
    font-family: "Lucida Console", ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
    font-size: 20pt;
    font-weight: bolder;
    /*height: 30px;*/
    white-space: normal;
}

.large.stat .top.small {
    font-size: 16pt;
    line-height: 90%;
}

.large.stat .top.smaller {
    font-size: 12pt;
}

.large.stat .top.smallest {
    font-size: 10pt;
}

.large.stat .bottom {
    font-size: 12pt;
    white-space: normal;
    line-height: 1em;
}

.large.stat.errors .details {
    font-size: 8pt;
    color: #22b8c1;
    position: relative;;
    top: -5px;
}

.info-links a {
    text-align: right;
}

div.awpm {
    float: right;
    font-size: 14pt;
    width: 100px;
}

#new_quote {
    /*float: right;*/
    margin-top: .8rem;
    box-shadow: 0 0px 15px rgba(50, 44, 58, 0.5);
}

.difficulty {
    clear: right;
    float: right;
    margin-bottom: .5rem;
    margin-top: 1rem;
}

#quote_difficulty {
    margin-right: 20px;
}

.choice {
    background-color: #05519a;
    color: white;
    margin-top: .8rem;
    margin-right: 1rem;
    margin-left: 0px;
    margin-bottom: 0px;
    /*padding: 5px;*/
    border-radius: 10em;
    /*margin: 20px;*/
    /*margin-bottom: 20px;*/
    /*clear:both;*/
    /*margin-right: 0px;*/
    float: right;
    border: 0px;
    padding-top: .3em;
    padding-bottom: .3em;
    box-shadow: 0 0px 15px rgba(50, 44, 58, 0.5);

}

.choice.lighter {
    background-color: #0079c9;
}


.quote span.wasIncorrect {
    background: #ffe993;
    color: #1c1a08;
}

.quote span.correct {
    color: #00c88c;
}

.quote span.incorrect {
    background: #ffc0c0 linear-gradient(#fff0f0, #ffc0c0);
    color: #850000;
}

.quote span.cursor {
    /*background-color: #a0fcff;*/
    background: #a0fcff linear-gradient(#d0ffff, #6dffff);

    border-bottom: solid 1px #00979d;
}

#inputArea {
    position: absolute;
    /*left: 300px;*/
    left: -5000px;
}

/* Results */
p.result, .result p {
    margin: 0px;
}

.result p {
    line-height: 120%;
}

.result.details {
    color: #606060;
    font-size: 11pt;
}

div.result {
    width: 100%;
    height: 100%;
    border-top: 1px solid #dff4f5;
    padding-top: 5px;
    white-space: nowrap;
    left: 0px;
    top: 0px;
}

.result {
    color: #45a8cf;
    /*font-size: 14pt;*/
    padding: 0px;
    text-align: center;
    /*font-family: Arial, Helvetica, sans-serif;*/
}

.result.details {
    font-size: 11pt;
    float: right;
}

.notes {
    font-size: 11pt;
    padding-bottom: .25em;
    padding-top: .25em;
}

#credit {
    font-size: 1.1em;
}

#quote-source p {
    margin-top: .1rem;
    margin-bottom: .2rem;
    font-size: .8rem;
    color: #e0faff;
    /*text-align: center;*/
}

.card-header {
    padding: .5rem;
}

.card h2 {
    font-size: .8em;
}

#speed-stats {
    float: left;
    margin-top: .5rem;
}

#speed-stats a {
    margin-left: .3rem;
}

/* Screen size breakpoints */

/* Extra small devices (phones, less than 768px) */
@media (min-width: 0px) {
    #footer {
        height: 300px;
    }

    div#wrapper {
        padding-bottom: 300px;
    }

    .large.stat .top {
        font-size: 12pt;
    }

    .large.stat .bottom {
        font-size: 8pt;
    }

    .lesson {
        padding: 20px 10px;
    }

}

/* Small devices (tablets, 768px and up) */
@media (min-width: 600px) {
    .large.stat .top {
        font-size: 15pt;
    }

    .large.stat .bottom {
        font-size: 10pt;
    }

    .lesson {
        padding: 1em 1em;
    }

    .ad-test {
        width: 468px;
        height: 50px;
    }
}

@media (min-width: 768px) {
    .code .quote {
        max-width: 400px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 900px) {
    #footer {
        height: 350px;
    }

    div#wrapper {
        padding-bottom: 350px;
    }

    .large.stat .top {
        font-size: 16pt;
    }

    .large.stat .bottom {
        font-size: 11pt;
    }

    .lesson {
        padding: 1.1em 1.1em;
        padding-bottom: 1em;
    }

}

@media (min-width: 992px) {
    .lesson {
        margin-top: 1em;
    }

    .code .quote {
        max-width: 600px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .code .quote {
        max-width: 780px;
    }

    #footer {
        height: 400px;
    }

    div#wrapper {
        padding-bottom: 400px;
    }

    .large.stat .top {
        font-size: 20pt;
    }

    .large.stat .bottom {
        font-size: 12pt;
    }

    .ad-test {
        width: 728px;
        height: 90px;
    }
}

/* Medium screens*/
@media (min-width: 1500px) {
    #footer {
        height: 500px;
    }

    div#wrapper {
        padding-bottom: 500px;
    }
}



