/* common */

a:hover {
    text-decoration: none;
}

.bw-4 {
    border-width: 4px;
}

.bw-3 {
    border-width: 3px;
}

/* modal */
.modal p {
    margin: 0;
}

/* override bootstrap */
.navbar-brand {
    float: none;
    height: auto;
    padding: 0;
}

/* order */
.cart_items td .decrease, .cart_items td .increase {
    cursor: pointer;
}
.img-responsive {
    min-height: 200px;
}
.product-list .card-body .price small {
    margin-left: 0px !important;
}
.cart .fa-cart-arrow-down{
    font-size: 19px;
    margin-left: -2px;
}
.sub-price-sale + .price{
    margin-top: -5px;
    display: block;
    margin-bottom: 5px;
}
.card-body .card-title p{
    margin: 0;
    margin-bottom: 0.75rem;
    font-size: 14px;
    color: black;
}
.nav-item .cart{
    position: relative;
}
.nav-item .cart:after{
    content: attr(cart-item);
    position: absolute;
    right: -5px;
    top: -10px;
    border-radius: 50%;
    background: red;
    color: white;
    width: 21px;
    text-align: center;
}
.cart-info-box.nav-item .cart:after{
    background: #ffa800;
    color: white;
    top: -8px;
    right: -10px;
}
/* owl css */
.owl-dots {
    text-align: center;
}
.tc-slider {
    padding-left: 0;
    padding-right: 0;
}

/* product css */

.post-content {
    text-align: justify;
}

/* top menu */
.dropdown-item {
    width: 400px;
    max-width: 90%;
}

.price .discount{
    border-radius: 4px;
    font-size: 13px;
    line-height: 22px;
    color: #fff;
    padding: 1px 5px;
    background-color: #028fff;
    text-align: center;
    margin-right: 10px;
    display: inline-block;
}

/* navigation */
@media (max-width: 768px) {
    .pagination .page-item span{
        display: none;
    }
}
.tc-product .sliderPro .item a {
    height: 360px;
}

/* carousel menu top */
@media (max-width: 768px){
    .tc-slider #sliderTop .owl-dots{
        bottom: 0;
        background: none;
    }
    #tc-menu-left ul {
        left: -9999px;
    }
    #tc-menu-left.show ul{
        left: 0px;
    }
}

/* config second page header  */
.tc-menu .container{
    padding: 0 !important;
}
.content-product .container{
    padding-top: 0 !important;
}
.info h6 {
    font-size: 14px;
}
.breadcrumb {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
@media (min-width: 769px) {
    .product-list{
        max-width: calc(100% - 256px);
        flex: 0 0 calc(100% - 256px);
    }
    .product-cate{
        max-width: 256px;
    }
    .secondpage #tc-menu-left ul{
        display: none;
    }
    .secondpage #tc-menu-left:hover ul{
        display: block;
        height: auto;
    }
}
@media (max-width: 768px) {
    .product-cate h3{
        display: block;
        width: 100%;
        text-align: center;
    }
    .product-cate ul{
        padding-left: 0;
    }
    .sidebar-banner {
        display: none;
    }
    body.over_500 #tc-menu-left.show {   
        top: 68px!important;
    }
    #tc-menu-left.show > ul{
        overflow: scroll;
    }
    #tc-menu-left .menu-item:after {
        content: unset !important;
    }
    .tc-menu #tc-menu-left.show ul li {
        display: block;
    }
    .tc-menu #tc-menu-left.show>ul li .menu-item.has-child span{
        position: absolute;
        right: 0;
        left: calc(100% - 40px);
        top: 0;
        bottom: 0;
        line-height: 37px;
        text-align: center;
    }
    .tc-menu #tc-menu-left.show>ul li .sub-menu{
        position: relative;
        left: 0;
        height: auto;
    }
    .tc-menu #tc-menu-left.show>ul li .sub-menu.show{
        display: block;
    }
    .tc-menu #tc-menu-left.show .sub-menu .item {
        height: auto;
        float: none;
        width: auto;
        padding-top: 0;
    }
    .tc-menu #tc-menu-left .sub-menu .item .a-links {
        line-height: 26px;
    }
    .tc-menu #tc-menu-left .sub-menu .item .a-links:after {
        margin-top: -13px;
    }
    .tc-menu #tc-menu-left>ul li .menu-item.has-child span:after {
        content: '\f054';
        font-family: 'FontAwesome';
        font-size: 10px;
        color: #ddd;
    }
    body.menu-open {
        height: 100vh !important;
        overflow-y: hidden;
    }
}
.menu-item .icon {
    margin-left: 0px;
    margin-right: 0px;
}
.menu-item p {
    margin: 0;
}
.sidebar-banner img {
    width: 100%;
    max-width: 100%;
}

/* TOP PAGE */
.toppage .tc-wrapbox {
    padding-left: 0;
    padding-right: 0;
}

@media all and (max-width: 768px) {
    .toppage .tc-wrapbox {
        padding-left: 15px;
        padding-right: 15px;
    }
}