.webi-modal {
    position: fixed;
    z-index: 1050;
    background-color: white;
    /*border: 1px solid #999;*/
    /*border: 1px solid rgba(0, 0, 0, 0.3);*/
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    /*    -webkit-transform: translateZ(0);
        transform: translateZ(0);    */
    width: 81%;
    top: 50.1%;
    left: 50.1%;
    -webkit-transform: translateX(-50.1%) translateY(-50.1%);
    -moz-transform: translateX(-50.1%) translateY(-50.1%);
    -ms-transform: translateX(-50.1%) translateY(-50.1%);
    transform: translateX(-50.1%) translateY(-50.1%);    

}

.webi-modal-error {
    z-index: 1056;  
    width: 36%;
    border: 1px solid red;
}

.webi-modal-info {
    z-index: 1054;  
    width: 36%;    
    border: 1px solid blue;
}


.webi-modal-backdrop {
    z-index: 1040;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.7);
}

.webi-modal-header {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color:  #ebf5fb;
}

.webi-modal-header h3 {
    line-height: 10px;
}

.webi-modal textarea {
    resize: none;
}

.modal-div {
    padding: 5px 25px;
}

.modal-body {
    position: relative;
    overflow-y: scroll;
    max-height: calc(100vh - 200px);
    padding: 15px;
}
.modal-footer {
    padding: 7px 7px 7px;
    margin-bottom: 0;
    text-align: right;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
    *zoom: 1;
}
.modal-footer:before,
.modal-footer:after {
    display: table;
    content: "";
    line-height: 0;
}
.modal-footer:after {
    clear: both;
}
.modal-footer .btn + .btn {
    margin-left: 5px;
    margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}

@media (max-width: 800px) {

    .webi-modal {
        width: 80%!important;
    }
    
    .btn {
        padding: 4px!important;
    }

}

.modal_prompt_small{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: black;
}

button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.close {
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.4;
    filter: alpha(opacity=40);
}
button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.text-info {
    color: #3a87ad;
}
