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

    Posts CSS

    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

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

@import './components/fa-spinner.css';


.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-post__item {
    width: calc(100% - 40px);
    margin: 20px;
    border-bottom: 1px solid #a4a4a4;
}

.blog-post__item:last-of-type {
    border-bottom: none;
}

.blog-wrapper {
    padding: 15px;
    height: 100%;
}

.blog-wrapper h3, .blog-wrapper .p-h3,
.blog-wrapper h5, .blog-wrapper .p-h5 {
    margin: 10px 0;
}

.blog-sidebar .searh__form {
    position: relative;
}

.blog-sidebar input[type=text] {
    width: calc(100% - 60px);
}

.blog-sidebar button[type=submit] {
    position: absolute;
    height: 100%;
    width: 60px;
    border: none;
    right: 0;
    top: 0;
}

.blog-sidebar .icon-search::before {
    color: #262A2C;
    font-size: 22px;
}

.blog-sidebar h3, .blog-sidebar .p-h3 {
    margin: 0 0 10px;
}

.blog-sidebar .widget_archive {
    margin: 20px 0;
}

.blog-sidebar select {
    width: 100%;
    height: 40px;
    background: #262a2c;
    border: none;
    color: #fff;
    padding: 0 15px;
}

.widget_categories .postform {
    height: 60px;
}

.widget_categories select {
    -moz-appearance: none;
    -webkit-appearance: none;
}

.widget_categories select::-ms-expand {
    display: none;
}

.widget_categories form {
    position: relative;
}

.widget_categories form:after {
    content: "\e905";
    font-family: 'icomoon' !important;
    position: absolute;
    color: #FC0;
    right: 20px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.blog-post__img {
    height: auto;
}

.page-sidebar .widget {
    margin: 25px 0;
}

.single-blog {
    padding-top: 80px;
}

.date-author {
    margin-bottom: 20px;
    margin-left: 22px;
}

.post-date,
.post-author {
    font-size: 16px;
    font-weight: 500;
}

.post-author {
    color: #d98e00;
}

.post-author:before {
    content: "|";
    display: inline-block;
    padding-left: 10px;
    padding-right: 16px;
    color: #484C4E;
}

.social-share-row {
    margin-top: 25px;
}

.wp-block-image img {
    height: auto;
}

@media (min-width: 1025px) {
    .post-item {
        padding-top: 50px;
        margin-top: 50px;
    }

    .blog-sidebar {
        margin-top: 70px;
    }

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

    .post-wrap {
        padding-right: 70px;
    }

}

.cta-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 4rem;
}

@media (max-width: 1025px) { 
    .cta-section.desktop--only {
        display: none;
    }
}


/**
 * Sidebar
 */

/* Blog Sidebar */

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



/**
* 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: #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:after {
    content: "\e905";
}

.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 */
.search-result {
    text-decoration: none;
}

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

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


.deals-wrap {
    padding: 48px 0px;
}

@media(min-width:768px) {
    .deals-wrap {
        padding: 60px 0px;
    }
}

@media(min-width:768px) {
    .deals-wrap {
        padding: 78px 0px;
    }
}





/* Locations */
.single-location .wysiwyg + .contact-blocks {
    margin-top: calc(-1 * var(--section-margins));
}

.brand-logos + .wysiwyg-location {
    margin-top: 0;
}


.deal-special-expired p,
.deal-special-expired a,
.deal-special-expired b,
.deal-special-expired h2,
.deal-special-expired h3,
.deal-special-expired strong,
.deal-special-expired ul li,
.deal-special-expired ul li:before {
    color: #484C4E;
    font-weight: normal;
}