/*------------------------------------*\
    
    Posts CSS
 
    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

\*------------------------------------*/

.blog-listing__pagination,
.article-listing__pagination,
.post-listing__pagination {
    margin-top: 40px;
    text-align: center;
}

.blog-listing__pagination .load-more__btn,
.article-listing__pagination .load-more__btn,
.post-listing__pagination .load-more__btn {
    margin: 0 auto;
}

.blog-listing .image-button-item,
.article-listing .image-button-item {
    margin-top: 0;
    margin-bottom: 32px;
}

.post-item {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    margin-top: 30px;
}

.post-item:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.post-item__heading a {
    text-decoration: none;
}

.post-item .btn,
.post-item .btn-primary {
    margin-top: 30px;
}

.post-item__meta {
    font-size: .8em;
}


/*Blog Listing*/
.blog-listing-container,
.post-listing-container {
    background: #F4FCFF;
}

.blog-listing {
    display: flex;
    flex-wrap: wrap;
}

.blog-listing>.col-xl-4 {
    padding: 0;
}

.blog-post__item {
    position: relative;
    height: 100%;
    padding: 15px 15px 40px;
}

.blog-post__item-wrapper {
    display: block;
    height: 100%;
    padding: 16px 16px 40px;
    border-radius: 20px;
    background: none;
    background-color: #fff;
    transition: 0.3s all;
    box-shadow: 0 30px 50px rgb(0 0 0 / 10%);
}

.blog-post__item-wrapper:before {
    display: none;
}

.blog-post__meta {
    padding: 30px 20px;
}

.blog-listing-container .blog-post__meta {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post__img-container {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    height: 180px;
}

.page-template-template-blog .blog-post__img-container {
    height: 170px;
}

.blog-post__img {
    width: 100%;
    height: auto;
    /* height: 100%;
    -o-object-fit: cover;
    object-fit: cover; */
}

.blog-post__tags {
    position: absolute;
    right: 0;
    top: 45px;
    z-index: 1;
}

.blog-post__tag {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 99px;
}


.blog-post__tag:before {
    display: none;
}

.blog-post__date {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #7f7f7f;
}

.blog-post__title {
    font-size: 22px;
    font-weight: 800;
}

.blog-post__link {
    position: absolute;
    left: 35px;
    bottom: 35px;
}

.post-excerpt {
    color: #595959;
    font-weight: 400;
}

.blog-post__item-wrapper:hover .post-excerpt {
    color: #fff;
}

.load-more {
    text-align: center;
}

.load-more__btn {
    margin: 20px auto 0;
}

.blog-post__meta .image-button__cta {
    display: inline-block;
    width: 200px;
    position: absolute;
    bottom: 65px;
}

.blog-post__meta {
    padding-bottom: 50px;
}

@media (min-width: 1025px) {
    .blog-post__meta a:hover {
        color: #ff8400;
    }

    a.blog-post__tag:hover {
        background-color: #ff8400 !important;
        color: #fff;
    }

    .blog-post__item-wrapper:hover {
        background-color: #2B3549 !important;
    }

    .blog-post__item-wrapper:hover a.blog-post__date::before,
    .blog-post__item-wrapper:hover a.blog-post__img-container::before,
    .blog-post__item-wrapper:hover a.blog-post__tag::before {
        display: none;
    }

    .blog-post__item-wrapper:hover .blog-post__date {
        color: #0276A7;
    }

    .blog-post__item-wrapper:hover .blog-post__title {
        color: #fff;
    }

    .blog-post__item:hover .btn-tertiary::after {
        background: #29aaa6;
        color: #fff;
    }
}


@media (min-width: 1025px) {

    .post-item {
        padding-top: 50px;
        margin-top: 50px;
    }

}



@media(max-width : 1024px) {

    .side-no-lastest_news .widget_recent_entries,
    .side-no-dropdown .widget_categories,
    .side-no-dropdown .widget_categories,
    .side-no-dropdown .widget_archive {
        display: none !important;
    }

    .side-no-dropdown {
        margin-top: 30px;
    }
}


/**
 * Sidebar
 */

/* Blog Sidebar */

.blog .page-sidebar .widget {
    margin-bottom: 50px;
}



/**
* FX Load More
*/

/* Load More Progress Bar */
.load-more__progress {
    margin-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border: 0;
    border-radius: 0;
    min-width: 250px;
}

progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
    height: 10px;
    border: 0;
    border-radius: 0;
}

progress::-webkit-progress-bar {
    background-color: #ddd;
}

progress::-webkit-progress-value {
    background-color: #4a4a4a;
    /* TODO: Please add a branded background color for progress bar value */
}

/* Loading Indicator */
.is-loading:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid;
    border-color: #E3E3E3 #E3E3E3 transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    -webkit-animation: simpleSpin 1.5s linear infinite;
    animation: simpleSpin 1.5s linear infinite;
}

/* Load More Button */
.load-more__btn {
    border: 0;
    display: block;
    margin-top: 20px;
}

