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

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

.post-item {
    margin-bottom: 30px;
}

.post-item a {
    border: none;
}

.blog-post__item {
    height: 100%;
    box-shadow: 0 0 20px rgba(9,36,46,0.11);
    border-radius: 16px;
    border: none;
}

.blog-post__img-container {
    position: relative;
    display: block;
    width: 100%;
    height: 210px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden;
}

.blog-post__img-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2B7FA8;
    opacity: .4;
}

img.blog-post__img {
    height: auto;
}

.blog-post__details {
    position: relative;
    height: 100%;
}

.blog-post__meta {
    display: block;
    padding: 30px 27px 60px 27px;
    text-decoration: none;
    background: none;
}

.blog-post__tags {
    padding: 20px 27px 0 27px;
}

.blog-post__tags a {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    padding: 3px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background-color: #32A6DD;
    border-radius: 4px;
    text-decoration: none;
}

.blog-post__title a {
    text-decoration: none;
}

.blog-post__date {
    color: #BABABA;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 15px;
}

.blog-post__title {
    position: relative;
    display: inline-block;
    font-size: 22px;
    line-height: 1.333em;
    font-weight: 600;
    color: #0F242E;
    padding-bottom: 12px;
    margin-bottom: 19px;
    border-bottom: 1px solid #BABABA;
    text-transform: uppercase;
}

.blog-post__title:before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    background-color: #BABABA;
    width: 8px;
    height: 8px;
    border-radius: 1px;
}

.blog-post__excerpt {
    color: #333;
    font-weight: 400;
}

.blog-post__link {
    position: absolute;
    bottom: 30px;
    color: #2B7FA8;
    font-weight: 600;
    font-size: 16px;
}

.blog-post__link::after {
    display: none;
}

.has-img .blog-post__details {
    height: calc(100% - 210px);
}

@media (min-width: 1200px) {
    .blog-post__title {
        padding-bottom: 15px;
    }

    .blog-post__item:hover {
        box-shadow: 0 0 20px rgba(9,36,46,0.2);
    }

    .blog-post__item:hover .blog-post__title {
        color: #2B7FA8;
    }

    .blog-post__tag:hover {
        background: #2B7FA8;
    }
}





/* Single Post - Blog */
.post-content__container .section-padding:first-child {
    padding-top: 0;
}

.single-post__img {
    margin: 0 auto 40px;
}




/**
 * Sidebar
 */

/* Blog Sidebar */

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

.widget_search {
    margin-bottom: 50px;
}

.wp-block-search {
    position: relative;
}

.wp-block-search__label {
    display: none;
}

.wp-block-search__button {
    position: absolute;
    top: 6px;
    right: 0;
    opacity: 0;
}

.wp-block-search__inside-wrapper:before {
    content: "\e90d";
    font-family: 'contigo-technology';
    position: absolute;
    top: 13px;
    right: 15px;
}

.wp-block-heading {
    font-size: 24px;
}

.widget_block .container, 
.widget_block .container-fluid {
    padding-left: 0;
    padding-right: 0;
}


/**
* FX Load More
*/

.blog-listing__pagination {
    text-align: center;
}

.load-more {
    margin-top: 50px;
}

/* 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: #F0F9FD;
}
progress::-webkit-progress-value {
    background-color: #32A6DD;
}

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

.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: #fff;
    opacity: .5;
}

/* 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:  transparent;
    font-size:  15px;
    padding:  10px 20px;
    color:  #2B7FA8;
    position: relative;
}

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

.btn-post-pagination:hover {
    background:  transparent;
    color: #32A6DD;
    border: 0;
}

.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 #2B7FA8;
}

.mobile-arrow {
    position: absolute;
}

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

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

.btn-previous-post .mobile-arrow:after { 
    -webkit-transform:  rotate(180deg); 
            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 {
    display: block;
    margin-bottom: 50px;
    text-decoration: none;
    border: 0;
    background: none;
}

.search-result__title {
    padding-bottom: 15px;
    font-size: 36px;
}

.search-result__excerpt {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    font-weight: 400;
}

mark {
    background-color: transparent !important;
}






/* Hovered container with links */
.blog-post__link,
.search-result__link {
    background-image: linear-gradient(#2B7FA8, #2B7FA8);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s;
}

@media (min-width: 1200px) {
    .blog-post__meta:hover .blog-post__link,
    .search-result:hover .search-result__link {
        background-size: 100% 1px;
    }
}