/* mobile style*/
@media only screen and (max-width: 768px) {
    .woocommerce-result p.woocommerce-result-count.hide-for-medium {
        display: block !important;
    }

    .category-filtering.category-filter-row.show-for-medium {
        display: flex;
        justify-content: center;
    }

    ul.nav-dropdown.nav-dropdown-default {
        left: unset !important;
        right: -55px !important;
    }

   input#woocommerce-product-search-field-0 {
        border: 1px solid var(--primary-color) !important;
       width: 100% !important;
       max-width: 100% !important;
    }

    a.filter-button.uppercase.plain {
        margin-right: 15px;
    }

    .m-noPadding {
        padding-bottom: 0px !important;
    }

    .progress-wrap {
        bottom: 70px;
    }

    .post-vertical .post-list {
        display: block;
        flex-flow: wrap;
    }

    .home-title a {
        display: none !important;
    }

    .post-vertical .post-list .post-thumbnail {
        width: 100%;
        height: 220px;
    }

    .post-vertical .post-list .post-content {
        width: 100%;
        padding: 10px;
        border-top: 3px solid var(--primary-color);
    }

    .mt-footer {
        margin-bottom: 20px !important;
    }


    .category-title h3 {
        font-size: 16px;
    }

    .category-title h1 {
        display: none !important;
    }

    .category-title a {
        font-size: 13px;
    }

    .category-title a span {
        margin-right: 3px;
    }

    footer#footer h3.company {
        font-size: 18px;
        line-height: 28px;
    }

    .home-title h3, .home-title h1 {
        font-size: 25px;
        line-height: 35px;
    }

    .bg-about .col-inner {
        width: 100% !important;
    }

    .bg-about {
        margin: 0px !important;
    }

    .product-item .product-thumbnail {
        height: 180px;
    }

    #top-bar {
        display: none !important;
    }

    .cacgiaithuong .tabbed-content ul {
        white-space: nowrap !important;
        display: inline-block !important;
        overflow-x: scroll !important;
        width: 100% !important;
    }

    .cacgiaithuong .tabbed-content ul li:not(:first-child) {
        margin-left: 25px !important;
    }

    .cacgiaithuong .tabbed-content ul li {
        margin: 0 3px;
        width: auto !important;
        display: inline-block !important;
        padding-left: 5px;
        padding-right: 5px
    }

    .cacgiaithuong .tabbed-content ul li:not(:first-child):after {
        left: unset !important;
        right: 110%;
    }

    .cacgiaithuong .tabbed-content ul li:before {
        display: block !important;
    }

    .cacgiaithuong .tabbed-content ul::-webkit-scrollbar {
        height: 0px
    }

    .text-left h3.section-title.section-title-center {
        font-size: 18px !important;
    }

    .list-b.flex ul {
        display: block !important;
    }

    .list-b.flex ul li {
        width: 100% !important;
    }

    #header-single .post-meta {
        display: block;
    }

    .post-meta-left {
        margin: 0 0 15px 0;
    }

    .product-info {
        padding-top: 20px !important;
    }

    .banner-tg .img-inner {
        padding-top: 220px !important;
    }

    .sec-tks {
        margin-top: 0 !important;
    }

    .tg-icon p {
        font-size: 15px;
        line-height: 20px;
    }

    .home-title:before {
        width: 80px;
        height: 80px;
        top: -52px;
    }

    .bacninhit_tab ul li a span.tab_title {
        display: none;
    }

    .bacninhit_tab ul {
        display: flex !important;
    }

    .bacninhit_tab ul {
        white-space: unset !important;
        display: flex !important;
        overflow-x: unset !important;
        width: 100% !important;
        justify-content: left;
    }

    .bacninhit_tab ul li {
        margin: 0 3px;
        padding-left: 5px;
        padding-right: 5px;
        width: 45px !important;
        height: 45px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .slide-product .owl-stage-outer {
        height: auto;
        margin: 0;
        padding: 0;
        width: auto;
    }

    .product-item .product-content h4 {
        font-size: 15px;
        height: 45px;
        line-height: 20px;
    }

    .product-item .product-description {
        font-size: 14px;
        line-height: 18px;
        height: 38px;
    }

    .product-item .product-button a {
        font-size: 14px;
    }

    .filter-bg {
        padding: 10px;
    }

    .d-none {
        display: block !important;
    }

    .menu-dieu-huong.flex {
        white-space: nowrap !important;
        display: inline-block !important;
        overflow-x: scroll !important;
        width: 100% !important;
        padding-left: 20px;
    }

    .menu-dieu-huong.flex::-webkit-scrollbar {
        height: 0px;
    }

    .menu-dieu-huong a {
        height: 37px;
        display: inline-block !important;
        line-height: 37px;
    }

    .menu-dieu-huong a:before {
        border: 1px solid var(--primary-color);
    }

    i.icon-menu {
        color: var(--primary-color) !important;
        font-size: 40px !important;
    }

    .tg_language ul li {
        width: 25px !important;
    }

    .sn__body {
        width: 100% !important;
        margin: 20px 0 0 0 !important;
        text-align: left !important;
    }

    .sn__body:before, .sn__body:after {
        display: none !important;
    }

    .home-title2 h3 {
        font-size: 25px !important;
        line-height: 30px !important;
    }

    .gap-40 {
        padding: 0px !important;
    }

    .slide-post-2 .post-list .post-thumbnail {
        width: 100%;
        height: 220px;
    }

    .slide-post-2 .post-list .post-content {
        width: 100%;
        border: 0px !important;
        padding: 15px 0 0 0;
    }

    .pt-icon {
        display: flex;
        align-items: center;
    }

    .pt-icon .box-image {
        width: 65px !important;
        margin-right: 15px;
    }
}

/* iPad landscape style here */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .hide-for-medium {
        display: none !important;
    }

    .d-none {
        display: block !important;
    }

    .menu-dieu-huong.flex {
        justify-content: center;
    }

    .menu-dieu-huong a:before {
        border: 1px solid var(--primary-color);
    }

    .nghiencuu.right {
        text-align: left;
    }

    .nghiencuu h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .nghiencuu p {
        font-size: 15px;
    }
}

/* iPad portrait style here */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .hide-for-medium {
        display: none !important;
    }

    .d-none {
        display: block !important;
    }

    .menu-dieu-huong.flex {
        justify-content: center;
    }

    .menu-dieu-huong a:before {
        border: 1px solid var(--primary-color);
    }
}

/**desktop**/
@media only screen and (min-width: 1440px) {
    .container-width, .full-width .ubermenu-nav, .container, .row {
        max-width: 1320px !important;
    }

    .borderB .col-inner {
        border-bottom: 3px solid var(--primary-color) !important;
    }
}