::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(235 227 227 / 30%);
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #5a5a5a;
}

::-webkit-scrollbar-thumb {
    background-color: silver;
    border-radius: 2px;
}

.show-element-mobile {
    display: none !important;
}

.mostly-customized-scrollbar {
    overflow: auto;
}

.visible-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #aaa; /* or add it to the track */
}

#select-material, #select-product-group {
    height: 100dvh;
    margin-top: 45px;
    background-color: white;
    position: absolute;
    color: black;
    overflow: scroll;
    width: 15%;
    min-width: 320px;
    padding: 0 0.5% 0.5% 0.5%;
}

#close-x {
    right: 140px;
    top: 15px;
    color: white;
}

#exampleColorInput, #exampleColorInput-mobile {
    height: auto !important;
}

@media only screen and (max-width: 450px) {
    /*mobile*/
    #select-material-mobile {
        height: 45vh;
        /*top: 55vh;*/
        background-color: #F5F5F5;
        position: absolute;
        color: black;
        overflow: auto;
        /*overscroll-behavior-y: contain;*/
        width: 100%;
        overflow-y: scroll;
        bottom: 0;
        padding-bottom: 30px;
    }

    #product-name-mobile {
        height: auto;
        background-color: #7A7A7A;
        padding-left: 5px;
        color: white;
        display: flex;
    }

    #product-name-mobile .name-mobile {
        padding: 6px;
        font-size: 14px;
        width: 85%;
        font-weight: 600;
        margin: auto 0;
    }

    #borberMapModal .modal-content {
        max-width: 280px;
    }

    /*end mobile*/
    #select-material {
        width: 100%;
        padding: 0.5%;
        height: unset;
        bottom: 0px;
    }

    #picker {
        max-height: 175px !important;
    }

    ._prd_container ._prd_img img {
        width: 90px !important;
        height: 90px !important;
    }

    ._prd_container ._prd_info {
        justify-content: space-between;
        display: flex;
        width: 100%;
        padding-right: 5px;
    }

    ._prd_container ._prd_info a span {
        display: none;
    }

    #picker.layout_col3 ._prd_container ._prd_img img {
        width: 100% !important;
        height: 100% !important;
    }

    #picker.layout_col3 ._prd_container ._prd_img {
        width: 120px !important;
    }

    #preview-material-image-video, #div_preview #preview-material-name, #preview-material-description,
    #div_preview .mb-10, #div_preview .price-group, #menu-bar-slide, #chi-tiet-dat-mua, div#\33 d-select-material,
    #quycach_paint, #capture-screenshot, #img-capture, #quycach_ton {
        display: none !important;
    }

    #screenshot-menu {
        background-color: #00000000 !important;
        top: 0 !important;
        left: 0 !important;
    }

    #preview-screenshot {
        width: 86% !important;
        left: 7%;
        top: 70px !important;
    }

    .content {
        /*width: 350px !important;*/
    }

    .tab-content {
        height: 280px !important;
    }

    #xuat-du-toan {
        /*margin: 10px 28.5% !important;*/
    }

    #close-x {
        left: 85.8%;
        top: 72px;
        height: 30px;
        width: 7%;
    }

    #search-name-product {
        margin-top: 0 !important;
    }

    .preview-material {
        padding: 5px 25px !important;
    }

    #picker {
        /*height: 70%!important;*/
        padding: 0 16px !important;
    }

    #back-select-material, #search-select-material {
        display: block !important;
        top: 34px;
    }

    #search-select-material {
        right: 25px;
    }

    #search_name {
        width: 84% !important;
        margin-left: 7.5%;
    }

    #picker > .item-img {
        width: 29.1%;
        margin-left: 2.1% !important;
        margin-right: 2.1% !important;
    }

    #picker > .item-img > img, #picker > .item-img > video {
        width: 100% !important;
        height: 85px !important;
        object-fit: contain;
    }

    #picker > .item-img > .text-name {
        font-size: 14px;
        display: block !important;
        line-height: 22px;
        margin: 5px 0;
    }

    #select-material {
        min-width: 322px;
    }

    #product-image-mobile {
        margin-top: 2px;
    }

    #product-image-mobile .item .material-item {
        height: 70px;
    }

    #product-image-mobile .item .text-name {
        display: none !important;
    }

    .show-element-mobile {
        display: block !important;
    }

    .hidden-element-mobile {
        display: none !important;
    }

    #close-select-material-mobile {
        /*background: #333333;*/
        /*opacity: 0.5;*/
        margin: auto 0;
        color: white;
        /*width: 35px;*/
        /*height: 35px;*/
        /*text-align: center;*/
        /*border-radius: 50%;*/
        /*position: absolute;*/
        /*cursor: pointer;*/
        /*top: 50%;*/
        /*left: 46%;*/
        /*-ms-transform: translate(-50%, -50%);*/
        /*transform: translate(-50%, 315%);*/
    }

    #menu-mobile {
        z-index: 101;
        position: absolute;
    }

    #display-view-list {
        /*z-index: 101;*/
        /*position: absolute;*/
        overflow: hidden;
        display: block;
    }

    #view-list {
        display: none;
    }

    #color-picker {
        display: none !important;
    }

    #excel-mobile {
        display: none !important;
        position: absolute;
        font-size: 1.45em !important;
        top: 25px;
    }

    #chi-tiet-mobile {
        /*display: none;*/
        position: absolute;
        /*top: 210px;*/
        /*right: 8px;*/
        font-size: 1.35em;
    }

    #cart-mobile {
        margin-top: 35px;
    }

    #cart-excel {
        margin: 0px 0px 5px !important;
    }

    .vietnamese-local select {
        width: 30% !important;
    }

    #preview_area {
        left: 0% !important;
        width: 100% !important;
    }

    #preview_area {
        min-width: 300px !important;
    }
}

