.modern3 .entry-header>a {
    color: #222222;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ctemplate-modern3.archive .site-content {
    flex-direction: column;
}

 

.ctemplate-modern3 .c-posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 95%;
    margin: auto;
    border-top: 1px solid #F3F0F0;
    padding-top: 10px;
    padding-bottom: 10px;

}

.ctemplate-modern3 .nx-paged {
    width: 100%;
}

.ctemplate-modern3 .f-end select {
    font-size: 13px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px #ddd;
    border-radius: 12px;
    box-shadow: 6px 6px 21px rgb(213 213 213 / 41%), -6px -6px 21px rgb(235 235 235 / 39%);
    margin-right: 10px;
    margin-left: 10px;
    padding-left: 10px;
    background: #fff;
    padding: 0 15px;
    line-height: 50px;
    height: 45px;
    text-align: center;
}

.ctemplate-modern3 .f-end {
    text-align: center;
    justify-content: center;
}

.keen-slider__slide div {
    font-size: 12px;
}

.kdots:empty {
    display: none;
}

 
.m3slide-wrapper .keen-side .ccslider.spc {
    justify-content: space-evenly;
}

.m3slide-wrapper.side-wrapper:not(.m3slide-empty){

    border-bottom: 1px solid #f3f0f0 !important;
}

.blog_bc {
    margin-bottom: 0 !important;
}

 

.m3-wrapper.side-wrapper, .m3slide-wrapper {
    border-top: 1px solid #F3F0F0;
}


.m3-wrapper img.attachment-full, .m3slide-wrapper img.attachment-full {
    opacity: 0.5;
    width: 26px;
}

.hamburger svg {
    max-width: 20px;
    margin-left: 5px;
}

a.nxcat-slide:hover, .m3-wrapper a.nxcat-slide:active, .m3slide-wrapper a.nxcat-slide:active {
    opacity: 0.8;
}
.cat-filters-container h2 {
    font-size: 17px;
}

.modern3 .entry-header h2.entry-title-m3,
.modern3 .entry-header .entry-title-m3 {
    font-weight: 500;
    font-size: 17px !important;
}
.ctemplate-modern3.single .cat-atts {
    color: #222222 !important;
    font-size: 16px !important;
}

.ctemplate-modern3.archive .cat-atts {
    font-size: 13px;
    color: #717171;
}

.ctemplate-modern3.archive .cat-atts .a_ico>svg {
    width: 16px;
    max-width: 16px;
    position: absolute;
    bottom: 1px;
}

.modern3 .entry-title-m3 {
    margin: 10px 0;
    letter-spacing: 0;
}

.modern3 .ad_listing_post img {
    background-color: white;
    border-radius: 8px;
    cursor: pointer;
}

article.ad_listing_post {
    transition: all 0.5s ease;
    border-radius: 0;
    border: solid 1px transparent;
}

.nx-disable-slider .cat-wrapper.nx-bc {
    border-bottom: 1px solid #F3F0F0;
}
 /*
article.ad_listing_post:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
 
    border-radius: 20px;
    transform: scale(1.015);
    transform-origin: center;
    background: white;
    position: relative;
    z-index: 1;
}*/
article.ad_listing_post:hover .entry-header a{
    text-decoration: underline
}

article.ad_listing_post img {
    transition: all .5s ease; 
}

article.ad_listing_post:hover img {
    border-color: #acacac;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.widget_categorytree_widget .widget-title, .cat-filters-container h2 {
    font-weight: 600;
}

@media (min-width: 767px) {
    .widget_categorytree_widget {
        margin-bottom: 30px;
    }
}
.widget.widget_categorytree_widget  ul.field-cat-wrap li {
    margin-bottom: .5em;
}

.inside-article-catalog-col {
    display: flex;
    flex-direction: column;
    max-width: 375px;
    width: 100%;
}

.m3-wrapper, .m3slide-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*  max-width: 95%; */
    margin: auto;
}


.m3-wrapper article.ad_listing, .m3slide-wrapper article.ad_listing {
    margin: 0;
}

