/*------------------------------------*\
    
    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-single-other-info{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.blog-single-date{
    margin-right: 10px;
}

.blog-single-date::after{
    content:'';
    padding-left: 10px;
}

.blog-single-other-info .categories a{
    margin-right: 10px;    
    color: #001830;
}

.widget-popular-posts a{
    color: #001830;
}

.blog-single-other-info .categories a:hover,
.widget-popular-posts a:hover{
    color: #2DB4CB;
}

.blog-single-content .section-padding,
.blog-single-content .container,
.blog-single-content .row>*{
    padding: 0;
}

.blog-single-content .row,
.blog-single-content .col-lg-offset-1{
    margin: 0;
}

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

.blog-single-image{
    margin-bottom: 30px;
}

.categories{
    margin-bottom: 20px;
}

.categories > span{
    font-size: 19px;
    color: var(--bg-dark-blue-green);
    margin-right: 10px;   
    height: 19px;
}

@media (min-width: 1025px) {

    .blog-single-date::after{
        content:'|';
        padding-left: 10px;
    }

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

    .blog-single-other-info{
        flex-direction: row;
    }

    .blog-single-other-info,
    .blog-single-content{
        margin-bottom: 20px;
    }

    .blog-single-content{
        margin-bottom: 40px;
    }

}

@media (max-width: 1200px) {
    .blog__main {
        flex-direction: column-reverse;
    }
}

@media (min-width: 1200px) {
    .blog__main {
        flex-direction: row;
    }
}



.boats-listing{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}


@media (min-width: 1200px) {
    .boats-listing{        
        flex-direction: row;
    }
}

/**
 * Sidebar
 */

/* Blog Sidebar */

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

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

.page-sidebar .widget + .widget {
    margin-top: 1.2rem;
}

.widget-popular-posts{
    margin-top: 30px;
}

.widget-popular-posts ul{
    list-style: none;
    padding-left: 0;
}

.widget-popular-posts ul li{
    padding: 0 !important;
    line-height: 1.2em;
}

.widget-popular-posts ul li:before{
    list-style: none;
    background: transparent;
    width: 0;
    height: 0;    
}

.wp-block-group__inner-container h2{
    font-size: 36px;
}

.widget_block.widget_search{
    margin-bottom: 30px;
}


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

/* 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{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.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;
    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 */
.blog-listing__pagination{
    margin-top: 30px;
}

.post-pagination {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.btn-post-pagination {    
    font-size:  15px;
    padding:  10px 20px;
    color:  #747474;
    position: relative;
}

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

.btn-post-pagination:hover {    
    color: #2DB4CB;
}

.btn-post-pagination:hover .mobile-arrow::after{    
    border-left: 6px solid #2DB4CB;
}

.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:  20px;
}

.btn-next-post {
    padding-right:  20px;
    text-align: right;
}

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

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

.btn-previous-post .mobile-arrow:after { 
    transform:  rotate(180deg);
}



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

    .btn-previous-post {
        text-align:  inherit;
        margin-right: auto;
    }

    .btn-next-post {
        text-align:  right;
        margin-left: auto;
    }
}


/***/
.cards {
    
}

