/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Oct 17, 2015, 1:38:49 PM
    Author     : Manh Ha Hoang
*/

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #222;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    width: 6px;
    border-radius: 10px;
    background-color: #d1d1d1;
}

::-webkit-scrollbar-thumb {
    background-color: #111;
}


p a {
    text-indent: 0;
}

.product-img.blur {
    opacity: 0.4;
    cursor: default;
}
.prevent-click {
    pointer-events: none;
    cursor: default;
}


@media (max-width: 1024px) {
    .product-btn i {
        display: none;
    }
    .product-btn a {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 1025px) {
    .left-col {
        width: 20.123456%;
    }
    .right-col {
        width: 79.876544%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .float-left {
        float: left;
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 1020px) {
    .product-item:nth-child(4n+1){
        clear: left;
    }
}
@media (max-width: 992px) {

    .float-left {
        padding-left: 0;
        padding-right: 0;
    }
    .img-ads {
        display: none;
    }
    .col-xs-12 .txt-small {
        margin-left: -15px
    }

  

@media (min-width: 779px) {
    .right-box {
        margin-left: 2%;
        width: 23%;
    }

    .dropdown-menu.list-background .divider {
        padding: 0;
        margin: 0 10px 0 0;
    }
    .dropdown-menu.list-background > li > a {
        min-width: 130px;
        padding-top: 7px;
        padding-bottom: 7px;
        white-space: nowrap;
    }
    .dropdown-menu.list-background > li > a:hover{
        color: #75a012;
    }
    .dropdown-submenu i.fa-shopping-cart {
        position: absolute;
        right: 10px;
        top: 8px;
    }
    .list-background {
        padding-top: 0;
        min-height: 400px;
    }

    .dropdown-menu.list-categories {
        box-shadow: none;
        background: rgba(255,255,255,0.5);
        top: 0;
        border: none;
        border-left: 1px solid #d1d1d1;
        padding:5px 30px 0 30px;
        min-width: 200px;
        margin-top: 0;
        min-height: 398px;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
    }


    .sidebar {
        margin-top: 0;
        width: 25%;
        background-color: #fff;
    }

    .recommend-fix {
        position: fixed;
        width: 247px;
        top: 60px;
        z-index: 9999999;
    }

    .recommend-wrap {
        position: sticky;
        top: 70px;
        padding: 10px;
        background-color: #f8f8f8;
        border-radius: 5px;
    }
    .regist-bct p {
        margin-bottom: 15px;
    }
    .mobilehotline {
        display: none;
    }
    .clear-view:nth-child(4n+1) {
        clear: both;
    }

    .img-show-mobile-srceen {
        display: none;
    }
    .product-img a {
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        vertical-align: middle;
        overflow: hidden;
        position: relative;
        height: 180px;
        text-align: center;
    }

    
}

@media (max-width: 779px) {
    .list-background {
        background-image: none!important;
    }
    .dropdown-submenu>.dropdown-menu {
        margin-top:-5px;
        margin-left:-1px;
        -webkit-border-radius:0;
        -moz-border-radius:0;
        border-radius:0;
    }
    .btn-buy-cover {
        text-align: center;
    }
    .shipping-fee-cover {
        display: none;
    }
    .product-item:nth-child(4n+1){
        clear: left;
    }
}

@media (max-width: 670px) {

    .col-min-6 {
        width: 50%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .brand {
        display: none;
    }

}

/* For mobile display */
@media (max-width: 779px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 59px;
    }
    header {
        margin-top: 59px;
    }
    .header {
        padding-bottom: 0;
        padding-top: 3px;
    }
    #bs-example-navbar-collapse-1 .fa-home {
        display: none;
    }
    .home-txt {
        display: block;
    }
    .line-space  {
        background: none;
    }
    .prod-short-info {
        border: none;
    }
    .prod-short {
        width: auto;
        min-width: 20px;
    }
    .prod-short .prod-cell, .view-again, .logo, header .hotline{
        display: none;
    }
    .top-header  {
        display: inline-block;
        position: fixed;
        top: 0px;
        right: 10px;
        z-index: 9999;
    }
    .navbar-right.navbar-nav {
        padding: 0;
        margin: 0;
    }
    .navbar-nav.navbar-right li {
        list-style: none;
        display: block;
    }
    .navbar-nav.navbar-right li + li {
        border-top: 1px solid #e1e1e1;
    }
    .navbar-nav.navbar-right li a {
        padding: 7px 5px;
        display: block;
    }
    .top-header .navbar-toggle {
        right: 0;
        position: absolute;
        color: #fff;
    }
    #bs-example-navbar-collapse-1 {
        background: rgba(0, 0, 0, 0.85);
        top: 59px;
        position: absolute;
        left: 0;
        padding:0;
    }
    .navbar-collapse.collapse.in li a {
        padding-left: 30px;
    }
    .navbar-collapse.collapse.in li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.5);
    }
    #bg-dummy {
        background: rgba(0,0,0,0);
    }
    #bs-example-navbar-collapse-2 {
        background: rgba(0, 0, 0, 0.85);
        top: 59px;
        position: absolute;
        right: 0;
        width: 180px;
    }
    #bs-example-navbar-collapse-2 ul, #bs-example-navbar-collapse-2  li {
        padding: 0;
    }
    #bs-example-navbar-collapse-2.navbar-collapse.collapse.in li a {
        padding-left: 5px;
    }
    .header .search {
        padding-left: 0;
        padding-right: 0;
    }
    .action-tab.nav-tabs > li > a {
        padding-left: 5px;
        padding-right: 5px;
    }
    .action-tab i {
        display: none;
    }
    .zoom-desc, .zoom-thumbnail {
        max-width: 240px;
    }
    .zoom-small-image a {
        height: auto;
    }

    .btn-product {
        display: block;
        margin-top: 10px;
    }
    .btn-product .btn {
        margin: auto 5px;
    }
    .price-product p {
        /*width: 48%;*/
        float: none;
        display: inline;
    }
    .title-box {
        padding-bottom: 3px;
        padding-top: 10px;
    }
    .brand {
        clear: both;
        float: none;
    }
    .new-img {
        display:none;
    }
    .img-show-mobile-srceen {
        display: inline-block;
        float: left;
        margin: 1px 10px 7px 0;
    }
    .new-item {
        padding: 0;
    }

    .new-txt {
        padding-left: 0;
        float: left;
    }
    .new-txt h3 {
        line-height: 17px;
        margin-bottom: 5px;
    }

}

