.bdp-post-grid-content .bdp-post-image-bg {
    margin-bottom: 4px;
}

.bdp-post-grid-content .bdp-post-image-bg img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.bdp-column,
.bdp-columns {
    padding-left: 8px;
    padding-right: 8px;
}

.bdp-post-grid-content .bdp-post-meta {
    margin: 6px 0 8px 0;
}

.bdp-post-grid .bdpp-post-meta-sep {
    font-size: 14px;
}

.bdp-post-grid .bdpp-post-meta-sep::after,
.bdp-post-list .bdpp-post-meta-sep::after {
    content: '';
    margin-right: 3px;
}

.bdp-post-grid-content .bdp-post-title {
    margin: 0 0 8px 0 !important;
}

.bdp-post-grid-content .bdp-post-title a,
.bdp-post-list-content .bdp-post-title a {
    font-size: 18px;
    font-weight: 600;
}

.bdp-post-grid-content .bdp-post-meta span.bdp-post-meta-innr,
.bdp-post-list-content .bdp-post-meta span.bdp-post-meta-innr {
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    text-transform: capitalize;
    margin-left: 0;
}

.bdp-post-meta {
    margin: 0 0 8px 0;
}

.bdp-post-grid-content .bdp-post-short-content,
.bdp-post-list-content .bdp-post-short-content {
    font-size: 14px;
    font-weight: 400;
}

.bdp-post-grid-content .bdp-post-short-content {
    padding: 0 4px;
}

.bdp-post-grid-content .bdp-readmorebtn,
.bdp-post-list-content .bdp-readmorebtn {
    padding: 0 16px;
    border-radius: 4px;
    min-width: 98px;
    height: 40px;
    line-height: 38px !important;
    font-size: 14px;
    text-transform: uppercase;
    transition: all ease 0.3s;
    margin-top: 8px;
}

.bdp-post-pagination {
    padding: 16px 15px 10px 15px;
}

.bdp-post-pagination a,
.bdp-post-pagination a {
    border-radius: 4px;
    min-width: 40px;
    height: 48px;
    line-height: 48px;
    padding: 0 16px;
    border: 0;
}

.bdp-post-pagination a:hover,
.bdp-post-pagination a:hover {
    border: 0;
}

.bdp-post-pagination .current {
    border-radius: 4px;
    min-width: 40px;
    height: 48px;
    line-height: 48px;
    padding: 0 16px;
    border: 0;
}

.bdp-post-pagination .next::after {
    content: '>>';
    font-size: 21px;
    vertical-align: middle;
    margin-left: 4px;
    font-weight: 300;
    letter-spacing: -5px;
}

.bdp-post-pagination .prev::before {
    content: '<<';
    font-size: 21px;
    vertical-align: middle;
    margin-right: 8px;
    font-weight: 300;
    letter-spacing: -5px;
}

.bdp-post-list-content .bdp-post-image-bg img {
    height: 360px;
    width: 100%;
    object-fit: cover;
}

.bdp-post-categories a {
    font-size: 14px;
    border: 0;
    padding: 0;
}

#grid-masonry .bdp-post-grid-content .bdp-post-image-bg img {
    height: auto;
    width: 100%;
    object-fit: cover;
}

.bdp-column,
.bdp-columns {
    padding-left: 8px;
    padding-right: 8px;
}

.bdp-post-categories {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
    .bdp-post-list-content .bdp-post-image-bg img {
        height: 240px;
    }
}

/* Search inline/page --- START */
.is-form-style input.is-search-input {
    height: 48px;
    font-size: 16px !important;
    border: 1px solid #d4d4d9 !important;
}

.is-form-style button.is-search-submit {
    height: 48px;
    width: 48px;
    cursor: pointer;
}

.is-form-style input.is-search-submit {
    height: 48px;
    width: auto;
    cursor: pointer;
}

.is-search-icon svg {
    width: 32px;
}

.is-form-style.is-form-style-3 label {
    width: calc(100% - 48px) !important;
}

.is-search-icon {
    border: 0;
    height: auto;
}

.is-ajax-search-post .is-title a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 78%;
    padding: 0 0 75px 89px;
}

.is-ajax-search-post .is-ajax-result-description {
    margin-top: 25px;
}

.is-ajax-search-details a:hover,
.is-ajax-search-result a:hover {
    text-decoration: none !important;
}

.is-ajax-search .is-loader-image {
    background-image: url('../images/spinner.gif') !important;
}

/*search results*/
main::before {
    content: '';
    display: block;
    border-top: 1px solid #d4d4d9;
}

body.search-results .search-page-title {
    text-align: center;
    font-size: 32px;
}

