/*
 * @author:	Procurios
 * @about: 	mod-weblog.css - Weblog module layout and positioning
 */

.blogPost--article,
.blogPost--aside,
.postList {
    text-align: left;
}

.blogPost--article {
    margin-top: 5em;
}

.postTitle {
    margin-top: 0;
}

.blog-full-post #content > h1 {
    display: none;
}

h1.postTitle,
h1.postList--title {
    position: relative;
    top: 0;
    left: 0;
}

.postList li {
    margin-top: 5em;
}

.postList p a {
    color: #666;
}

.postTitle a {
    text-decoration: none;
    color: #151515;
}

.postTitle a:hover {
    color: #4781ca;
}

/**
 * Tags
 */

.postList--tags,
.blogPost--tags {
    display: block;
    margin-bottom: .5em;
}

.tagLabel {
    display: none;
}

.postList--tags a,
.blogPost--tags a {
    display: inline-block;
    margin-right: .3em;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 70%;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    background-color: #ddd;
    transition: all .2s;
}

.postList--tags a:hover,
.blogPost--tags a:hover {
    background-color: #546b89;
}

.postList--separator {
    display: none;
}

/**
 * .wl-post-list
 * Weblog snippet: List of posts (titles only, titles + summary, full posts)
*/

.postList {
    list-style: none;
}

.postList-rss {
    display: block;
    width: 100%;
    margin-bottom: 1em;
    text-align: right;
}

@media screen and (min-width: 1100px) {
    .postList-rss {
        position: absolute;
        right: 20px;
        border: 0;
    }
}

.postList-intro p {
    display: inline; /** to make read more link inline */
}

.postList-intro .readMore {
    white-space: nowrap;
}

.postList-image-small {
    display: block;
}

.postList img {
    max-width: 100%;
    height: auto;
}

.postList--meta,
.blogPost--meta {
    margin: 1em 0 5em;
    padding-top: .5em;
    border-top: 1px solid #e5e5e5;
    font-size: 80%;
    color: #999;
}

.postList--author,
.blogPost--author {
    display: block;
    margin-bottom: 1em;
    color: #666;
}

.postList-reactionAmount::before,
.blogPost-reactionAmount::before {
    margin-right: .5em;
    color: #666;
    content: "\e805";
    font-family: 'guidelines';
}

/**
 * Generic blog text stuff
 */

.blogPost li {
    margin-bottom: .5em;
}

pre {
    display: block;
    height: 1%;
    width: auto;
    margin: 1em auto;
    padding: 1em;
    clear: both;
    border: solid 1px #e1e1e1;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    font-size: 90%;
    line-height: 1.2em;
    font-family: "Courier 10 Pitch", Courier, monospace;
    color: #555;
    background: #f4f4f4;
}

code {
    display: inline;
    padding: 1em;
    font-size: 90%;
    line-height: 1.2em;
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    color: #555;
    background: #f4f4f4;
}

/**
 * Full post
 */

.blog-full-post .article {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/**
 * Sharing
 */

.shareSection h3 {
    display: none;
}

/**
 * Comments
 */

#message-tutorial h3 {
    margin-bottom: 0;
}

#message-tutorial,
#message-markdown-preview,
.markdown-preview-title {
    display: none;
}

#wl-comments ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

#wl-comments li {
    margin-bottom: 3.2em;
    padding-bottom: 1.6em;
    border-bottom: 1px solid #ddd;
}

#wl-comments .wl-meta {
    font-size: 80%;
}

#wl-comments .wl-meta img {
    display: none;
}

/**
 * Related articles
 */

.blogPost--related .time {
    display: none;
}

/**
 * Related posts article
 */

.wl-related-posts {
    margin-top: 1.5em;
    margin-bottom: 3em;
}

.wl-related-posts ol {
    list-style: none;
}

.wl-related-posts li {
    margin-bottom: .5em;
}

.wl-related-posts .time,
.wl-related-posts .wlp-reaction-amount {
    display: none;
}

/**
 * Post navigation
 */

.blogPostNavigation {
    overflow: hidden;
}

.blogPostNavigation__item {
    display: block;
    text-decoration: none;
    color: #4781ca;
}

.blogPostNavigation__item--next {
    position: relative;
    float: left;
    padding-left: 20px;
}

.blogPostNavigation__item--next:after {
    position: absolute;
    content: "\2190";
    left: 0;
}

.blogPostNavigation__item--prev {
    position: relative;
    float: right;
    padding-right: 20px;
}

.blogPostNavigation__item--prev:after {
    position: absolute;
    content: "\2192";
    right: 0;
}