.m3-wrapper .inside-article-catalog-col, .m3slide-wrapper .inside-article-catalog-col {
    padding: 10px;
}



@media (min-width: 1680px) {
    .m3-wrapper>article, .m3slide-wrapper>article, .ctemplate-modern3 .c-posts>article {
        width: 25%;
    }
    .tax-no-side .m3-wrapper>article, .tax-no-side .m3slide-wrapper>article, .tax-no-side .ctemplate-modern3 .c-posts>article {
        width: 16.66666667%;
    }
}

@media (min-width: 1450px) and (max-width: 1680px) {
    .m3-wrapper>article, .m3slide-wrapper>article, .ctemplate-modern3 .c-posts>article {
        width: 25%;
    }
    .tax-no-side .m3-wrapper>article, .tax-no-side .m3slide-wrapper>article, .tax-no-side .ctemplate-modern3 .c-posts>article {
        width: 20;
    }
}

@media (min-width: 980px) and (max-width: 1450px) {
    .m3-wrapper>article, .m3slide-wrapper>article, .ctemplate-modern3 .c-posts>article {
        width: 33.33%;
    }
    .tax-no-side .m3-wrapper>article, .tax-no-side .m3slide-wrapper>article, .tax-no-side .ctemplate-modern3 .c-posts>article {
        width: 25%;
    }
}

@media (min-width: 640px) and (max-width: 980px) {
    .m3-wrapper>article, .m3slide-wrapper>article, .ctemplate-modern3 .c-posts>article {
        width: 33.33%;
    }
}

@media (min-width: 440px) and (max-width: 640px) {
    .m3-wrapper>article, .m3slide-wrapper>article, .ctemplate-modern3 .c-posts>article {
        width: 50%;
    }

    .swrapper {
        display: inline-block;
    }
}

.m3-wrapper .keen-side {
    max-width: calc(100% - 170px);
    padding: 0 25px 0 0;
}

@media (max-width: 440px) {
    .m3-wrapper article.ad_listing, .ctemplate-modern3 .c-posts>article {
        margin: 0 auto;
        max-width: 100%;
    }

    .m3-wrapper .swrapper, .m3slide-wrapper .swrapper {
        display: inline-block;
        width: 100%;
    }

    .m3-wrapper .keen-side, .m3-wrapper, .m3slide-wrapper .keen-side, .m3slide-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 980px) {
    .m3-wrapper article.ad_listing, .m3slide-wrapper article.ad_listing {
        width: 100%;
    }

   
}

.tax-ad_cat.ctemplate-modern3 .container.grid-container {
    max-width: 100%;
}

.keen-side {
    position: relative;
}

.modern3 .arrow, .m3slide-wrapper .arrow {
    fill: #4a4a4a;
    background: white;
    border-radius: 15px;
    border: solid 1px #4a4a4a;
    padding: 7px;
    opacity: 0.5;
    box-shadow: 0 0 0 1px transparent, 0 0 0 4px transparent, #2b2b2b;
    transition: all .6s ease-in-out;
    width: 25px;
    height: 25px;
}


.modern3 .navigation-wrapper .arrow {
    /*, .m3-wrapper .arrow:not(.arrow--right)*/
    opacity: .1;
    visibility: hidden;
}

.keen-side .arrow {
    top: 35%;

}

.nx-ico-cat {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
}


.side-wrapper:not(.keen-active) .arrow {
    display: none;
}

.modern3 .arrow--disabled, .m3-wrapper .arrow--disabled {
    display: none;
}

.modern3 .arrow:hover, .m3-wrapper .arrow:hover {
    opacity: 1;
    visibility: visible;
}

.modern3 .navigation-wrapper:hover .arrow:not(.arrow--disabled), .keen-side:hover .arrow:not(.arrow--disabled) {
    visibility: visible;
    opacity: .8;
    z-index: 2;
}

/*
.keen-side:hover.keen-start:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 50px;
    background: linear-gradient(-280deg, white, transparent);
    z-index: 1;
}
*/
.breadcrumb {
    overflow: auto;
    white-space: nowrap;
    padding-bottom: 5px;
}

