
/* Accessibility Tweaks */

blockquote, code, var {
    color: #303030;
}

a {
    color: #0074c5;
    /* color: #0055b9; */
    text-decoration: underline;
}

.post-title a {
    text-decoration: none;
}

.post-title a:hover,
.post-title a:focus {
    text-decoration: underline;
}


/* Alignment */

.alignleft {
    display: inline;
    float: left;
}

.alignright {
    display: inline;
    float: right;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
    margin: 0.4em 1.2em 0.8em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
    margin: 0.4em 0 0.8em 1.2em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
    clear: both;
    margin-top: 0.4em;
    margin-bottom: 1.2em;
}


/* Blockquotes */

blockquote {
    margin-left: 0;
    font-size: inherit;
}

blockquote strong,
blockquote b {
    font-weight: 700;
}


/* Captions */

.wp-caption {
    margin-bottom: 1.2em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0;
}

.wp-caption-text {
    color: #707070;
    color: rgba(51, 51, 51, 0.7);
    font-size: 12pt;
    line-height: 1.5;
    padding: 0.5em 0;
}


/* Code */

code {
    background-color: transparent;
    background-color: #f9f9f9 /* rgba(0, 0, 0, 0.02) */;
    outline: 1px solid #eaeaea;
    outline: 1px solid rgba(51, 51, 51, 0.15);
    padding: 2px;
}

pre code {
    background-color: transparent;
    outline: none;
    font-size: 90%;
    padding: 0;
}

pre {
    padding: 0.4em;
    white-space: pre;
    word-wrap: normal;
    overflow: scroll;
}

figure.highlight {
    margin: 0;
}


/* Comments */

.comment-body {
    clear: both;
}

.comment-avatar {
    display: inline-block;
    float: left;
    margin-right: 1em;
}

.comment-children {
    padding-left: 2em;
}

.comment-by-post-author > .comment-metadata > .comment-author-name {
    font-weight: bold;
}


/* Equations */

.equation {
    background-color: #f9f9f9 /* rgba(0, 0, 0, 0.02) */;
    outline: 1px solid #eaeaea /* rgba(51, 51, 51, 0.25) */;
    padding: 0.1em 0.4em;
    white-space: pre;
}

var {
    font-family: Georgia, serif;
    font-style: italic;
}


/* Fonts */

/* Undo rule from hyde.css */
html, .sidebar-about h1 {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif
}


/* Images */

img.dashed-border {
    padding: 4px;
    outline: 1px dashed #ccc;
}

/* Horizontal Rule (hr) */

hr {
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Lists */

ol.lower-alpha { list-style-type: lower-alpha; }
ol.upper-alpha { list-style-type: upper-alpha; }


/* Posts */

/* Undo poole.css rules */
.post-date {
    display: inline;
    margin: 0;
    color: inherit;
}


.post-metadata {
    margin-top: -0.2rem;
    margin-bottom: 1rem;
    color: #666;
}

.post-metadata .separator {
    margin: 0 0.2rem;
    opacity: 0.5;
}


/* Post Navigation */

.post-nav {
    border: 1px solid #ddd;
    border-bottom: none;
}

.post-nav-item {
    display: block;
    width: 100%;
    padding: 1em;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
}

a.post-nav-item:hover {
    text-decoration: none;
}

a.post-nav-item .post-nav-direction {
    display: block;
    color: #666;
}

.post-nav-title {
    display: block;
    font-weight: bold;
    text-decoration: underline;
}


/* Archive List */

.archive-section h2 {
    margin-bottom: -0.5em;
}

.archive > li {
    margin-bottom: 0.5rem;
    list-style-type: none;
}

.archive a {
    font-weight: bold;
}

.archive .post-metadata {
    margin-top: -0.1rem;
    margin-bottom: 0;
}


/* Screen reader */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}


/* Search */

#search-query {
    width: 100%;
}

.content #search-query {
    max-width: 500px;
}


/* Skip Navigation Link */

a.skip-link {
    display: block;
    left: -9999em;
    overflow: hidden;
    position: relative !important;
    top: -9999em;
    margin-top: -1.7rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

a.skip-link:focus {
    left: 0px;
    top: 0px;
}


/* Tables */

table.no-border,
table.no-border tr,
table.no-border th,
table.no-border td { border: none; }

table.no-padding th,
table.no-padding td { padding: none; }


/* Mobile Tweaks */

@media (max-width: 30em) {
    .content {
        padding-top: 1.5rem;
    }

    .comment-children {
        padding-left: 1rem;
    }

    .sidebar {
        padding: 0.5rem 0;
    }

    .sidebar-nav-item {
        display: inline-block;
        margin: 0.5rem;
        margin-top: 0;
    }

    .sidebar hr {
        display: none;
    }

    ul.archive {
        padding-left: 0;
    }
}
