.ib-modalframe-container {
    border: none;
    z-index: 9991;
    margin: 0;
    background: white;
    position: absolute;
}

.ib-modalframe-header {
    cursor: pointer;
    height: 0;
}

.ib-modalframe-frame {
    float: left;
}

.t-prevent-submission {
    position: relative;
    margin: 0 auto;
}

.ib-modalframe-title {
    width: 100%;
    height: 0;
    vertical-align: middle;
    display: none;
}

.ib-modalframe-close {
    background: url("../../images/corelib/close.png") no-repeat;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.ib-modalframe-disabled {
    cursor: default;
}

.ib-modalframe-frame {
    border: none;
    z-index: 9991;
    margin: 0;
}

.ib-modalframe-hidden {
    opacity: 0;
}

.ib-modalframe-ff-frame {
    border: none;
    z-index: 9991;
    margin: 0;
    background: transparent;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*  overflow: hidden;*/
}

.ib-modalframe-ff-centering-div0 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ib-modalframe-ff-centering-div1 {
    display: table;
    margin: auto;
    height: 100%;
}

.ib-modalframe-ff-centering-div2 {
    display: table-cell;
    vertical-align: middle;
}

.ib-modalframe-ff-body-container {
    background: white;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
}

.ib-modalframe-ff-body-container .otp-confirm.ib-panel {
    border: none;
}

.ib-modalframe-ff-body {
    position: relative;
    display: table;
    border: 0;
    box-sizing: border-box;
}

.ib-modalframe-ff-header {
    position: absolute;
    width: 100%;
    height: 42px;
    cursor: default;
    overflow: hidden;

    /* for debug: */
    /*  border: solid green 3px;*/
}

.ib-modalframe-ff-title {
    width: 90%;
    height: 100%;
    vertical-align: middle;
    padding: 1px 10px;
    position: absolute;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* for debug: */
    /*  border: dotted red 1px;*/
}

.ib-modalframe-ff-close {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 10px;
    right: 10px;
    float: right;
    cursor: pointer;
    z-index: 1;

    /* for debug: */
    /*  border: dotted red 1px;*/
}

.ib-modalframe-ff-disabled {
    cursor: default;
}

