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

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

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


.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-listing-container .container{
    padding-left: 20px;
    padding-right: 20px;
}   

.blog-listing__container{
    margin-bottom: 30px;
    padding-left: 0;
    padding-right: 0;
}

.blog-listing{
    display: flex;
    flex-wrap: wrap;
}

.blog-post__img-container{
    width: 100%;
    height: 250px;
    border-radius: 10px 10px 0 0 ;
    overflow: hidden;  
    border: none;  
}

.blog-post__img-container img{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.blog-post__item {
    position: relative;
    height: 100%;    
    border-radius: 10px;
    background-color: #EDF4FA;
    margin: 0 10px 15px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    transition: all 300ms ease-in-out;
}

.blog-post__item .blog-post__meta{
    background: #EDF4FA;
    transition: all 300ms ease-in-out;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.blog-post__item:hover .blog-post__meta{
    background: #D3EDFD;
    border-radius: 0 0 10px 10px;
}


.blog-post__title__link{
    background: transparent;
    font-size: 25px;
    line-height: 0.2em;
    font-weight: 500;
    text-decoration: none;
    border: none;
    color: var(--color-blue);
}

.blog-post__title__link:hover{
    color: var(--color-pale-blue);
    text-decoration: none;
}

.blog-post__tag{
    padding: 10px 15px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    background-color: #B3E0FC;
    color: #090929;
    font-family: 'DM Sans',sans-serif;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.blog-post__meta{
    padding: 23px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.blog-post__title{
    padding: 0;
    margin: 0;
    line-height: 0.9em;
    margin-bottom: 20px;
    margin-top: 17px;
}

.blog-post__excerpt {
    line-height: 1.7em;
}


.blog-post__container{
    margin-bottom: 30px;
}

.blog-listing__pagination{
    margin-top: 60px;
    margin-bottom: 30px;
}


.blog-single-featured-img{
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin-bottom: 30px;
}

.blog-single-featured-img > .bialty-container{
    margin-top: 0 !important;
}

.blog-single-featured-img img{
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
}

.blog-single-title{
    display: block;
    position: relative;
}

.blog-post__contents{
    flex: 1;
}

.blog-post__link{
    font-size: 15px;
    font-weight: 500;
    width: 112px;
    padding: 5px;
}

.blog-single-container  .bialty-container{
    margin-top: 15px;
    
}

.blog-single-container{
    padding-right: 20px;
    padding-left: 20px;
}

.blog-single-container  .wysiwyg{
    padding-top: 0;
    margin-top: 0 !important
    
}

.blog-single-container  .container{
    padding-left: 0;
    padding-right: 0;
}

.blog-single-container .col-lg-offset-1{
    margin-left: 0;
}

.blog-single-container .col-lg-10{
    width: 100%;
}

.blog-post__item-container{
    margin-bottom: 20px;
}


@media (min-width: 768px){    

    .blog-post__container{
        width: 50%;
    }

}


@media (min-width: 1025px) {

    .post-item {
        padding-top: 50px;
        margin-top: 50px;
    }


    .blog-post__item {       
        margin: 0 15px 15px;
    }

    .blog-featured-details h2{
        font-size: 40px;
        font-weight: 500;
    }

    .blog-featured__container{        
        flex-direction: row;
        padding-bottom: var(--section-margins);
    }

    .blog-featured__left,
    .blog-featured__right{
        width: 50%;
    }

    .blog-featured__left{
        padding-right: 120px;
    }

    .blog-featured-post__excerpt{
        margin-bottom: 50px;
    }

    .blog-featured__right{
        top: 0;   
        right: 0;     
        padding: 0;
        max-height: 497px;
        overflow: hidden;
        position: absolute;
        margin-top: var(--section-margins);
        margin-bottom: var(--section-margins);
    }


    .blog-fetured-post__img-container img{       
        border-radius: 10px 0 0 10px;        
    }

    .blog-single-container  .wysiwyg{
        padding-top: 0;
        padding-right: 30px;
    }


    .blog-post__item img{
        transition: all 0.2s ease-in-out;
    }
  

    .blog-post__item:hover img{
        -webkit-transform: scale(1.05);
                transform: scale(1.05);
    }

    .blog-post__link:hover{
        border: none;
    }

    .blog-post__link.btn-tertiary:hover:after{
        font-size: 20px;
        border: none;
    }

    .blog-post__link.btn-tertiary:hover{
        border: none;
    }

    .blog-post__link.btn-tertiary:hover::before{
        content: none;
    }

}


/**
 * Sidebar
 */

 .page-sidebar{
    padding-left: 20px;
    padding-right: 20px;
 }

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

 @media (min-width: 768px){    

    .page-sidebar{
        padding-left: 30px;
        padding-right: 30px;
     }

}

@media (min-width: 1025px){    

    .page-sidebar{
        padding-left: 40px;
        padding-right: unset;
     }

}

/* Blog Sidebar */

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

.widget-popular-posts a{
    border: none;
    line-height: 1.2em;
}



/**
* 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: var(--color-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%;
    -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{
    text-align: center;
}


.load-more__btn {
    border: 0;
    display: block;
    margin: 20px auto;
    transition: all 0.3s ease-in-out;
}

.load-more__btn:hover{
    background: #D9AA0E;
    color: #003262;
    box-shadow: inset 0 3px 2px rgba(168,134,18,1) ;
}

.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;
    display: none;
}

/* 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);
    }
}

/* Single Post Pagination */
.post-pagination {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.btn-post-pagination {
    background: transparent;
    font-size:  15px;
    padding:  10px 20px;
    color:  var(--color-blue);
    position: relative;
    border: none;
}

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

.btn-post-pagination:hover {
    background:  #ebebeb;
}

.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 { 
    -webkit-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 Form **/

.wp-block-search__inside-wrapper {
    padding: 0;
}

.widget-search  {
    margin-bottom: 30px;

}

.widget_search .search-form {
    display: flex;
    
}

.widget_search .search-form button{
    width: 50px;
    border: none;
    color: var(--color-white);
    background-color: var(--color-blue);
}

.widget_search .search-form input{
    padding: 5px 20px;
    border: 1px solid #eee;
    box-shadow: none;
    border-radius: 0;
}

.widget_search .search-form input:active,
.widget_search .search-form input:focus{
    border: 1px solid #eee;
    box-shadow: none;
}

.wp-block-search__inside-wrapper .wp-block-search__input{
    padding: 5px 10px;
}

.wp-block-search__inside-wrapper .wp-block-search__input:active,
.wp-block-search__inside-wrapper .wp-block-search__input:focus{
    border: none;
    box-shadow: none;
}

.wp-block-search__inside-wrapper .wp-block-search__button{
    color: var(--color-white);
    background-color: var(--color-blue);
    border: none;
}

.searchwp-live-search-result a{
    border: none;
}

.searchwp-live-search-result a:hover{
    color: var(--color-blue);
}

.searchwp-live-search-result p:hover{
    background-color: var(--color-lighter-gray);
}



/* Search Results */
.search-result {
    text-decoration: none;
    margin-bottom: 0;
    display: block;
    background: transparent;
    border: none;
    padding: 20px;
    transition: all 300ms ease-in-out;
}

.search-result:hover{
    background-color: #E4F4FE;
}

.search-result__title {
    margin-bottom: 10px;
    padding-bottom: 0;
    color: var(--color-blue);
    font-size: 27px;
}

.search-result__excerpt {
    margin-bottom: 15px;
    font-weight: normal;
}

.search-result__excerpt p:last-child{
    padding-bottom: 0;
}

.search-results-none{
    padding: 20px;
}


@media (min-width: 1024px) {

    .search-result,
    .search-results-none{
        padding: 30px;
    }
    
}