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

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

.blog-listing__row {
    flex-direction: column-reverse;
}

.blog-post__column + .blog-post__column {
    margin-top: 30px;
}

.blog-post__item {
    height: 100%;
}
.search-highlighted{
    padding: 0;
}

.blog-post__item > a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    transition: all .3s;
    background: var(--color-white);
    box-shadow: 0 0 20px rgba(3,57,108,0.23);
    width: 100%;
    margin: 0 auto;
    transition: background .35s ease-in-out, transform .2s ease-in-out;
}

.blog-post__item > a {
    background: none;
}

.blog-post__item > a::after {
    display: none
}

.blog-post__img-container {
    background: var(--color-white);
    flex: 1 0 auto;
    height: 189px;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
}

.blog-post__img-container.no-img {
    background: #e7e7e7
}

.blog-post__img-container.no-img img {
    object-fit: contain
}

.blog-post__body {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 25px;
}

.blog-post__meta {
    font-size: 12px;
    color: var(--color-gray);
    padding: 0 0 8px 0;
    font-weight: 500;
    text-transform: none;
}

.blog-post__tags {
    line-height: 16px;
}

.blog-post__tag {
    color: var(--color-secondary);
    font-size: 12px;
    line-height: 1.5em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 4px
}

.blog-post__title {
    color: var( --color-darker-blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.444em;
    padding-top: 0
}

.blog-post__link {
    margin-top: auto;
}

/* Featured Post Section */

.blog-featured__row {
    box-shadow: 0px 0px 20px rgba(3, 57, 108, 0.23);
}

.blog-featured-container {
    background: var(--color-white-100);
}

.blog-featured-container .blog-post__body {
    background: var(--color-white);
}

.blog-post__featured-img {
    background: var(--color-white);
    border: 0;
    display: block;
    height: 100%;
}

.blog-post__featured-img.no-img img {
    object-fit: contain;
}

@media (min-width: 768px) {

    .blog-post__column + .blog-post__column {
        margin-top: 0;
    }

    .blog-post__column:nth-child(n+3) {
        margin-top: 30px;
    }

}

@media (min-width: 1025px) {
    .blog-listing__row {
        flex-direction: row;
    }
}

@media ( min-width: 1200px ) {
    .blog-post__item > a:hover {
        background: #011F4B;
        transform: translate3d(0,-5px,0);
    }

    .blog-post__item > a:hover * {
        color: var(--color-white);
    }

    .blog-featured-container .blog-post__body {
        padding: 40px 50px;
    }
    .search-highlighted{
        padding: 0.2em;
    }
}

/**
 * Sidebar
 */

 .page-sidebar .widget + .widget {
	margin-top: 24px;
}

.page-sidebar .widget ul {
    margin-left: 0;
}

 .widget_search form {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    width: 100%;
    height: 60px;
    border: 1px solid #ebebeb;
    background: var(--color-white);
}

.widget_search input {
    background: #E8EDF1;
    border: 0;
    color: var(--color-gray);
    height: 100%;
    font-size: 18px;
    font-weight: 500;
    order: 2;
    padding: 0;
    padding-left: 15px;
    padding-right: 15px;
}

.widget_search input::placeholder {
    color: var(--color-black);
}

.widget_search input:focus,
.widget_search input:active {
    border: 0;
}

.widget_search button {
    order: 1;
    background: var(--color-primary);
    border: 0;
    color: var(--color-white);
    font-size: 22px;
    height: 100%;
    line-height: 1;
    padding: 0px 15px;
    -webkit-appearance: none;
    appearance: none;
    transition: color .35s ease-in-out;
}

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

.page-sidebar .widget >  h3 {
    background: var(--color-secondary);
    color: var(--color-white);
    margin-bottom: 0;
    padding: 2px 10px;
}

.page-sidebar .widget {
    border: 1px solid #ebebeb;
}

.page-sidebar .widget > ul {
    padding-bottom: 10px;
    padding-top: 10px;
}

.page-sidebar .widget > ul > li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-right: 10px;
}

