/**********************************************************************/
/* BLOG ***************************************************************/
/**********************************************************************/
/* #bann-home .row-bg-wrap {
    background: 
    radial-gradient(circle at 90% 50%, #f7bf33 0%, #f7bf33 20%, transparent 100%), 
    radial-gradient(circle at 60% 60%, #d60b52 0%, #d60b52 15%, transparent 100%),
    radial-gradient(circle at 70% 40%, #37a5b7 0%, #37a5b7 10%, #FFF 100%);
} */

body[data-bg-header="true"].category .container-wrap {
        padding-top: 40px !important;
}

#blog-single-post .row,
.archive.category .container.main-content>.row,
#block-blog .wpb_wrapper>.row {
    display: flex;
    flex-direction: column;
}

#blog-single-post .row .post-area.col {
    max-width: 100% !important;
}

.post-area.col {
    order: 2;
}

#sidebar {
    order: 1;
}

ul.wp-block-categories-list li ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 !important;
}

/* ul.wp-block-categories-list>li:not(.current-cat-parent),
li.current-cat-parent>a {
    display: none !important;
}*/

/* ul.wp-block-categories-list>li.cat-item-12 a {
    display: none !important;
} */

.page-id-314 ul.wp-block-categories-list>li:not(.cat-item-12),
.page-id-330 ul.wp-block-categories-list>li:not(.cat-item-13),
.page-id-332 ul.wp-block-categories-list>li:not(.cat-item-18),
.page-id-334 ul.wp-block-categories-list>li,
.page-id-545 ul.wp-block-categories-list>li,
.page-id-337 ul.wp-block-categories-list>li,
.page ul.wp-block-categories-list>li>a,
.archive ul.wp-block-categories-list>li:not(.current-cat-parent) ,
.archive ul.wp-block-categories-list>li>a {
    display: none !important;
} 

.material #sidebar .widget ul.wp-block-categories-list li a {
    padding: 12px 25px !important;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    margin: 10px;
    transform: scale(1);
    transition: all .2s ease;
    border-radius: var(--border-radius);
}

@media all and (min-width:1000px) {
    .material #sidebar .widget ul.wp-block-categories-list li a {
        letter-spacing: 1px;
    }
}

.material #sidebar .widget ul.wp-block-categories-list li a:hover {
    transform: scale(0.9);
    color: #FFF !important;
}


/*******/

.post-featured-img-wrap,
.post-featured-img-wrap img,
.post .content-inner .post-featured-img img,
.nectar-post-grid-item-bg img {
    border-radius: var(--border-radius) !important;
}

.post-content.classic .excerpt p {
    font-size: 16px;
    line-height: 26px;
}

.cat-item a {
    background: var(--color-1);
}

.cat-item-8 a,
.cat-item-14 a,
.cat-item-20 a {
    background: var(--color-2);
}

.cat-item-9 a {
    background: var(--color-3);
}

.cat-item-15 a {
    background: #82878C;
}

.cat-item-10 a {
    background: #0064C3;
}

.cat-item-11 a {
    background: #0F6E6B;
}

.cat-item-4 a {
    background: #444;
}

/* .post .content-inner .post-featured-img img {
    border-radius: 7px;
} */


/*********/

#page-header-bg h1 {
    color: #FFF !important;
}

.subheader {
    font-family: var(--font-family-txt) !important;
    display: none;
}

.category #page-header-bg p {
    font-size: var(--font-big);
    line-height: var(--line-height-big);
}

.category #page-header-bg .col.span_6 {
    max-width: 700px;
}

/**********/

.fullscreen-blog-header #single-below-header {
    margin-bottom: 0;
}

#page-header-bg[data-post-hs="default_minimal"] .inner-wrap >a, .material #page-header-bg.fullscreen-header .inner-wrap >a {
    color: #fff;
    font-weight: 600;
    border: var(--nectar-border-thickness) solid rgba(255,255,255,0.4);
    padding: 12px 15px 10px;
    margin: 5px 6px 0 5px;
    display: inline-block;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    font-size: 14px;
    line-height: 18px;
}

#single-below-header .meta-category {
    display: none !important;
}

.meta-category {
    font-size: 0;
}

.meta-category a {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    /* padding: 12px 20px 12px; */
    color: #888 !important;
    border-bottom: 2px solid #999 !important;
    margin-right: 15px;
    margin: 10px 10px 10px 0!important;
    display: inline-block;
    line-height: normal;
}

