.modal-dialog {
    /* for dialog offset, set margin here */
}
div.modal-backdrop {
    opacity: 0.5;
}

div#zmodal form {
    margin-bottom: 0;
}

/* do not use scrolling inside modal body */
div.modal-body {
    max-height: none;
}

/* make it possible to use the nice modal footer inside the body, e.g. for tabs */
div.modal-body div.modal-footer {
    margin: -15px;
    margin-top: 0;
}

/* modal overlay - full screen dialog - below normal dialog */
.modal-overlay {
    position: fixed;
    z-index: 1031;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow-y: auto;
    background-color: white;
}
.modal-overlay-close {
    position: absolute;
    z-index: 1032;
    right: 8px;
    top: -10px;
    font-size: 48px;
    font-weight: 100;
    cursor: pointer;
}
.modal-overlay-close:hover {
    text-decoration: none;
}

.modal-overlay.overlay-top {
    z-index: 1061;
}
.modal-overlay.overlay-top .modal-overlay-close {
    z-index: 1062;
}
