// Plasma colors
$colors-dark: (
    #0D0887,  /* Blue Trust */
    #5601A4,  /* Aubergine Perl */
    #900DA4,  /* Violet Eggplant */
    #BF3984,  /* Medium Red Violet */
    #E16462,  /* Briquette */
    #F89441,  /* Chat Orange */
    #FCCE25   /* Lemon Punch */
);

$colors-light: (
    #B2B1F9,  /* Winterspring Lilac */
    #CBB5FF,  /* Lavender Tonic */
    #EFB3FF,  /* Euphoria */
    #FFC0DC,  /* Sweet Romance */
    #FFD0CF,  /* Girlie */
    #FFDFD1,  /* Soft Orange Bloom */
    #FFF0D4   /* Biogenic Sand */
);

h1, h2 {
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2.75rem;
}

kbd {
    font-size: 75%;
}

.article-container {
    max-width: 960px;
}

.docs-article-container {
    max-width: 960px;
}

.docs-sidebar .nav > li {
    line-height: 1.2;
}

#hero img {
    max-width: 60%;
}

.hero-title {
    line-height: 1.2;
    font-weight: 700;
}

.icon-list {
    list-style: none;
    text-indent: -0.7rem;
    padding-left: 1.4rem;
}

.contact-policy {
    font-size: 0.8rem;
    line-height: 1.5;
}

.due-date {
    margin-bottom: 2.5rem;
}

footer {
    margin-top: 2rem;
}

footer p {
    text-align: left;
    font-size: 100%;
}

.course-info {
    font-size: 0.9rem;
}

.credits {
    font-size: 0.7rem;
}

.course-info p, .credits p {
    margin-bottom: 0.3rem;
}

.centered-table table {
    margin: 0 auto 1rem;
}

.article-style #TOC:before {
    content: "Contents";
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    background-color: #ddd;
    padding: 5px 10px 0px;
    margin-bottom: 1.1rem;
}

.article-style #TOC {
    font-family: "Overpass", sans-serif;
    font-size: 0.8rem;
    text-align: left;
    background: #f2f2f2;
    padding: 8px 8px;
    margin: 4px 0 2rem;
}

.article-style #TOC ul {
    padding-left: 2em;
}

.footnotes {
    font-size: 0.8rem;
    line-height: 1.3;
}

// .fake-header {
//     font-family: "Oswald", sans-serif;
//     font-weight: 700;
//     text-transform: uppercase;
//     font-size: 1.2rem;
// }

.fake-header-table, td.mid-table-header {
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 700;
}

.fake-header-table {
    font-size: 1.1rem;
}

td.mid-table-header {
    text-align: center;
    vertical-align: middle !important;
}

.article-style .slide-thumb {
    margin-top: 0;
}


.bg-class {
    background-color: nth($colors-dark, 6);
}

.bg-content {
    background-color: nth($colors-dark, 5);
}

.bg-assignment {
    background-color: nth($colors-dark, 7);
}

.question form {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.question p[id^="result_"] {
    color: nth($colors-dark, 4);
    padding-top: 1em;
    width: 75%;
    margin: 0 auto;
    text-align: center;
}

.question label {
    padding-left: 0.4em;
    font-weight: bold;
}

div.note,
div.fyi,
div.puzzle,
div.warning {
    position: relative;
    padding: 1em 1em 1em 100px;
    margin: 1em 0;
    min-height: 120px;
}

div.note:before,
div.fyi:before,
div.puzzle:before,
div.warning:before {
    position: absolute;
    font-family: "FontAwesome";
    font-size: 70px;
    top: 0;
    opacity: 0.5;
}

div.note {
    color: nth($colors-dark, 1);
    background-color: nth($colors-light, 1);
    border: dotted 4px nth($colors-dark, 1);
}

div.note:before {
    content: "\f0eb";
    left: 30px;
}

div.fyi {
    color: nth($colors-dark, 3);
    background-color: nth($colors-light, 3);
    border: dotted 4px nth($colors-dark, 3);
}

div.fyi:before {
    content: "\f05a";
    left: 20px;
}

div.puzzle {
    color: nth($colors-dark, 4);
    background-color: nth($colors-light, 4);
    border: dotted 4px nth($colors-dark, 4);
}

div.puzzle:before {
    content: "\f12e";
    left: 20px;
}

div.warning {
    color: #FFFFFF;
    background-color: nth($colors-dark, 6);
    border: dotted 4px #FFFFFF;
}

div.warning:before {
    content: "\f071";
    left: 14px;
}

.img-inline {
    display: inline-block;
    height: auto;
    max-width: 100%;
    margin: 0 !important;
}

/* Space after plotly widgets */
.widgetframe {
    margin-bottom: 2em;
}
