body {
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5rem;
    color: #222222;
}

a {
    color: #275DFF;
    text-decoration: none;
}

a:visited {
    color: #275DFF;
}

#content {
    margin-top: 1.25rem;
    padding: 1.25rem 3.75rem;
    max-width: 50rem;
}

#content img {
    max-width: 100%;
}

#content div.figure {
    overflow-x: auto;
}

#content p.caption {
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

footer {
    margin-top: 3.75rem;
    font-size: 0.9rem;
}

table.skills {
    margin-left: 3.125rem;
}

table.skills th {
    text-align: right;
}

.color-demo {
    float: left;
    margin: 0.6rem;
    height: 6.25rem;
    width: 12.5rem;
    font-size: 1.25rem;
    padding: 0.625rem;
}

.color-demo .black {
    color: black;
}

.color-demo .white {
    color: white;
}

.clearing {
    clear: both;
}

nav#navbar {
    padding: 1.25rem 3.75rem;
    font-size: 1.2rem;
    background-color: #a0a9bd;
}

nav#navbar a {
    color: #222222 !important;
    text-decoration: underline !important;
}

nav#navbar a:hover {
    text-decoration: underline;
}

table.articles th {
    padding-right: 1rem;
}

h1 {
    margin-bottom: 6.25rem;
}

h2, h3 {
    margin-top: 2.5rem;
}

/* tt.docutils.literal generated by: ``literal``
 <code> tag generated by :code:`literal`.
 */
p code, li code, tt.docutils.literal {
    padding: 0.1rem 0.2rem;
    background-color: #f3f3f3;
    font-size: 0.9rem;
}

.highlight pre {
    font-size: 0.9rem;
    line-height: 1.2rem;
    padding: 1.2rem 1rem;
    overflow-x: auto;
    font-family: Menlo, monospace;
}

img.cv-image {
    float: left;
    box-shadow: 0 0.1rem 0.1rem grey;
    margin-right: 2.5rem;
    margin-bottom: 3rem;
}

img.cv-screenshot {
    width: 250px;
}

img.cv-photo {
    width: 150px;
}

.contents ul {
    list-style-type: none;
}

.contents .topic-title {
    font-weight: bold;
}

@media (max-width: 40rem) {
    nav#navbar {
        padding: 1.25rem;
    }
    #content {
        padding: 1.25rem;
    }
    img.cv-image {
        float: none;
        margin-bottom: 1rem;
    }
}

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }

    pre, blockquote {
        border: 0.1rem solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr, img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }
}
