/* homepage grid */


.rich-blog-homepage {
    margin: 0 0 50px;
    background-color: #fff;
    padding: 30px 0;
}

    .rich-blog-homepage .blog-header {
        background-color: #f3f3f3;
        padding: 15px 20px;
        margin: 0 20px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 0;
        display: ruby;
        background: #f3f3f3;
        border-radius: 25px !important;
        line-height: 75px;
        text-align: right;
        color: #4d4d4f;
        float: right;
        width: 100%;
        margin: 30px 0;
        padding: 0 0 0 25px;
    }

    .rich-blog-homepage .title {
        margin: 0;
        font-size: 18px;
        color: #4d4d4f;
        font-weight: 600;
        text-align: right;
        width: 100%;
        border-right: 5px solid #48c7f4;
        padding-right: 20px;
        line-height: 45px;
        font-size: 18px;
        color: #686870;
        font-weight: 600;
        height: 50px;
        display: block;
        background: #f3f3f3;
        margin: 15px 0;
    }

    .rich-blog-homepage .blog-posts:after {
        content: "";
        display: block;
        clear: both;
    }

    .rich-blog-homepage .blog-posts {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 20px;
        overflow-x: auto;
    }

    .rich-blog-homepage .blog-post {
        flex: 0 0 calc(25% - 11.25px);
        min-width: 0;
        max-width: calc(25% - 11.25px);
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .rich-blog-homepage .post-title {
        display: block;
        margin: 0 0 10px;
        font-size: 16px;
        font-weight: 500;
        color: #444;
        text-align: right;
        line-height: 1.5;
        padding: 0 15px;
    }

    .rich-blog-homepage .post-picture {
        display: block;
        position: relative;
        z-index: 0;
        overflow: hidden;
        border-radius: 8px;
        width: 100%;
        background-color: #f0f0f0;
        height: 200px;
    }

        .rich-blog-homepage .post-picture:before {
            content: "";
            display: none;
        }

        .rich-blog-homepage .post-picture img {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transform: translate(-50%, -50%);
            border-radius: 8px;
            display: block;
        }

.blog-post .post-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rich-blog-homepage .post-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 0 15px 0 15px;
}

.rich-blog-homepage .post-author {
    font-size: 13px;
    color: #8c8c8c;
    text-align: right;
    flex: 1;
}

.rich-blog-homepage .post-date {
    font-size: 13px;
    color: #8c8c8c;
    text-align: left;
    flex: 1;
}

.rich-blog-homepage .post-description,
.rich-blog-homepage .read-more {
    display: none !important;
}

    .rich-blog-homepage .post-description p {
        line-height: 1.5;
    }

.rich-blog-homepage .view-all {
    margin: 0;
    order: -1;
}

    .rich-blog-homepage .view-all a {
        display: inline-block;
        line-height: normal;
        color: #48c7f4;
        font-size: 14px;
        font-weight: normal;
        text-decoration: none;
        transition: all .2s ease;
    }

        .rich-blog-homepage .view-all a:hover {
            color: #3aa8d0;
        }

/* search form */

.blog-search-box .listbox {
    text-align: center;
    padding-bottom: 20px;
}

.blog-search-box form {
    position: relative;
}

    .blog-search-box form:after {
        content: "";
        display: block;
        clear: both;
    }

.blog-search-box span.search-box-text {
    float: left;
    width: calc(100% - 45px);
    margin: 0 -1px 0 0;
}

.blog-search-box input.search-box-text {
    width: 100%;
}

.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;
    width: 45px;
    height: 45px;
    border: none;
    background: #ccc url('images/search-button.png') center no-repeat;
    font-size: 0;
    border: 1px solid #eeeeee;
    border-left: 0;
    border-radius: 0 3px 3px 0;
    transition: all .2s ease;
}

    .blog-search-box .search-box-button:hover {
        background-color: #97c300;
    }

.blog-instant-search {
    height: auto !important;
    width: 100% !important;
    background-color: #fff;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 3px 3px;
}

    .blog-instant-search .k-list-container {
        width: 100% !important;
        height: auto !important;
        position: static !important;
    }

    .blog-instant-search .k-item {
        border-top: 1px solid #eee;
        padding: 10px;
        text-align: left;
        cursor: pointer;
        color: #8c8c8c;
        font-size: 14px;
    }

        .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-instant-search .k-item.rich-blog-autocomplete-last-item {
            color: #444;
        }


/* blog list & blog post */



.blog-page .buttons {
    display: none !important;
}

