/* Sidebar-left */

.left-sidebar h5.widgettitle {
    font-family: "UTM Avobold", sans-serif;
    font-size: 17px;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
    background: var(--xanhlogo);
    padding: 5px 15px;
    color: white;
    margin: 0;
}

.left-sidebar ul {
    margin: 0;
    padding: 0;
    border: 1px solid #e6e6e6;
}

.left-sidebar ul .children,
.left-sidebar ul.sub-menu {
    /* opacity: 0;
    visibility: hidden;
    left: 100%;
    top: -2px;
    min-width: 220px;
    position: absolute;
    z-index: 2;
    background: #fff;
    transition: 0.3s;
    border-left: 2px solid var(--xanhlogo);*/
    display: none;
    padding-left: 10px;
}

/*.product-categories li.cat-parent:hover ul.children{
    opacity: 1;    
    visibility: visible;
    }*/

.widget ul.product-categories>li {
    padding-left: 20px;
    background-position: left;
    border-top: 1px solid #ececec;
}

.widget ul.product-categories li {
    position: relative;
}

.widget ul.product-categories>li:before {
    background: url(../images/icon-menu.png) no-repeat;
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

.widget ul.product-categories li i {
    position: absolute;
    right: 0;
    padding: 10px;
    font-size: 20px;
    top: 18px;
    transform: translateY(-50%);
    color: #a29b9b;
    cursor: cell;
}

.widget ul.children,
.widget ul.sub-menu {
    border: none;
}

.widget ul.product-categories li>a {
    padding: 6px 0;
    text-transform: uppercase;
    display: table;
    max-width: 92%;
    white-space: pre-wrap;
}

.left-sidebar ul.list-post {
    border: none;
}

.left-sidebar ul li {
    list-style: none;
    margin-bottom: .3em;
    text-align: left;
    margin: 0;
}

.widget ul.list-post .item-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 10px 0;
}

.left-sidebar ul li.post-item:not(:first-child) {
    border-top: 1px solid #ececec;
}

ul.list-post .item-wrapper .post-thumbnail {
    width: 90px;
    flex-shrink: 0;
    margin-right: 10px;
}

ul.list-post .item-wrapper .post-thumbnail.ratio--custom {
    padding-bottom: 25%;
}

ul.list-post .post-item h5 {
    font-weight: 400;
}

.sp_online {
    display: flex;
    padding: 15px;
    flex-wrap: nowrap;
    align-items: center;
}

.sp_online>.icon {
    width: 50px;
    margin-right: 10px;
    height: 50px;
}

#online-support li.sp-item:not(:first-child) {
    border-top: 1px solid #ececec;
}

/* Main Right */

.main-content .cat-product-item .cat-title,
.archive .cat-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-content .product-in-cat ul.products {
    margin: 0 -10px;
    flex-wrap: wrap;
    display: flex;
}

.main-content .product-in-cat ul.products li {
    /*   flex: 0 0 25%;
 max-width: 25%;*/
    padding: 0 10px;
    /*  margin-left: -1px;
    margin-right: -1px;
    margin-bottom: 20px;*/
}

.product_wrapper {
    border: 1px solid #eae3e3;
    text-align: center;
}

.home .product_wrapper:hover .hover-show {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    background-color: rgb(60, 91, 155);
    opacity: 0.5;
}

.product_wrapper .product-thumb {
    position: relative;
}

.woocommerce .product_wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    flex: auto;
    height: auto;
}

.woocommerce ul.products li.product .button {
    margin: 0 auto;
    min-height: 17px;
    line-height: 27px;
    background-color: var(--xanhlogo);
    padding: 0 20px;
    text-transform: none;
    font-weight: normal;
    width: auto;
    font-size: 13px;
    color: #fff;
    display: table;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: 0.2s;
}

.woocommerce ul.products li.product .button:hover {
    background: #0c6112;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    font-size: 15px;
    font-weight: bold;
    color: black;
    margin-bottom: 4px;
    margin-top: 5px;
    letter-spacing: 0;
    padding: 0 10px;
}

.list-product .cat-product-item .cat-title,
.archive .cat-title {
    border-bottom: 2px solid #ececec;
    margin-bottom: 20px;
}

.cat-title h3.title {
    font-weight: bold;
    position: relative;
    color: #DD4B39;
    text-transform: uppercase;
    margin-bottom: 0;
}

h3.title>b {
    line-height: 1.6;
    position: relative;
    display: table;
    margin: 0 auto;
    font-family: "UTM AvoBold";
}

.cat-title h3.title>b:after {
    content: '';
    width: 110%;
    height: 3px;
    background-color: var(--xanhlogo);
    bottom: -2px;
    left: 0;
    position: absolute;
}

.product-in-cat .woocommerce ul.products li.product a img {
    margin: 0;
}

#sc-2 .brands .logos {
    margin-left: -5px;
    margin-right: -5px
}

#sc-2 .brands .logos {
    display: flex;
    flex-wrap: wrap;
}

#sc-2 .brands .logos .col_wrapper {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 5px;
    margin-bottom: 10px
}

#sc-2 .brands .logos a {
    position: relative;
    border: solid 1px #dddd;
    display: block;
}

#sc-2 .brands .logos a:before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

#sc-2 .brands .logos img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

#sc-2 .slick-track {
    display: flex;
}

#sc-2 .slick-list {
    width: 100%;
}

#sc-2 .product {
    height: auto;
}

/*.home .main-content .product-in-cat ul.products li, .archive .archive-product ul.products li {
    height: auto;
    }*/

@media(max-width: 425px) {
    #sc-2 .brands .logos .col_wrapper {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 0 5px;
        margin-bottom: 10px;
    }
}