/* homepage grid */

.rich-blog-homepage {
    max-width: 95%;
    margin: 0 auto 20px;
}

.rich-blog-homepage .title {
    padding: 8px 0;
    margin: 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #cacaca;
}

.rich-blog-homepage .title:before {
    content: '';
    width: 75px;
    height: 3px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -1px;
    background: #f69e43;
    -o-transform: skewX(-30deg);
    -webkit-transform: skewX(-30deg);
    -moz-transform: skewX(-30deg);
    -ms-transform: skewX(-30deg);
    transform: skewX(-30deg);
}

.rich-blog-homepage .title h1 {
    font-size: 22px;
}

.rich-blog-homepage .blog-post {
    background: #fff;
    margin: 0 auto 23px;
    box-shadow: 0 0 10px -2px rgb(160 179 212);
    max-width: 590px;
}

.rich-blog-homepage .blog-post:only-child {
    max-width: 100%;
}

.rich-blog-homepage .post-primary {
    background: #a0b3d4;
    overflow: hidden;
    position: relative;
}

.rich-blog-homepage .post-picture {
    display: block;
    position: relative;
    overflow: hidden;
    font-size: 0;
}

.rich-blog-homepage .post-picture:before {
    content: "";
    display: block;
    padding-top: 68%;
}

.rich-blog-homepage .post-picture img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    margin: auto;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.rich-blog-homepage .post-picture:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
}


/*.rich-blog-homepage .post-date {
    display: block;
    float: left;
    color: #f3cc2e;
    position: absolute;
    left: 40px;
    bottom: 8px;
    font-size: 0;
}
.rich-blog-homepage .post-date span {
    display: inline-block;
    vertical-align: bottom;
    line-height: 20px;
    font-size: 20px;
}
.rich-blog-homepage .post-date .day {
    font-size: 50px;
    margin: 0 10px -19px 0;
    line-height: 60px;
    color: #fff !important;
}
.rich-blog-homepage .post-date .month {
    margin-right: 5px;
}*/

.rich-blog-homepage .read-more {
    display: block;
    float: right;
    color: #07729f;
    font-size: 13px;
    padding: 21px 38px 21px 22px;
    position: relative;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.rich-blog-homepage .read-more:before {
    font-family: "venture-font";
    text-transform: none;
    content: "q";
    font-size: 8px;
    width: 9px;
    height: 8px;
    color: #596e89;
    position: absolute;
    top: 0;
    right: 18px;
    bottom: 0;
    margin: auto;
}

.rich-blog-homepage .read-more:hover {
    background: #fff;
}

.rich-blog-homepage .post-details {
    padding: 15px 18px;
    text-transform: none;
    text-align: left;
}

.rich-blog-homepage .post-title {
    display: block;
    position: relative;
    font-size: 18px;
    margin: 5px 0 10px;
    padding-top: 14px;
    height: 66px;
    overflow: hidden;
    font-weight: 600;
}

.rich-blog-homepage .post-details h2 {
    margin: 0;
}

.rich-blog-homepage .post-title::before {
    content: "";
    position: absolute;
    top: 0;
    height: 4px;
    width: 100px;
    background-color: #f69e43;
}

.rich-blog-homepage .post-description {
    color: #b5b5b5;
    font-size: 14px;
    line-height: 25px;
    font-family: Iransans;
    color: #242323;
}

.rich-blog-homepage .view-all a {
    margin: 0 auto;
    max-width: 590px;
    display: block;
    color: #07729f;
    font-size: 14px;
    text-align: center;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}


/* search form */

.blog-search-box {}

.blog-search-box form {
    display: block;
    padding: 15px 65px 15px 15px;
    position: relative;
}

.blog-search-box span.search-box-text {}

.blog-search-box input.search-box-text {
    background: #fff;
    color: #909090;
}

.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;
    width: 50px;
    height: 38px;
    border-bottom: 1px solid #07729f !important;
    top: 15px;
    right: 15px;
    bottom: 15px;
    border: none;
    background: #fff;
    font-size: 0;
}

.blog-search-box .search-box-button:before {
    font-family: "venture-font";
    text-transform: none;
    content: "e";
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: #07729f;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.blog-instant-search {
    height: auto !important;
    background-color: #fff;
    border-top: 0;
    top: 65px !important;
    left: 15px !important;
    width: calc(100% - 30px) !important;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.06);
}

.blog-instant-search .k-list-container {
    width: 100% !important;
    height: auto !important;
    position: static !important;
}

