.io-modal-overlay {
    z-index: 8000;
    background: #000 url(/images/bgStripe.png);
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.io-modal-body {
    padding:20px;
    overflow: auto;
    flex: 1 1 auto;
}

.io-modal-buttons {
    padding: 20px 10px 10px 10px;
    text-align: right;
    margin-bottom: 10px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1; /* ensure it sits above content */
}

.io-modal-buttons .io-button {
    min-width: 50px;
    font-size: 13px;
    text-align: center;
    margin: 0 4px;
}

.io-modal-buttons .io-button.default {
    background-color: #999;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.io-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: calc(100vh - 4rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    z-index: 8001;
    background-color: #fff;
    text-decoration: none;
    font-size: 15px;
    -moz-box-shadow: 0 0 50px #000;
    -webkit-box-shadow: 0 0 50px #000;
    box-shadow: 0 0 50px #000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.io-modal h2.title {
    padding: 10px;
    background-color: #666;
    color: #fff;
    margin: 0;
    font-size: 14px;
    -webkit-border-top-left-radius: 9px;
    -moz-border-top-left-radius: 9px;
    border-top-left-radius: 9px;
    -webkit-border-top-right-radius: 9px;
    -moz-border-top-right-radius: 9px;
    border-top-right-radius: 9px;
}

#loadingDialog .loadingMessage {
    margin: 0;
}

#loadingDialog .io-modal-body {
    padding: 20px;
}

.modal-message {
    max-width: 400px;
    line-height: 18px;
}

.lock-overflow {
    overflow: hidden;
}