:root
{
    --border: #4b137e;
    --link: #4b137e;
    --tocbg: #e0c1fc;
}

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

body {
    background-color: #333;
    background: url( "bg-texture2.png" );
    font-family: sans-serif;
    padding: 0;
    margin: 0;
    color: #fff;
}

hr {
    background: #eee;
    border: none;
    height: 1px;
}

.subheader {
    font-size: 10pt;
    margin: 0;
}

.card {
    text-align: center;
    border: solid 1px #777;
    background: #fff;
    padding: 10px;
    width: 300px;
    float: left;
    margin: 10px;
}

.card img.card {
    width: 90%;
    display: block;
    border: none;
}

.card img {
    width: 100%;
}

.card a {
    display: block;
}

.videos .card {
    height: 250px;
    width: 17%;
}

h1.title {
    text-align: left;
}

.linknav a,
.linknav a:visited {
    color: #fff;
}

.linknav a:hover {
    color: #000;
}

#table-of-contents {
    width: 35%;
    float: right;
}

.outline-2 {
    background: #fff;
    margin: 20px;
    border: solid 5px #000;
}

.outline-3 {
    margin: 20px 0;
    background: #f6edff;
    padding: 5px;
    border: solid 1px var(--border);
}

.outline-4 {
    margin-top: 25px;
}

.outline-2,
.outline-3,
.outline-4 {
    margin-left: 10px;
    padding-left: 10px;
    color: #444;
}

a, a:visited {
    color: var(--link);
    font-weight: bold;
}

a:hover {
    color: #000;
    background: #ffff00;
}

#table-of-contents {
    border: solid 5px #000;
    background: var(--tocbg);
    padding: 10px;
    margin-right: -5px;
    margin-top: -5px;
    margin-left: 15px;
    margin-bottom: 15px;
    color: #000;
}

#table-of-contents li {
    margin: 10px 0;
}

#content {
    /*background: rgba( 43, 12, 84, 0.5 );*/
    padding: 20px;
    width: 90%;
    max-width: 90%;
}

ul li {
    margin: 5px 0;
}

pre.src-cpp {
    background: #000;
}
