::-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 {
    height: 100vh;
    background-color: white;
    position: absolute;
    color: black;
    overflow: scroll;
    width: 20%;
    min-width: 300px;
    padding: 0.5%;
}

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

#select-material-mobile, #screenshot-menu {
    z-index: 200;
}

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

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

#preview-screenshot {
    position: absolute;
    background: #FFFFFF;
    display: none;
    width: 40%;
    left: 50%;
    top: 50% !important;
    transform: translate(-50%, -50%);
}

@media only screen and (min-width: 1820px) {
    #preview-screenshot {
        width: 25.1% !important;
        min-width: 573px;
    }

    #preview-material-image {
        height: 350px !important;
    }
}

@media only screen and (min-width: 1701px) and (max-width: 1819px) {
    #preview-screenshot {
        width: 31% !important;
        min-width: 573px;
    }

}

@media only screen and (min-width: 1501px) and (max-width: 1700px) {
    #preview-screenshot {
        width: 32% !important;
        min-width: 573px;
    }
}

@media only screen and (min-width: 1301px) and (max-width: 1500px) {
    #preview-screenshot {
        width: 36.1% !important;
        min-width: 573px;
    }

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

@media only screen and (min-width: 1201px) and (max-width: 1300px) {
    #preview-screenshot {
        width: 34% !important;
    }

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

@media only screen and (min-width: 1101px) and (max-width: 1200px) {
    #preview-screenshot {
        width: 40% !important;
    }

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

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

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


    #preview_area {
        left: 20% !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;
    }

}

@media only screen and (max-width: 450px) {
    /*mobile*/
    #back-menu {
        margin-top: 5px !important;
    }

    #select-material-mobile {
        height: 45vh;
        /*top: 55vh;*/
        background-color: #F5F5F5;
        position: absolute;
        color: black;
        overflow-x: hidden;
        /*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;
    }

    /*end mobile*/
    #select-material {
        display: none;
        width: 100%;
        padding: 0.5%;
    }

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


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

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

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

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

    #close-x {
        left: 85.8%;
        top: 108px;
        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: block !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;
    }


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

    #preview_area {
        min-width: 300px !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 {
    margin-bottom: 15px;
    margin-top: 5px;
    font-size: 14px;
}

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

#close-select-material {
    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: auto;
    max-height: 325px;
    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;
}

._content1 {
    position: relative;
}

._content2 {
    position: relative;
    padding: 0 10px;
}

.color-input-mobile {
    margin-right: calc(var(--bs-gutter-x) * -.5) !important;
    margin-left: calc(var(--bs-gutter-x) * -.5) !important;
    padding-top: 6px;
}

.color-input {
    padding-top: 6px;
}


#preview-screenshot .nav.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 20px;
    padding: 2px;
    font-size: 1.3rem;
}

#preview-screenshot .nav.nav-tabs > li {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
}

#preview-screenshot .nav.nav-tabs > li > a {
    display: block;
    text-align: center;
    white-space: nowrap;
    padding: 10px 12px;
}


#preview-screenshot .nav-tabs li a {
    color: rgba(102, 112, 133, 1);
}

.vietnamese-local .form-control {
    min-height: 48px !important;
    border-radius: 8px !important;
}

.vietnamese-local label {
    color: black;
    font-weight: 500;
    font-size: 14px;
    margin-top: 10px;
}

.vietnamese-local button {
    padding: 5px 40px;
}

@media (min-width: 992px) {
    #modal_khuvuc .modal-lg {
        width: 617px !important;
    }
}