/*
* Copyright 2012 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

/* homepage grid */


.rich-blog-homepage {
    position: relative;
    margin: 0 15px 30px;
}
.two-colums-wrapper .blog-post + .blog-post {
    display: none;
}
.rich-blog-homepage .title {
    margin: 0 0 30px;
    padding: 12px 0 5px;
    text-align: center;
    font-size: 22px;
    color: #000;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e5e5;
}
.rich-blog-homepage .title strong {
    font-weight: normal;
}
.rich-blog-homepage .blog-post {
    margin: 0 0 30px;
    border: 1px solid #e5e5e5;
}
.rich-blog-homepage .post-primary {
    margin: 0 auto;
    max-width: 620px;
    text-align: center;
}
.rich-blog-homepage .post-picture {
    position: relative;
    display: block;
    overflow: hidden;
    font-size: 0;
    background-color: #fff;
    z-index: 0;
}
.rich-blog-homepage .post-picture:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.rich-blog-homepage .post-picture img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
    max-width: 100%;
}
.rich-blog-homepage .post-title {
    position: relative;
    display: block;
    float: none;
    color: #000;
    margin: 0;
    padding: 14px 0;
    background: #fff;
    z-index: 1;
}
.rich-blog-homepage .post-title:only-child {
    margin-top: 20px;
}
.rich-blog-homepage .post-details {
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    background-color: #fff;
    padding: 5px 30px 10px;
}
.rich-blog-homepage .post-date {
    display: none;
    float: none;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
}
.rich-blog-homepage .post-description {
    margin: 0 0 10px;
    line-height: 20px;
    font-size: 14px;
    color: #888;
}
.rich-blog-homepage .view-all {
    position: absolute;
    bottom: -5px;
    left: 50%;
    text-align: center;
    font-weight: lighter;
    font-size: 14px;
    color: #57b568;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.rich-blog-homepage .view-all:before {
    content: '\e908';
    display: inline-block;
    margin-right: 5px;
    font-family: prisma;
    font-size: 12px;
    color: #ccc;
}

/* search form */

.blog-search-box .listbox {
    padding: 15px 10px;
}
.blog-search-box {
    font-size: 0;
}
.blog-search-box form:after {
    content: "";
    display: block;
    clear: both;
}
.blog-search-box span.search-box-text {
    float: left;
    width: 87%;
}
.blog-search-box input.search-box-text {
    float: left;
    border-right: 0;
    height: 45px;
}
.blog-search-box .instant-search-busy {
    background: #fff url('images/ajax-loader-small.gif') right center no-repeat !important;
}
.blog-search-box .search-box-button {
    float: left;
    border: 1px solid #323232;
    border-left: 0;
    width: 38px;
    height: 45px;
    background: #57b568 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYm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QAyFFpb3YI1yAAAAABJRU5ErkJggg==) no-repeat center;
    font-size: 0;
}
.blog-instant-search {
    border: 1px solid #eee;
    border-top: 0;
    height: auto !important;
    width: 100% !important;
    background-color: #fff;
    font-size: 13px;
    color: #888;
    box-shadow: 0 6px 10px rgba(0,0,0,.1);
}
.blog-instant-search .k-list-container {
    position: static !important;
    width: 100% !important;
    height: auto !important;
}
.blog-instant-search .k-item {
    padding: 10px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #57b568;
    cursor: pointer;
}
.blog-instant-search .k-item.rich-blog-autocomplete-last-item {
    border-top: 1px solid #eee;
    background: #f6f6f6;
    color: #444;
}
.blog-instant-search .k-item:first-child {
    border: 0;
}
.blog-instant-search .k-item.k-state-hover, 
.blog-instant-search .k-item.k-state-focused {
    background-color: #f6f6f6;
}
.blog-search-results-page .no-results {
    font-size: 13px;
    color: #888;
}

