/*------------------------------------*\
    
    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;
    }

}


/**
 * Single
 */
.post-single__img {
    display: block;
    margin: 0 auto;
}


/**
 * Sidebar
 */

/* Blog Sidebar */

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



/**
* FX Load More
*/
.load-more {
    padding-top: 50px;
}

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

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

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

progress::-webkit-progress-value {
    background-color: #72C267;
}

/* 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;
    margin: 20px auto 0;
}

.load-more__btn::before {
    transform: rotate(90deg);
}

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

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

/* 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);
    }
}


/* Search Results */
a.search-result,
a.search-result:hover {
    color: #5B676F;
    border-bottom: 0;
}

.search-result {
    display: block;
    margin-bottom: 40px;
}

.search-result__title {
    margin-bottom: 0;
    text-transform: capitalize;
    font-size: 38px;
}

.search-highlighted {
    background: transparent;
}

@media (min-width: 1200px) {
    .search-result {
        margin-bottom: 70px;
    }
}



/**
 * News
 */

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

.news__item {
    height: 100%;
    padding-bottom: 30px;
}

.news__item > a {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    border-radius: 10px;
    border: none;
}

.news__item > a:hover .news__item-image img {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}

.news__item-image {
    width: 100%;
    height: 132px;
    overflow: hidden;
}

.news__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    font-family: 'object-fit: cover;';
    transition: all .4s ease-in-out;
}

.news__item-content {
    position: relative;
    padding: 24px 30px 70px;
    height: calc(100% - 132px);
}

.news__item-content h4 {
    padding: 0 0 0;
    color: #4E8ABE;
    letter-spacing: unset;
}

.news__item-date {
    display: inline-block;
    text-align: center;
    color: #5B676F;
    font-size: 13px;
    letter-spacing: 0.035em;
    margin: 0 0 15px;
    background: #F0F0F0;
    font-weight: 400;
    padding: 3px 8px;
    border-radius: 100px;
}

.news__item-link {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: block;
    margin-top: 30px;
    text-align: right;
}

@media( min-width:600px ) {
    .post-grid .js-load-more-posts {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .post-grid .js-load-more-posts > .col-xxs-12 {
        width: 100% !important;
    }
}

@media (min-width:  768px) {
    .news__item-image {
        height: 180px;
    }
    .news__item-content {
        padding: 25px 32px 75px;
        height: calc(100% - 180px);
    }
    .news__item-date {
        margin: 0 0 12px;
    }
    .news__item-content h4 {
        font-size: 20px;
    }
}

@media (min-width:  768px) {
    .news__item-image {
        height: 220px;
    }

    .news__item-content {
        height: calc(100% - 220px);
        padding: 28px 30px 75px;
    }

    .news__item-date {
        margin: 0 0 15px;
    }

    .news__item-content h4 {
        font-size: 22px;
    }
}

@media( min-width:1025px ) {
    .post-grid .js-load-more-posts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}


/**
 * Location Single
 **/

.location-single .locations_map {
    height: 500px;
}

.location-single-details {
    padding-top: 40px;
}

.location-single__wrapper {
    display: flex;
    flex-direction: column;
}

.location-listing__address,
.location-listing__section {
    padding-bottom: 12px;
}

h5.location-listing__address {
    color: #394248;
}

.location-listing__section a {
    position: relative;
    display: inline-block;
    padding-left: 27px;
}

.location-listing__section a span {
    position: absolute;
    left: 0;
    top: 2px
}

@media (min-width: 768px) {
    .location-single-details {
        padding-top: 70px;
    }
}

@media (min-width: 1200px) {
    .location-single__wrapper {
        flex-direction: row;
    }

    .location-single__wrapper .locations-map__wrapper,
    .location-single__wrapper .location-single-details {
        width: 50%;
    }

    .location-single__wrapper .location-single-details {
        padding-left: 50px;
    }
}