.sidebar-one {
    padding-left: 30px;
    border-left: 1px solid #d6d6d6;
}
.block-sidebar {
    margin-bottom: 25px;
    float: left;
    width: 100%;
}
.sidebar-one a:hover {
    color: #008bea;
}

.heading_box,
.heading_filter {
    font-size: 20px !important;
    text-transform: uppercase;
    color: #333;
}
.sb-post-bv	 .heading_box  {
	border:none;
	background-color: #fff;
	padding-left: 0;
}

.category-post .block-content {
    float: left;
    width: 100%;

    box-sizing: border-box;
}

.block-filter {
 
    box-sizing: border-box;
    margin-bottom: 20px;
}

ul#menu-sidebar {
	padding: 0;
	margin: 0;
	list-style: none;
	border-top: 0;
}

ul#menu-sidebar ul {
    list-style: none;
    float: left;
    margin: 0;
    width: 100%;
    padding: 0;
}

#menu-sidebar li,
.sb-post-bv a {
	border-bottom: solid 1px #dedede;
}

#menu-sidebar a,
.sb-post-bv a {
	text-decoration: none;
	display: flex;
	width: 100%;
	padding: 12px 0;
	box-sizing: border-box;
    color: #333;
}

#menu-sidebar ul a {
    padding-left: 35px;
}
#menu-sidebar ul.children .cat-item ul.children a{
    padding-left: 45px;
}
#menu-sidebar .cat-item{
    position: relative;
    overflow: hidden;

}
#menu-sidebar .fa.fai-down {
    position: absolute;
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-top: 0px;
    line-height: 28px;
    cursor: pointer;
    text-align: center;
    top: 0px;
    right: 0px;
    top: 8px;
    color: #7b8395;
}
.sb-post-bv h3{
    margin:0;
}
.sb-post-bv a{
    font-weight: normal;
    font-size: 14px;
}

.sb-form-dk form{
    position: relative;
}
.sb-form-dk form p{
    margin-bottom: 0;
}
.sb-form-dk .wpcf7-form-control-wrap{
    width: 100%;
    margin-bottom: 0;
}
.sb-form-dk .wpcf7-form-control-wrap input.wpcf7-form-control.wpcf7-text{
    background-color: #fff;
    box-shadow: none;
    height: 40px;
}
.sb-form-dk input.wpcf7-form-control.wpcf7-submit {
    position: absolute;
    border: none;
    right: 0;
    top: 1px;
    height: 39px;
    margin: 0;
    background-color: #008bea;
    color: #fff;
    font-weight: bold;
    font-size: 11px;
}
/*sb product*/
.sidebar-one.sidebar-product {
    margin: 0;
    border: none;
    padding: 0;
    margin-right: 2%;
}
.sidebar-product .heading_box, 
.sidebar-product .heading_filter{
    font-size: 18px !important;
}
/*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;
}
.price {
    font-size: 13px ;
    color: #e12f2f ;
    font-weight: 400 ;
    display: flex ;
    justify-content: flex-start;
}
.price ins {
    order: -1 !important;
    text-decoration: none !important;
    display: block;
}
.price ins .amount {
    text-decoration: none !important;
}
.price del{
    color: #898989 !important;
    opacity: 1 !important
}
.price del .amount {
    font-size: 12px !important;
    margin-left: 5px !important;
    font-weight: normal !important;
}
/*end sản pham nổi bật*/

.block-loc .menu-sidebar {
	padding: 0;
	border: none;
}
/*
.woocommerce #respond input#submit, .woocommerce a.button, 
.woocommerce button.button, .woocommerce input.button{
    background: #fff !important;
    color:#fff !important;
}
*/
/*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 {
    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: 20px;
}
.tagcloud {
    padding-bottom: 15px;
    padding-top: 25px;
}
.tagcloud a {
    font-size: 14px !important;
    background: #f3f5f9;
    border: none;
    border-radius: 30px;
    padding: 6.2px 15px;
    margin: 5px 10px 5px 0px;
    float: left;
    color: #7b8395;
    word-break: break-word;
}
.tagcloud a:hover{
    background: #226fe9;
    color: #fff;
}

.control-sidebar {
    width: 40px;
    position: absolute;
    height: 40px;
    text-align: center;
    top: 65%;
    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 */
.widget_price_filter form {
    padding: 15px 0px;
}

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:18px;
    color: #6f6f6f;
    margin-right: 5px;
}

ul.yith-wcan-list li.chosen:before {
    content: "\f046";
}

ul.yith-wcan-list li a {
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #6f6f6f;
}

