body {
    color: white !important;
}

#picker, #product-group-picker {
    overflow-y: auto;
    /* height: 35%; */
    display: flex;
    flex-wrap: wrap;
    padding: 0 13px;
    max-height: calc(100dvh - 155px);
}

#select-material-mobile {
    z-index: 10;
    overflow-x: hidden;
}

#picker > .item-img, #product-group-picker > .group-item-img {
    margin-left: 5px;
    margin-right: 5px;
}

#picker > .item-img > img,
#picker > .item-img > video, #product-group-picker > .group-item-img > img {
    width: 100%;
    height: 64px;
    margin-top: 10px;
    object-fit: cover;
}

#preview-material-image-video, #preview-product-group-image-video {
    text-align: center;
}

@media only screen and (min-width: 451px) {
    #select-material-mobile {
        display: none !important;
    }
}

/*@media only screen and (max-width: 768px) {*/
/*    .item-scene .thumbnail img {*/
/*        height: 100px !important;*/
/*    }*/
/*}*/

@media screen and (min-width: 451px)and (max-width: 1518px) {
    #preview-material-image, #preview-material-video {
        width: 85%;
    }

    #menu-mobile {
        display: none !important;
    }

    /*#cart-mobile {*/
    /*    display: none!important;*/
    /*}*/
    #display-view-list {
        display: none;
    }

    #picker > .item-img, #product-group-picker > .group-item-img {
        height: 22.5%;
        width: 21%;
        padding-top: 1%;
    }

    /*.active, .material-item:hover {*/
    /*    border: 1px solid #AD3A3A;*/
    /*    box-shadow: 0px 3px 3px #ddadad;*/
    /*    transition-delay: 0.1s;*/
    /*}*/
}

@media screen and (min-width: 1519px) and (max-width: 1899px) {
    #picker {
        /*height: 35%;*/
    }

    #picker > .item-img, #product-group-picker > .group-item-img {
        height: 33%;
        width: 21%;
        padding-top: 2%;
    }

    /*.active, .material-item:hover {*/
    /*    border: 1px solid #AD3A3A;*/
    /*    box-shadow: 0px 3px 3px #ddadad;*/
    /*    transition-delay: 0.1s;*/
    /*}*/
    #display-view-list {
        display: none;
    }
}

@media screen and (min-width: 1900px) {
    #picker > .item-img, #product-group-picker > .group-item-img {
        height: 33%;
        width: 21.92%;
        padding-top: 2%;
    }

    /*.active, .material-item:hover {*/
    /*    border: 1px solid #AD3A3A;*/
    /*    box-shadow: 0px 3px 3px #ddadad;*/
    /*    transition-delay: 0.1s;*/
    /*}*/
}

@media screen and (max-width: 1440px) {
    #picker > .item-img > .material-item, #product-group-picker > .group-item-img > .group-material-item {
        height: 58px;
    }
}

.material-item.vh-active, .material-item:hover, .item:hover, .h-active {
    border: 2px solid #AD3A3A !important;
    box-shadow: 0px 3px 3px #ddadad;
    transition-delay: 0.1s;
}

.form-control-color {
    padding: 0;
    border: none;
}

.slider_desc1 {
    margin: 0px;
    margin-top: 8px;
    color: #333333;
    font-family: Arial;
    font-size: 14px;
    line-height: 18px;
    text-align: justify;
    overflow: hidden;
    transition: all 0.5s ease 0s;
    max-height: 37px;
}

.slider_desc {
    margin: 0px;
    margin-top: 0px;
    color: #333333;
    font-family: Arial;
    font-size: 14px;
    line-height: 18px;
    text-align: justify;
    overflow: hidden;
    transition: all 0.5s ease 0s;
    max-height: 60px;
}

#slider_desc_toogler, #slider_desc_toogler1 {
    border-top: silver 1px dotted;
    margin-top: 10px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

#slider_desc_toogler1 {
    margin-bottom: 12px;
}

#slider_desc_toogler {
    margin-bottom: 20px;
}

#slider_desc_toogler i, #slider_desc_toogler1 i {
    position: absolute;
    text-align: center;
    color: silver;
    font-size: 23px;
    font-family: fontawesome;
    left: calc(50% - 10px);
    margin-top: -13px;
    background: #fff;
}

.picker-color .form-control {
    padding: 0px !important;
}

.picker-color .form-control-color {
    max-width: 2.5rem;
}

.select_search {
    width: fit-content;
    border-radius: 5px;
    border: 1px solid #D7D7D7;
    background: #FFFFFF;
    margin-bottom: 5px;
    padding: 5px;
}

