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

    Posts CSS

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

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

.post__meta {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.post__date, .post__tags {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 400;
    color: #231F20;
    align-items: center;
}

.post__meta span {
    font-size: 14px;
    font-size: 14px;
    color: #231F20;
}

.post__content .post__meta + .section-padding {
    padding-top: 0!important;
}

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

.blog-single-container .wysiwyg .container,
.blog-single-container .wysiwyg .container-fluid {
    padding: 0;
}

.blog-single-container .wysiwyg + .post-pagination {
    margin-top: 30px;
}

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

/**
 * Sidebar
 */

/* Blog Sidebar */

.page-sidebar {
    padding-top: 50px
}

.page-sidebar.hidden-md-up {
    padding: 0;
}

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

.page-sidebar .widget h2::before {
    display: none;
}

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

.page-sidebar .widget_search form {
    position: relative;
}

.page-sidebar .wp-block-search__inside-wrapper input {
    padding: 10px 40px 10px 10px;
}

.page-sidebar .wp-block-search__inside-wrapper input::placeholder {
    opacity: 1;
    color: #065AA3;
}

.page-sidebar .wp-block-search__inside-wrapper button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0,-50%);
    cursor: pointer;
    font-size: 19px;
    font-weight: 400;
    line-height: 1em;
    color: #065AA3;
    width: auto;
    height: auto;
    border: none;
    background: transparent;
}

.news-events-feed .widget_categories,
.single-news .widget_categories,
.news-events-feed #block-3,
.single-news #block-3 {
    display: none;
}

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

.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 */
@media (min-width: 1200px) {
    .search-section {
        padding-bottom: 200px;
    }
}

.search-section .load-more {
    text-align: center;
}

.search-section .load-more__btn {
    margin: 0 auto;
}

.search-result {
    text-decoration: none;
    margin-bottom: 50px;
    display: block;
    padding-bottom: 50px;
    background: transparent!important;
    border-bottom: 1px solid #ddd;
}

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

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

/* Image Buttons */

.blog-post__item {
    margin-bottom: 50px;
}

.image-button-item {
    padding: 16px;
}

.image-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    transition: transform .2s linear;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,24,48,0.10);
    background: none;
}

.image-button:hover {
    background: #DFECF5;
}

.image-button__details {
    padding: 25px 25px 5px 25px;
}

.image-button__bottom {
    padding: 0 25px 5px 25px;

}

.image-button__image {
    height: 184px !important;
    position: relative;
    overflow: hidden;
}

.image-button__image a {
    background: none;
}

.image-button__image img {
    -o-object-fit: cover;
    object-fit: cover;
}

.image-button__title {
    padding-bottom: 15px;
    margin: 0;
    font-size: 16px;
    color: #5F7080;
    line-height: 22px;
    font-family: "Open Sans",sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.image-button__title a {
    font-size: 16px;
    color: #5F7080;
    background: none;
}

.image-button__description {
    font-size: 16px;
    line-height: 24px;
}

.image-button__description a {
    color: #5F7080;
    background: none;
    font-weight: 300;
}

.image-button__meta {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.image-button__date {
    letter-spacing: -0.5px;
}

.image-button__date,
.image-button__tags {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 400;
    color: #231F20;
    align-items: center;
}

.image-button__tag {
    background: none;
    border-bottom: 1px solid #065AA3;
}

.image-button__image img.placeholder-image {
    -o-object-fit: contain;
    object-fit: contain;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .image-button__title {
        padding-bottom: 10px;
    }

    .image-button__title a {
        font-size: 20px;
    }
}

@media (min-width: 1025px) {
    .page-sidebar {
        padding-top: 0
    }
}

@media (min-width: 1200px) {
    .image-button__image {
        height: 265px !important;
    }

    .image-button__details {
        padding: 34px 44px 10px 44px;
    }

    .image-button__bottom {
        padding: 0 44px 30px 44px;
    }
}

@media (min-width: 1600px) {
    .image-button__details {
        padding: 20px 26px 10px 26px;
    }

    .image-button__bottom {
        padding: 0 26px 20px 26px;
    }
}

/* Product Collection Buttons */

.product-collection-buttons {
    position: relative;
    z-index: 2;
}

.product-collection-button-items {
    justify-content: center;
}

.product-collection-button-item {
    margin-top: 15px;
}

.product-collection-button {
    display: block;
    height: 222px;
    position: relative;
    box-shadow: 0 5px 16px rgba(50,56,62,0.1);
}

.product-collection-button__title {
    margin: 0;
    padding: 0;
    font-size: 27px;
    color: #fff;
    line-height: 1.333em;
}

.product-collection-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom,  rgba(16,56,90,0) 0%,rgba(6,90,163,0) 35%,rgba(6,90,163,0.9) 70%,rgba(0,31,59,1) 100%);
    transition: all ease-in-out 0.3s;
}

.product-collection-button__details {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 18px 25px;
}

.product-collection-button__pattern {
    display: none;
    transition: all ease-in-out 0.3s;
}

@media (min-width: 768px) {
    .product-collection-button-item {
        margin-top: 20px;
    }
}

@media (min-width: 1200px) {
    .product-collection-button-item {
        margin-top: 0;
    }

    .product-collection-button {
        height: 327px;
    }

    .product-collection-button::before {
        background: linear-gradient(to bottom,  rgba(16,56,90,0) 0%,rgba(6,90,163,0) 65%,rgba(6,90,163,0.9) 85%,rgba(0,31,59,1) 100%);
    }

    .product-collection-button__details {
        padding: 32px 50px;
    }

    .product-collection-button__title {
        font-size: 28px;
        line-height: 1.35em;
    }

    .product-collection-button__cta {
        display: none;
        margin-top: 2px;
    }

    .product-collection-button__cta,
    .product-collection-button__cta:hover {
        color: #fff;
    }

    .product-collection-button:hover::before {
        background: linear-gradient(to bottom,  rgba(16,56,90,0.35) 0%,rgba(6,90,163,0.6) 85%,rgba(0,31,59,1) 100%);
    }

    .product-collection-button:hover .product-collection-button__cta {
        display: block;
    }

    .product-collection-button__pattern {
        position: absolute;
        right: 0;
        display: block;
        bottom: 0;
        opacity: 0;
    }

    .product-collection-button:hover .product-collection-button__pattern {
        opacity: 1;
    }

    .product-collection-button__details {
        padding: 25px 35px;
    }

    .product-collection-button-item {
        padding: 16px;
    }
}