.card-flex {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card-flex:before,
.card-flex:after {
    display: none;
}


.js-card-item {
    padding: 20px 8px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 3px 50px rgba(45,180,203,0.11);
    border-radius: 3px;
}

.card__img-wrap {
    position: relative;
    width: 100%;
    height: 186px !important;
}

.js-cards .slick-track {
    display: flex !important;
}

.js-cards .slick-slide {
    height: inherit !important;
}

.js-cards .slick-slide div {
    height: 100%;
}

.card__date {
    position: absolute;
    margin-top: -22px;
    left: 37px;
    background-color: #2DB4CB;
    border-radius: 30px;
    color: #fff;
    padding: 9px 30px;
    font-size: 16px;
    text-transform: uppercase;
    height: auto !important;
}

.card__details {
    padding: 37px 15px 40px 15px;
}

.card__title {
    font-size: 24px;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
}

.card__bottom {
    height: auto !important;
    padding: 0 15px 26px 15px;
}

.card__cta {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
    color: #2DB4CB;
    text-transform: uppercase;
    border-bottom: 3px solid #2DB4CB;
    padding: 0 5px 3px 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.card__cta:hover{
    color: #001830;
    border-bottom: 3px solid #001830;
}

.cards__bttn {
    padding-top: 12px;
}

.card__description {
    color: #001830;
}

.swipe span{
    margin-left: 3px;
}

@media (min-width: 768px) {

    .cards {
        
    }
    
    .cards .fx-slide {
        display: block;
    }

    .js-cards {
        margin: 0 -16px;
    }

    .card__date {
        position: absolute;
        margin-top: -22px;
        left: 67px;        
    }

    .js-card-item {
        padding: 24px 16px 0 16px;
    }

    .card {
        width: 100%;        
        transition: all 0.3s ease-in-out;
    }

    .card:hover {        
        box-shadow: 0 3px 50px rgba(45,180,203,0.4);
    }    

    .cards__bttn {
        padding-top: 48px;
    }
    
}

@media (min-width: 1200px) {

    .cards {
        
    }
    
    .cards__bttn {
        padding-top: 46px;
    }

    .card__img-wrap {
        height: 296px !important;
        overflow: hidden;
    }

    .card__date {
        position: absolute;
        margin-top: -22px;
        left: 15px;        
    }
    
    .card__details {
        padding: 33px 22px 15px 22px;
    }

    .card__title {
        padding-bottom: 15px;
    }

    .card {
        transition: all .3s ease-in-out;
    }

    .card:hover {        
        box-shadow: 0 3px 50px rgba(45,180,203,0.4);
    }

    .card__top{
        position: relative;
    }

    .card img{
        transition: all 0.3s ease-in-out;
    }

    .card:hover img{
        transform: scale(1.1);
    }

    
}





/* Search Results */
.search-result {
    text-decoration: none;   
    display: flex; 
    flex-direction: column; 
    margin-bottom: 40px;
}

.search-results-lists{
    margin-top: 80px;
}

.search-result__title {
    margin-bottom: 0;
    padding: 0;
}

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

.search-results-lists .tab-accordion__tabs{
    justify-content: flex-start !important;
    border-bottom: 1px solid #ccc; 
    max-width: 100%;
}

.search-results-lists .tab-accordion__tabs button{
    display: inline-block;
    font-family: 'Archivo Narrow', sans-serif;
    float: left;
    margin: 0 8px 0 0;
    padding: 0 16px;
    height: 46px;
    line-height: 46px;
    border: 1px solid #ccc;   
    border-bottom: none; 
    position: relative;
    background: #f9f9f9;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: var(--dark-gray);
}

.search-results-lists .tab-accordion__panels{
    margin: 0 !important;
    border: 1px solid #ccc !important;
    padding: 20px;
}

.search-results-lists .tab-accordion__tab.is-active{
    border-bottom: 1px solid #001830;
    background-color: #001830;
    color: white;
}


.search-results-lists .tab-accordion__panel__content{
    color: var(--dark-gray);
}


.search-result__img-container{
    width: 100%;     
    height: 173px;
    display: block;
    margin-right: 20px;
    margin-top: 30px;
}

.search-result__img-container img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.search-result-details{
    margin-top: 30px;
}

@media (min-width: 768px) {

    .search-results-lists{
        margin-top: 120px;
    }

    .search-results-lists .tab-accordion__tabs button{        
        padding: 0 30px;        
    }

    .search-results-lists .tab-accordion__panels{        
        padding: 30px;
    }

    .search-result__img-container{
        width: 100%;        
        height: 173px;
        display: block;
        margin-right: 20px;
    }

    .search-result-details{
        margin-top: 30px;
    }

}


@media (min-width: 1200px) {

    .search-results-lists{
        margin-top: 200px;
    }

    .search-result {
        text-decoration: none;   
        flex-direction: row; 
        margin-bottom: 60px;
    }

    .search-results-lists .tab-accordion__panels{        
        padding: 60px;
    }


    .search-result__img-container{
        width: 100%;  
        max-width: 173px;      
        height: 173px;
        display: block;
        margin-right: 20px;
        margin-top: 0;
    }

    .search-result__img-container img{
        display: block;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .search-result-details{
        margin-top: 0;
        padding-left: 20px;
    }

}