.modern3 .nx_breadcrumb {
    max-width: 100%;
    margin: auto;
}

.modern3 ul.nx_breadcrumb, .breadcrumb li {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.2px;
    color: #8f8f8f;
    margin-bottom: 5px;
}

.modern3 .nx_breadcrumb a {
    text-decoration: none;
    color: #8f8f8f;
}

.ctemplate-modern3 .ctop-m3 {
    flex-direction: row;
}

.ctemplate-modern3 .ctop-m3 .entry-header {
    width: 100%; /*calc(100% - 50px);*/
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-wrapper .ccslider .keen-slider__slide a.nxcat-slide>.inner-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m3cat-name {
    display: block;
    white-space: nowrap;
}

.m3-wrapper .keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide, .m3slide-wrapper .keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide {
    width: max-content;
    overflow: initial;
    max-width: 100%;
}

.m3-wrapper .keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide img:not(.nx-ico-cat), .m3slide-wrapper .keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide img:not(.nx-ico-cat) {
    width: 360px;
}

/** rating **/

.star_m3-container .r-amount {
    display: none;
}

.star_m3-container {
    position: relative;
    top: 2px;
}

.star_m3-container:hover .r-amount {
    position: absolute;
    display: inline-block;
    background: #ddd;
    border-radius: 5px;
    padding: 3px 7px;
    left: 0;
    right: auto;
    top: -20px;
    white-space: nowrap;
    z-index: 3;
}

.star_m3-container .star-icon.full:before {
    color: black;
    text-shadow: black 1px 0px 0px, black 0.540302px 0.841471px 0px, black -0.416147px 0.909297px 0px, black -0.989992px 0.14112px 0px, black -0.653644px -0.756802px 0px, black 0.283662px -0.958924px 0px, black 0.96017px -0.279415px 0px;
    text-shadow: none;
    font-size: 20px;
}


/** sidebar **/

.swrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.hamburger {
    cursor: pointer;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;

    height: 50px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;


    width: 120px;

}

.container .site-content .content-area {
    max-width: 100%;
}

.mwr, .do_filters {
    font-size: 13px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px #ddd;
    border-radius: 12px;
    margin-right: 10px;
    margin-left: 10px;
    padding-left: 10px;
    background: #fff;
    padding: 0 15px;
    line-height: 50px;
    color: #2b2b2b;
}

@media (min-width: 980px) {
	.mwr, .do_filters {
	   box-shadow: 6px 6px 21px rgba(213, 213, 213, 0.41), -6px -6px 21px rgba(235, 235, 235, 0.39);
	}
}

.do_filters {
    padding: 0 25px;
}

.do_filters svg g {
    fill: #2b2b2b;
}

.do_filters:hover svg g, .do_filters:focus svg g, .do_filters:active svg g {
    fill: #fff;
}


.hamburger .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}

.hamburger .bar+.bar {
    margin-top: 0.5rem;
}

#hamburger {
    visibility: hidden;
    width: 0;
    height: 0;
}

#hamburger:checked~.m3sidebar {
    right: 0;
}


.side-wrapper {
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

 

.side-wrapper .ccslider .keen-slider__slide {
    text-align: center;
    font-weight: bold;
}

.side-wrapper .ccslider .keen-slider__slide a {
    white-space: nowrap;
    color: #717171;
    text-decoration: none;
    display: inline-block;
}

.inner-slide {
    padding: 0 20px;
}

.m3sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    max-width: 100%;
    height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #2b2b2b;
    border: solid 1px #ddd;
    
    padding: 15px 20px;
    z-index: 999999999999999999;
}
@media (max-width: 980px) {
.m3sidebar {
 
    width: 100%;
  }
}

.m3sidebar .widget-title {
    margin-bottom: 5px;
}

.m3sidebar {
    font-weight: normal;
}

.admin-bar .m3sidebar {
    top: calc(18px + 5vh);
}

