/* Mobile Portrait View */
@media (max-width: 579px) {
    .web247-post-b .entry-image {
        float:left;
        width: 100% !important;
        position: relative;
    }

    .box-col-b {
        float: left;
        max-width: 100%;
        margin: 0 0 0 30px;
    }

    .entry-sm-overlay {
        position: absolute;
        height: 100%;
        width: 100%;
        z-index: 3;
        top: 0;
        left: 0;
        padding: 30px;
        pointer-events: none;
        margin: 0;
        background: aliceblue;
    }
}

@media screen and (max-width: 1024px) {
    /*	mobile css	*/ .lap-header {
        display: none !important;
    }
    .mobile .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .mobile {
        display: block !important;
    }

    .mobile {
        background: #ffffff;
        top: 0;
        width: 100%;
        z-index: 99;
        box-shadow: -2px 4px 13px rgb(255 255 255);
    }

    .mobile {
        padding: 5px 0;
        height: 60px;
        margin-bottom: 1px;
    }

    .search-modal {
        display: none;
    }

    .mobile_search {
        width: 15%;
        float: right;
    }

    .mobile_logo {
        text-align: center;
        float: left;
        width: 60%;
    }

    .mobile_logo img {
        max-width: 93px;
        padding: 1px;
        width: 100%;
    }

    .mobile_menu {
        float: left;
        width: 15%;
        text-align: left;
    }

    .burger {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0px;
        left: 20px;
        border-radius: 4px;
        z-index: 10;
    }

    .burger span {
        position: relative;
        margin-top: 9px;
        margin-bottom: 9px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -15px;
        margin-top: -1.5px;
    }

    .burger span, .burger span::before, .burger span::after {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #000000;
        outline: 1px solid transparent;
        -webkit-transition-property: background-color, -webkit-transform;
        -moz-transition-property: background-color, -moz-transform;
        -o-transition-property: background-color, -o-transform;
        transition-property: background-color, transform;
        -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .burger span::before, .burger span::after {
        position: absolute;
        content: "";
    }

    .burger span::before {
        top: -9px;
    }

    .burger span::after {
        top: 9px;
    }

    .burger.clicked span {
        background-color: transparent;
    }

    .burger.clicked span::before {
        -webkit-transform: translateY(9px) rotate(45deg);
        -moz-transform: translateY(9px) rotate(45deg);
        -ms-transform: translateY(9px) rotate(45deg);
        -o-transform: translateY(9px) rotate(45deg);
        transform: translateY(9px) rotate(45deg);
    }

    .burger.clicked span::after {
        -webkit-transform: translateY(-9px) rotate(-45deg);
        -moz-transform: translateY(-9px) rotate(-45deg);
        -ms-transform: translateY(-9px) rotate(-45deg);
        -o-transform: translateY(-9px) rotate(-45deg);
        transform: translateY(-9px) rotate(-45deg);
    }

    .burger.clicked span:before, .burger.clicked span:after {
        background-color: #ffffff;
    }

    .burger:hover {
        cursor: pointer;
    }

    /*  NAV	========================================== */
    .mobile_m {
        background-color: #ffffff;
        position: fixed;
        z-index: 9;
        top: 0;
        right: 0;
        height: 100%;
        max-width: 515px;
        width: 100%;
        padding: 100px 40px 60px 40px;
        overflow-y: auto;
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        -moz-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        -o-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    }

    .mobile_m.show {
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
        transform: translateX(0px);
    }

    .mobile_m.show ul.main li {
        border-bottom: 1px solid #e8e8e8;
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 1;
    }

    .mobile_m.show ul.main li:nth-child(2n) {
        transition-delay: 0.15s;
    }

    .mobile_m.show , .mobile_m.show .social, .mobile_m.show ul.sub {
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
        transition-delay: .85s;
    }

    @media (min-width: 667px) {
    }

    .mobile_m ul.main {
        list-style-type: none;
    }

    .mobile_m ul.main li {
        margin-bottom: 10px;
        -webkit-transform: translateX(40px);
        -moz-transform: translateX(40px);
        -ms-transform: translateX(40px);
        -o-transform: translateX(40px);
        transform: translateX(40px);
        opacity: 0;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .mobile_m ul.main li:last-of-type {
        margin-bottom: 0px;
    }

    .mobile_m ul.main li a {
        color: #000000;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1.5rem;
        display: block;
        font-weight: 600;
        padding: 10px 0;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .mobile_m ul.main li a span {
        color: #b7ac7f;
    }

    .mobile_m ul.main li a:hover {
        color: #b7ac7f;
    }

    .burger.clicked {
        top: 5px;
        right: 25px;
        position: fixed;
    }

    .mobile_search {
        /* text-align: center; */
    }

    .mobile_search a {
        font-size: 25px;
        padding: 10px;
    }

    .mobile_search i {
        padding: 10px;
        color: black;
    }

    .mobile_m ul.main li a i {
        float: right;
        color: white;
        font-size: 20px;
    }

    .mm-open {
        display: block !important;
        background: #a2a2a2 !important;
    }

    .search-modal.hien {
        display: block !important;
        position: fixed;
        height: 100vh;
        top: 0;
        left: 0;
        right: 0;
        white-space: nowrap;
        z-index: 9999;
        background: #fff;
        opacity: 1;
        /* visibility: hidden; */
        -webkit-transition: 1s all;
        -moz-transition: 1s all;
        -ms-transition: 1s all;
        -o-transition: 1s all;
        transition: 1s all;
    }

    .search-modal-inner.modal-inner {
        top: 27% !important;
        position: absolute;
        width: 100%;
    }

    a.close_search {
        position: absolute;
        right: 0;
    }

    form.woocommerce-product-search {
        padding: 0 20px;
    }

    input#woocommerce-product-search-field-1 {
        width: 100%;
        background: 0 0;
        font-size: 20px;
        color: #000;
        font-weight: normal;
        -webkit-appearance: none;
        outline: none!important;
        padding: 10px 20px;
        border-radius: 20px;
        border: 1px solid #ffa800;
    }

    .search-modal button.btntop {
        background-color: #ffa800;
        height: 50px;
        width: 50px;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 0px;
        border-radius: 50px;
        right: 16px;
        /* border-top-right-radius: 4px; */
        /* border-bottom-right-radius: 4px; */
        outline: none;
    }

    h2.title_yk {
        font-size: 28px;
    }

    .dv_text {
        text-align: center;
        padding: 0 !important;
    }

    h1.title_center_page.left {
        font-size: 26px !important;
        line-height: inherit;
        letter-spacing: inherit;
    }
}

@media screen and (max-width: 998px) {
    a#scrollUp {
        bottom: 82px !important;
    }

    .footer_hotline {
        text-align: center;
        position: fixed;
        bottom: 0;
        width: 100%;
        background: red;
        color: white;
        left: 0 !important;
        border-radius: 0;
        padding: 10px 20px;
        font-size: 30px;
        z-index: 9999;
    }

    table {
        width: 100% !important;
    }

    table td {
        /* width: 33% !important; */
        /* float: left; */
    }

    ul.sub-menu.mm-open li {
        width: 100%;
        background: bottom;
        border-bottom: 1px solid #fff;
    }

    .logo-header.col-sm-2.col-md-3 {
        text-align: center;
    }

    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        width: 48%
    }

    .woocommerce ul.products li.product .button {
        width: 100%;
    }

    .w247_style_produc a.button {
        width: 100% !important;
    }

    .w247_style_produc .hidden-xs-xemnhanh a.yith-wcqv-button {
        display: none !important
    }

    .w247_style_produc {
        border: 1px solid #FFF
    }

    .woocommerce .star-rating {
        left: 20px;
        float: left
    }

    #home-w247-ads-produc .widget_text img {
        margin-bottom: 15px;
        max-width: 100%;
        float: left
    }

    .title-section .link-cat {
        float: left
    }

    .title-section .link-cat a {
        padding: 2px;
        margin: 1px;
        font-size: 12px;
        float: left
    }

    .title-section h2 {
        font-size: 15px;
    }

    .tab-fashion .slick-prev, .tab-fashion .slick-next {
        top: 15px;
    }

    .w247_mobile .search-header .yith-ajaxsearchform-container form {
        border: 2px solid #EEE !important;
        margin-top: 10px
    }

    .w247_mobile .search-header .yith-ajaxsearchform-container form #yith-s {
        padding: 5px;
        font-size: 12px;
    }

    .search-header .yith-ajaxsearchform-container form #yith-searchsubmit {
        padding: 5px;
        font-size: 12px;
    }

    .footer_w247_news .list_news_w247 {
        width: 100%;
        float: left;
        margin: 10px 0;
        padding: 10px 0
    }

    .archive .cont-cate-all ul.products li:nth-child(3n-1) {
        margin-left: 0 !important;
        margin-right: 0 !important
    }

    .archive .cont-cate-all ul.products li:nth-child(3n+1) {
        clear: none !important
    }

    .archive .cont-cate-all ul.products li:nth-child(2n+1) {
        clear: both !important
    }

    .post_page .wp-caption {
        max-width: 100% !important;
        float: left
    }

    .post_page img {
        max-width: 100% !important;
        display: block
    }

    .slider-fashion .col-xs-6.col-md-2:nth-child(2n+1) {
        clear: both !important
    }

    .search-header .yith-ajaxsearchform-container form #yith-searchsubmit {
        width: 30%;
        padding: 12px 5px;
    }

    .search-header .yith-ajaxsearchform-container form #yith-s {
        width: 70%;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff !important;
    }

    .click-menu-2 {
        display: block
    }

    .woocommerce ul.products li.product {
        width: 50% !important;
    }

    .click-categori-css {
        display: block;
        float: right;
        background: transparent;
        border: transparent;
        position: absolute;
        top: 10px;
        right: 10px
    }

    .sidebar-home ul li {
        display: none
    }

    ul.sub-menu {
        display: none;
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    .sidebar-home ul li.bacot .sub-menu {
        opacity: 1 ;
    }

    .sidebar-home ul li:hover .sub-menu {
        -moz-transform: scale(0,0);
    }

    .menu-header nav ul li {
        width: 100%;
    }

    .menu-header nav ul li ul {
        -moz-transform: none;
        -ms-transform: none;
        -webkit-transform: none;
        transform: none;
        top: 0px;
    }

    .cart-header p {
        padding: 11px 0px;
        background: none !important;
    }

    .cart-header p i {
        color: #333;
    }

    .sub-menu {
        position: relative !important;
        width: 100% !important;
        padding-left: 10px !important;
        margin-bottom: 10px;
        border: none !important;
        border-bottom: none
    }
}

