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

}

.blog-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .blog-listing {
        margin-bottom: -20px;
    }
}

@media (min-width: 1200px) {
    .blog-listing,
    .blog-listing__pagination {
        padding-right: 50px;
    }
}

.blog-listing__item {
    margin-bottom: 80px;
}

.blog-single-container .wysiwyg {
    padding-top: 0;
    padding-bottom: 30px;
}

.blog-single-container .wysiwyg .container,
.blog-single-container .wysiwyg .row,
.blog-single-container .wysiwyg .row > * {
    padding: 0;
    margin: 0;
    width: 100%;
}

.widget-search form {
    position: relative;
}

.widget-search input[type=text] {
    filter: drop-shadow(2px 2px 6px rgba(4, 16, 48, 0.06));
    border: 1px solid #dfe6f0;
    border-radius: 4px;
    padding-right: 55px;
    height: 58px;
    color: #192846;
}

.widget-search [type=submit] {
    color: #192846;
    border: 1.75px solid #192846;
    background: linear-gradient(to right, #ff4500 0%, #ffa53b 100%);
    background-color: transparent;
    border-radius: 4px;
    border: 0;
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

/**
 * Sidebar
 */

/* Blog Sidebar */

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

.page-sidebar .widget .container,
.page-sidebar .widget .row,
.page-sidebar .widget .row > * {
    padding: 0;
    margin: 0;
}

.page-sidebar .widget h2 {
    font-size: 24px;
}

@media (min-width: 768px) {
    .page-sidebar .widget h2 {
        font-size: 30px;
    }
}

@media (min-width: 1200px) {
    .page-sidebar .widget h2 {
        font-size: 40px;
    }
}



/**
* FX Load More
*/

/* Load More Progress Bar */

.blog-listing__pagination {
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
}

.blog-listing__pagination .load-more__btn {
    margin-inline: auto;
}

.load-more__progress {
    margin-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border: 0;
    border-radius: 4px;
    min-width: 250px;
}
progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
    height: 10px;
    border: 0;
    border-radius: 4px; 
}
progress::-webkit-progress-bar {
    background-color: #ddd;
    border-radius: 4px; 
}
progress::-webkit-progress-value {
    background-color: transparent;
    background-image: linear-gradient(to right,#FF4500 0%,#FFA53B 51%,#FF4500 100%);
    border-radius: 4px; 
}

/* 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-image: none;
    background-color: #ccc;
}

/* 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-bottom: 20px;
}

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

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

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

.btn-post-pagination strong {
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    color: #192846;
}

.btn-post-pagination span:not(.mobile-arrow) {
    font-size: 16px;
    line-height: 1.2em;
    margin-top: 10px;
}

.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:  60px;
}

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

.mobile-arrow:after {
    content: "\e908";
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    display: block;
    font-size: 18px;
}

.mobile-arrow {
    position: absolute;
}

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

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

.btn-next-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:first-child {
    padding-top: 0;
}

.search-result {
    display: block;
    padding: 25px 0;
    border-bottom: 1px solid #DFE6F0;;
}

.search-result:hover {
    border-color: #DFE6F0;
}