.load-more__btn.is-loading {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more__btn.is-loading:before {
    width: 20px;
    height: 20px;
}

.load-more__btn.is-disabled {
    cursor: not-allowed;
    background-color: #4a4a4a;
}

/* Placeholder Space */
.placeholder-block {
    position: relative;
    display: flex;
}

.placeholder-block__inner {
    flex-grow: 1;
    background-color: #fafafa;
}

.placeholder-block.is-loading:before {
    width: 50px;
    height: 50px;
}

@-webkit-keyframes simpleSpin {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes simpleSpin {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

/* Single Post Pagination */
.post-pagination {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin-top: 40px;
    margin-bottom: 0px;
}

.btn-post-pagination {
    background: #eaeaec;
    font-size: 15px;
    padding: 10px 20px;
    color: #747474;
    position: relative;
}

.post-pagination-text {
    display: none;
}

.btn-post-pagination:hover {
    background: #ebebeb;
}

.btn-post-pagination strong {
    display: block;
    font-size: 12px;
}

.btn-previous-post,
.btn-next-post {
    max-width: 48%;
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.btn-previous-post {
    padding-left: 40px;
}

.btn-next-post {
    padding-right: 40px;
}

.mobile-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #747474;
}

.mobile-arrow {
    position: absolute;
}

.btn-previous-post .mobile-arrow {
    left: 19px;
}

.btn-next-post .mobile-arrow {
    right: 19px;
}

.btn-previous-post .mobile-arrow:after {
    transform: rotate(180deg);
}

.news-template .blog-post__tags {
    display: none;
}

.widget_recent_entries li {
    padding-bottom: 25px;
}

.widget_recent_entries .post-date {
    display: block;
}

@media (max-width: 840px) {
    .blog-post__item-wrapper:hover .post-excerpt {
        color: #595959;
    }
}

@media (min-width: 768px) {
    .post-pagination-text {
        display: block;
    }

    .btn-previous-post,
    .btn-next-post {
        text-align: inherit;
    }
}

.page-sidebar {
    padding: 40px;
    background: #f9f9f9;
    box-shadow: 0 30px 50px rgb(0 0 0 / 10%);
}

.page-sidebar h2,
.page-sidebar h3 {
    font-size: 34px;
}

.page-sidebar .widget .container {
    padding: 0;
}

.page-sidebar .widget ul {
    padding-left: 0;
}

.page-sidebar .widget ul li {
    padding-bottom: 10px;
}

.page-sidebar .wp-block-search__button {
    display: block;
    position: relative;
    border: none;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 99px;
    line-height: 1.2em;
    background: #0276A7;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

.page-sidebar .wp-block-search__button:hover {
    background: #0276A7;
    color: #fff;
}

.social-share-row li {
    padding-left: 0;
}

.social-share-row li::before {
    display: none;
}

.single-post .wysiwyg,
.single-article .wysiwyg {
    margin-top: 25px;
}

.single-post .wysiwyg>.container-fluid,
.single-article .wysiwyg>.container-fluid {
    padding: 0;
}

.single-post .single-post-content,
.single-article .single-post-content {
    padding-right: 40px;
}

.single-post .post-title h2,
.single-article .post-title h2 {
    font-size: 34px;
    color: #2b3549;
}

.single-post .single-image,
.single-news .single-image {
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}

.single-content ol {
    margin-left: 20px;
}

.single-content ol li:before {
    left: -20px;
}

.single-post .single-image img,
.single-article .single-image img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    width: 100%;
    height: auto;
}

.single-post .page-sidebar .widget,
.single-article .page-sidebar .widget,
.archive .page-sidebar .widget,
.page-template-template-news .page-sidebar .widget,
.page-template-template-blog .page-sidebar .widget {
    margin-bottom: 25px;
}

@media (max-width:1024px) {
    .blog-post__img-container {
        max-width: 340px;
        height: auto;
        margin: 0 auto;
    }
}

@media (min-width:1600px) {

    .single-post .single-image,
    .single-article .single-image {
        margin-left: auto;
        margin-right: auto;
    }

    .single-post .single-image img,
    .single-article .single-image img {
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: center;
        object-position: center;
        width: 100%;
    }
}

p.back-to-news-page {
    width: 100%;
    display: block;
}

.page-sidebar a {
    color: #2B3549;
}

.page-sidebar a:hover {
    text-decoration: underline;
    color: #0276A7;
}

/* Search Results */
.search-result {
    text-decoration: none;
    display: block;
    margin-bottom: 0px;
    padding: 30px 10px;
    border-bottom: 1px solid #ccc;
}

.search-result p {
    color: #2B3549;
}

.search-result .btn {
    padding: 10px 60px 10px 20px;
}

.search-result .btn:after {
    line-height: 13px;
    right: 25px;
}

.search-result__title {
    margin-bottom: 16px;
}

.search-result__excerpt {
    margin-bottom: 20px;
}

.search-results h3 {
    font-size: 27px;
}

.search-results h3 a {
    background: none !important;
}

.search-results-listing-column {
    margin-bottom: 30px;
    border-bottom: 2px dashed #d1e5ed;
    padding-bottom: 30px;
}

.search-result-heading {
    font-size: 32px !important;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(72, 182, 229, 0.3);
}

.search-result-heading span {
    background-color: rgba(72, 182, 229, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
    line-height: 40px;
    display: inline-block;
}

.testimonial__image {
    margin-bottom: 15px;
    position: relative;
}

.testimonial__image img {
    aspect-ratio: 318 / 122;
}


.testimonial__image i {
    position: absolute;
    left: 9px;
    top: 9px;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial__title {
    font-size: 19px;
    padding-bottom: 8px;
    text-transform: none;
}

.testimonial__description {
    color: #2B3549;
    padding-bottom: 10px;
    flex-grow: 1;
}

.testimonial__author {
    color: #2B3549;
    font-size: 14px;
    line-height: 1.571em;
    font-weight: 700;
    padding-bottom: 10px;
}

.testimonial__cta a {
    color: #0276A7;
    font-size: 16px;
}

@media (min-width: 768px) {

    .testimonial__description {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {

    .testimonial__image i {
        top: 16px;
        left: 16px;
        font-size: 52px;
    }

}

.testimonial {
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.testimonial__details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.image-buttons {
    display: flex;
}