/*------------------------------------*\
    
    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-listing-container .blog-listing > div,
.post-listing-container .post-listing > div {
    margin-bottom: 30px;
}

.blog-single-container.section-margins {
    margin-top: 20px;
}


@media (min-width: 1025px) {

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

}

.blog-post__item {
    height: 100%;
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(0, 79, 157, .37);
    display: flex;
    overflow: hidden;
    flex-direction: column;
}

.blog-post__meta {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post__meta-inner {
    padding: 24px 15px 47px;
}

.blog-post__title {
    font-size: 18px;
    color: #111D3B;
    margin-bottom: 17px;
}

.blog-post__title a {
    color: #111D3B;
}

.blog-post__date {
    background-color: var( --light-blue );
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--white);
    display: inline-block;
    top: -23px;
    position: absolute;
}

.blog-post__link {
    padding: 11px 0px 11px 11px;
    border: 1px solid rgb(242 103 39 / 15%);
    display: block;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    bottom: 0;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    overflow: hidden;
    font-weight: 500;
    transition: all ease-in-out 300ms;
    text-decoration: none;
}

.blog-post__link:hover {
    text-decoration: none;
}

.blog-post__link span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #051529;
}

.blog-post__meta .icon__wrapper {
    background-color: #F26727;
    padding: 11px;
    color: var(--white);
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    transition: all ease-in-out 300ms;
}

.blog-post__img-container {
    height: 163px;
}

.blog-post__excerpt {
    margin-bottom: 5px;
}

#block-7,
#block-9 {
    margin-bottom: 0;
}

#block-7 h2,
#block-9 h2 {
    font-size: 22px;
}

/**
 * Sidebar
 */

/* Blog Sidebar */

.blog .page-sidebar .widget,
.single .page-sidebar .widget,
.archive .page-sidebar .widget {
    margin-bottom: 20px;
}

#block-8 {
    margin-bottom: 30px;
}

.page-sidebar ul li {
    padding: 0;
}

.page-sidebar ul li a {
    text-decoration: underline;
    font-weight: 500;
}

.page-sidebar ul li::before {
    display: none;
}

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

.page-sidebar .wp-block-search input {
    height: 38px;
    position: relative;
    padding: 5px 20px;
}

.page-sidebar .wp-block-search input::placeholder {
    color: rgb(5 21 41 / 39%);
    font-size: 13px;
    font-weight: 300;
    opacity: 1;
}

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

.wp-block-search__button {
    background-color: var(--light-blue);
    color: var(--light-blue);
    position: absolute;
    right: 0;
    width: 44px;
    height: 37px;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    border: transparent;
    overflow: hidden;
}

.wp-block-search__input {
    border: 1px solid rgb(5 21 42 / 0.08%);
    box-shadow: 0 0 14px rgba(5, 21, 41, .11);
}

.wp-block-search__button::after {
    content: "\e913";
    right: 13px;
    top: 8px;
    position: absolute;
    font-family: 'icomoon';
    color: var(--white);
}

.page-sidebar .choices__inner {
    display: flex;
    align-items: center;
    vertical-align: top;
    width: 100%;
    background-color: var(--white) !important;
    padding: 7.5px 7.5px 3.75px;
    border: 1px solid rgb(5 21 42 / 0.08%);
    border-radius: 20px!important;
    box-shadow: 0 0 14px rgba(5, 21, 41, .11);
    font-size: 14px;
    min-height: 38px;
    overflow: hidden;
    height: 38px;
}

.page-sidebar .choices {
    overflow: visible;
    margin-bottom: 0;
}

.page-sidebar .choices[data-type*='select-one']:after {
    content: "\e904";
    font-family: 'icomoon';
    border: 1px solid transparent;
    width: 44px;
    height: 37px;
    font-size: 13px;
    position: absolute;
    right: 0;
    top: 1px;
    pointer-events: none;
    background-color: var(--light-blue);
    color: var(--white);
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}

.page-sidebar .choices__list--single .choices__item {
    font-size: 13px;
    color: rgb(5 21 41 / 39%);
}

@media(min-width : 1200px) {
     .blog-single-container.section-margins {
        margin-top: var(--section-margins);
    }   
}

@media(min-width : 1200px) {
    .blog-post__item:hover .blog-post__link {
        background-color: #F26727;
        color: var(--white);
    }

    .blog-post__item:hover .blog-post__link span {
        color: var(--white);
    }

    .blog-post__item:hover .blog-post__link {
        padding: 11px 0px 11px 60px;
        box-shadow: 0 0 30px rgb(242 103 39 / 41%);
    }

    .blog-post__item:hover .blog-post__meta .icon__wrapper {
        right: 50px;
        background-color: transparent;
    }
}

/**
* FX Load More
*/

/* Load More Progress Bar */
.load-more__progress {
    margin-top: 15px;
    margin-bottom: 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;
}

.blog-listing__pagination {
    margin-top: 60px;
}

.load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.location-col {
    width: 100%;
    height: 57px;
    background: #FCFDFE;
    border-radius: 43px;
    position: relative;
}

.location-col input {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0;
    font-size: 12px;
    line-height: 1em;
    color: #111D3B;
    font-weight: normal;
    border: none;
    padding: 0 70px 0 20px;
    border-radius: 46px;
}

.location-col input::placeholder {
    color: rgb(5 21 41 / 39%);
    font-size: inherit;
    opacity: 1;
}

.location-col button {
    position: absolute;
    right: 10px;
    top: 6px;
    width: 45px;
    height: 45px;
    background: var(--light-blue);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1em;
    color: var(--white);
    font-weight: normal;
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.find-location-col {
    background: rgba(229, 235, 245, 0.84);
    padding: 20px 15px 15px;
    box-shadow: 0 0 26px rgba(0, 79, 157, 0.21);
}

.find-location-col p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1em;
    padding-bottom: 14px;
    color: #051529;
}

.find-location-col .ajax-preloader {
    width: 100%;
    height: 40px;
    display: none;
    color: #004f9d;
}

.find-location-col .ajax-preloader img {
    width: 50px !important;
    height: 50px !important;
}

.test-btn {
    display: none;
}

.fx-test .test-btn {
    display: block;
}

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

    .btn-previous-post,
    .btn-next-post {
        text-align: inherit;
    }
    
    .location-col {
        height: 38px;
    }

    .location-col input {
        padding: 0 80px 0 28px;
        font-size: 15px;
    }

    .location-col button {
        right: 4px;
        top: 2px;
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
    
    .find-location-col {
        padding: 30px 20px 35px;
    }

    .find-location-col p {
        font-size: 26px;
        padding-bottom: 16px;
    }    
}

@media (min-width: 1200px) {
    .find-location-col {
        padding: 30px 20px 32px;
    }

    .find-location-col p {
        font-size: 26px;
        padding-bottom: 18px;
    }    
}
/* Search */

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

.search-result__img-container {
    max-width: 100%;
    width: 100%;
}


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

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

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


/* 
 * Service Area 
 */
.service-location-template #author-bio-box {
    display: none !important;
}