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

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


.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;
}


@media (min-width: 1025px) {

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

}


/**
 * 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%;
    -webkit-transform: translate(-50%, -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% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

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

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

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

/* Single Post Pagination */
.post-pagination {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.btn-post-pagination {
    background:  #dadada;
    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);
}

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

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


/* Search Results */
.search-result {
    text-decoration: none;
}

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

.search-result__excerpt {
    margin-bottom: 20px;
}
.search-result__excerpt p {
    font-weight: 100;
    color: #585F65;
}
.search-result:hover{
    background: transparent;
}

.search-results{
    margin-bottom: 50px;
}
.blog-single-container .wysiwyg{
    padding-top: 0;
}
.blog-single-container .wysiwyg .col-lg-offset-1{

    width: 100% !important;
    margin-left: 0 !important;

}

ul li.social-share-row__item:before{
    content: unset;
}
.social-share-row__item:last-child{
    display: none !important;
}
.blog-single-container  .social-share-row{
    margin-top: 50px !important;
}
.article__wrapper{
    background: #F3F3F5;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    justify-content: flex-start;
    clip-path: polygon(0 0, 91% 0, 100% 11%, 100% 100%, 9% 100%, 0 90%);
}
.blog-post__meta{
    height: 100%;
    position: relative;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;

}
.blog-post__meta .btn {
    position: absolute;
    bottom: 0;
    right: 0;
    clip-path: polygon(8% 0%, 100% 1%, 100% 100%, 0% 100%);
  
}
.blog-post__meta .btn:after {
    content: '\e903';
    color : #004B86 ;
}
.blog-post__img-container{
    height: 250px;
}
.load-more{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.news-listing__pagination{
    margin-top: 50px;
}
.load-more__btn::after{
    content: unset;
}
.load-more__btn {
    padding: 17px 38px 17px 38px;
    background-color: #585F65;
}
.js-load-more-btn.is-disabled {
    display: none;
}
.padding-bottom-30{
    padding-bottom: 30px !important;
}
.most-popular ul{
    padding-left: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.date {
    font-size: 12px;
    color: #747474;
 
}
.event_meta{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.event_meta p {
    padding-bottom: 5px;
}
.event_meta p > span:first-child{
    margin-right: 5px;
}

.search-results{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.search-result {
    padding-bottom: 20px;
    background: transparent;
    border-bottom: 1px solid #ddd;
}

.blog-single-container:has(+.featured-buttons) {
    padding-bottom: 0;
    margin-bottom: 0 !important;
}
.blog-single-container + .featured-buttons {
    padding-top: 0;
}

.blog-single-container .sidebar {
    display: none;
}
@media (min-width: 1025px) {
    .blog-single-container .sidebar {
        display: block;
    }
} 

.no-link {
    pointer-events: none;
    cursor: default;
}

.landing-container {
    margin-top: 50px;
}

.blog-single__gallery {
    margin-bottom: 40px;
}

.blog-single__gallery .media-gallery__item-title {
    padding: 10px 20px;
    width: 100%;
    color: #fff;
}

.blog-single__gallery .media-gallery__item-link:before {
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%);
}

.single-photo-video-gallery .mfp-iframe-scaler {
    overflow: initial;
}

.single-photo-video-gallery .mfp-iframe-scaler .mfp-title {
    margin-top: 10px;
}

.post-type-archive-testimonial .blog-post__meta {
    padding: 40px;
}