.page-sidebar .widget > ul > li:last-child {
    margin-bottom: 0;
}

.page-sidebar .widget > ul > li + li {
    border-top: 1px solid #ebebeb;
}

.page-sidebar .widget > ul > li::before {
    font-size: inherit;
    left: 15px;
    top: 7px;
}
.blog-post__img-container.no-img img{
 max-width: 200px;
}
.blog-post__img-container.no-img{
    text-align: center;
}

/*
** Single Post Template
*/

.blog-single-container .wysiwyg,
.blog-single-container .wysiwyg .container,
.blog-single-container .wysiwyg .container > .row,
.blog-single-container .wysiwyg .container > .col-xxs-12 {
    padding: 0;
}

.blog-single-container .wysiwyg .container {
    max-width: none;
}

.blog-single-container .wysiwyg .col-sm-offset-1 {
    margin-left: 0;
    width: 100%;
}

.blog-single-container .single-post__meta {
    border-bottom: 1px solid var(--color-white-100);
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px;
    opacity: 0.80;
}

.single-post-thumbnail {
    box-shadow: 0 0 20px rgba(3,57,108,0.23);
    margin-bottom: 40px;
    position: relative;
}

.single-post-thumbnail img {
    position: relative;
}

.single-post-thumbnail .sub-heading {
    position: absolute;
    background: var(--color-white);
    padding: 10px;
    bottom: 0;
    z-index: 1;
}

.single-post-thumbnail .single-post__meta {
    background: var(--color-blue);
    border: 0;
    color: var(--color-white);
    padding: 7px 20px 7px 12px;
    opacity: 1;
    position: absolute;
    right: -5px;
    z-index: 1;
}

.single-post-thumbnail .single-post__meta-inner {
    position: relative;
    z-index: 1;
}

.single-post-thumbnail .single-post__meta::before {
    content: '';
    background: var(--color-blue);
    height: 101%;
    position: absolute;
    top: 0;
    left: -15px;
    -webkit-transform: skewX(30deg);
    transform: skewX(30deg);
    width: 20%;
}

.single-post-thumbnail svg {
    position: absolute;
    bottom: -20px;
    left: -20px;
    z-index: -1;
}

/*
**  
*/

.post-footer {
    border-top: 1px solid rgba(41,48,84,0.20);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

/* Single Post Pagination */
.post-footer {
    border-top: 1px solid rgba(41,48,84,0.20);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.post-pagination {
    border-top: 1px solid rgba(41,48,84,0.20);
    margin-top: 5rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-content: center
}

.btn-post-pagination {
    background: #EBEBEB;
    font-size: 15px;
    padding: 10px 20px;
    color: var(--color-black);
    position: relative;
    transition: background .3s ease-in-out;
}

.pagination-arrow {
    font-size: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%)
}

.pagination-arrow-prev {
    left: 15px
}

.pagination-arrow-next {
    right: 15px
}

.post-pagination-text {
    display: none
}

.btn-post-pagination strong {
    font-size: 12px;
    font-weight: 700;
}

.btn-previous-post,
.btn-next-post {
    max-width: 48%;
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}

.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 var(--color-black);
}

.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 {
    background: transparent;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    border-bottom: 0;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.search-result.no-thumbnail .search-result__body {
    flex: 0 0 100%;
}

.search-result:hover {
    text-decoration: none;
}

.search-result + .search-result {
    margin-top: 2rem;
}

.search-result__img-container img {
    height: auto;
}

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

.search-result__excerpt p {
    color: var(--color-black-100);
    padding-bottom: 0;
}

.searchwp-live-search-result a {
    display: inline-block !important;
    text-decoration: none;
}

.search-result__title {
    color: var(--color-secondary);
    font-size: 34px;
    line-height: 1.2;
    text-transform: none;
}

.search-result + .search-result {
    border-top: 1px solid var(--color-white-100);
    padding-top: 35px;
}