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

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

/* Blog Page */
.blog {
    background: #f5f5f5;
}

.post-wrapper {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 1200px) {
    .post-wrapper {
        flex-direction: column;
    }
}


/* Posts */
.blog-post__single {
    margin-bottom: 30px;
}

.blog-post__item {
    height: 100%;
    background: #fff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}

.blog-post__img-container {
    height: 200px;
    background: none;
    background-color: #f1f1f1;
}

.blog-post__img {
    margin-inline: auto;
    display: block;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: left;
       object-position: left;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    overflow: hidden;
    background-color: #f1f1f1;
}

.blog-post__img-container--contain img {
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
       object-position: center;
}

.blog-post__meta {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-radius: 3px;
}

.blog-post__tags {
    padding: 0 15px;
}

.blog-post__details {
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
    padding: 0px 15px 40px;
    background: none;
    flex-grow: 1;
}

.blog-post__tag {
    display: inline-block;
    margin-right: 5px;
    padding: 3px 11px;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    background: var(--dark-blue);
    letter-spacing: .1em;
}

.blog-post__tags {
    position: relative;
    top: -15px;
}

.blog-post__tag:hover {
    color: #fff;
    background-color: #003662 !important;
}

.blog-post__title {
    font-size: 24px;
}

.blog-post__title__link {
    color: var(--dark);
    text-decoration: none;
    background: none;
}

.blog-post__excerpt,
.blog-post__excerpt p {
    color: #555;
    font-size: 16px;
    font-weight: 400;
}

.blog-post__bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    /*width: calc(100% - 30px);*/
}

.blog-post__date {
    display: flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 2px;
    background: #eaeaea;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    margin-right: 10px;
}

@media (min-width: 768px) {

    .blog-post__excerpt,
    .blog-post__excerpt p {
        font-size: 17px;
    }
}

@media (min-width: 1200px) {

    .blog-post__item:hover {
        transform: scale(1.04);
    }

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

    .blog-post__tags {
        padding: 0 40px;
    }

    .blog-post__details {
        padding: 0px 40px 45px;
    }

}



/*
 * Featured Post 
 */
.featured-article {
    margin-top: 30px;
}

.featured-post__item {
    background: #eaeaea;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.featured-post__details {
    position: relative;
    background: #fff;
}

.featured-post__img-container {
    height: 200px;
}

.featured-post__details {
    padding: 15px 15px 40px;
}

.featured-post__tags {
    margin-bottom: 15px;
}

.featured-post__title {
    font-size: 28px;
    line-height: 1.286em;
    margin-bottom: 15px;
}

.featured-post__bottom {
    position: absolute;
    bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 30px);
}

@media (min-width: 768px) {
    .featured-post__img-container {
        height: 300px;
    }
}

@media (min-width: 1200px) {
    .featured-article {
        margin-top: 0;
        margin-bottom: 60px;
    }

    .featured-post__item {
        display: flex;
    }

    .featured-post__details {
        padding: 60px 60px 105px;
        height: auto;
    }

    .featured-post__img-container,
    .featured-post__details {
        width: 50%;
    }

    .featured-post__img-container {
        height: auto;
    }

    .featured-post__bottom {
        bottom: 60px;
        width: calc(100% - 120px);
    }
}


.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 Filter */
.blog-filter__form {
    padding: 20px 15px;
    margin-bottom: 30px;
    background: #eaeaea;
}

.blog-filter__item {
    margin-bottom: 15px;
}

.blog-filter__item {
    position: relative;
}

.blog-filter-search-button {
    position: absolute;
    right: 31px;
    bottom: 17px;
    color: var(--dark-blue);
}

.filter-submit {
    position: absolute;
    right: 18px;
    bottom: 11px;
    opacity: 0;
    z-index: 1;
}

