
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.jdialog {
    margin: 10px;
    padding: 10px;
}

.msgbtn {
    width: 20%;
    height: 35px;
    background-color: lightblue;
    border: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .msgbtn:hover, .msgbtn:focus {
        background-color: lightcoral;
        color: lightcyan;
        border: 1px solid red;
    }
    
.btnok {
    width: 10%;
    height: 35px;
    color: #27ae60;
    border: 1px solid #27ae60;    
    font-size: 12px;
}

    .btnok:hover, .btnok:focus {
        background-color: #27ae60;
        color: white;
    }




.modal {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    width: 500px;
    border: 3px solid white;
    background-color: white;
    box-shadow: 0 2px 12px 0 rgb(0,0,0,0.4);
    /*display:none;*/
    z-index:1000;
    opacity:0;
    visibility:hidden;
    
}
.modal-header {
    height: 35px;
    padding: 5px 5px;
    background-color: #232483;
    color: white;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid blue;
    z-index: 11;
}

    .modal-header .title {
    font-size:large;    
    font-weight:900;
    }

    .modal-header .close-x {
        background-color: none;
        background: none;
        border: none;
        outline: none;
        font-size: larger;
        cursor: pointer;
        width: 28px;
        text-align: center;
        height: 28px;
        color:white;
    }

        .modal-header .close-x:hover, .close-x:focus {
            border: 1px solid;
            background-color: red;
            color: white;
        }

.modal-body {    
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    color: black;
    overflow-y:auto;
}

.modal-footer {
    background-color: white;
    padding: 5px;
    gap: 5px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid gray;
}


#screenlock {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transform: scale(1.1);
    transition: visibility 0s linear 0.15s, opacity 0.15s 0s, transform 0.15s;
}

    #screenlock.active, .modal.active {
        opacity: 1;
        pointer-events: all;
        visibility: visible;
        /*transform: scale(1.0);*/
        transition: visibility 0s linear 0s, opacity 0.15s 0s, transform 0.15s;
    }