body.search-results .search_result__box {
    border-top: 1px solid #d4d4d9;
}

body.search-results .search-result-row {
    display: flex;
    padding: 24px 16px;
    justify-content: start;
}

body.search-results .search_result__box:first-child {
    border-top: 0;
}

body.search-results .search-result-row img {
    object-fit: cover;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    height: 512px;
    width: 500px;
}

body.search-results .blog-result {
    padding-left: 16px;
}

body.search-results a {
    text-decoration: none;
}

body.search-results .blog-result .search-result-title {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

body.search-results .blog-result .search-result-content p {
    font-size: 16px;
    font-weight: l400;
}

.search-result-col {
    position: relative;
    display: block;
}

.search-result-image-container {
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    background-image: none;
    height: 400px;
    width: 500px;
    border: 1px solid #d4d4d9;
    position: relative;
    overflow: hidden;
    margin: auto;
    background-color: #ffffff;
}

@media screen and (max-width: 480px) {
    .blog-image-container {
        max-height: initial;
        max-width: initial;
        height: 240px;
        width: 100%;
    }

    body.search-results .search-result-row .blog-image-container img {
        max-height: initial;
        max-width: initial;
        height: 100%;
    }

    body.search-results .search-result-row {
        padding: 24px 3px !important;
    }
}

body.search-results .search-page .result_nav {
    padding: 16px 15px 10px 15px;
    clear: both !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

body.search-results .search-page .result_nav .current {
    display: inline-block;
    border-radius: 4px;
    min-width: 40px;
    height: 48px;
    line-height: 48px;
    padding: 0 16px;
    border: 0;
}

body.search-results .search-page .result_nav a {
    display: inline-block;
    border-radius: 4px;
    min-width: 40px;
    height: 48px;
    line-height: 48px;
    padding: 0 16px;
    border: 0;
    transition: all ease 0.5s;
}

body.search-no-results .search-no-result {
    text-align: center;
    font-size: 30px;
    margin-top: 48px;
}

div.spacer {
    max-width: 1140px;
    height: 70px;
}

.is-title {
    font-weight: 600
}

/*search results MOBILE*/
@media screen and (max-width: 1023px) {
    body.search-results .search-result-row {
        flex-direction: column;
    }

    body.search-results .search-result-row img {
        width: 100%;
    }

    body.search-results .blog-result .search-result-title {
        margin: revert;
    }

    body.search-results .blog-result {
        padding: 0;
        margin: auto;
    }

    body.search-results .search-result-row {
        padding: 24px 16px;
    }
}

@media screen and (max-width: 480px) {
    body.search-results .blog-result {
        margin: initial;
    }
}
/* Search inline/page --- END */

/* Detail Page Blog --- START */
.single-blog-banner {
    display: block;
    width: 100%;
    height: 288px;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    line-height: 103px;
}

.single-blog-banner h2 {
    max-width: 1140px;
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    padding: 5.8rem 0.625rem 5.8rem 0.625rem;
    margin: 0 auto;
}

#single-blog-template {
    max-width: 1140px;
    padding: 0rem 0.625rem 0rem 0.625rem;
    margin: 0 auto;
}

#single-blog-template .single-blog-image {
    width: 100%;
    border: 1px solid rgb(212, 212, 217);
    padding: 24px 0;
    margin-top: 76px;
}

#single-blog-template .single-blog-image img {
    width: 95%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .single-blog-banner h2 {
        font-size: 36px !important;
    }

    #single-blog-template .single-blog-image img {
        height: 95%;
    }
}

@media screen and (max-width: 800px) {
    .single-blog-banner {
        height: 200px;
    }

    .single-blog-banner h2 {
        padding: 3rem 0.625rem 3rem 0.625rem;
    }
}

#single-blog-template .single-blog-meta p {
    text-align: center;
    padding: 0 24px;
    text-transform: capitalize;
    font-size: 14px;
    margin: 24px 0 0 0;
}

#single-blog-template #single-blog-title p {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 16px
}

#single-blog-template #single-blog-content p {
    font-size: 16px;
    margin: 0 0 64px 0;
}

#single-blog-template #single-blog-back-button-container {
    height: 96px;
    border: 1px solid #d4d4d9;
    border-left: 0;
    border-right: 0;
    line-height: 94px;
}

#single-blog-template .single-blog-back-button {
    min-width: 140px;
    height: 48px;
    padding: 0 16px;
    border-radius: 8px;
    border: 0;
    text-transform: uppercase;
    font-size: 16px;
    outline: none;
    cursor: pointer;
}

.spacer {
    height: 50px;
}
/* Detail Page Blog --- END */