.rich-blog-image {
    font-size: 0;
    line-height: normal;
}

    .rich-blog-image img {
        max-width: 100%;
    }

.post-footer {
    clear: both;
    margin-top: 20px;
}

.post-relations {
    display: none;
    font-size: 13px;
    color: #8c8c8c;
}

.blogpost-page .rich-blog-image {
    margin-bottom: 30px;
}

.blogpost-page .post-relations {
    display: block;
}

.blogpost-page .post-footer {
    margin-top: 0;
}

.blogpost-page .share-post li {
    margin: 0 5px;
}

.post-relations label {
    display: inline-block;
    margin: 0 3px 0 0;
    padding: 3px 0;
    font-weight: 700;
    color: #8c8c8c;
}

.post-relations ul,
.post-relations li {
    display: inline-block;
}

    .post-relations li.separator {
        margin: 0 5px 0 0;
    }

    .post-relations li a {
        display: block;
        padding: 3px 0;
        color: #97c300;
        font-weight: 700;
        text-transform: uppercase;
        transition: all .2s ease;
    }

        .post-relations li a:hover {
            color: #7c9a16;
        }

.post-relations .category-list {
    margin-bottom: 5px;
}

.post-relations .related-posts-list li a {
    text-transform: none;
}

.post-footer .share-post {
    margin: 20px 0 0;
}