@media (min-width: 1200px) {
    .blog-filter__form {
        display: flex;
        padding: 44px 53.5px;
        margin-bottom: 50px;
    }

    .blog-filter__item {
        padding-left: 16.5px;
        padding-right: 16.5px;
        margin-bottom: 0;
        width: 33.33%;
    }
}


/**
 * Sidebar
 */

/* Blog Sidebar */

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

.widget_search {
    position: relative;
    margin-bottom: 30px;
}

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

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

.wp-block-search:before {
    content: "\e90a";
    font-family: "iconmoon";
    color: var(--light-blue);
    position: absolute;
    right: 10px;
    bottom: 11px;
    font-size: 18px;
}

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


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

progress::-webkit-progress-value {
    background-color: var(--dark-blue);
}

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

/* Load More Button */
.load-more {
    text-align: center;
}

.load-more__btn {
    border: 0;
    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: #4a4a4a;
}

.btn.load-more__btn:after {
    content: "\e900";
}

/* 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% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes simpleSpin {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        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-size: 4px 100%;
}

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

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

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


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

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

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

.search-highlighted {
    padding: 0;
    background: transparent;
}

.search-result__excerpt,
.search-result__excerpt p {
    color: #555;
    font-size: 16px;
    font-weight: 400;
}

@media (min-width: 768px) {

    .search-result__excerpt,
    .search-result__excerpt p {
        font-size: 17px;
    }
}

@media (min-width: 1200px) {
    .search-result {
        margin-bottom: 40px;
    }
}



.blog-partner {
    margin-bottom: 40px;
}

.partner-single__item .image-button__img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 82px;
}

.partner-single__item .image-button__img img {
    max-width: 200px;
    width: auto;
    height: auto;
}

.partner-single__item .image-button {
    height: 226px;
    display: block;
    margin-bottom: 30px;
}

.brand-single .image-button__img img {
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
    height: 100%;
}



@media(min-width:0px) and (max-width:767px) {
    .partner-single {
        width: 100%;
    }

    .partner-single .image-button .image-button__img,
    .partner-single .image-button .image-button__hover {
        width: 100%;
    }

    .partner-single .image-button .image-button__img {
        height: 160px;
        padding-bottom: 0;
    }

    .partner-single .image-button__hover {
        position: absolute;
        width: 100%;
        left: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.64);
        text-align: center;
        padding: 20px 10px;
        z-index: 1;
        transition: all .5s;
    }

    .partner-single .image-button__title::after {
        display: none;
        content: none;
    }

    .partner-single .image-button__title {
        color: #fff;
    }
}

@media(min-width:600px) and (max-width:767px) {
    .partner-single {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .brand-single .image-button__img {
        display: flex;
        padding: 10px 10px 60px;
    }

    .brand-single .image-button__img img {
        margin: auto;
        width: auto;
        height: auto;
        max-width: 200px;
    }
}

@media (min-width: 1200px) {
    .brand-single .image-button__img {
        padding: 15px 15px 95px;
    }
}




/* Gas Hierarchy */
.gas-listing-container>.gas-container>.gas-hierarchy {
    margin-bottom: 40px;
}

.parent-gas-hierarchy {
    text-align: center;
    margin-bottom: 20px;
}

ul.gas-container {
    padding-left: 0;
}

li.gas-hierarchy {
    margin-bottom: 0;
}

li.gas-hierarchy:before {
    display: none;
}

li.gas-hierarchy ul.gas-container {
    display: flex;
    justify-content: center;
}

li.gas-hierarchy ul.gas-container .gas-hierarchy {
    width: 100%;
}

.gas-single__item {
    max-width: 419px;
}

h3.child-gas-hierarchy {
    padding-bottom: 5px;
}

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

@media (min-width: 768px) {
    li.gas-hierarchy ul.gas-container .gas-hierarchy {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    li.gas-hierarchy ul.gas-container .gas-hierarchy {
        width: 33.33%;
    }
}

.brand-single-container {
    margin-bottom: 0;
}