.post-header h2 {
    margin-bottom: 10px;
}

.sidebar a.fa {
    margin: 0 10px;
    font-size: 20px;
}
.sidebar h4 {
    margin-top: 0px;
    margin-bottom: 5px;
}
.sidebar p {
    margin: 5px 0;
}

.pagination {
    padding: 25px 0;
    text-align: center;
}

.page-number {
    display: inline-block;
    width: 200px;
}
.sidebar {
    margin-top: 30px;
}

.post-meta {
    color: #999;
}

.post-footer {
    margin: 30px auto;
    border: 1px solid #999;
    padding: 10px;
}
.blog-posts .grid {
    background: #f3f3f3;
}
.blog-posts .post-preview {
    margin: 20px;
    top: -50px;
    border-color: #fff;
    width: calc(100% / 3 - 60px);
    height: 300px;
}
.blog-posts .post-preview .post-header {
    text-align: left;
}
.blog-posts .post-preview .post-header .post-meta {
    text-align: center;
}

.post-preview {
    background: white;
    position: relative;
    display: inline-block;
    margin: 0 10px 10px;
    width: calc(100% / 3 - 30px);
    overflow: hidden;
    height: 250px;
    text-overflow: ellipsis;
    border: 1px solid #999;
    border-radius: 3px;
}
.post-preview .post-header {
    text-align: center;
}
.post-preview .post-header img {
    max-width: 100px;
}

.post-preview > a {
    padding: 10px 15px;
    position: absolute;
    top: 0; left:0; right: 0; bottom: 0;
}
.post-preview > a:hover {
    text-decoration: none;
}

.post-preview:hover {
    border-color: #999;
    box-shadow: 0px 2px 3px 0 #aaa;
}
.post-preview .post-content {
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
    overflow: hidden;
    max-height: 180px;
}
.post-preview p {
    margin: 0;
}
.post-preview h2 {
    margin: 5px 0 5px;
    font-size: 22px;
}
.post-preview h3 {
    margin: 5px 0 5px;
    font-size: 18px;
}

.post-preview .post-link {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    padding-right: 10px;
    background: rgba(255,255,255,0.5);
    text-align: right;
}
.post-preview .post-meta {
    font-size: 0.9em;
}

blockquote {
    border-left: 10px solid #eee;
    padding-left: 10px;
    font-style: italic;
    color: #888;
}

.blog-posts-title {
    height: 100px;
    background: url(../images/title-wave.png) no-repeat 0% 25% #8f0000 ;
    border-top: 10px solid #a22222;
    text-align: center;
}
.blog-posts .grid {
    overflow: visible;
}

@media handheld, only screen and (max-width: 850px) {
    .post-preview {
        width:  calc(100% / 2 - 30px);
        height: 200px;
    }
    .blog-posts .post-preview {
        width:  calc(100% / 2 - 50px);
    }
}

@media handheld, only screen and (max-width: 767px) {
    .post-preview {
        width:  calc(100% - 30px);
        height: 200px;
    }
    .blog-posts .post-preview {
        width: calc(100% - 40px);
    }
}
