﻿.select-mps,
.select-mps .combo {
    position: relative;
}

    .select-mps .combo,
    .select-mps .combo.fix:before,
    .select-mps .combo:after,
    .select-mps .clear,
    .select-mps .multiChk a,
    .select-mps .box:not(.multiCol):not(.multiChkCol) .options label,
    .select-mps .box:not(.multiCol):not(.multiChkCol) .options label span,
    .select-mps .multiChk .approve,
    .select-mps .multiChkCol .approve {
        display: flex;
    }

        .select-mps .combo,
        .select-mps .combo.fix:before,
        .select-mps .combo:after,
        .select-mps .clear,
        .select-mps .box:not(.multiCol):not(.multiChkCol) .options label,
        .select-mps .box:not(.multiCol):not(.multiChkCol) .options label span,
        .select-mps .multiChk .approve,
        .select-mps .multiChkCol .approve {
            align-items: center;
        }

            .select-mps .combo.disabled {
                background-color: #fcfcfc;
                cursor: default !important;
            }

    .select-mps .combo,
    .select-mps .box {
        background-color: #fff;
    }

    .select-mps .combo {
        justify-content: start;
        width: 100%;
        min-height: 38px;
        border: 2px solid rgba(34,36,38,.15);
        border-radius: 0.25rem;
        padding: 0 7px 0 20px;
    }

    .select-mps.en .combo {
        padding: 0 20px 0 7px;
    }

    .select-mps .combo.fix:before {
        display: block;
        content: attr(data-content);
        top: -19px;
        right: 7px;
        color: green;
        opacity: 0.3 !important;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: calc(100% - 14px);
        font-size: 0.8rem;
        pointer-events: none;
    }

    .select-mps .combo.ny {
        border: 2px solid rgb(50 177 0);
    }

    .select-mps .placeholder-cbo,
    .select-mps .container-cbo {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: calc(100% - 10px);
        pointer-events: none;
        font-size: 0.85rem;
    }

    .select-mps.en .placeholder-cbo,
    .select-mps.en .container-cbo {
        direction: ltr;
    }

    .select-mps .placeholder-cbo {
        color: #999;
    }

    .select-mps .combo.fix:before,
    .select-mps .combo:after,
    .select-mps .clear,
    .select-mps .box,
    .select-mps .multiChk .approve,
    .select-mps .multiChkCol .approve {
        position: absolute;
    }

    .select-mps .combo:after,
    .select-mps .clear,
    .select-mps .multiChk .approve,
    .select-mps .multiChkCol .approve {
        justify-content: center;
    }

    .select-mps .combo:after,
    .select-mps .clear {
        top: 0;
    }

        .select-mps .clear::before {
            font-size: 11px;
        }

    .select-mps .combo:after {
        content: "\f0d7";
        left: 6px;
        right: auto;
        font-family: 'Font Awesome 6 Pro';
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        font-style: normal;
        font-variant: normal;
        line-height: 1;
        text-rendering: auto;
    }

    .select-mps.en .combo:after {
        right: 6px;
        left: auto;
    }

    .select-mps .combo.active {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

        .select-mps .combo.active:after {
            transform: rotateZ(180deg);
        }

    .select-mps .clear {
        left: 15px;
        right: auto;
        padding: 0 5px;
    }

    .select-mps.en .clear {
        right: 15px;
        left: auto;
    }

    .select-mps .clear::before {
        padding-top: 3px;
    }

    .select-mps .box {
        overflow: hidden;
        min-width: 100%;
        display: none;
        right: 0;
        left: auto;
        z-index: 998;
    }

    .select-mps.en .box {
        left: 0;
        right: auto;
    }

    .lstCheck .box > div,
    .select-mps .box > div {
        border: 1px solid rgba(0,0,0,.25);
        border-top: 1px solid rgba(34,36,38,.15);
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

    .select-mps .box:not(.multiChk):not(.multiChkCol) > div {
        padding: 7px 0;
    }

    .lstCheck .multiChk > div,
    .select-mps .multiChk > div,
    .select-mps .multiChkCol > div {
        padding: 7px 0 30px 0;
    }

    .select-mps .multiCol table thead,
    .select-mps .multiChkCol table thead {
        position: sticky;
        top: 0 !important;
        background-color: #d5e4e9;
        color: #0d98c8;
    }

        .select-mps .multiCol table thead span,
        .select-mps .multiChkCol table thead span {
            font-size: 12px;
        }

        .select-mps .multiCol table thead > tr > *,
        .select-mps .multiCol table tbody > tr > *,
        .select-mps .multiChkCol table thead > tr > *,
        .select-mps .multiChkCol table tbody > tr > * {
            border: 1px solid #eee;
        }

        .select-mps .multiCol table thead > tr > *,
        .select-mps .multiChkCol table thead > tr > * {
            border-bottom: none;
        }

            .select-mps .multiCol table thead > tr > *:not(:first-child),
            .select-mps .multiCol table tbody > tr > *:not(:first-child),
            .select-mps .multiChkCol table thead > tr > *:not(:first-child),
            .select-mps .multiChkCol table tbody > tr > *:not(:first-child) {
                border-right: none;
            }

    .select-mps .multiCol table tbody > tr:not(:first-child) > *,
    .select-mps .multiChkCol table tbody > tr:not(:first-child) > * {
        border-top: none;
    }

    .select-mps .multiCol table tbody tr:hover,
    .select-mps .multiCol table tbody tr:nth-of-type(even):hover,
    .select-mps .multiChkCol table tbody tr:hover,
    .select-mps .multiChkCol table tbody tr:nth-of-type(even):hover {
        transition: background-color 150ms;
        background-color: #f5f5f5;
    }

    .lstCheck .box input[type=search],
    .select-mps .box input[type=search],
    .select-mps .multiCol table th,
    .select-mps .multiChkCol table th {
        height: 30px;
    }

    .select-mps .box .options:not(.line) {
        border-bottom: dashed 0.5px #ccc;
    }

    .select-mps .box .options.line {
        border-bottom: dashed 4px #f5f5f5;
    }

    .select-mps .multiCol table span,
    .select-mps .multiChkCol table span {
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 200px;
        margin: 0 10px;
        font-weight: 500;
    }

    .lstCheck .box .lst-items,
    .lstCheck .box .lst-items > div,
    .select-mps .box .lst-items,
    .select-mps .box .lst-items > div {
        margin-top: 7px;
    }

        .select-mps .box .lst-items,
        .select-mps .box .lst-items > div {
            max-height: 210px;
        }

        .lstCheck .box .lst-items,
        .lstCheck .box .lst-items > div {
            max-height: 266px;
        }

    .lstCheck .box-pagination,
    .select-mps .box .box-pagination {
        transform: scale(0.85);
        margin-top: 2px;
    }

        .select-mps .box .box-pagination li {
            padding: 0 !important;
        }

    .lstCheck .count,
    .select-mps .box .count {
        font-size: 10px;
    }

    .select-mps .box .notfound,
    .select-mps .box > div > div:first-child,
    .select-mps .box:not(.multiCol):not(.multiChkCol) .options label {
        padding: 0 7px;
    }

    .select-mps .multiCol .lst-items,
    .select-mps .multiChkCol .lst-items {
        margin-right: 7px;
        margin-left: 7px;
    }

    .lstCheck .box input[type=search],
    .select-mps .box input[type=search] {
        width: 100%;
        padding: 0 7px;
        outline: none;
        border: 1px solid rgba(34,36,38,.15);
    }

    .select-mps.en .box input[type=search] {
        direction: ltr;
    }

    .lstCheck .box input[type=search]:focus,
    .select-mps .box input[type=search]:focus {
        border: 1px solid rgba(82, 168, 236, 0.8);
        box-shadow: 0 1px 1px rgb(0 0 0 / 8%) inset, 0 0 8px rgb(82 168 236 / 60%);
    }

    .select-mps .multiChk a {
        margin-top: 10px;
        font-size: 12px;
    }

    .select-mps .box:not(.multiCol):not(.multiChkCol) .options label.active:hover,
    .select-mps .box:not(.multiCol):not(.multiChkCol) .options label:hover {
        background-color: #418fa5 !important;
    }

    .lstCheck .multiCol table tbody > tr,
    .select-mps .combo,
    .select-mps .box:not(.multiCol):not(.multiChkCol) .options label,
    .select-mps .multiCol table tbody > tr,
    .select-mps .multiChkCol table tbody > tr {
        cursor: pointer !important;
    }

        .select-mps .box:not(.multiCol):not(.multiChkCol) .options label:hover > span {
            color: #fff;
        }

        .select-mps .combo:after,
        .select-mps .clear,
        .select-mps .box:not(.multiCol):not(.multiChkCol) .options label,
        .select-mps .box:not(.multiCol):not(.multiChkCol) .options label > span,
        .select-mps .multiCol .options div > span,
        .select-mps .multiChkCol .options div > span {
            height: 100%;
        }

    .select-mps .box:not(.multiCol):not(.multiChkCol) .options > label {
        flex: 1;
    }

        .select-mps .box:not(.multiCol):not(.multiChkCol) .options > label div,
        .select-mps .box:not(.multiCol):not(.multiChkCol) .options > label span {
            display: block;
            padding-top: 5px;
            padding-bottom: 5px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

        .select-mps .box:not(.multiCol):not(.multiChkCol) .options > label span {
            padding-left: 5px;
            padding-right: 0;
            max-width: 270px;
        }

    .select-mps.en .box:not(.multiCol):not(.multiChkCol) .options > label span {
        padding-right: 5px;
        padding-left: 0;
        direction: ltr;
    }

    .select-mps .box:not(.multiCol):not(.multiChkCol) .options > label > div {
        padding-right: 5px;
        color: #ccc;
        max-width: 270px;
        white-space: nowrap;
    }

    .select-mps .box:not(.multiChk) .options.bg,
    .select-mps .multiChk .options label.active,
    .select-mps .multiChkCol .options label.active {
        background-color: #f6f9fa;
    }

    .select-mps .box .notfound {
        font-size: 11px;
        margin-top: 5px;
        color: var(--clrred);
        direction: rtl;
        white-space: nowrap;
    }

    .select-mps .multiChk .approve,
    .select-mps .multiChkCol .approve {
        width: 100%;
        bottom: 10px;
    }

/* dent-mps */
.dent-mps {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 3px solid rgba(34,36,38,.15);
    border-radius: 0.25rem;
    z-index: 999999;
}

    .dent-mps input[type=text] {
        font-size: 16px !important;
    }

    .dent-mps input[type=button] {
        font-size: 20px !important;
    }

    .dent-mps > .fix {
        display: flex;
        display: flex;
        align-items: center;
        height: 42px;
        flex: 1;
        background-color: #fcfdfe;
    }

        .dent-mps > .fix .viewdent {
            width: calc(100% - 20px);
            height: calc(100% - 10px);
            margin: 0 10px;
        }

        .dent-mps > .fix tr > td {
            width: 50%;
            height: 20px;
            padding: 0 !important;
            background-color: transparent;
        }

    .dent-mps > button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 42px;
        background-color: #e9f0f3 !important;
        color: #a2bfc9;
        border: none;
        border-right: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        cursor: pointer;
    }

    .dent-mps > .box-dent {
        position: absolute;
        top: 20px;
        left: -25%;
        background-color: #f3e9e9;
        box-shadow: 0 1px 10px rgb(0 0 0 / 15%);
        border-radius: 0.25rem;
        transform: scale(0.8) translateX(-50%);
        z-index: 999999;
    }

        .dent-mps > .box-dent > table {
            margin: 10px;
        }

            .dent-mps > .box-dent > table input {
                transform: scale(1);
                cursor: pointer;
            }

                .dent-mps > .box-dent > table input:active {
                    transform: scale(0.96,0.92);
                }

                .dent-mps > .box-dent > table input.slt {
                    background-color: var(--clrorange);
                    color: #fff;
                }