@media (min-width: 768px) and (max-width:980px) {
    .sidebar-home h6 {
        font-size: 12px;
    }

    #text-2 .textwidget img {
        float: left;
    }

    .footer_w247_news .list_news_w247 {
        width: 100%;
        float: left;
    }

    .menu-header nav ul li a {
        padding: 10px 5px;
        font-size: 12px;
    }
}

@media screen and (min-width: 300px) and (max-width: 480px) {
    /* Mobile Landscape View */@media screen and (min-width: 480px) and (max-width: 767px) {
    }

    /* Tablet View */
    @media screen and (min-width: 768px) and (max-width:1209px) {
        .sidebar-home h6 {
            font-size: 12px;
        }

        #text-2 .textwidget img {
            float: left;
        }

        .menu-header nav ul li a {
            padding: 10px 5px;
            font-size: 12px;
        }

        .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
            width: 48%
        }

        .woocommerce ul.products li.product .button {
            width: 100%;
        }

        .w247_style_produc a.button {
            width: 100% !important;
        }

        .w247_style_produc .hidden-xs-xemnhanh a.yith-wcqv-button {
            display: none !important
        }

        .w247_style_produc {
            border: 1px solid #FFF
        }
    }

    @media screen and (min-width: 768px) and (max-width: 980px) {
        .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
            width:48%
        }

        .woocommerce ul.products li.product .button {
            width: 100%;
        }

        .w247_style_produc a.button {
            width: 100% !important;
        }

        .w247_style_produc .hidden-xs-xemnhanh a.yith-wcqv-button {
            display: none !important
        }

        .w247_style_produc {
            border: 1px solid #FFF
        }
    }

    @media screen and (max-width: 980px) {
        .hotline_left {
            float: left;
            position: fixed;
            left: 0;
            background: #f8a000de !important;
            padding: 10px 20px;
            font-size: 20px;
            color: white;
            border-radius: 0 !important;
            bottom: 0;
            z-index: 999;
            width: 100%;
            text-align: center;
        }

        .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
            width: 48%
        }

        .woocommerce ul.products li.product .button {
            width: 100%;
        }

        .w247_style_produc a.button {
            width: 100% !important;
        }

        .w247_style_produc .hidden-xs-xemnhanh a.yith-wcqv-button {
            display: none !important
        }

        .w247_style_produc {
            border: 1px solid #FFF
        }
    }
