/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

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

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

.single-post .wysiwyg {
    padding: 35px 15px;
    margin: -72px -20px 0;
}

@media (min-width: 768px) {
    .single-post .wysiwyg {
        padding: 35px 15px;
        margin: 0;
    }
}

.single-post .wysiwyg .row > * {
    width: 100%;
    margin: 0;
}

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

}

.featured-post {
    padding: 96px 0;
}

.featured-post h5 {
    margin-bottom: 25px;
}

.featured-post .container {
    max-width: 820px;
}

.blog-listing .col-xxs-12:not(:last-child) {
    margin-bottom: 32px;
}

.blog-post__card__link {
    text-decoration: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: none;
    display: block;
    padding: 25px 0 25px 35px;
    -webkit-box-shadow: 0px 0px 16px rgba(29, 66, 138, 0.16);
            box-shadow: 0px 0px 16px rgba(29, 66, 138, 0.16);
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
}

.blog-post__card__link .btn {
    margin-top: 25px;
}

.blog-post__card__upper {
    text-align: right;
}

.blog-post__date {
    display: inline-block;
    position: relative;
    margin-left: auto;
    font-family: 'Playfair Display',serif;
    font-weight: normal;
    font-size: 14px;
    text-align: center;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 10px 15px;
    border-radius: 0 0 5px 5px;
    position: absolute;
    right: 0;
    top: 0;
}

@media (min-width: 1200px) {
    .blog-post__date {
        padding: 5px 15px 15px;
        font-size: 40px;
    }
}

.blog-post__date span {
    display: block;
    line-height: 1;
}

@media (min-width: 1200px) {
    .blog-post__date span:last-child {
        font-size: 14px;
        margin-top: 10px;
    }
}

.blog-post__title {
    padding-right: 0;
    padding-top: 20px;
    position: relative;
}

@media (min-width: 1200px) {
    .blog-post__title {
        padding-right: 120px;
    }
}

.blog-post__title:before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    bottom: 0;
    background-color: var(--color-blue);
    opacity: 0.15;
}

.blog-post__description {
    padding-right: 35px;
    margin-top: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

@media (min-width: 1200px) {
    .blog-post__description {
        padding-right: 120px;
    }
}

.blog-post__description p {
    font-size: 16px;
    color: var(--color-charcoal);
	display: inline;
}

.blog-post__meta {
    position: relative;
}

/**
 * Sidebar
 */

/* Blog Sidebar */

.page-sidebar .widget:not(:last-child) {
	margin-bottom: 25px;
}

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

.page-sidebar {
    background-color: var(--color-white);
    padding: 20px 22px;
    margin-top: 35px;
}

@media (min-width: 768px) {
    .page-sidebar {
        padding: 45px;
    }
}

@media (min-width: 1200px) {
    .page-sidebar {
        margin-top: 0;
    }
}

.page-sidebar h3,
.page-sidebar h2 {
    font-size: 20px;
    padding: 0;
    margin-bottom: 10px;
}


.widget .container,
.widget .row,
.widget .row > * {
    margin: 0;
    padding: 0;
}

.widget h3 {
    border-bottom: 2px solid #DCE2ED;
    padding-bottom: 10px;
}

.widget ul li {
    padding: 0;
    margin: 0;
}

.widget ul li a {
    display: block;
    background: none;
    padding: 10px 0;
}

.widget ul li a:hover {
    color: var(--color-teal);
}

.widget ul li:not(:first-child) {
    border-top: 2px solid #DCE2ED;
}

.widget ul li:first-child a {
    padding-top: 0;
}

.widget ul li:before {
    display: none;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
    margin: 0;
    background-color: #F4F9FA;
    border: 0;
    position: relative;
    -webkit-transform: scale(-1, 1);
        -ms-transform: scale(-1, 1);
            transform: scale(-1, 1);
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
    padding: 15px;
}


.wp-block-search__button svg {
    fill: var(--color-teal);
    min-width: 32px;
    height: 32px;
}

.sidebar-search form {
    position: relative;
}

.sidebar-search [type=submit] {
    width: 49px;
    height: 49px;
    position: absolute;
    right: 0;
    background-color: transparent;
    border: 0;
    color: var(--color-teal);
    opacity: 1;
}

/**
* FX Load More
*/

/* Load More Progress Bar */

.load-more {
    margin-top: 50px;
    text-align: center;
}

.load-more .btn {
    margin: 20px auto 0;
}

.load-more__progress {
    margin-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    min-width: 250px;
}

@media (min-width: 768px) {
    .load-more__progress {
        min-width: 420px;
    }
}

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: var(--color-white);
}
progress::-webkit-progress-value {
    background-color: var(--color-teal); 
}

/* 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%);
    -ms-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;
    pointer-events: none;
}

/* Placeholder Space */
.placeholder-block {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.placeholder-block__inner {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            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);
    }
}

/* Single Post Pagination */
.post-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-line-pack: center;
        align-content: center;
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .post-pagination {
        margin-top: 50px;
    }
}

.btn-post-pagination {
    background:  var(--color-teal);
    font-size:  15px;
    padding:  10px 20px;
    color:  var(--color-white);
    position: relative;
    border: 1px solid var(--color-teal);
    border-radius: 4px;
}

.post-pagination-text {
    display: none;
}

.btn-post-pagination:hover {
    background-color: transparent;
    color: var(--color-black);
}

.btn-post-pagination:hover .mobile-arrow:after {
    border-left-color: var(--color-black);
}

.btn-post-pagination strong {
    display: block;
    font-size: 12px;
}

.btn-previous-post,
.btn-next-post {
    max-width:  48%;
    -webkit-box-flex:  0;
        -ms-flex:  0 0 48%;
            flex:  0 0 48%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            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 var(--color-white);
    -webkit-transition: border 0.25s ease-in-out;
    -o-transition: border 0.25s ease-in-out;
    transition: border 0.25s ease-in-out;
}

.mobile-arrow {
    position: absolute;
}

.btn-previous-post .mobile-arrow {
    left:  19px;
}

.btn-next-post .mobile-arrow {
    right:  19px;
}

.btn-previous-post .mobile-arrow:after { 
    -webkit-transform:  rotate(180deg); 
        -ms-transform:  rotate(180deg); 
            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 {
    text-decoration: none;
    background: none;
    display: block;
}

.search-result:not(:last-child) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #DCE2ED;
}

.search-result:hover {
    color: var(--color-teal);
}

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

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

@media (min-width: 1200px) {
    .search-result {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
}

.search-result__img-container {
    margin-right: 20px;
}

.search-result__content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}