#size_tag {
    padding: 3px;
}

select#tags {
    margin-bottom: 0px;
    width: 45%;
    margin-left: 10%;
    color: #696969;
    background: #FFFFFF;
    border: 1px solid #D7D7D7;
    border-radius: 5px;
    font-weight: 400;
    font-size: 12px !important;
    line-height: 25px;
}

input, button, select, optgroup, textarea {
    font-family: unset !important;
    font-size: 14px !important;
}

#screenshot-menu {
    position: absolute;
    width: 100%;
    top: 35%;
    left: 88%;
}

#capture-screenshot {
    margin-top: 13px;
    margin-left: 8px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
    line-height: 16px;
}

#excel-mobile {
    display: none;
}

#capture-capture-text {
    color: white !important;
    text-decoration: none !important;
}

#close-x {
    font-family: none !important;
    font-size: 18px !important;
    line-height: normal !important;
}

#preview-screenshot {
    position: absolute;
    background: #FFFFFF;
    display: none;
    width: 40%;
    right: 135px;
    top: 10px;
}

#preview-material-name, #preview-product-group-name {
    margin-top: 3%;
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    box-sizing: border-box;
}

#capture-screenshot {
    width: 10%;
    background-color: #AD3A3A;
    padding: 10px;
}

.fade.show {
    opacity: 1;
}

/*#btn-chitiet, #btn-datmua {*/
/*    height: auto;*/
/*    text-decoration: none;*/
/*    color: white;*/
/*    text-align: center;*/
/*    padding: 10px 30px;*/
/*    border-radius: 7px;*/
/*    font-weight: 700;*/
/*    font-size: 15px;*/
/*}*/

#back-menu {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    transition: opacity 1s linear;
}

.vietnamese-local {
    padding-top: 8px;
    padding-bottom: 5px;
}

.vietnamese-local select {
    width: 31%;
    font-size: 12px !important;
    padding: 3px 20px 3px 3px;
    margin: 3px;
    border: 1px solid #a1a1a1;
    border-radius: 5px;
    padding-top: 5px;
    -webkit-appearance: none;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-position-x: 103%;
}

.validate-local {
    color: #AD3A3A;
}

.scroll-p::-webkit-scrollbar {
    width: 1px !important;
}

#loading {
    display: none;
    justify-content: center;
}

#loading-image {
    width: 45px;
    height: 45px;
}

#screenshot, #screenshot-2d {
    background: #2c6178;
    cursor: pointer;
    padding: 3px 18px 3px 9px;
    white-space: nowrap;
}

#primary-progress > circle:nth-child(1) {
    stroke: #B1B1B1;
}

#primary-progress-done {
    stroke: #47B7E5;
}

.link360 {

    color: rgb(34, 64, 131);
    cursor: pointer;

}

._filter_item:hover {
    cursor: pointer;
    background: #ff28302b;
}

._filter_item *:hover {
    cursor: pointer;
}

._inserted_info {
    display: none;
}


._inserted_info.slot_1 ._prd_info::after {
    content: "";
    position: absolute;
    top: -11px;
    left: 12%;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 11px solid #AD3A3A;
}

._inserted_info.slot_2 ._prd_info::after {
    content: "";
    position: absolute;
    top: -11px;
    left: 46%;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 11px solid #AD3A3A;
}

._inserted_info.slot_3 ._prd_info::after {
    content: "";
    position: absolute;
    top: -11px;
    left: 81%;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 11px solid #AD3A3A;
}

.layout_col3 ._inserted_info {
    display: block;
    padding: 5px;
}

.layout_col3 ._inserted_info ._prd_info {
    border: 2px solid #AD3A3A !important;
    position: relative;
    padding: 10px 15px;
}

.material-icons {
    position: absolute;
    top: 50px;
    right: 0px;
}

#select-material-mobile {
    display: none !important;
}

#close-select-material {
    z-index: 1;
}

._prd_search_name {
    display: none;
    padding: 5px;
}

._prd_search_name span {
    background: #ffffff !important;
    border-radius: 0px !important;
    height: 40px !important;
}

._prd_search_name input {
    border-radius: 0px !important;
    height: 40px !important;
}

._prd_filter.show_search_name ._prd_search_name {
    display: block;
}

.toggle_search_name.fa-search {
    display: block;
}

.toggle_search_name.fa-times {
    display: none;
}

._prd_filter.show_search_name .toggle_search_name.fa-search {
    display: none;
}

._prd_filter.show_search_name .toggle_search_name.fa-times {
    display: block;
}

body.modal-open #select-material {
    display: none;
}