
/* homepage grid */

.home-page-body .page-body .rich-blog-homepage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 70px 0 30px;
}

.two-colums-wrapper .blog-post+.blog-post {
    display: none;
}


/* .rich-blog-homepage .title {
    margin: 50px 0 90px;
    padding: 12px 0 13px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    text-align: center;
    font-size: 24px;
    color: #444;
} */

.rich-blog-homepage .title strong {
    font-weight: normal;

}
.rich-blog-homepage .title {
	width: 28%;
	text-align: center;
	font-size: 24px;
	color: #444;
	line-height: 2;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 80px;
}

.rich-blog-homepage .blog-post {
    margin: 0 0 30px;
}

.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;
    z-index: 0;
}

.rich-blog-homepage .post-picture:before {
    content: "";
    display: block;
    padding-top: 45%;
}

.rich-blog-homepage .post-picture img {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	margin: auto;
	width: 100%;
	max-width: 100%;
	border-radius: 10px 10px 0 0;
}

.rich-blog-homepage .post-title {
	position: relative;
	display: block;
	float: none;
	margin: 0;
	padding: 14px 10px;
	border-top: none;
	background: #fff;
	z-index: 1;
	text-align: right;
	height: 97px;
	overflow: hidden;
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
}

.rich-blog-homepage .post-title:only-child {
    margin-top: 20px;
}

.rich-blog-homepage .post-details {
	position: relative;
	margin: 0 auto;
	max-width: 100%;
	text-align: center;
}

.rich-blog-homepage .post-date {
    float: none;
    display: block;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.rich-blog-homepage .post-description {
	margin: 0 0 20px;
	line-height: 20px;
	font-size: 14px;
	color: #888;
	height: 52px;
	overflow: hidden;
    padding: 10px;
    text-align: center;
}

.rich-blog-homepage .view-all {
	position: absolute;
	top: 49%;
	left: 14%;
	text-align: center;
	font-weight: bold;
	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: 100%;
    margin: 0 auto;
}

.blog-search-box input.search-box-text {
    float: left;
    padding: 20px;
}

.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 {
    position: absolute;
    float: left;
    border: none;
    font-size: 0;
    right: 20px;
    background: transparent;
}

.blog-search-box .search-box-button::before {
    content: "\e610";
    font-family: 'themify';
    color: #ffd83f;
    font-size: 20px;
    font-weight: 700;
    vertical-align: middle;
}

.blog-instant-search {
  
    border-top: 0;
    height: auto !important;
    width: 100% !important;
    background-color: #fff;
    font-size: 13px;
    color: #888;
    box-shadow: 0 6px 2px rgb(0 0 0 / 8%);
}

.blog-instant-search .k-list-container {
    position: static !important;
    width: 100% !important;
    height: auto !important;
}

.blog-instant-search .k-item {
    padding: 7px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}

.blog-instant-search .k-item.rich-blog-autocomplete-last-item {
    border-top: 1px solid #eee;
    background: #ffffff;
    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: 15px;
    color: #191919;
    text-align: center;
}


/* blog list & blog post */

.blog-page .post {
    margin: 0 15px 15px 0px;
    box-shadow: 1px 3px 15px 0 #d8d8d8;
    padding: 0;
    width: 31%;
    float: right;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all ease .3s;
}

.post:hover {
    transform: scale(1.0125);
    transition: all ease .3s;
}

.post:hover .read-more {
    background: #1473e7;
    color: #fff;
}

.blog-page .post-head {
    padding: 0;
    border: 0;
    margin-bottom: 15px;
}


.blog-page .post-title {
    margin-bottom: 15px;
}

.blog-page .post-date {
    margin: 0 0 10px;
}

.rich-blog-image {
    /* margin-bottom: 20px; */
    font-size: 0;
}

.rich-blog-image a {
    display: block;
    font-size: 0;
}

.rich-blog-image img {
    width: 100%;
    max-width: 100%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    min-height: 150px;
    height: 300px;
}

.blogpost-page .rich-blog-image {
    margin-bottom: 0;
    padding: 10px 20px 0;
}

.blog-page .tags *,
.blogpost-page .tags * {
    line-height: normal !important;
    /*remove if not needed for current theme*/
}

.blog-page .buttons {
    margin: 15px 0;
}

.blog-page .buttons .read-more {
    display: inline;
    /*this is the first "details" button, currently shown*/
}

.blog-page .post-actions .read-more {
    display: inline-block;
    /*this is the second "details" button, currently hidden*/
}

.read-more-blog {
    float: right;
    padding: 4px;
    margin: 20px;
}

.read-comments {
    float: left;
}

.post-footer {
    padding: 20px 0;
    clear: both;
}

.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-right: 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: #8cc63f;
}

.post-navigation a:empty {
    opacity: 0.5;
}

.post-navigation .prev {
    float: left;
}

.post-navigation a.prev:before {
    content: '\e925';
}

.post-navigation .next {
    float: right;
}

.post-navigation a.next:after {
    content: '\e924';
}


/* search results */

.blog-search-results .page-title {
    text-align: left;
}

.blog-search-results li {
    padding: 5px 40px;
    background: #ffffff;
}


.blog-search-results li a {
    display: block;
    position: relative;
    margin-bottom: 9px;
    padding: 16px 0 2px;

    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;
    border-bottom: 1px dashed #ffe479;
    padding-bottom: 10px;
}

