/** * Basic styling */

body {
    font: 300 16px/1.5 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #111;
    background-color: #fdfdfd;
    -webkit-text-size-adjust: 100%;
    -webkit-font-feature-settings: "kern" 1;
    -moz-font-feature-settings: "kern" 1;
    -o-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
}

/** * Set `margin-bottom` to maintain vertical rhythm */
h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, .highlight {
    margin-bottom: 15px;
}

/* Top Navigation Bar */

#top-nav {
    padding: 0px;
}

#top-nav .container-fluid {
    padding-left: 0px;
}

.navbar-brand {
    background-color: #4b2e83;
    padding: 8px 15px;
}

.navbar-brand h1 {
    color: white;
    font-size: 21px;
    padding-top: 1px;
}

.navbar-brand:hover {
    background-color: #4b2e83 !important;
}

.navbar-nav > li > a:hover, .navbar-nav > li > a.active {
    background-color: #636363;
    color: white;
}

.navbar-nav > li > a {
    color: white;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 10px;
}

.navbar-right {
    background-color: #4b2e83;
}

#course-quarter {
    color: white;
    background-color: #4b2e83;
    position: relative;
    padding: 13px 15px;
    margin: 0px -15px 0px 0px;
}

/** Main content **/

main {
    margin-top: 15px;
}

/** * Images */

img {
    max-width: 100%;
    vertical-align: middle;
}

/** * Figures */

figure>img {
    display: block;
}

figcaption {
    font-size: 14px;
}

/** * Lists */

main ul, main ol {
    margin-left: 30px;
}

li > ul, li > ol {
    margin-bottom: 0;
}

/** * Headings */

h5, h6 {
    font-weight: 300;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

/** * Links */

main a, #footer a {
    color: #1C67CA;
    text-decoration: underline;
}

a:visited {
    color: #1756a9;
}

/** * Blockquotes */

blockquote {
    color: #828282;
    border-left: 4px solid #e8e8e8;
    padding-left: 15px;
    font-size: 18px;
    letter-spacing: -1px;
    font-style: italic;
}

blockquote> :last-child {
    margin-bottom: 0;
}

/** * Code formatting */

pre,
code {
    font-family: "Inconsolata", monospace;
    font-size: 100%;
    background-color: #f7f7f9;
}

code {
    padding: 1px 5px;
}

pre {
    padding: 8px 12px;
    overflow-x: auto;
}

pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0;
}

/* Floating Navigation Box */

.nav-box {
    border: 1px solid #ccc;
    background-color: #eee;
    margin: 0px 20px 0px 20px
}

.nav-box ul {
    list-style: none;
    padding-left: 0px;
    margin-left: 20px;
    margin-right: 10px;
}

.nav-box-header {
    font-weight: bold;
    margin: 10px 10px 2px 10px;
    font-size: 16px;
}

/** * Site footer */

.site-footer {
    border-top: 1px solid #e8e8e8;
    margin: 20px 20px 50px 20px;
    padding: 10px 0;
}

.cse-wordmark {
    width: 260px;
    float: left;
}