@media only screen and (min-width: 451px) and (max-width: 800px) {
    #capture-screenshot {
        width: 10% !important;
    }

    #preview-screenshot {
        width: 45% !important;
    }

    #cart-excel {
        margin: 0px 10px 5px !important;
    }

    .vietnamese-local select {
        width: 30% !important;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1100px) {
    #capture-screenshot {
        width: 10% !important;
    }

    #preview-screenshot {
        width: 42% !important;
    }

    #cart-excel {
        margin: 0px 10px 5px !important;
    }

    .vietnamese-local select {
        width: 30% !important;
    }

    #preview_area {
        left: 20% !important;
    }
}

@media only screen and (min-width: 1101px) and (max-width: 1300px) {
    #capture-screenshot {
        width: 9% !important;
    }

    #preview-screenshot {
        width: 35% !important;
    }

    #preview_area {
        left: 25% !important;
    }
}

@media only screen and (min-width: 1301px) and (max-width: 1500px) {
    #capture-screenshot {
        width: 7% !important;
        margin-left: 55px !important;
    }

    #preview-screenshot {
        width: 30% !important;
    }

    #preview_area {
        left: 30% !important;
    }
}

@media only screen and (min-width: 1501px) and (max-width: 1819px) {
    #capture-screenshot {
        width: 6.5% !important;
        margin-left: 68px !important;
    }

    #preview-screenshot {
        width: 24% !important;
    }

    .vietnamese-local select {
        width: 30% !important;
    }
}

@media only screen and (min-width: 1820px) {
    #capture-screenshot {
        width: 4.8% !important;
        margin-left: 120px !important;
    }

    #preview-screenshot {
        width: 24% !important;
    }

    .home-tabs {
        padding: 10px !important;
    }

    #preview-material-image, #preview-product-group-image {
        height: 200px !important;
    }
}

.owl-theme .owl-nav {
    margin: 0px !important;
    font-size: 15px;
    width: 100%;
    line-height: 30px !important;
    display: block !important;
}

.owl-theme .owl-dots {
    display: none;
}

.owl-theme .owl-nav .owl-prev {
    float: left;
    background-color: #2625259e !important;
    color: white !important;
    font: revert !important;
    font-size: 28px !important;
    position: absolute;
    top: 22%;
    margin-left: -50% !important;
}

.owl-theme .owl-nav .owl-next {
    float: right;
    background-color: #2625259e !important;
    color: white !important;
    font: revert !important;
    font-size: 28px !important;
    position: absolute;
    top: 22%;
    margin-left: 45.5% !important;
}

.owl-theme .owl-nav .owl-prev span, .owl-theme .owl-nav .owl-next span {
    padding: 6px;
}

#picker > .item-img > .text-name {
    display: none;
}

#back-select-material, #search-select-material {
    display: none;
    color: black;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
}

.hidden-element {
    display: none !important;
}

#picker .material-item {
    display: inline-block;
    /* width: 45%;
    height: auto; */
}

.preview-material {
    padding: 5px 13px;
}

#preview-material-image, #preview-product-group-image {
    width: 100%;
    object-fit: contain;
}

#preview-material-video {
    width: 100%;
}

/*#btn-chitiet{*/
/*    width: 134px;*/
/*    height: 33px;*/
/*    left: 21px;*/
/*    top: 412px;*/

/*    background: #FDAB4A;*/
/*    border-radius: 10px;*/
/*    padding: 5px 43px;*/
/*    margin-right: 5px;*/
/*    color: black;*/
/*    font-weight: bold;*/

/*}*/

#btn-datmua {
    width: 134px;
    height: 33px;
    left: 188px;
    top: 412px;

    background: #6596D0;
    border-radius: 10px;
    padding: 5px 43px;
    margin-left: 5px;
    color: black;
    font-weight: bold;

}

#material-options {
    margin-top: 15px;
    display: flex;
}

.btn-material-options-items {
    white-space: nowrap;
    border-radius: 10px;
    border: 1px solid silver;
    padding: 3px 10px;
    margin-left: 5px;
}

#preview-material-name {
    font-weight: bold;
    margin-top: 5px;
    font-size: 14px;
}

