html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

body {
    font-family: 'Cardo', 'Georgia', Times, serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #2C2C2C;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    background-color: #fff;
    margin: 1rem;
}

* {
    box-sizing: border-box;
}


hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p {

    margin-top: 0;
    margin-bottom: 1rem;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.lident {
    margin-left: 2rem;
}

dt {
    font-weight: 700;
}

dd {
    margin-bottom: .5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

a:not([href]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):hover {
    color: inherit;
    text-decoration: none;
}

pre,
code,
kbd,
samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1em;
}

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
}

figure {
    margin: 0 0 1rem;
}

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

svg {
    overflow: hidden;
    vertical-align: middle;
}


caption {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #6c757d;
    text-align: left;
    caption-side: bottom;
}

details {}

th {
    text-align: inherit;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1,
.h1 {
    font-size: 2.5rem;
}

h2,
.h2 {
    font-size: 2rem;
}

h3,
.h3 {
    font-size: 1.75rem;
}

h4,
.h4 {
    font-size: 1.5rem;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 1rem;
}

table {
    border-collapse: collapse;
}

th,
td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

pre {
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 95%;
    line-height: 140%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
}

code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.9rem;
    line-height: 140%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    background: #faf8f0;
}

.code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.8rem;
    display: inline;

}

.notice {
    background-color: #F7F7F7;
    font-weight: 600;
}

.due {
    background-color: #E9E581;
    font-style: normal;
}

/* layout elements */

header {
    color: #fafafa;
    background-color: #646F6F;
    padding: 6px;
}

/* section format */
.week {
    margin-bottom: 2rem;
}

/* main nav */
nav {vertical-align: middle; }

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #87AAB9;
   vertical-align: middle;
}

.menu-title {
    color: white;
    font-weight: 900;
    padding:0.5rem 1rem;
}

nav li {
    float: left;
    display: block;
    text-align: center;      
}

nav a {
    color: white;
    display: block;
    text-decoration: none;
    padding:0.5rem 1rem;
}

nav a:hover {
    color: white;
    text-decoration: none;
    border-bottom: 6px solid #DE1B1B;
}


#welcome {
    display: block;
}


/* Column container */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */

/* Main column */
.main {
    flex: 66%;
    background-color: white;
    padding: 20px 30px 20px 10px;

}

/* Sidebar/left column */
.side {
    flex: 33%;
    padding: 20px 10px;
    border: 1px solid lightgrey;
    background-color: aliceblue;
}


#course-info {}

#quick-ref {
    border: 1px solid lightgrey;
    margin: 0 auto;
    width: 90%;
    padding: 1rem;
}

#quick-ref ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.this-week {
    border-bottom: 6px solid #DE1B1B;
}

.grading {
    margin-bottom: 24px;
}

.current-week h3 {
    background-color: #cc0000;
    color: white;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    body {
        margin: 0.5rem;
    }

    .main {
        padding: 0 .5rem;
    }

    .row,
    .navbar {
        flex-direction: column;
    }
}


/* ======================================================
   Colors
   =================================================== */

.pear {
    color: #E9E581;
}

.pearbg {
    background-color: #E9E581;
}

.red {
    color: #DE1B1B;
}

.redbg {
    background-color: #DE1B1B;
}

.slate {
    color: #646F6F;
}

.slatebg {
    background-color: #646F6F;
}

.sand {
    color: #f9F3C5;
}

.grue {
    color: #87AAB9;
}

.charcoal {
    color: #2C2C2C;
}

.bgcream {
    color: #F7F7F7;
}