ul.yith-wcan-list li a:hover {
    color: #eb1c23;
}
ul.yith-wcan-color,
ul.yith-wcan-list {
    max-height: 235px;
    overflow-y: auto;
    padding: 10px 0;
    margin: 0;
}

.woocommerce .widget_layered_nav ul.yith-wcan-color li a, 
.woocommerce-page .widget_layered_nav ul.yith-wcan-color li a, 
.woocommerce .widget_layered_nav ul.yith-wcan-color li span, 
.woocommerce-page .widget_layered_nav ul.yith-wcan-color li span,
.woocommerce .widget_layered_nav ul.yith-wcan-color li a:hover, .woocommerce-page .widget_layered_nav ul.yith-wcan-color li a:hover{
    border-radius: 50% !important;
    border-color:transparent !important;
    width: 25px !important;
    height: 25px !important;
    margin-right: 10px !important; 
}

.yith-woocommerce-ajax-product-filter ul li {
    line-height: 22px;
    margin-bottom: 5px;
}

h1.woocommerce-products-header__title.page-title {
	color: #555;
	font-size: 18px;
	border-bottom: solid 3px #f36d2d;
	float: left;
	margin-bottom: 20px;
}


/*sb product*/
.item_service .wrap_item_ .image_service {
	display: table-cell;
	width: 40px;
	max-width: 40px;
	vertical-align: middle;
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	-o-transition-duration: 0.8s;
	transition-duration: 0.8s;
	-webkit-transition-property: -webkit-transform;
	-moz-transition-property: -moz-transform;
	-o-transition-property: -o-transform;
	transition-property: transform;
}
.single-box-sv .item_service .wrap_item_ .content_service {
	margin-left: 10px;
}
.single-box-sv .item_service .wrap_item_ {
	position: relative;
	padding: 15px 0;
	display: table;
}
.single-box-sv .item_service {
	padding: 0px 10px;
	border-bottom: solid 1px #e5e5e5;
}
.single-box-sv {
	background: #fff;
	border-radius: 5px;
	border: 1px solid #f36d2d;
	clear: both;
}
.single-box-sv .item_service:hover .wrap_item_ .image_service {
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
}
.block-sp>h3 {
	font-weight: bold;
	border-bottom: solid 3px #f36d2d;
	padding-bottom: 3px;
	float: left;
	margin-top: 0px;
}
.product-item-img {
	width: 60px;
	float: left;
	height: 60px;
}
.product-item-content {
	width: calc(100% - 60px);
	float: left;
	padding-left: 10px;
}
.product-item-nb a {
	background: #fff;
	clear: both;
	width: 100%;
	padding: 25px 20px;
	display: flow-root;
	display: -ms-flexbox;
	border-bottom: solid 1px #f5f5f5;
	height: 124px;
	padding: 12.5px 20px;
	display: inline-block;
	height: auto;
}
.product-item-content h3 {
	font-size: 12px;
	color: #333;
	margin: 0px;
	text-transform: capitalize;
	white-space: nowrap;
	text-overflow: ellipsis;
	display: block;
	overflow: hidden;
	font-weight: normal;
	margin-bottom: 10px;
}
.block-sp .price ins{
	width: 100%;
}
.block-sp .price {
	flex-wrap: wrap;
	font-weight: bold;
}
.single-box-sp {
	width: 100%;
	padding: 0;
	border: solid 1px #dedede;
	float: left;
}
/*end sb product*/
.block-sidebar .fb_iframe_widget{
    max-width: 100%;
    overflow: hidden;
}
@media only screen and (max-width: 991px) {
    h1.woocommerce-products-header__title.page-title {
        margin: 0;
    }
    .category #primary,
    .tag #primary,
    .single-post #primary{
        display: table;
    } 
    .category .sidebar-one ,
    .tag .sidebar-one ,
    .single-post .sidebar-one {
        display: table-footer-group;
        float: none;
    }
    .sidebar-one{
        width: 100%;
        margin-right: 0;
    }
    .block-sp-noibat{
        display: none;
    }

    .woocommerce .sidebar-one {
        width: 240px;
        position: fixed;
        background: #fff;
        top: 0;
        height: 100%;
        z-index: 99;
        top:0;
        right: -256px;
        width: 256px !important;
        border-left: solid 1px #bbbbbb;
        padding: 0 !important;
    }
    .sidebar-one.sidebar-product{
        margin: 0;
    }

    .control-sidebar {
        display: flex;
        align-items: center;
    }

    .sidebar-one.sidebar-product .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;
    }

}