::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background-color:   #F7D1BD;
    border-radius:      4px;
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

body {
    background-color:   lightcyan;
    font-family:        Georgia, serif;
    margin:             20px 0;
}

.bordered {
    border:             1px solid #E76826;
    padding:            10px;
}

.chapter-button {
    margin-top:         80px;
    text-align:         right;
}

.chapter-button a {
    background-color:   #E76826;
    color:              #FFFFFF;
    font-size:          1.2em;
    padding:            10px;
}

.citation {
    font-size:          0.8em;
    padding:            0 0 0 3px;
    position:           relative;
    top:                -0.5em;
}

code {
    color:              #255FA6;
    display:            block;
    font-size:          1.4em;
    overflow:           -moz-scrollbars-vertical;
    overflow:           scroll;
}

code .value, code .variable {
    font-size:          1.0em;
}

.colored {
    color:              #255FA6;
}

figure {
    text-align:         center;
}

figure ol, figure ul {
    text-align:         left;
}

figcaption {
    margin-bottom:      15px;
    text-align:         center;
}

h1, h2 {
    color:              #255FA6;
    font-weight:        normal;
}

h2 {
    margin-top:         40px;
}

header {
    position:           fixed;
    right:              0;
    top:                30px;
}

.hidden {
    left:               -9999px;
    position:           absolute;
}

img {
    border:             1px solid #E76826;
}

.inline-code {
    color:              #255FA6;
}

.main-content {
    background-color:   white;
    max-width:          700px;
    margin:             0 auto;
    padding:            80px;
}

nav {
    background-color:   #255FA6;
    margin:             10px auto 0 auto;
    max-width:          860px;
    opacity:            0.5;
    text-align:         right;
}

nav:hover {
    opacity:            1.0;
}

nav button {
    background:         none;
    border:             none;
    text-align:         right;
    width:              100%;
}

nav button img {
    border:             none;
    height:             30px;
}

ol, ul {
    font-size:          1.2em;
    line-height:        150%;
}

p {
    font-size:          1.2em;
    line-height:        180%;
}

.practice-problem {
    font-size:          1.2em;
    line-height:        150%;
    margin:             40px 0;
}

.practice-problem code {
    font-size:          1.2em;
}

.practice-problem ol, .practice-problem ul {
    font-size:          1.0em;
}

pre {
    margin:             0 20px;
    padding:            0;
}

#question-form {
    background-color:   #255FA6;
    margin:             0 10px 10px 10px;
    padding:            10px;
    text-align:         left;
}

#question-form button {
    background:         #FFFFFF;
}

#question-form label {
    color:              #FFFFFF;
}

#question-form #question {
    width:              183px;
}

.sm-float-right {
    float:              right;
    margin-left:        20px;
    width:              180px;
}

th {
    text-align:         left;
}

th, td {
    padding:            5px;
    vertical-align:     top;
}

.toc {
    display:            block;
    margin-top:         15px;
}

.value, .variable, .inline-code {
    font-family:        monospace;
    font-size:          1.2em;
}

.value {
    color:              #E76826;
}

.variable {
    color:              #5C9D36;
}

@media (max-width: 600px) {
    .main-content {
        padding:        60px;
    }
}