.category-list:before,
.related-posts-list:before {
    content: '\e928';
    display: inline-block;
    margin: 5px 5px 0 0;
    font-family: prisma;
    font-size: 14px;
    color: #ccc;
    vertical-align: middle;
}

.related-posts-list:before {
    content: '\e900';
}

.category-list label {
    display: none;
}

.category-list ul,
.related-posts-list {
    font-size: 13px;
    color: #888;
}

.blog-search-results-page .page-body {
    margin-bottom: 30px;
    margin-top: 20px;
}

.title-tag {
    text-align: center;
    padding: 15px;
    width: 98%;
    margin: 0 auto;
}

.title-tag strong {
    text-align: center;
    width: 100%;
    font-size: 16px;
    color: #444;
}

.page-body .pager .previous-page {
    border-radius: 55px;
}

.blog-posts-list {
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.page.blogpost-page .page-body .page-title {
    border-bottom: none;
}

.page.blogpost-page .page-body .page-title h1 {
    margin: 5px 13px;
    font-size: 26px;
    line-height: 40px;
    font-weight: bold;
    float: right;
}

.page.blog-search-results-page .page-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page.blogpost-page .page-body>div {
    width: 80%;
    margin: 0 auto;
}

@media all and (min-width: 481px) {
    /* .blog-search-box span.search-box-text {
        width: 81%;
    } */
    .rich-blog-homepage .post-details {
        max-width: 100%;
    }
}

@media all and (min-width: 769px) {
    .blog-page .post-head {
        overflow: hidden;
        width: 100%;
    }
    .blog-page .post-title {
        float: left;
        height: 60px;
        padding: 5px;
        overflow: hidden;
        width: 100%;
    }
    .blog-page .post-date {
        float: left;
    }
    .blog-page .buttons {
        display: inline-block;
        max-width: 18%;
    }
    .post-relations {
        margin: 0 0 0 20px;
    }
    .post-footer {
        float: right;
        padding: 20px 0 0;
    }
    .blog-page .post-relations {
        float: left;
        padding: 0;
    }
    .blogpost-page .post-footer {
        float: none;
        padding: 10px 20px 20px;
        width: 100%;
        max-width: 100%;
    }
    .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 {
        float: right;
    }
    .blogpost-page .post-actions {
        float: right;
    }
    .title-tag.drop {
        display: block;
        border-bottom: 1px solid #eeeeee;
    }
}

@media all and (min-width: 1025px) {
  
    .two-colums-wrapper .rich-blog-homepage {
        float: left;
        width: 49.5%;
    }
    .rich-blog-homepage .blog-posts {
        width: 72%;
        text-align: center;
        overflow: visible;
    }
    .rich-blog-homepage .blog-post {
        float: left;
        margin: 0px 17px 0px 0%;
        width: 35%;
        border-radius: 10px;
    }
    .two-colums-wrapper .rich-blog-homepage .blog-post {
        width: 100%;
    }
    .rich-blog-homepage .blog-post:nth-child(3n+1) {
        clear: both;
        margin-left: 0;
        margin-right: 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;
    }
    .blog-search-box form {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 68%;
        margin: 0 auto;
    }
    .blog-search-box input.search-box-text {
        margin: 0 -1px 0 0;
        border-radius: 30px;
    }
    .blogpost-page .rich-blog-image {
        padding: 20px 30px;
    }
    .blogpost-page .post-body {
        padding: 30px;
    }
    .blogpost-page .post-date {
        padding: 10px 30px 20px 30px;
    }
}

@media all and (max-width: 1024px) {
    .blog-page .post {
        width: 90%;
        margin: 0 auto 20px;
        float: none;
    }
    .blog-page .post .tags {
        display: none;
    }
    .rich-blog-homepage .title {
        width: 100%;
        font-size: 18px;
    }
}

@media all and (max-width: 768px) {
    .rich-blog-homepage .post-description {
        display: none;
    }
   
    .page.blogpost-page .page-body .page-title {
        text-align: center;
        border-bottom: none;
        margin: auto;
    }
    .page.blogpost-page .page-body>div {
        width: 100%;
        margin: 0 auto;
    }
    .page.blogpost-page .page-body .page-title h1 {
        font-size: 17px;
        line-height: 35px;
        font-weight: bold;
        margin: 0 auto;
    }
    .block.blog-search-box {
        display: none;
        width: 100%;
        margin: 0 auto;
    }
    .blog-search-box span.search-box-text {
        width: 100%;
    }
    .blog-search-box .search-box-button::before {
        top: 12px;
        left: 14px;
        font-size: 22px;
    }
    .blog-search-results-page .page-title {
        width: 88%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .block.blog-search-box .drop {
        width: 73%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .blog-page .post {
        width: 100%;
        margin: 0 auto 20px;
        float: none;
    }
    .blog-posts-list {
        width: 100%;
    }
    .block-popular-blogtags .title-tag {
        width: 72%;
        margin: 18px auto 0;
        padding: 10px 15px;
    }
    .page.blogpost-page {
        margin-top: 55px;
    }
}

@media screen and (max-width: 576px) {
    .font-comfortaa .blog-page .page-body .blog-posts .post .post-head .post-title {
        margin: 15px auto;
    }
}
.post-title, .news-title {
	display: block;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	color: #444;
	text-align: left;
}