@media (min-width: 760px) and (max-width: 1200px) {
    .category-container {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }

    .category-container > .col-md-3 {
        width: 220px;
        padding: 0;
    }

    .category-container > .col-md-9 {
        width: calc(100% - 220px);
    }
     #top-myaccount > a {
        pointer-events: none;
    }

    #top-myaccount small.fl {
        display: none;
    }

    .product-list-content {
        grid-template-columns: repeat(auto-fill, minmax(calc(180px + (200 - 180) * ((100vw - 760px)/(1180 - 700))), 1fr));
    }

    .category-wrapper-list {
        width: 96%;
        margin: 0 auto;
    }

    .highlight-products .slick-next {
        right: 0;
    }
    .highlight-products .slick-prev {
        left: 0;
    }

    .benefit-wrapper .benefit-container {
        grid-template-columns: repeat(5, 1fr);
    }

    .flashSale-wrapper {
        position: relative;
    }

    .large-screen {
        display: none;
    }
    
    .prod-details-wrap .flashSale-countdown {
        display: none !important;
    }

    .prod-gallery {
        z-index: 0;
    }


    .slick-next {
        right: 10px;
    }

    .slick-prev {
        left: 10px;
    }
}
@media (min-width: 760px) and (max-width: 1200px) and (orientation:portrait) {
    body {
        border-top: 60px solid transparent;

    }
    body:before {
        content: "";
        height: 60px;
        width: 100%;
        background-color: #8cb630;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        display: block;
    }

    header {
        margin: 0;
    }
    .navbar-default {
        background-color: transparent;
        z-index: 1;
    }

    .cat-sort-new > .sort-item {
        padding-left: 10px;
        padding-right: 10px;
        margin: 0;
        transform: none;
    }

    .nav.navbar-nav.multi-level {
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 360px;
        height: 100%;
        z-index: 9999;
        padding: 15px 15px 80px;
        margin: 0;
        overflow: hidden auto;
        box-shadow: 0 6px 24px rgba(11 11 11 / 33%);
        opacity: 0;
        pointer-events: none;
        transform: translateX(-110%);
        transition: opacity 200ms eas-in-out, transform 200ms eas-in-out;
    }

    .has-lev3-child>a::after, .has-lev4-child>a::after {
        display: none !important;
    }

    .lev2-menu-list {
        min-height: 1px !important;
    }

    .lev3-menu-list, .lev4-menu-list {
        display: none !important;
    }

    .open-menu .navbar-default {
        z-index: 225;
    }

    .open-menu .nav.navbar-nav.multi-level {
        opacity: 1;
        pointer-events: all;
        transform: translateX(0);
    }

    .navbar-header {
        width: 190px;
    }

    .active.your-cart {
        width: 40px;
        position: fixed;
        top: 10px;
        right: 10px;
        background-color: transparent;
        z-index: 1;
    }
    .open-menu .active.your-cart {
        pointer-events: none;
        opacity: 0.4;
    }

    .active.your-cart > a {
        background-color: transparent !important;
    }

    .navbar-background {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        display: block;
        background-color: rgba(11 11 11 / 42%);
        z-index: 223;
        opacity: 0;
        pointer-events: none;
        transition: opacity 200ms eas-in-out;
    }

    .open-menu .navbar-background {
        opacity: 1;
        pointer-events: all;
    }

    .navbar-background:before,
    .navbar-background:after {
        content: "";
        width: 30px;
        height: 2px;
        display: block;
        background-color: #fff;
        position: absolute;
        top: 90px;
        right: 30px;
        pointer-events: none;
    }

    .open-menu .navbar.navbar-default .container {
        pointer-events: none;
    }

    .navbar-background:before {
        transform: rotate(45deg);
    }

    .navbar-background:after {
        transform: rotate(-45deg);
    }

    .nav-alphabet {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-gap: 10px;
        margin-bottom: 16px;
    }

    .letter-link {
        width: 100%;
        margin: 0;
    }

    .letter-link.more-products {
        grid-column-start: span 5;
        width: 100%;
    }
    

    .nav.navbar-nav.multi-level > li > a {
        font-weight: 500;
        color: #82a92c !important;
    }

    .nav.navbar-nav.multi-level > li > a {
        pointer-events: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-item.product-menu.static-menu:hover .list-products-menu {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        min-height: 1px !important;
        display: block;
    }

    .dropdown.line-space .lev2-menu-list {
        position: relative;
        top: auto;
        left: auto;
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .lev2-menu-item:nth-child(n+2), .lev3-menu-item:nth-child(n+2), .lev4-menu-item:nth-child(n+2) {
        border: none !important;
    }

    .nav-show-products {
        width: 100%;
        padding: 0;
        margin-top: 16px;
    }

    .products-sub.active {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .multi-level * {
        color: #111 !important;
        background-color: transparent !important;;
    }

    .header-right ul .hide-tablet {
        display: none ;
    }
    .header,
    .header-right,
    .header-right ul {
        width: 100%;
    }
    .footer-top {
        flex-wrap: wrap;
    }

    .footer-top > * {
        width: 48%;
        padding: 0;
        max-width: 48%;
    }

    .header .search {
        position: fixed;
        top: 6px;
        left: 200px;
        z-index: 211;
        width: 320px;
    }

    #search-header #custom-search-input {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        background-color: #fff;
        border-radius: 32px;
        border: 1px solid #8cb630;
    }
    #search-header #custom-search-input input {
        height: auto;
        padding: 10px;
        background-color: transparent;
        border: none;
        font-size: 15px;
        outline: none;
        box-shadow: none;
    }

    #search-header #custom-search-input button {
        border-radius: 32px;
        padding: 10px 24px;
        height: auto;
        position: relative;
        top: 0;
        right: 0;
        box-shadow: 0 2px 6px rgba(11 11 11 / 10%);
        background-color: #82a92c;
    }

    .hot-words-list {
        display: none;
    }

    .loading-icon {
        right: 75px;
    }

    .search-suggestions li h5 {
        font-size: 15px;
    }

    #top-myaccount > a {
        pointer-events: none;
        color: #fff;
    }

    #login-box,
    #top-myaccount,
    .header-hotline {
        position: fixed;
        top: 5px;
        left: 520px;
        z-index: 211;
    }

    #login-box,
    #top-myaccount {
        right: 60px;
        left: auto;
    }

    #login-box span {
        display: none;
    }

    #login-box img,
    #top-myaccount .fl {
        filter: brightness(0) invert(1);
    }

    .hotline-number span.txt-small,
    .header-hotline span {
        color: #fff;
    }

    .background-user {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 11;
        width: 100%;
        height: 100%;
        display: block;
        background: rgba(11 11 11 / 30%);
        opacity: 0;
        pointer-events: none;
    }

    .background-user.show {
        opacity: 1;
        pointer-events: all;
    }

    .your-cart .badge {
        top: -5px;
        right: -5px;
    }

    .main-banner {
        margin: 0;
        border-radius: 0;
    }

    .shopping-cart {
        flex-wrap: wrap;
    }

    .shop-wrapper {
        margin: 10px 0 0 0;
        width: 100%;
    }
    .shop-wrapper .btn-mua-hang {
        margin: 0 6px 0 0;
    }

    .product-feature-item {
        padding: 6px;
        flex-direction: column;
    }

    .product-feature-item span {
        width: 100%;
        padding: 0;
        margin: 6px 0 0 0;
        text-align: center;
    }

    .btn-mua-hang, .shop-summary {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .benefit-wrapper .benefit-container {
        grid-template-columns: repeat(6, 1fr);
    }

    .benefit-item {
        grid-column-start: span 2;
    }

    .benefit-item:nth-child(n + 4) {
        grid-column-start: span 3;
    }

    .viewed-price-box {
        overflow: auto hidden;
    }

    .viewed-item {
        width: 25%;
        padding: 6px;
    }
}
