.sidebar-one{
    padding-left: 30px;
    border-left: 1px solid #ececec;
}
/**/
.block-filter{
    margin-bottom: 20px;
}
.block-sidebar .searchform {
    position: relative;
}
.single-product .block-sidebar .widget_search ,
.single-product .block-sidebar .widget_recent_entries{
    display: none;
}
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.block-sidebar .searchform input[type="text"] {
    background: #fff;
    border: 0;
    border-bottom: 1px solid #333;
    height: 38px;
    padding: 0 40px 0 0;
    width: 100%;
}
.block-sidebar .searchform input[type="text"]:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.block-sidebar .searchform #searchsubmit {
    position: absolute;
    opacity: 0;
    right: 0;
    top: 0;
}
.block-sidebar .searchform i {
    background: transparent;
    border: none;
    color: #333;
    font-size: 16px;
    height: 38px;
    line-height: 38px;
    margin: 0;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    cursor: pointer;
    top: 0;
    width: 40px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.sidebar-one .widget_archive select{
    width: 100%;
}   
/**/
.block-sidebar {
    margin-bottom: 25px;
    float: left;
    width: 100%;
}
.heading_box,
.widgettitle{
    text-transform: uppercase;
    margin-bottom: 0;
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #000000;
}
.sidebar-one .is-divider{
    margin: 7px 0;
}
.sidebar-product .heading_box{
    margin-bottom: 15px;
}
.category-post .block-content {
    float: left;
    width: 100%;
    box-sizing: border-box;
}
.block-filter {
    box-sizing: border-box;
}
.block-content ul {
    list-style: none;
    padding-left: 0;
    font-weight: 600;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}
.block-content ul li a{
}
.block-content ul li, 
.block-content .menu-item-has-children {
    position: relative;
}
.block-content ul#menu_sidebar > li:not(:last-child) {
    /*border-bottom: 1px solid #eee;*/
}
.block-content ul > li > a {
    display: block;
    padding: 2px 0 5px;
    line-height: 26px;
    font-weight: normal;
}
.block-content ul > .menu-item-has-children > a {
    /*padding-left: 30px;*/
}
.block-content ul.sub-menu > li:not(.menu-item-has-children)::before {
}
.block-content .current-menu-item > a {
    font-weight: bold;
}
.block-content ul li a:hover, 
.block-content .current-menu-item > a {
    color: #000;
}
.current-menu-item {
}
.menu-item-has-children .sub-menu {
    border-left: 1px solid #dddddd70;
    padding-left: 12px;
    margin-left: 7px;
}
.sub-menu {
    font-size: 15px;
}
.fai-down.active::before{
    content: "\f106";
}