.blog-instant-search .k-item {
    padding: 10px 20px;
    cursor: pointer;
    text-transform: none;
}

.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 list & blog post */

.rich-blog-image {
    font-size: 0;
}

.rich-blog-image a {
    display: block;
    font-size: 0;
}

.rich-blog-image img {
    max-width: 100%;
    margin: auto;
    display: block;
}

.blogpost-page .rich-blog-image {
    padding: 0 30px;
    margin: 50px 0 30px;
}

.blogpost-page .tags {
    padding-bottom: 0;
}

.blog-page .tags *,
.blogpost-page .tags * {}

.blog-posts .post a.read-comments {
    padding-bottom: 0;
    margin: 0 0 15px;
}

.blog-page .buttons {}

.blog-page .buttons .read-more {}

.blog-page .post-actions .read-more {
    display: none;
    /*this is the second "details" button, currently hidden*/
}

.post-footer {
    clear: both;
    padding: 0 40px 25px;
}

.blog-posts-list .post-footer {
    padding: 0 10px 10px;
}

.post-footer:after,
.post-relations:after,
.post-actions:after {
    content: "";
    display: block;
    clear: both;
}

.blogpost-page .post-footer {
    padding: 0 30px 30px;
}

.post-relations {
    color: #909090;
    text-transform: none;
}

.post-relations ul {
    font-size: 0;
    display: inline-block;
}

.post-relations li {
    display: inline-block;
    font-size: 15px;
    /*reset zeroing*/
    color: #f3cc2e;
}

.post-relations li.separator {
    margin: 0 5px 0 0;
}

.post-relations li a {
    display: block;
}

.blogpost-page .post-relations>div {
    margin: 0 0 15px;
}

.blogpost-page .post-relations>div:last-child {
    margin: 0;
}

.share-post {
    display: none;
    font-size: 0;
    margin: 15px 0;
}

.share-post li {
    display: inline-block;
    margin: 0 3px;
}