.share-post li {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

    .share-post li a {
        display: block;
    }

        .share-post li a:hover:before {
            color: #97c300;
        }

        .share-post li a:before {
            display: block;
            font-size: 22px;
            color: #8e8e8e;
            transition: all .2s ease;
        }

.share-post .twitter a:before {
    content: "\6f";
}

.share-post .facebook a:before {
    content: "\6e";
}

.share-post .pinterest a:before {
    content: "\44";
}

.share-post .linkedin a:before {
    content: "\75";
}

.share-post .google a:before {
    content: "\70";
}


.post-actions {
    overflow: hidden;
}

.post-navigation {
    overflow: hidden;
    margin: 0 0 6px;
}

    .post-navigation a {
        position: relative;
        padding: 0 10px;
        width: calc(50% - 3px);
        height: 45px;
        line-height: 45px;
        font-size: 13px;
        color: #959595;
        background-color: #f6f6f6;
        font-weight: 700;
        text-transform: uppercase;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        transition: all .2s ease;
    }

        .post-navigation a:nth-child(2) {
            margin-left: 6px;
        }

        .post-navigation a:hover {
            background-color: #e9e9e9;
        }

        .post-navigation a:empty {
            opacity: 0.5;
        }

    .post-navigation .prev {
        float: left;
        text-align: left;
        padding-left: 30px;
    }

    .post-navigation .next {
        float: right;
        text-align: right;
        padding-right: 30px;
    }

    .post-navigation a:before,
    .post-navigation a:after {
        position: absolute;
        display: inline-block;
        top: 0;
        color: #97c300;
        font-size: 10px;
        text-transform: none;
        font-weight: normal;
    }

    .post-navigation .prev:before {
        content: "\56";
        left: 10px;
    }

    .post-navigation .next:after {
        content: "\57";
        right: 10px;
    }

/* search results */


.blog-search-results {
    text-align: center;
}

    .blog-search-results li {
        padding: 20px 15px;
        margin: 0 0 10px;
        border: 1px solid #eee;
        border-radius: 3px;
    }

        .blog-search-results li > a {
            display: inline-block;
            position: relative;
            margin: 0 0 15px;
            padding: 0;
            font-size: 20px;
            color: #444;
            font-weight: 300;
        }

        .blog-search-results li p {
            line-height: 1.5;
            font-size: 16px;
            color: #8c8c8c;
        }

            .blog-search-results li p a {
                color: #97c300;
            }

    .blog-search-results .search-term-highlighter {
        font-weight: 700;
        color: #97c300;
    }



@media all and (min-width: 481px) {

    .blog-page .post-actions .share-post {
        margin: 10px 0 0;
        float: right;
    }

        .blog-page .post-actions .share-post li {
            margin: 0 0 0 10px;
        }

    .center-2 .blog-page .post-details {
        padding: 35px;
    }

    .post-footer {
        margin: 30px 0 0;
    }

    .post-navigation .prev {
        padding-left: 40px;
    }

    .post-navigation .next {
        padding-right: 40px;
    }

    .post-navigation .prev:before {
        left: 20px;
    }

    .post-navigation .next:after {
        right: 20px;
    }
}



@media all and (min-width: 769px) {

    .rich-blog-homepage .blog-posts {
        flex-wrap: nowrap;
        gap: 15px;
    }

    .rich-blog-homepage .blog-post {
        flex: 0 0 calc(25% - 11.25px);
        min-width: 0;
        max-width: calc(25% - 11.25px);
    }

    .blog-search-results li {
        padding: 30px;
    }
}

@media all and (max-width: 768px) {
    .rich-blog-homepage .blog-posts {
        flex-wrap: wrap;
    }

    .rich-blog-homepage .blog-post {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media all and (max-width: 480px) {
    .rich-blog-homepage .blog-post {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .rich-blog-homepage .blog-posts {
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .rich-blog-homepage .blog-header {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        margin: 0 10px 20px;
    }

    .rich-blog-homepage .title {
        text-align: right;
        width: 100%;
    }

    .rich-blog-homepage .view-all {
        width: 100%;
        text-align: left;
    }
}



@media all and (min-width: 1024px) {

    .rich-blog-homepage .blog-posts {
        padding: 0;
        flex-wrap: nowrap;
        gap: 15px;
        width: 100% !important;
    }

    .rich-blog-homepage .blog-post {
        flex: 0 0 calc(25% - 11.25px);
        min-width: 0;
        max-width: calc(25% - 15px);
    }

    .blog-post .post-details {
        padding: 20px;
    }

    .rich-blog-homepage .post-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .rich-blog-homepage .post-description {
        display: none !important;
    }

    .blog-search-box {
        display: block;
    }

    .blog-search-results {
        text-align: left;
    }

        .blog-search-results li {
            padding: 45px 40px;
        }

            .blog-search-results li > a {
                font-size: 25px;
            }
}



@media all and (min-width: 1281px) {

    .rich-blog-homepage .blog-post {
        position: relative;
    }

    .rich-blog-homepage .post-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .rich-blog-homepage .read-more {
        display: none !important;
    }

    .rich-blog-homepage .post-details {
        padding: 20px;
        background-color: #fff;
    }

    .rich-blog-homepage .blog-post .post-picture + .post-details {
        padding: 20px;
    }
}
.blog-post {
    border-color: #d6d6d6 !important;
}

.blog-posts {
    display: inline-flex !important;
}

.rich-blog-homepage .blog-post:hover .post-details {
    margin-top: 0 !important;
}

.rich-blog-homepage .post-picture {
    border-radius: 15px !important;
}

    .rich-blog-homepage .post-picture img {
        height: 100% !important;
        aspect-ratio: 1 !important;
    }

.rich-blog-homepage .blog-post {
    border-radius: 15px !important;
}

    .rich-blog-homepage .blog-post:hover .post-details {
        margin-top: 0 !important;
    }

.rich-blog-homepage .post-picture {
    border-radius: 15px !important;
}

    .rich-blog-homepage .post-picture img {
        height: 100% !important;
        aspect-ratio: 1 !important;
    }

.rich-blog-homepage .blog-post {
    border-radius: 15px !important;
}

.blog-post .post-title a {
    font-size: 13pt !important;
    font-weight: 500 !important;
    line-height: 2rem !important;
    text-align: right !important;
}

.rich-blog-homepage .blog-post .post-picture + .post-details {
    padding: 10px !important;
}

.blog-post .post-date {
    display: block !important;
    float: left !important;
    margin-left: 15px !important;
}

.rich-blog-homepage .blog-posts span.post-author {
    float: right !important;
    margin-right: 15px !important;
    font-size: 14px !important;
    color: #767677 !important;
}

.blog-post .post-title {
    height: 85px !important;
    margin-bottom: 5px !important;
    font-size: large !important;
}

.rich-blog-homepage .blog-post:nth-child(3n+1) {
    margin-right: 0% !important;
}

.blog-posts {
    width: 100% !important;
}

.rich-blog-homepage .blog-post:nth-child(1) {
    margin-right: 0 !important;
}

.rich-blog-homepage .blog-post {
    border-color: #d6d6d6 !important;
}

.blog-post .post-date {
    color: #848485 !important;
}

.rich-blog-homepage .blog-post {
    border: 1px solid #d6d6d6 !important;
}

.blog-post .post-date {
    color: #848485 !important;
}

.rich-blog-homepage .view-all {
    float: left !important;
    text-align: left !important;
    width: calc(100% - 140px) !important;
}

    .rich-blog-homepage .view-all a:after {
        display: none !important;
    }