/* blog list & blog post */
.blog-posts {
	display: flex;
	justify-content: flex-start;
	align-items: self-start;
	flex-wrap: wrap;
}
.blog-page .post {
    width: 32.6%;
    margin: 0 .5% .5%;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 0 10px 5px rgba(0,0,0,0.05);
}
.blog-page .post:nth-child(2) , .blog-page .post:nth-child(4n+1){
    margin: 0 0 0.5% 0.5%;
}
.blog-page .post:nth-child(3n+1){
    margin: 0 0.5% 0.5% 0;
}
.blog-posts .post:first-child {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
    margin: 0 0 2%;
    padding: 0;
}
.blog-posts .post:first-child .rich-blog-image {
    width: 35%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.blog-posts .post:first-child .rich-blog-image a, .blog-posts .post:first-child .rich-blog-image a img {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.post .text-blog {
	text-align: justify;
	padding: 0 10px;
	line-height: 2;
    color: #444;
    height: 100px;
    overflow: hidden;
}
.blog-posts .post:first-child .post-body {
	width: 54%;
}
.blog-page .post:first-child .blog-details {
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.blog-page .blog-details {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.blog-page .post-head {
    padding: 0;
    border: 0;
}
.blog-page .post-title {
    margin-bottom: 15px;
}
.blog-page .post-date {
    margin: 0 0 10px;
}
.rich-blog-image {
    margin-bottom: 20px;
    background: #fff;
    font-size: 0;
}
.rich-blog-image a {
    display: block;
    font-size: 0;
}
.rich-blog-image img {
    width: 100%;
    max-width: 100%;    
    min-height: 150px;
}
.first-blog-post img{
    height: 200px;
}
.blogpost-page .rich-blog-image {
    margin-bottom: 0;
    padding: 20px 20px 0;
    background-color: #f6f6f6;
}
.blog-page .tags *,
.blogpost-page .tags * {
    line-height: normal !important; /*remove if not needed for current theme*/
}
.blog-page .buttons {
    
}
.blog-page .buttons .read-more {
    display: inline; /*this is the first "details" button, currently shown*/
    margin-right: 4px;
}
.blog-page .post-actions .read-more {
    display: none; /*this is the second "details" button, currently hidden*/
}
.post-footer {
    padding: 20px 0;
    clear: both;
    background: #fff;
}
.post-footer:after,
.post-relations:after,
.post-actions:after {
    content: "";
    display: block;
    clear: both;
}
.blog-details .tags {
    overflow: visible;
    line-height: 1.4;   
}
.blog-posts .post-relations {
    line-height: 1.4;
}
.blogpost-page .post-relations {
    padding: 20px 0;
}
.post-relations ul {
    display: inline-block;
    font-size: 0;
}
.post-relations li {
    display: inline-block;
}
.post-relations li.separator {
    margin: 0 5px 0 0;
}
.post-relations li a {
    display: block;
}
.share-post {
    font-size: 0;
}
.share-post li {
    display: inline-block;
    margin-left: 2px;
}
.share-post a {
    display: block;
    width: 34px;
    height: 34px;
    background-image: url('images/share-sprite.png');
    background-repeat: no-repeat;
}
.share-post .facebook a {
    background-position: 0 0;
}
.share-post .twitter a {
    background-position: -34px 0;
}
.share-post .pinterest a {
    background-position: -102px 0   
}
.share-post .linkedin a {
    background-position: -69px 0;
}
.share-post .google a {
    background-position: -137px 0;
}
.share-post a:hover {
    opacity: 0.9;
}
.post-navigation {
    overflow: hidden;
    margin: 0 auto 15px;
    max-width: 92px;
    text-align: center;
}
.post-navigation a {
    position: relative;
    width: 41px;
    height: 41px;
    overflow: hidden;
    background: #f6f6f6;
    font-size: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.post-navigation a:before,
.post-navigation a:after {
    display: inline-block;
    line-height: 41px;
    font-family: prisma;
    font-size: 13px;
    color: #bcbcbc;
}
.post-navigation a:empty {
    opacity: 0.5;
}
.post-navigation .prev {
    float: left;
}
.post-navigation a.prev:before {
    content: '\e924';
}
.post-navigation .next {
    float: right;   
}
.post-navigation a.next:after {
    content: '\e925';
}

/* search results */

.blog-search-results .page-title {
    text-align: left;
}
.blog-search-results li {
    padding: 20px;
    background: #f6f6f6;
} 
.blog-search-results li a {
    display: block;
    position: relative;
    margin-bottom: 20px;
    padding: 5px 0 20px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    color: #444;
}
.search-term-highlighter {
    color: #57b568;
}
.blog-search-results li p {
    font-size: 13px;
    color: #888;
}
.category-list:before,
.related-posts-list:before {
    content: '\e928';
    display: inline-block;
    margin: 0 0 0 5px;
    font-family: prisma;
    font-size: 14px;
    color: #ccc;
    vertical-align: middle;
}
.related-posts-list:before {
    content: '\e900';
}
.category-list label {
    display: inline-block;
    margin-bottom: 0;
}
.category-list ul,
.related-posts-list {
    font-size: 13px;
    color: #888;
    padding: 0 5px 0 0;
    margin: 0;
}
.first-blog-post .post {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
    flex-wrap: wrap;
    height: 200px;
    border: 1px solid #e5e5e5;
}
.first-blog-post .post .post-head {
	width: 45%;
}
.first-blog-post .post .post-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 54%;
    padding: 20px;
    color: #2a2a2a;    
}
.first-blog-post .post .tags {
    width: 100%;
    display: none;
    padding: 0 10px 10px 0;
}
.blog-pages-body .master-wrapper-content {
	margin: 100px auto 10px;
}
.page .blog-page .first-blog-post .post-preview {
	font-size: 14px;
	font-weight: 300;
	color: #f9f9f9;
	/* height: 150px; */
    line-height: 2;
    overflow: hidden;
}
.blog-posts-list {
	display: flex;
	justify-content: start;
	align-items: center;
	width: 100%;
	flex-wrap: wrap;
}
.blog-posts-list .post {
    width: 32%;
    margin-left: 19px;
}
.blog-posts-list .post:nth-child(3n) {
	margin-left: 0;
}
.blog-pages-body .side-2 {
	border: 1px solid #323232;
}
.post-preview {
	color: #444;
}
/* ------------------------------new style--------------------------------- */
.font-comfortaa .blog-posts .post:first-child .read-comments{
    display: none;
}


/* ------------------------------------------------------------------------- */


@media all and (min-width: 481px) {

    .rich-blog-homepage .post-details {
        max-width: 80%;
    }	
    .blog-search-box span.search-box-text {
        width: 81%;
    }
}


@media all and (min-width: 769px) {
    .blog-page .post-head {
        overflow: hidden;
    }	
    .blog-page .post:first-child .post-title {padding: 20px 0 0;}
    .blog-page .post-date {
    }
    .blog-page .buttons {
        display: inline-block;
        max-width: 100%;
    }
    .post-relations {
        margin: 0 0 0 20px;
    }
    .post-footer {
        padding: 20px 0 0;
        max-width: 100%;
    }
    .blog-page .post-relations {
        float: left;
        padding: 0;
    }
    .blogpost-page .post-footer {
        float: none;
        padding: 10px 20px 20px;
        width: 100%;
        max-width: 100%;
        background: #f6f6f6;
    }
    .blogpost-page .category-list,
    .blogpost-page .related-posts-list {
        margin: 0 20px 20px 0;
    }
    .blog-page .post-actions .read-more {
        float: left;
        margin: 0;
    }
    .blog-page .post-actions .share-post {
        padding: 0;
    }
    .blogpost-page .post-actions {
        float: right;
    }

}
@media all and (min-width: 1025px) {
    
    .blog-search-box span.search-box-text {
        width: 83%;
    }
    .two-colums-wrapper .rich-blog-homepage {
        float: left;
        width: 49.5%;
    }
    .rich-blog-homepage .blog-posts {
        overflow: hidden;
        text-align: center;
    }
    .rich-blog-homepage .blog-post {
        float: left;
        margin: 0 0 30px 2%;
        width: 32%;
    }
    .two-colums-wrapper .rich-blog-homepage .blog-post {
        width: 100%;
    }
    .rich-blog-homepage .blog-post:nth-child(3n+1) {
        clear: both;
        margin-left: 0;
    }
    .rich-blog-homepage .blog-post:only-child {
        float: none;
        margin: 0 0 30px;
        width: auto;
    }
    .blogpost-page {
        position: relative;
    }
    .blogpost-page .page-title {
        padding-right: 50%;
    }
    .post-navigation {
        position: absolute;
        top: -4px;
        right: 0;
        width: 50%;
        max-width: none;
        text-align: right;
    }    
    .post-navigation a {
        width: 49%;
        line-height: 19px;
        font-size: 13px;
        color: #57b568;
    }    
    .post-navigation a:only-child {
        display: inline-block;
        float: none;
        width: auto;
    }
    .post-navigation a:before,
    .post-navigation a:after {
        position: absolute;
        top: 0;
    }    
    .post-navigation a.prev:before {
        left: 10px;
    }
    .post-navigation a.next:after {
        right: 10px;
    }
    .post-navigation .prev {
        padding: 11px 12px 8px 40px;
        text-align: left;
    }
    .post-navigation .next {
        padding: 11px 40px 8px 12px;
        text-align: right;
        border: 1px solid #323232;
    }
    .blog-search-box form {
        position: relative;
        display: block;
    }
    .blog-search-box input.search-box-text {
        margin: 0 -1px 0 0;
    }
    .blogpost-page .rich-blog-image {
        padding: 0 30px;
        background-color: #f6f6f6;
    }
    .blogpost-page .post-date,
    .blogpost-page .post-body,
    .blogpost-page .tags {
        padding: 30px;  
    }
}
@media all and (max-width: 1025px) {
    .post-footer {
        display: none;
    }
    .first-blog-post .post .post-head {
        width: 100%;
    }
    .first-blog-post .post .post-body {
        width: 100%;
    }
    .first-blog-post .post-preview {
        height: 50px;
        overflow: hidden;
    }
    .first-blog-post .post .tags {
        display: none;
    }
}
@media all and (max-width: 769px) {
    .blog-posts-list .post {
        width: 43.6%;
        margin-left: 5px;
    }
    .blog-posts-list {
        justify-content: center;
    }
    .blog-posts-list .post:nth-child(2n) {
        margin-left: 1px;
        margin-right: 8px;
    }
    .blog-posts-list .post:nth-child(2n+1) {
        margin-right: 1px;
    }
    .blog-page .post,.blog-page .post:nth-child(2), .blog-page .post:nth-child(4n+1) {
        margin: 0 0 5px;
    }
    .first-blog-post .post {
        margin: 0 15px 5px 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        color: #444;
    }
    .post-body {
        padding: 0 5px 10px;
    }
    .blog-page .post-title {
        height: 50px;
        overflow: hidden;
        color: #444444;
    }
    .blog-page .post-date {
        display: inline-block;

    }
    .blog-posts .read-comments {
        margin: 0 20px 0 0;
        color: #f74258;
    }
    .rich-blog-homepage .view-all {
        width: 100%;
        bottom: 15px;
    }
    .rich-blog-homepage .post-details {
        padding: 5px 30px 40px;
    }
    /* richblog in mobile view customize */
    .center-2 .blogpost-page .post-navigation{
        display: none;
    }
    .blog-pages-body .master-wrapper-content {
        margin: 0 auto 10px;
    }
    .blog-page .post {
        width: 50%;
        box-shadow: none;
        border: 1px solid #eee;
    }
    .blog-pages-body .master-header-wrapper {
        margin: 0 0 10px;
    }
    .blog-page .post:first-child .post-head {
        padding: 10px 0 0;
    }
    .blog-page .buttons {
        margin-bottom: 10px;
    }
    .page.blog-page h1 {
        font-size: 1.5rem;
    }
}