.m3sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.m3sidebar ul li {
    margin: 0.5rem 0;
}

.m3sidebar ul li a {
    color: #2b2b2b;
    text-decoration: none;
}

.close-sidebar {
    position: absolute;
    top: 0;
    right: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

 
.ctemplate-modern3.archive .grid-container:not(.inside-navigation):not(.main-navigation) {
    max-width: initial;
}

/** modern 4 **/

@media (min-width: 980px) {
    .nx-bc {
        max-width: 100%;
        margin: auto;
    }
    .cat-side-left {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 40px;
        max-width: 100%;
        margin: auto;
        border-top: 1px solid #F3F0F0;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .cat-side-left main {
        flex-grow: 1;
        max-width: 100%;
        width: calc(100% - 300px);
    }
    .cat-side-left aside {
        flex-grow: 0;
        max-width: 100%;
        width: 300px;
        min-width: 300px;
    }
    .cat-side-left .hamburger {
        display: none;
    }
}

.cat-side-left .do_filters {
    height: auto !important;
    line-height: 2;
    margin: 15px 0 0 0;
    
}

@media screen and (max-width: 768px) {
    .cat-side-left {
        flex-direction: column;
        gap: 20px;
    }


    .ctemplate-modern3.archive .hamburger {
        /*.scrolled*/
        position: fixed;
        bottom: 15px;
        top: initial;
        z-index: 9;
        min-width: 200px;
    }

    .swrapper {
        justify-content: center;
    }

    .hamburger {
        position: relative;
        margin: auto;
        
        margin-top: 30px;
    }

    .hamburger .mwr {
        width: 100%;
    }

    .hamburger .bar {
        width: 20px;
    }

    .hamburger .bar+.bar {
        margin-top: 0.4rem;
    }

    .keen-side {
        margin-top: 10px;
    }

    .m3sidebar {

        right: -100%;
      
        overflow: hidden;
    }

    #hamburger:checked~.sidebar {
        left: 0;
    }
}

@media (max-width: 980px) {
    .cat-filters-container h2 {
        padding-left: 25px;
        padding-right: 25px;
    }
    .ctemplate-modern3.archive .filter_backdrop {
        position: static;
    }

    .ctemplate-modern3.archive .filter_modal_close {
        display: inline-block;
        cursor: pointer;
    }

    .modern3 .arrow, .m3slide-wrapper .arrow {
        display: none !important;
    }

    .m3slide-wrapper .keen-side {
        margin-top: 0;
    }
}

@media (min-width: 980px) {
    .m3-wrapper.side-wrapper {
        position: sticky;
        max-width: 100%;
        top: 0;
        background: white;
        z-index: 9;
    }

    .m3slide-wrapper.side-wrapper {

        max-width: 100%;

        background: white;

    }

    .admin-bar .m3-wrapper.side-wrapper, .admin-bar .m3slide-wrapper.side-wrapper {
        top: 32px;
    }
}

@media (min-width: 480px) and (max-width: 980px) {
    .m3-wrapper article.ad_listing, .m3slide-wrapper article.ad_listing {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .inside-article-catalog-col {
        margin: auto;
    }
}



.revsideyes .cat-side-left {
    flex-direction: row-reverse;
}




@media (max-width: 980px) {
    .ctmpmodern4 .mobile_filter.button.outline {
        background-color: #fff;
        color: #222222;
        border: solid 1px #222;
        margin: 10px;
        width: calc(100% - 20px);
        border-radius: 6px;
        transition: all 0.3s ease;
        font-weight: bold;
        font-size: 16px;
    }
    .ctmpmodern4 .mobile_filter.button.outline svg g {
        fill: #222;
    }
    .ctmpmodern4 .widget_categorytree_widget .widget-title {
        border-width: 1px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    .ctmpmodern4 .mobile_filter.button.outline:hover,
    .ctmpmodern4 .widget_categorytree_widget .widget-title:hover {
        background-color: #222;
        color: #fff;
        border: solid 1px #222;
    }
}