.msPopupDiv {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.msPopupDiv .msPopup {
    width: 95%;
    max-width: 95%;
    clear: both;
    position: fixed;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 70px calc(100% - 70px);
    background: #fff;
    left: 50%;
    top: 50%;
    border: 1px solid #cbcbcb;
    box-shadow: 10px 10px 20px #e5e5e5;
    -webkit-box-shadow: 10px 10px 20px #e5e5e5;
    -moz-box-shadow: 10px 10px 20px #e5e5e5;
    border-radius: 20px;
    padding: 0px 0px;
    max-height: 95%;
    overflow: hidden;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.msPopupDiv .msPopup .titleWrap {
    color: #FFF;
    margin: 0px 0px 0px 0px !important;
    border-bottom: 0px none !important;
    padding: 18px 18px !important;
    background: #FFF !important;
    display: grid;
    grid-template-columns: auto 30px;
}
.msPopupDiv .msPopup .titleWrap .left {
    text-overflow: clip;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 500;
    color: #000;
    padding: 5px 0px 0px 7px;
    font-size: 19px;
}
.msPopupDiv .msPopup .titleWrap .right {
    cursor: pointer;
    padding: 8px;
    margin: -5px 0px 0px 0px;
}
.msPopupDiv .msPopup .titleWrap .right img {
    max-width: 16px !important;
    max-height: 16px !important;
    width: auto;
    height: auto;
    display: block;
}
.msPopupDiv .msPopup .contentWrap {
    padding: 5px 25px 25px 25px;
    transition: opacity 1s ease;
    overflow: auto;
}
.msPopupDiv .msPopup .contentWrap::-webkit-scrollbar {
    width: 7px;
}
.msPopupDiv .msPopup .contentWrap::-webkit-scrollbar-thumb {
    background-color: #e5e5e5;
    border-radius: 10px;
}
.msPopupDiv .msPopup .contentWrap::-webkit-scrollbar-track {
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: inset 0px 0px 5px white;
}
.msPopupDiv .msPopup.opend {
    transition: all 1s;
}
.msPopupDiv .msPopup.admin .titleWrap .right {
    margin: 0px 0px 0px 0px;
}
.msPopupDiv .msPopup.blue {
    border: 1px solid #067eda;
}
.msPopupDiv .msPopup.blue .titleWrap {
    background: #067eda !important;
}
.msPopupDiv .msPopup.drag {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}
.msPopupDiv:before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: #FFF;
    opacity: 0.7;
    filter: alpha(opacity=70);
    left: 0px;
    top: 0px;
}
.msPopupDiv.hide {
    top: -99999px;
    left: -99999px;
    width: 0px;
    height: 0px;
}
.msPopupDiv.hide:before {
    content: none;
}
.msPopupDiv.hide .msPopup {
    top: -99999px !important;
    left: -99999px !important;
    width: 0px !important;
    height: 0px !important;
}

@media only screen and (max-width: 640px) {
    .msPopupDiv .msPopup {
        grid-template-rows: 56px calc(100% - 56px);
    }
    .msPopupDiv .msPopup .titleWrap {
        padding: 5px 10px !important;
    }
    .msPopupDiv .msPopup .titleWrap .left {
        padding: 9px 0px 0px 7px;
    }
    .msPopupDiv .msPopup .titleWrap .right {
        margin: 3px 0px 0px 0px !important;
    }
    .msPopupDiv .msPopup .contentWrap {
        padding: 5px 20px 20px 20px;
    }
}