li .fai-down {
    margin: 0;
    position: absolute;
    right: -5px;
    top: -2px;
    font-size: 19px;
    padding: 0;
    line-height: 43px;
    min-height: 37px;
    width: 37px;
    border: 0;
    background: none;
    color: #79797a;
    cursor: pointer;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

.sidebar-one .item-post {
    padding: 10px 0px;
    border-bottom: 1px solid #ededed;
}
.sidebar-one .item-post a {
    display: flex;
    align-items: center;
}
.sidebar-one .item-post .item-images {
    width: 60px;
}
.sidebar-one .item-post .item-detail{
    width: calc(100% - 60px);
    padding-left: 10px;
    color: #337ab7;
    font-size:10px;
}
.sidebar-one .item-post .item-detail .title{
    margin: 0 0 5px;
    line-height: 17px;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    letter-spacing: normal;
}
.sidebar-one .item-post .item-images img {
    max-height: 60px;
    object-fit: cover;
    width: 100%;
}
/*sản pham nổi bật*/
.block-sp-noibat .block-loc .menu-sidebar{
    padding:0;
}
.mini-products-list .item-product+.item-product {
    border-top: 1px #ebebeb solid;
}
.item-product .product-img img {
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.item-product {
    padding: 10px 10px 20px;
    overflow: hidden;
}
.item-product .product-img {
        position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    padding-top: 5px;
    max-height: 0px;
    transform: scale(0);
    padding-bottom: 20px;
    transition: 0.2s all;
    display: none;
}
.item-product:first-child .product-img {
    max-height: 210px;
    height: 210px;
    transform: scale(1);
    display: block;
}
.block-sp-noibat .menu-sidebar:hover .item-product .product-img {
    max-height: 0px;
    height: 210px;
    transform: scale(0);
    /*opacity: 0;*/
    /*visibility: visible;*/
    display: none;
}
.block-sp-noibat .menu-sidebar:hover .item-product:hover .product-img {
    max-height: 210px;
    transform: scale(1);
    /*opacity: 1;*/
    /*visibility: visible;*/
    display: block;
}
.item-product .product-info {
    text-align: center;
}
.item-product .product-info p{
    margin: 15px 0 10px;
    font-weight: 600;
}
.item-product .product-info .product__title a{
    color: #252525;
}
.item-product .product-info .product__title a:hover{
    margin: 0px;
    margin-bottom: 0;
    font-size: 14px;
}
/*end sản pham nổi bật*/
.block-loc .menu-sidebar {
    padding: 0;
    border: none;
}
.heading_filter {
    font-weight: bold;
    color: #000;
}
/*check color*/
ul.yith-wcan-color.yith-wcan.yith-wcan-group li a[title="Trắng"],
ul.yith-wcan-color.yith-wcan.yith-wcan-group li a[title="Trắng"]:hover{
    border-color: #000 !important;
}
ul.yith-wcan-color.yith-wcan.yith-wcan-group li.chosen{
    position: relative;
    font:normal normal normal 14px/1 FontAwesome;
}
ul.yith-wcan-color.yith-wcan.yith-wcan-group li.chosen a[title="Trắng"]::after,
ul.yith-wcan-color.yith-wcan.yith-wcan-group li.chosen a[title="White"]::after {
    color: #000;
}
ul.yith-wcan-color.yith-wcan.yith-wcan-group li.chosen a::after {
    font-weight: 900;
    display: block;
    content: "\f00c";
    color: #fff;
    font-size: 14px;
    width: 30px;
    height: 30px;
    position: absolute;
    left: -21px;
    top: 13px;
}
/*end check color*/
.block-filter.widget_price_filter {
    margin-bottom: 10px;
}
.tagcloud {
    padding-bottom: 15px;
    padding-top: 10px;
}
.tagcloud a {
    display: inline-block;
    padding: 8px 17px;
    margin-right: 6px;
    margin-bottom: 10px;
    background-color: #f4f4f4;
    font-size: 14px !important;
}
.tagcloud a:hover{
    background: #FFC000;
    color: #fff;
}
.control-sidebar {
    width: 40px;
    position: absolute;
    height: 40px;
    text-align: center;
    top: 55%;
    cursor: pointer;
    display: none;
    color: #fff;
    background: #eb1c23;
    padding: 5px 10px;
    z-index: 99999;
    font-size: 18px;
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.sidebar-one .control-sidebar {
    left: -40px;
    right: auto;
}
.sidebar-two .control-sidebar {
    right: 239px;
    left: auto;
    border-right: none;
}
.sidebar-one .control-sidebar.active i:before{
    content: '\f00d';
}
.sidebar-fa.fa {
    font-size: 18px;
    color: #fff;
}
/* yith */
.woocommerce.widget_price_filter form,
ul.yith-wcan-color.yith-wcan.yith-wcan-group, 
ul.yith-wcan-list{
    padding: 15px 0 !important;
    width: 100%;
}
ul.yith-wcan-list li.chosen>a:before {
    display: none;
}
ul.yith-wcan-list li {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul.yith-wcan-list li::before {
    content: "\f096";
    width: 20px;
    float: left;
    font-size: 20px;
    color: #c3c3c3;
    margin-right: 5px;
}
ul.yith-wcan-list li.chosen:before {
    content: "\f046";
}
ul.yith-wcan-list li a {
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
    font-family: roboto;
}
ul.yith-wcan-list li a:hover {
    text-decoration: underline;
}
ul.yith-wcan-color.yith-wcan.yith-wcan-group, ul.yith-wcan-list {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    max-height: 200px;
}
.yith-woocommerce-ajax-product-filter ul li {
    line-height: 22px;
    margin-bottom: 5px;
}
.woocommerce a.yith-wcan-reset-navigation.button {
    background: #018791;
    color: #fff;
    padding: 6px 8px;
    font-size: 12px;
    border: none;
}
.woocommerce a.yith-wcan-reset-navigation.button:hover {
    background: #f37022;
    color: #fff;
}
.woocommerce .content-wrap .woocommerce-breadcrumb a {
    color: #018791;
    text-decoration: none;
}
.woocommerce .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}
.woocommerce .woocommerce-breadcrumb {
    border-bottom: 2px solid #018791;
    padding-bottom: 5px !important;
}
.woocommerce .widget_layered_nav ul.yith-wcan-color li {
    position: relative;
    width: 50% !important;
}
.woocommerce .widget_layered_nav ul.yith-wcan-color li a::after {
    content: attr(title);
    position: absolute;
    left: 10px;
    width: 20px;
    font-size: 14px;
    color: #333333;
}
.banner-wapper img{
    display: block;
}
.banner-wapper a{
    display: block;
    position: relative;
}
.banner-wapper a::before {
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    position: absolute;
    width: 100%;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
}
.banner-wapper a:hover::before {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.2) inset;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.2) inset;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

/**/
.sidebar-product .heading_box{
    font-weight: 400;
    display: block !important;
    color: #fff;
    font-size: 14px !important;
    line-height: 40px !important;
    margin: 0;
    width: 100%;
    text-transform: uppercase;
    background: #095c51;
    border-radius: 8px 8px 0 0;
    text-align: center;
}
.sidebar-product .block-content ul{
    border: 1px solid #ccc;
    padding: 12px;
    margin-top: 0;
}
.sidebar-product .block-content ul li + li {
    border-top: 1px solid #ececec;
}
.sidebar-product .block-content ul li{
    margin-bottom: 0;
    padding-top: 5px;
}
@media only screen and (max-width: 990px) {
    ul#menu-sidebar,
    .block-filter{
        padding: 0;
    }
    .block-sb-post ul a,
    #menu-sidebar a {
        width: 89%;
    }
}
@media only screen and (max-width: 990px) {
    h1.woocommerce-products-header__title.page-title {
        margin: 0;
    }
    .sidebar-one{
        width: 100%;
        margin-right: 0;
    }
    .block-sp-noibat{
        display: none;
    }
    .sidebar-one.sidebar-product{
        margin-right: 0;
        border-left: solid 1px #bbbbbb;
    }
    .sidebar-one {
        width: 240px;
        position: fixed;
        background: #fff;
        top: 0;
        height: 100%;
        z-index: 9999;
        top:0;
        right: -256px;
        width: 256px !important;
        border-left: solid 1px #bbbbbb;
        padding: 0;
    }
    .control-sidebar {
        display: flex;
        align-items: center;
    }
    .sidebar-one .sidebar-content {
        height: 100%;
        overflow-y: scroll;
        width: 100%;
        padding: 10px;
    }
    .single-post main#main.one-sidebar {
        margin-bottom: 20px;
    }
    .sidebar-content {
        padding: 10px;
    }
    .single-product .sidebar-one {
        margin-top: 0 !important;
    }
}