body {
    font-family: 'Roboto', sans-serif;
    background: #fff;
}

.pure-g [class*=pure-u], .pure-g {
    font-family: 'Roboto', sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: rgb(61, 146, 201);
}

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

h3 {
    font-weight: 100;
}

#layout {
    padding: 0;
}

.header {
    text-align: center;
    top: auto;
    margin: 3em auto;
}

.header .buttons {
    margin-top: 10px;
}

.sidebar {
    background: #1C282C;
    color: #fff;
}

.sidebar h1 a {
    color: #fff
}

.brand-title,
.brand-tagline {
    margin: 0;
}

.brand-title {
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
}

.brand-tagline {
    font-weight: 300;
    color: #B14638;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.nav-item a {
    background: transparent;
    border: 2px solid rgb(176, 202, 219);
    color: #fff;
    margin-top: 1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 85%;
}

.nav-item a:hover,
.nav-item a:focus {
    border: 2px solid rgb(61, 146, 201);
    text-decoration: none;
}

.content-subhead {
    text-transform: uppercase;
    color: #aaa;
    border-bottom: 1px solid #eee;
    padding: 0.4em 0;
    font-size: 80%;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.content {
    padding: 2em 1em 0;
}

.content table td, .content table th {
    padding: 7px;
    border: 1px solid #000;
}

.post .pagination {
    height: 90px;
    line-height: 30px;
    margin: 20px 0;
}

.post .pagination > a {
    margin: 10px 0;
    padding: 10px 20px;
    background: #1C282C;
    color: #fff;
}

.post .pagination .small {
    font-size: 12px;
}

.post .pagination .left {
    float: left;
}

.post .pagination .right {
    float: right;
}

@media (max-width: 768px) {
    .post .pagination {
        height: auto;
    }

    .post .pagination > a {
        display: block;
        float: none !important;
    }
}

.posts .tile {
    display: inline-block;
    width: 20%;
    vertical-align: top;
    margin: 5px;
}

@media (max-width: 950px) {
    .posts .tile {
        width: 45%;
    }
}

.posts .tile a:hover {
    text-decoration: none;
}

.posts .tile a:hover h2 {
    text-decoration: underline;
}

.posts .tile .date {
    margin-bottom: 5px;
    font-size: 12px;
}

.posts .tile .thumb {
    text-align: center;
}

.posts .tile .thumb img {
    max-width: 100%;
    max-height: 200px;
}

.post {
    padding-bottom: 2em;
}

.post h1 a {
    vertical-align: top;
    color: inherit;
    text-decoration: underline;
    line-height: 1.4;
}

.content.post-page h1 a {
    text-decoration: none
}

/* LAYOUT CSS */
.post img {
    max-width: 97%;
    margin: 0 auto;
    height: auto;
}

.post-avatar {
    border-radius: 50px;
    float: right;
    margin-left: 1em;
}

.post-description {
    clear: both;
    color: #444;
    line-height: 2em;
}

.post-meta {
    color: #999;
    font-size: 90%;
    margin: 0;
}

.post-category {
    margin: 0 0.1em;
    padding: 0.3em 1em;
    color: #fff;
    background: #999;
    font-size: 80%;
}

.post-category-design {
    background: #5aba59;
}

.post-category-pure {
    background: #4d85d1;
}

.post-category-yui {
    background: #8156a7;
}

.post-category-js {
    background: #df2d4f;
}

.post-images {
    margin: 1em 0;
}

.post-image-meta {
    margin-top: -3.5em;
    margin-left: 1em;
    color: #fff;
    text-shadow: 0 1px 1px #333;
}

.post-image {
    margin: 20px 0;
    padding: 20px 10px 10px 10px;
    text-align: center;
    background: #000;
}

.post-image.group > a, .post-image.group > iframe {
    display: inline-block;
    margin: 10px;
}

.post-image img {
    height: 480px;
}

.post-image iframe {
    width: 100% !important;
}

.post-image .details {
    margin-top: 5px;
    font-size: 13px;
    background: #000;
    color: #fff;
}

.footer {
    font-size: 10px;
    padding: 1em 0;
}

.footer a {
    color: #ccc;
    font-size: 80%;
}

.footer .pure-menu a:hover,
.footer .pure-menu a:focus {
    background: none;
}

@media (min-width: 48em) {
    .content {
        padding: 2em 3em 0;
        margin-left: 25%;
    }

    .header {
        margin: 80% 2em 0;
        text-align: right;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
    }

    .footer {
        text-align: center;
    }
}

.content .code {
    padding: 10px;
    border: 1px solid #000;
    overflow: auto;
    white-space: pre;
    font-family: monospace;
}