.share-post a {
    display: block;
    width: 35px;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 50%;
    position: relative;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.share-post a:before {
    content: '';
    font-family: "venture-font";
    text-transform: none;
    position: absolute;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 15px;
    text-align: center;
    color: #858585;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.share-post a:hover {
    background: #ededed;
}

.share-post .facebook a:before {
    content: 'o';
}

.share-post .twitter a:before {
    content: 'n';
}

.share-post .pinterest a:before {
    content: 'H';
}

.share-post .linkedin a:before {
    content: '2';
}

.share-post .google a:before {
    content: 'F';
}

.blogpost-page .post-date {
    margin: 0 0 -26px;
    /*this is a design specific property, remove if not needed*/
    text-align: center;
}

.post-navigation {
    display: none;
    overflow: hidden;
    text-align: center;
    padding: 30px 0 0;
    font-size: 0;
}

.post-navigation a {
    display: inline-block;
    position: relative;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    border: 1px dashed #a0b3d4;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 55px;
}

.post-navigation a:empty {
    opacity: 0.5;
}

.post-navigation a:before {
    font-family: "venture-font";
    text-transform: none;
    font-size: 8px;
    width: 9px;
    height: 9px;
    color: #07729f;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.post-navigation .prev:before {
    content: "r";
}

.post-navigation .next:before {
    content: "q";
}


/* search results */

.blog-search-results {
    background: #fff;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.06);
}

.blog-search-results li {
    padding: 30px;
    border-bottom: 1px dashed #ccc;
}

.blog-search-results li:last-child {
    border: none;
}

.blog-search-results li a {
    display: inline-block;
    position: relative;
    padding: 5px 0;
    font-size: 17px;
    margin: 0 0 10px;
}

.blog-search-results .search-term-highlighter {
    color: #f3cc2e;
}

.blog-search-results li p {
    color: #909090;
    line-height: 25px;
    font-family: 'Lato', sans-serif;
    text-transform: none;
}


/*uncomment if you need a bullet style*/


/*.blog-search-results li a:before {
	content: "";
	position: absolute;
	top: 14px;
	left: 0;
	width: 5px;
	height: 5px;
	background-color: #ddd;
}*/

.rich-blog-homepage .view-all {
    width: 84%;
    margin: 0 auto;
    padding: 14px 0;
    text-align: center;
}

.rich-blog-homepage .view-all a {
    background: url(../Content/images/right-arrow.svg) left no-repeat;
    background-size: 14px;
    width: 22%;
}

.date-and-more {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.page.blog-page .blog-posts .blog-posts-list {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.page.blog-page .blog-posts .first-blog-post {
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

@media all and (min-width: 481px) {
    .blog-search-box input.search-box-text {}
}

@media all and (min-width: 769px) {
    .blog-page .post-head {
        overflow: hidden;
    }
    .post-navigation {
        padding: 0;
    }
    .blogpost-page .page-title {
        padding-left: 90px;
        padding-right: 90px;
        position: relative;
        z-index: 1;
    }
    .post-navigation .prev,
    .post-navigation .next {
        position: absolute;
        top: 70px;
        z-index: 2;
        margin: 0;
    }
    .post-navigation .prev {
        left: 50px;
    }
    .post-navigation .next {
        right: 50px;
    }
    .blog-page .post-date {}
    .blog-page .buttons {
        float: right;
        max-width: 18%;
    }
    .post-relations {
        float: left;
        max-width: 65%;
    }
    .post-actions {
        float: right;
        max-width: 250px;
        margin-top: 15px;
    }
    .blog-page .post-actions .read-more {
        float: left;
        margin: 0;
    }
    .blog-page .post-actions .share-post {
        float: right;
        margin: 0 -17px 0 0;
    }
    .blogpost-page .rich-blog-image {
        padding: 0 50px;
    }
    .blogpost-page .post-footer {
        padding: 0 50px 50px;
    }
}

@media all and (min-width: 1201px) {
    .rich-blog-homepage {
        width: 95%;
        max-width: none;
    }
    .rich-blog-homepage .blog-posts {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 8px 0;
    }
    .rich-blog-homepage .blog-post {
        margin: 15px;
        float: left;
        width: 100%
    }
    .rich-blog-homepage .blog-post:nth-child(2n+1) {
        margin-left: 0;
        clear: both;
    }
    .rich-blog-homepage .view-all a {
        max-width: none;
    }
    .blog-search-box form {
        display: block;
        padding: 20px 50px 20px 0;
    }
    .blog-search-box .search-box-button {
        top: 20px;
        bottom: 20px;
    }
    .blog-instant-search {
        top: 70px !important;
        left: 0 !important;
        width: calc(100% - 15px) !important;
    }
    .blogpost-page .rich-blog-image {
        padding: 0 68px;
        display: flex;
        justify-content: center;
    }
    .blogpost-page .post-footer {
        padding: 0 68px 50px;
    }
    .post-navigation .prev {
        left: 68px;
    }
    .blogpost-page .page-title {
        padding-left: 118px;
        padding-right: 118px;
    }
    .post-navigation .next {
        right: 68px;
    }
    .post-navigation .prev,
    .post-navigation .next {
        -webkit-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }
    .post-navigation .prev:hover,
    .post-navigation .next:hover {
        background: #ededed;
    }
}

@media all and (max-width: 1200px) {
    .rich-blog-homepage .blog-posts {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        margin: 20px auto 0;
        width: 100%;
    }
    .rich-blog-homepage .blog-post {
        width: 32%;
        margin: 0 auto;
    }
    .rich-blog-homepage .view-all a {
        width: 28%;
    }
}

@media all and (max-width: 768px) {
    .blog-page .first-blog-post .post {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .blog-page .first-blog-post .post-head,
    .blog-posts .first-blog-post .post-body {
        width: 100%;
    }
    .blog-page .post {
        width: 100%;
    }
    .news-item-page .page-title,
    .blogpost-page .page-title {
        padding: 5px 30px 10px;
    }
    .news-item-page .new-comment .title,
    .blogpost-page .new-comment .title {
        width: 55%;
    }
    .news-item-page .new-comment form,
    .blogpost-page .new-comment form {
        padding: 5px 0;
    }
    .comment-list {
        padding: 10px;
    }
    .rich-blog-homepage .view-all a {
        width: 240px;
    }
    .rich-blog-homepage .blog-post {
        width: 48%;
        margin: 0 auto 10px;
    }
    .rich-blog-homepage .post-description {
        font-size: 12px;
    }
}

@media all and (max-width: 480px) {
    .rich-blog-homepage .blog-post {
        width: 95%;
    }
    .rich-blog-homepage .post-title {
        font-size: 16px;
    }
    .rich-blog-homepage .view-all {
        width: 240px;
    }
    .rich-blog-homepage .view-all a {
        width: 100%;
    }
}