/*
* Copyright 2012 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

* {
    direction: rtl;
}

.rich-blog-homepage .view-all {
    position: absolute;
    top: 49%;
    right: -5%;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #57b568;
    -webkit-transform: translateX(30%);
    -ms-transform: translateX(30%);
    transform: translateX(30%);
}
/* .rich-blog-homepage .view-all {
    right: 50%;
    left: auto;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

.rich-blog-homepage .view-all:before {
    margin-left: 5px;
    margin-right: 0;
} */

.blog-search-box span.search-box-text {
    float: right;
}

.blog-search-box input.search-box-text {
    float: right;
    border-radius: 30px;
    padding: 20px;
}

.blog-search-box .instant-search-busy {
    background: #fff url('images/ajax-loader-small.gif') left center no-repeat !important;
}


.post-navigation .prev {
    float: right;
}

.post-navigation .next {
    float: left;
}

.blog-search-results .page-title {
    text-align: right;
}

.post .post-body .post-preview {
    display: none;
}


/* 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 {
    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 .title strong {
    font-weight: normal;
}

.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: 75px;
    overflow: hidden;
    font-size: 14px;
}

.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: inline-block;
    margin: 0;
    padding: 10px 0;
    border-top: none;
}

.rich-blog-homepage .post-description {
    margin: 0 0 20px;
    line-height: 20px;
    font-size: 14px;
    color: #888;
    height: 52px;
    overflow: hidden;
    padding: 10px;
}

.rich-blog-homepage .my-image img {
    border-radius: 10px 10px 0 0;
}

@media all and (min-width: 481px) {
    .rich-blog-homepage .post-details {
        max-width: 100%;
    }
    /* .blog-search-box span.search-box-text {
		width: 28%;
	} */
}

@media all and (min-width: 769px) {
    .blog-page .post-title {
        float: right;
        height: 60px;
        padding: 5px;
        overflow: hidden;
        width: 100%;
    }
    .post-relations {
        margin: 0 20px 0 0;
    }
    .post-footer {
        float: left;
    }
    .blog-page .post-relations {
        float: right;
    }
    .blogpost-page .category-list,
    .blogpost-page .related-posts-list {
        margin: 0 0 20px 20px;
    }
    .blog-page .post-actions .read-more {
        float: right;
    }
    .blog-page .post-actions .share-post {
        float: left;
    }
    .blogpost-page .post-actions {
        float: left;
    }
}

@media all and (min-width: 1025px) {
    .two-colums-wrapper .rich-blog-homepage {
        float: right;
    }
    .rich-blog-homepage .blog-post {
        width: 35%;
        margin: 10px 20px;
        border-radius: 10px;
    }
    .rich-blog-homepage .blog-post:nth-child(3) {
        width: 35%;
        margin: 10px 20px;
        border-radius: 10px;
        right: 72.2% !important;
    }
    .rich-blog-homepage .blog-post:nth-child(3n+1) {
        clear: both;
        margin-right: 0;
        margin-left: 0;
    }
    .blogpost-page .page-title {
        width: 100%;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
    .post-navigation {
        left: 0;
        right: auto;
        text-align: left;
    }
    .post-navigation a.prev:before {
        right: 10px;
        left: auto;
    }
    .post-navigation a.next:after {
        left: 10px;
        right: auto;
    }
    .post-navigation .prev {
        padding: 11px 40px 8px 12px;
        text-align: right;
    }
    .post-navigation .next {
        padding: 11px 12px 8px 40px;
        text-align: left;
    }
    .blog-search-box input.search-box-text {
        /* margin: 0 0 0 -1px; */
        border-radius: 30px;
    }
}

@media screen and (max-width: 768px) {
    .rich-blog-homepage .title {
        width: 100%;
        font-size: 18px;
    }
}
.page-title .blog-search-box .search-box-button {
    left: 20px;
    right: unset; 
}