#preview-material-description, #preview-product-group-description {
    margin-bottom: 15px;
    margin-top: 5px;
    font-size: 14px;
}

#preview-material-description p, #preview-product-group-description p {
    margin-bottom: 5px;
}

#close-select-material, #close-select-product-group {
    background: silver;
    color: white;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

#color-picker .picker-color .colorpick-eyedropper-input-trigger,
#color-picker-mobile .picker-color .colorpick-eyedropper-input-trigger {
    display: none !important;
}

#color-picker-mobile .picker-color {
    height: 25px !important;
}

#color-picker-mobile {
    padding: 0px 0px 5px 0px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    color: #8C110A !important;
    font-weight: 600;
}

.nav-tabs > li > a {
    color: black;
}

.tab-content {
    overflow-y: scroll;
    height: 215px;
    padding-top: 5px;
}

.text-color-local {
    color: black;
}

.color-defaul {
    color: #B7B7B7;
}

#preview_area {
    height: auto;
    position: absolute;
    color: black;
    width: 579px;
    /*min-width: 580px;*/
    padding: 0.5%;
    bottom: 0;
    left: 36%;
}

.owl-carousel .owl-item .item-area img {
    height: 76px;
    object-fit: cover;
}

#preview_area .owl-nav .owl-prev, #preview_area .owl-nav .owl-next {
    display: none;
}

.title-parent {
    margin-left: 5px;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 25px;
    color: #000000;
    margin-bottom: 0;
    border-bottom: 0;
}

.checkbox {
    margin-left: 10px;
}

#myModal {
    z-index: 1000;
    position: absolute;
    width: 87%;
    background: #FFFFFF;
    /*border: 1px solid #D7D7D7;*/
    /*border-radius: 5px;*/
    margin-top: 45px;
    /*padding-bottom: 12px;*/
}

.search_filter_product-fieldset {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 1px solid #D7D7D7;
    border-radius: 5px 5px 0 0;
    padding-bottom: 15px;
}

.item-filter {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.bottom-buttom-filter {
    display: flex;
    border: 1px solid #D7D7D7;
    border-radius: 0 0 5px 5px;
    padding: 15px;
}

#click-filter {
    background: #3d875d;
    color: white;
    border: 2px solid #3d875d;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 16px;
}

#click-filter:hover {
    background: #367551;
    border: 2px solid #367551;
}

.checkbox li label {
    padding: 3px 0 0 0;
    color: black;
}

.material-header {
    position: absolute;
    background: #d9d9d9;
    height: 45px;
    width: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-weight: bold;
    z-index: 1001;
}

#view-list {
    margin-top: 47px;
}

#info-bar {
    display: none;
}

.btn-border-map, .btn-rotate, .btn-change-view {
    cursor: pointer;
}

.btn-border-map.disabled, .btn-rotate.disabled, .btn-change-view.disabled {
    color: silver;
    pointer-events: none;
}

.btn-border-map.disabled *, .btn-rotate.disabled *, .btn-change-view.disabled * {
    fill: silver;
    pointer-events: none;
}

._prd_container {
    flex: 0 0 auto;
    width: 100%;
    padding: 5px;
    cursor: pointer;
}

._prd_container .material-item {
    width: 100%;
    display: flex !important;
}

._prd_container ._prd_img {
    width: 120px;
}

._prd_container ._prd_img img {
    width: 120px;
    height: 120px;
}

._prd_container ._prd_info {
    padding-left: 15px;
}

.layout_col3 ._prd_container {
    width: 33.33333333% !important;
}

.layout_col3 ._prd_container ._prd_img {
    width: 100%;
    height: 100%;
}

.layout_col3 ._prd_container ._prd_img img {
    width: 100%;
    height: 100%;
}

.layout_col3 ._prd_container ._prd_info {
    display: none;
}

.filter_surface {
    padding: 10px 5px 0px;
}

.filter_surface_item {
    border: 1px solid silver;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    margin-bottom: 3px;
    background: #ffffff;
    color: #000000;
}

.filter_surface_item.active {
    background: #AD3A3A;
    color: #ffffff;
}

._prd_toolbox {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    position: sticky;
    top: 0px;
    background: #ffffff;
    margin-top: 5px;
}

._prd_toolbox span, ._prd_toolbox div {
    border: 1px solid silver;
    padding: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D9D6D6;
    font-weight: bold;
}

._prd_toolbox span:hover {
    cursor: pointer;
    color: #DA251D;
    border: 1px solid #DA251D;
}

._prd_toolbox span:hover svg {
    fill: #DA251D;
}

._prd_toolbox div:hover {
    cursor: pointer;
    border: 1px solid #DA251D;
}

._prd_toolbox i:hover {
    color: #DA251D;
}

._prd_toolbox i.active {
    color: #DA251D;
}

#showModelQR .fa-qrcode {
    display: block;
}

#showModelQR .fa-times {
    display: none;
}

#showModelQR.toggle_search_name .fa-qrcode {
    display: none;
}

#showModelQR.toggle_search_name .fa-times {
    display: block;
}