.meta-category a:hover {
    border-bottom: 2px solid;
}
.meta-category a:before {
    display: none;
}

.post-area.featured_img_left .meta-category a {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 20px 12px;
    color: #FFF !important;
    border: none;
    border-radius: 30px;
    margin-right: 15px;
    margin: 10px 10px 20px 0!important;
    display: inline-block;
    line-height: normal;
}

.post-area.featured_img_left .meta-category a:hover {
    border: none;
}

.post-area.featured_img_left .meta-category a:before {
    display: none !important;
}

.post-area.featured_img_left .meta-category a:hover:before {
    border: none !important;
}

.post a.more-link {
    display: none;
}

.post .post-content.classic .content-inner {
    border-bottom: none;
    padding: 0;
    margin-bottom: 10px;
}


.post-area  .posts-container {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #e4e4e4;
}

.post-area  .posts-container article {
    width: 100%;
    padding: 30px 0;
    border-bottom: 1px solid #e4e4e4;

}

@media all and (min-width:1000px) {
    .post-area.masonry.span_9.material .masonry-blog-item {
        width: 33%;
    }

    .post-area.masonry.span_9,
    .post-area.span_9,
    #sidebar  {
        width: 100% !important;
        margin: 0 0 5px 0 !important;
    }

    .post-area.span_9 .posts-container {
        display: flex;
        flex-wrap: wrap;
        /* justify-content: space-between; */
    }

    .post-area  .posts-container article {
        width: 33.3333%;
        padding: 30px;
        border-left: 1px solid #e4e4e4;
        border-right: 1px solid #e4e4e4;
    }
    .post-area  .posts-container article:nth-child(3n) {
        border-right: 0px solid #e4e4e4;
    }
    
    .post-area  .posts-container article:nth-child(1n) {
        border-left: 0px solid #e4e4e4;
    }
}

.post-une .post-area .posts-container article:nth-child(1n) {
    border: 1px  solid #e4e4e4!important;
}

.post-une .post-featured-img {
    display: none;
}

.post-une .post-area .posts-container {
    border-top: 0px solid #e4e4e4;

}

.post-une .post-area .posts-container article {
    padding-bottom: 15px;
}

.post-header h2,
.post-heading {
    font-size: 25px !important;
    line-height: 30px !important;
}

.post-header h2 a,
.post-heading a span {
    color: var(--color-3) !important;
}

/********/
.post .content-inner {
    padding-bottom: 0;
}

/*******************************/
.related-post-wrap .row-bg-wrap .row-bg {
    background-color: transparent !important;
}


body.single-post #ajax-content-wrap #page-header-bg[data-post-hs="default_minimal"] h1 {
    max-width: 1200px;
}
/*************************************************************/
/*************************************************************/
/*************************************************************/
/* LOOP BUILDER */
/*************************************************************/
.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button svg {
    display: none;
}

.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.next,
.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.previous {
    width: 45px;
    height: 45px;
}

.nectar-flickity[data-controls*=arrows_overlaid] .next:after, 
.nectar-flickity[data-controls*=arrows_overlaid] .previous:after {
    background: url(../img/arrows.svg) center/cover;
    position: absolute;
    height: 20px;
    margin-top: -10px;
    width: 20px;
    content: '';
    transition: none;
    display: block;
    transform: none !important;
}
 
.nectar-flickity[data-controls*=arrows_overlaid] .previous:after {
    background: url(../img/arrows-left.svg) center/cover;
}
.nectar-flickity[data-controls*=arrows_overlaid] .next:after {
    background: url(../img/arrows.svg) center/cover;
}

/* .nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button,
.nectar-flickity[data-controls*=arrows_overlaid] .next:hover:after {
    transform: none;
} */
.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.next,
.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.previous {
        top: 18%;
}

@media all and (min-width:1000px) {
    .nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.next,
    .nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.previous {
        top: 30%;
    }
}


/*************************************************************/
/*************************************************************/
/*************************************************************/
/* RELATED POST */
/*************************************************************/
body .related-posts[data-style=material] .inner-wrap {
    box-shadow: none;
}

.related-posts[data-style=material] .meta-category {
    padding: 20px 0px 0 0px;
}

.masonry.material .masonry-blog-item .article-content-wrap, .related-posts[data-style=material] .article-content-wrap {
    padding: 10px 0px 0px 0px!important;
}