/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * 
 * Pocess waiting
 * 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.dkf-modal {
    display:    none;
    position:   fixed;
    z-index:    9999;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 );
    overflow: auto;
}

#modal-message {
    display: none;
    position: absolute;
    top: 35%;
    width: 100%;
    margin: 0 auto;
}
  
#modal-message #modal-text {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    color: #00583C;
}
  
#modal-message #modal-spinner {
    background:
    url('../img/spinner.gif') 
    50% 50% 
    no-repeat;
    height: 100px
} 

.modal-content-wrapper {
    display: none;
    background-color: #ffffff;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    position: relative;
}

.modal-content-wrapper .close {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    color: white;
    background-color: black;
    font-size: 20px;
    cursor: pointer;
    padding: 0 3px;
}
  
.modal-content-wrapper .message {
    height: 400px;
    overflow-y: scroll;
}
  
.modal-content-wrapper .message .own_message {
    font-size: 14px;
}

body.loading {
    overflow: hidden;   
}

body.loading .dkf-modal {
    display: block;
}