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

.blog-item{
    box-shadow: 0 3px 15px rgb(0 0 0 / 10%);
    border-radius: 5px;
}

.blog-item-container{
    margin-bottom: 30px;
}

@media (min-width: 1025px) {

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

    

}


/**
 * Sidebar
 */

/* Blog Sidebar */

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

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

.page-sidebar .widget a {
    transition: var(--transition);
}

.page-sidebar .wp-block-search__button {
    position: relative;
    overflow: hidden;
    width: 60px;
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-sidebar .wp-block-search__button:before {
    content: '\e912';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 47px;
    background: var(--white);
}

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


/**
* 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: #155293; 
}

/* 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%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: simpleSpin 1.5s linear infinite;
    -moz-animation: simpleSpin 1.5s linear infinite;
    -ms-animation: simpleSpin 1.5s linear infinite;
    -o-animation: simpleSpin 1.5s linear infinite;
    animation: simpleSpin 1.5s linear infinite;
}

/* Load More Button */
.load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 40px;
}

.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;
    display: none;
}


.hidden{
    display: none !important;
}

.terms-separator{
    color: #5E91C9;
}

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

.btn-post-pagination {
    background:  none;
    font-size:  15px;
    padding:  10px 20px;
    color:  #155293;
    position: relative;
    border-radius: 4px;
    border: 1px solid #155293;
}

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

.page-sidebar #block-9,
.page-sidebar #block-10 {
    margin-bottom: 0;
}

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

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

/* BLOG RESULT */



.blog-listing a,
.post-listing a {
    color: var(--sky-blue);
    transition: var(--transition);
    text-decoration: none;
    background: none;
}

.blog-listing a:hover,
.post-listing a:hover {
    color: var(--dark-blue);
}

.blog-post__link {
    position: relative;
    padding: 0 25px 5px 0;
    font-weight: 600;
    display: inline-block;
    position: relative;
    background: linear-gradient( to right, rgb(94 145 201 / 40%), rgb(94 145 201 / 40%) ), linear-gradient( to right, rgb(94 145 201 / 40%), rgb(0, 53, 106), rgb(0 32 65) );
    background-size: 100% 2px, 0 2px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;
}

.blog-post__link::after {
    content: '\e911';
    font-family: 'icomoon';
    position: absolute;
    right: 0;
    top: 3px;
    font-size: 15px;
    font-weight: 400;
    transition: all ease 0.3s;
}

.blog-post__link:hover::after {
    right: -9px;
}

.blog-post__img-container {
    margin-bottom: 20px;
    width: 100%;
    max-height: 140px;
    height: 100%;
}



.blog-post__img-container img{
    object-fit: cover;
    width: 100%;
    height: 140px;
}

.blog-listing .blog-post__item,
.post-listing .blog-post__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 10%);
    border-radius: 5px;
    margin-bottom: 20px;
}

.blog-post__title__link{
    font-size: 24px;
    line-height: 0.7em;
    text-decoration: none;
    background: none;
}

.post-hero-container{
    display: block;
}

.post-hero-description{
    font-weight: normal;
    font-style: italic;
    font-size: 14px;
    margin: 5px 0;
}


.blog-listing .blog-post__meta,
.post-listing .blog-post__meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: auto;
    padding: 0 20px;
}

/**/

.blog-single-container .wysiwyg{
    padding: 40px 0;
}

.blog-single-container .col-md-10{
    width: 100%;
}


.blog-single-container .col-md-offset-1{
    margin: 0;
}


/* Search Results */
.search-result {
    text-decoration: none;
    margin-bottom: 30px;
    display: block;
    background: none;
}

.search-result-container{
    display: flex;
    flex-direction: column;
}

.search-result__img-container{
    margin-right: 0;
    display: block;
    position: relative;
    max-width: 100%;
    max-height: 140px;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}

.search-result__title {
    padding-bottom: 6px;
}

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

.search-result__img{
    object-fit: cover;
    width: 100%;
    height: 130px;
}

@media (min-width: 768px) {

    .search-result {
        text-decoration: none;
        margin-bottom: 30px;
        display: block;
        background: none;
    }

    .search-result-container{
        display: flex;
        flex-direction: row;
    }

    .search-result__img-container{
        margin-right: 30px;
        display: block;
        position: relative;
        max-width: 150px;
        max-height: 120px;
        width: 100%;
        height: 100%;
        margin-bottom: 0;
        padding-top: 10px;
    }

    .search-result__title {
        padding-bottom: 6px;
    }

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

    .search-result__img{
        object-fit: cover;
        width: 150px;
        height: 120px;
    }

}


@media (min-width: 1024px) {

    .search-result {
        text-decoration: none;
        margin-bottom: 30px;
        display: block;
        background: none;
    }

    .search-result-container{
        display: flex;
        flex-direction: row;
    }

    .search-result__img-container{
        margin-right: 30px;
        display: block;
        position: relative;
        max-width: 200px;
        max-height: 170px;
        width: 100%;
        height: 100%;
        margin-bottom: 0;
    }

    .search-result__title {
        padding-bottom: 6px;
    }

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

    .search-result__img{
        object-fit: cover;
        width: 200px;
        height: 170px;
    }

}