.modalBackward {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    background: rgba(74, 74, 74, 0.43);
    transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
}

.modalBackward.open {
    border-radius: 0;
    opacity: 1;
    z-index: 99;
}

.mdl {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 250px;
    z-index: -1;
    background: white;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    overflow: hidden;
    padding: 0 8px;
    visibility: hidden;
    opacity: 0;
    transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
}

.mdl.show {
    z-index: 99;
    visibility: visible;
    opacity: 1;
}

.mdlHeader {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 4px 0;
    direction: rtl;
}

.mdlBody {
    display: flow-root;
    padding: 8px;
    margin: 0 auto;
    min-height: 120px;
    min-width: 360px;
    direction:rtl;
    max-height:480px;
    overflow:auto;
    
}

.mdlFooter {
    display: flow-root;
    width: 100%;
    padding: 0 6px 16px;
    margin: 0 auto;
}

.headerItems {
    display: inline-block;
}

.btnCloseModal {
    -webkit-mask: url(modalClose.svg?v=1);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    background-color: var(--danger);
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin: 0px 4px 0px 0;
}

.modalTitle {
    font-size: 14pt;
    margin: 0 8px;
    padding: 0;
    font-weight: bold;
}

.btnModal {
    border: none;
    display: inline-block;
    border-radius: 6px;
    font-size: 10pt;
    padding: 6px;
    text-decoration: none;
    color: white;
    text-align: center;
    min-width: 46px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    margin-right: 8px;
}

.btnCancel {
    background-color: var(--textLight);
}

.btnOk {
    background-color: var(--success);
}
.textConfirm {
    text-align: center;
    font-size: 14pt;
    white-space: nowrap;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

@media screen and (min-width: 0) and (max-width: 600px) {
    .mdl {
        max-width: calc(100% - 32px);
        width:98%;
    }
    .mdlBody {
        min-width: 270px;
        max-height :550px;
        padding:8px 14px;
    }
}