@media screen and (min-width:991px) {
    @media screen and (min-width:991px) {
        .product-filter, .filter-result, .mei_mobile {
            display: none;
        }

        #myTabContent {
            margin-left: -30px;
        }

        #assign {
            left: 30px;
        }
    }
}

@media screen and (max-width:990px) {
    #divAddProduct,
    #tbRecommand,
    #tbExtra,
    #divContainer {
        display: none;
    }

    .mobile-p-0 {
        padding: 0 !important;
    }

    .fontbody {
        font-size: 14px !important;
        min-width: 100% !important;
    }

    .temple21_area.pdzero,
    .fixFrame.pdzero,
    .csp003 {
        padding-right: unset !important;
        padding-left: unset !important;
    }

        .pdzero,
        .csp003 #divSPQ014 {
            padding-right: 15px !important;
            padding-left: 15px !important;
            margin-right: auto;
            margin-left: auto;
        }

    #divSplitView {
        margin-right: auto;
        margin-left: auto;
    }

    .product-profile {
        margin-bottom: 2rem;
    }

        .product-profile h5 {
            font-size: 1.25rem;
            text-align: center;
            color: var(--main-color);
            font-weight: bolder;
        }

        .product-profile .describe {
            padding: 1rem;
            background-color: var(--gary-color-light100);
            position: relative;
        }

        .product-profile .extra {
            display: none;
        }

        .product-profile .describe .prodSwiper {
            margin-bottom: 1rem;
        }

        .product-profile .describe .prodSwiper2 {
            margin-bottom: .65rem;
        }

            .product-profile .describe .prodSwiper2 .pic {
                background-color: var(--white);
                text-align: center;
            }

                .product-profile .describe .prodSwiper2 .pic img {
                    width: auto;
                    height: 150px;
                }

        .product-profile .describe .prodSwiper .swiper-button-prev {
            top: 58%;
            left: 0;
        }

        .product-profile .describe .prodSwiper .swiper-button-next {
            top: 58%;
            right: 0;
        }

        .product-profile p.original {
            display: inline;
            margin: 0;
            padding: 0;
            color: var(--gary-color);
            word-break: break-all;
            word-wrap: break-word;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-profile input[type="checkbox"],
        .ceme_desc input[type="checkbox"] {
            height: 0em;
            display: block;
            appearance: none;
            outline: none;
            border: none;
        }

        .product-profile label,
        .ceme_desc label {
            position: absolute;
            right: .25rem;
            padding: .25em 1rem;
            color: var(--main-color);
            cursor: pointer;
            border-radius: 0.5em;
            border: none;
        }

            .product-profile label:before,
            .ceme_desc label:before {
                font-family: "Font Awesome 5 Free";
                content: "\f078";
                border: none;
            }

        .product-profile input[type="checkbox"]:checked ~ label:before,
        .ceme_desc input[type="checkbox"]:checked ~ label:before {
            font-family: "Font Awesome 5 Free";
            content: "\f077";
            border: none;
        }

        .product-profile .dots:has(~ input[type="checkbox"]:checked) {
            display: none;
        }

        /*.product-profile .extra:has(~ input[type="checkbox"]:checked) {
            display: inline;
        }*/

        .product-profile p:has(~ input[type="checkbox"]:checked),
        .ceme_desc span:has(~ input[type="checkbox"]:checked) {
            -webkit-line-clamp: unset;
        }

    .filter-area {
        background: var(--main-color);
        padding: 1rem;
    }

        .filter-area .btn-area {
            margin-bottom: .85rem;
            display: flex;
            justify-content: flex-end;
        }

            .filter-area .btn-area .btn-clear {
                background-color: var(--white);
                padding: .65rem 1.5rem;
                border-radius: 100px;
            }

    .panel-group {
        margin-bottom: 0px;
    }

    .panel-body {
        padding: 1rem 0rem 0;
    }

    .panel-group .panel + .panel {
        margin-top: 0;
        border-top: 0;
    }

    .panel-group .panel {
        color: var(--white);
        border-radius: 0;
        margin-bottom: 0px;
        background-color: transparent;
        border: 0px solid transparent;
        -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
        margin-bottom: 1rem;
    }

        .panel-group .panel:last-child {
            margin-bottom: 0rem;
        }

    .panel > .panel-heading {
        color: var(--white);
        background-color: var(--white100);
        padding: .5rem;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .panel > .panel-heading .panel-title {
            font-size: 1.15rem;
        }

    .panel .panel-heading a {
        display: block;
        padding: .35rem .5rem;
        text-decoration: none;
    }

        .panel .panel-heading a:after {
            content: "";
            position: relative;
            top: 1px;
            display: inline-block;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            float: right;
            transition: transform .25s linear;
            -webkit-transition: -webkit-transform .25s linear;
        }

        .panel .panel-heading a[aria-expanded="true"]:after {
            font-family: "Font Awesome 5 Free";
            content: "\f068";
        }

        .panel .panel-heading a[aria-expanded="false"]:after {
            font-family: "Font Awesome 5 Free";
            content: "\f067";
        }

    .panel-group .panel-heading + .panel-collapse > .list-group,
    .panel-group .panel-heading + .panel-collapse > .panel-body {
        border-top: 1px solid var(--white500)
    }

    .row-col-two,
    .row-col-three {
        display: flex;
        flex-wrap: wrap;
    }

        .row-col-two .control-group {
            flex: 0 0 50%
        }

        .row-col-three .control-group {
            flex: 0 0 33.3333%
        }

    .data-list {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

        .data-list dt {
            flex: 0 0 100px;
            /*            text-align: right;
*/ padding: 0.35rem 10px;
        }

        .data-list dd {
            flex: 0 0 calc(100% - 100px);
            padding: .35rem 0;
        }

    .nav-profile-Set {
        position: relative;
        z-index: 10;
        margin-bottom: 1rem;
    }

        .nav-profile-Set a {
            text-decoration: none;
            color: var(--black);
        }

        .nav-profile-Set .items-all {
            width: calc(100% - 0px);
        }

    .toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--main-color);
        position: absolute;
        z-index: 16;
        top: 0;
        right: 0;
        width: 52px;
        height: 52px;
    }

        .toggler i {
            color: var(--white);
        }


    .nav-profile-Set .items-all ul.first {
        width: calc(100% - 52px);
        list-style: none;
        margin: 0;
        padding: 0 1rem;
        height: 52px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        position: relative;
        background: #EFF0F2;
        overflow-x: scroll;
        position: relative;
        z-index: 10;
    }

        .nav-profile-Set .items-all ul.first li {
            flex: 0 0 auto;
            white-space: nowrap;
            display: block;
            margin-right: 1.25rem;
        }

        .nav-profile-Set .items-all ul.first.first-after {
            overflow-x: hidden;
        }

        .nav-profile-Set .items-all ul.first.first-before {
            top: 0;
            left: 0;
            width: calc(100% - 52px);
            z-index: 999;
            overflow-x: scroll;
        }

        .nav-profile-Set .items-all ul.first li:hover,
        .nav-profile-Set .items-all ul.first li:focus,
        .nav-profile-Set .items-all ul.first li:active,
        .nav-profile-Set .items-all ul.first li:visited,
        .nav-profile-Set .items-all ul.first li.active {
            /*background-color: var( --main-color-light --white);
            border-radius: 100px;
            padding: .25rem .5rem;*/
            /*color: var(--white);*/
            /*cursor: default;*/
            /*background-color: var(--white);
            border: 1px solid var(--main-color);*/
            color: #555;
            cursor: default;
            background-color: #fff;
            border: 1px solid #ddd;
            border-bottom-color: transparent;
        }

    .nav-profile-Set .items-all .second {
        flex: 0 0 100%;
        background: #EFF0F2;
        padding: .5rem 1rem;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 15;
    }

    .nav-profile-Set .items-all ul.second-list {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .nav-profile-Set .items-all ul.second-list li {
            color: var(--gary-color);
            flex: 0 0 auto;
            margin-right: .5rem;
            margin-bottom: 1rem;
            padding: .25rem .5rem;
        }

            .nav-profile-Set .items-all ul.second-list li a {
                text-decoration: none;
                transition: .5s;
                display: flex;
                align-items: center;
                /* padding: .25rem .5rem; */
            }

            .nav-profile-Set .items-all ul.second-list li:hover,
            .nav-profile-Set .items-all ul.second-list li:visited,
            .nav-profile-Set .items-all ul.second-list li:focus,
            .nav-profile-Set .items-all ul.second-list li:active,
            .nav-profile-Set .items-all ul.second-list li.active {
                /*background-color: var(--main-color-light);
                border-radius: 100px;*/
                color: #555;
                cursor: default;
                background-color: #fff;
                border: 1px solid #ddd;
                border-bottom-color: transparent;
            }

    /* tab */
    .product-filter-content .nav-tabs {
        border-bottom: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .product-filter-content .nav-tabs li a {
            border-radius: 100px;
            border: 1px solid var(--main-color);
            margin-right: 0px;
            /*padding: .5rem 2rem;*/
        }

        .product-filter-content .nav-tabs li {
            width: 19.5%;
            text-align: center;
            margin-right: 3px;
        }

            .product-filter-content .nav-tabs li:last-child {
                margin-right: 0;
            }

    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:focus,
    .nav-tabs > li.active > a:hover {
        color: var(--white);
        cursor: default;
        background-color: var(--main-color);
        border: 1px solid var(--main-color);
    }

    .product-filter-content p {
        color: var(--black);
    }

    .product-filter-content .tab-content {
        padding: 1rem 0;
    }

    .product-filter-content .pic-scroll-area {
        overflow-x: scroll;
    }

    .product-filter-content .table-scroll-area {
        overflow: scroll;
        height: 45vh;
    }

    .product-filter-content .btn-area {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

        .product-filter-content .btn-area .w-50 {
            flex: 0 0 50%;
        }

    /* tab-content */
    .form-group-area {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

        .form-group-area::after {
            content: "";
            flex: 0 0 calc(33.33333% - 6px);
        }

        .form-group-area .d-flex {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }

    .select-border.col-two {
        flex: 0 0 calc(50% - 6px);
    }

    .select-border.col-three {
        flex: 0 0 calc(33.33333% - 6px);
    }

    .select-border {
        border: 1px solid var(--white);
        margin-bottom: .5rem;
    }

    .form-group {
        margin: 0rem 0 1rem;
    }

    .select-control {
        width: 100%;
        height: 45px;
        padding: 0 1rem;
        color: var(--white);
        border: none;
        border-radius: 0;
        box-sizing: border-box;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: url(/Images/icon-select-w.svg) no-repeat calc(100% - 10px) center;
        background-size: 12px;
    }

        .select-control option {
            background: rgb(98 129 177);
        }

    .form-group-area .form-group.col-one {
        flex: 0 0 100%;
    }

    .form-group-area .form-group.col-two {
        flex: 0 0 calc(50% - 6px);
    }

    .form-group-area .form-group.col-three {
        flex: 0 0 calc(33.33333% - 6px);
    }

    .input-control {
        width: 100%;
        height: 45px;
        padding: .75rem 1rem;
        color: var(--white);
        border: none;
        border-radius: 0;
        box-sizing: border-box;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 1px solid var(--white);
        background-color: transparent;
    }

        .input-control::placeholder {
            font-size: 1rem;
            color: var(--white);
        }

    .select-area {
        padding: 0 .5rem;
        font-size: 1.35rem;
        font-weight: bolder;
    }

    #divSPQ013 {
        left: 0;
    }

    .modal-body {
        padding: 10px 0;
    }

    .csp003 #divSPQ014 .modal-body {
        padding: 10px;
        padding-bottom: 4px;
    }

    .viewContainer {
        width: unset;
        height: unset;
        float: unset;
    }

    .spq015 .searchResult > span,
    .spq015 .pageShow span {
        font-size: 15px;
    }

    #mobiledownload_pannel .select2-container .selection > .select2-selection {
        height: 100%;
    }

        #mobiledownload_pannel .select2-container .selection > .select2-selection > .select2-selection__rendered {
            line-height: 44px;
        }

        #mobiledownload_pannel .select2-container .selection > .select2-selection > .select2-selection__arrow {
            line-height: 44px;
            height: 43px;
        }

    #myTabContent #ckeditor_tabContent1 {
        overflow: auto;
    }

    #myTabContent li a {
        padding: 3px .5rem;
    }

    #myTabContent li {
        margin-bottom: 5px;
    }

    #myTabContent {
        margin-top: -3px;
    }

    .content_desc {
        word-break: break-all;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #mobilemyTab a,
    .second.open a {
        font-size: 16px;
    }

    #confirmMessage {
        padding-left: 16px;
    }
    .title-decoration h2.title{
        padding-left:0;
    }
}
