/*

 color scheme:

  dark: #112211
        #444455
        #3366aa
        #5599dd
        #aabbcc

alternate:

        #222211
        #335555
        #0066ee
        #0088ff
        #99bbdd

body background: #ddeeff

 */

@import 'https://fonts.googleapis.com/css?family=Eczar';

body {
    color: #335555;
    background-color: #99bbdd;
    background: linear-gradient(to top right, #99bbdd, #3366aa);

    font-size: 12px;
    font-family: Eczar, serif;

    line-height: 1.4;

    margin: 0px 5px 0px 5px;
}

div#header {
    color: #335555;
    border-bottom: 2px solid #335555;
    margin-bottom: 20px;
    padding: 1em 0em 2em 0em;
}

div#logo a {
    color: #335555;
    float: left;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}


div#navigation {
    color: #335555;
    float: right;
    background-color: #ddeeff;
    padding: 10px 10px;
    width: 10%;
}

div#navigation a {
    color: #335555;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

div#footer {
    border-top: solid 2px #335555;
    color: #335555;
    font-size: 10px;
    margin-top: 30px;
    padding: 12px 0px 12px 0px;
    text-align: right;
}

div#content {
    color: #444455;
    background-color: #ddeeff;
    background: linear-gradient(to bottom left, #99bbdd, #ddeeff);
    padding: 20px;
    max-width: 50em;
}

h1 {
    color: #222211;
    font-size: 24px;
    padding-top: 0.2em;
}

h2 {
    color: #222211;
    font-size: 20px;
    padding-top: 0.2em;
}

h3 {
    font-size: 16px;
    padding-top: 0.2em;
}

div.info {
    color: #335555;
    font-size: 10px;
    font-style: italic;
}

div.figure {
    margin: 3px;
    float: right;
}

img {
    margin: 3px;
    float: right;
}

div.sourceCode {
    margin-left: 3em;
    margin-right: 3em;
    padding: 1em;
    vertical-align: text-bottom;
    align: left;
    border-left: 2px solid #5599dd;
    background-color: #ffffee;
}

div.caption {
    color: #335555;
    font-size: 10px;
    text-align: right;
    padding: 3px;
}

p.caption {
    color: #335555;
    font-size: 10px;
    text-align: right;
    padding: 3px;
}

a:link {
    color: #0088ff;
}

a:visited {
    color: #0066ee;
}

.comment-click {
    margin-top: 5px;
    border-top: solid 1px #335555;
    padding-top: 5px;

    position: relative;
    color: #335555;
    font-size: 11px;
    display: inline;
}

.comment-click:before {
    content: "Comment?";
}

.comment-click:focus {
    pointer-events: none;
}

.comment-click:focus .comment-clicked {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.comment-clicked {
    position: relative;
    z-index: 1;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.5s;
}
