div.ngiam-modal {
    position: fixed;
    *position: absolute;
    _position: absolute;
    top: 0px;
    _bottom: auto;
    _top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));
    background-color: #676a6c;
    filter: alpha(opacity=50);
    opacity: 0.5;
    z-index: 10000;
    width: 100%;
    height: 100%;
    left: 0;

    display: block;
}

div.ngiam-modal-body {
    position: fixed;
    _position: absolute;;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

div.ngiam-modal-content {
    position: fixed;
    _position: absolute;
    z-index: 10001;
    _bottom: auto;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.ngiam-modal-dialog {
    font-family: "Microsoft Yahei", "微软雅黑", Arial;
    letter-spacing: 2px;
    background-color: #ffffff;
    /*border: 1px solid #3872ff;*/
    position: absolute;
    font-size: 14px;
    color: #333;
    width: 650px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.ngiam-modal-dialogheader {
    text-align: center;
    width: 100%;
    height: 40px;
    line-height:40px;
    background-color: #306cff;
    color: white;
    padding-top:0px;
    margin-top:0px;
    font-weight:700;
    font-size:16px;
    margin-bottom: 20px;
}

.ngiam-modal-dialogmain {
    text-align: center;
    padding: 0 30px 20px;
    font-size:14px;
    clear: both;
    position:relative;
    color: #676a6c;
    size: 30px;
}

.ngiam-modal-dialogfooter {
    text-align: center;
    padding: 20px;
    size: 15px
}

.ngiam-modal-closebutton {
    float: right;
    cursor: pointer;
    font-size: 18px;
    _font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
    margin-right: 10px;
}

.ngiam-modal-dialogfooter .ngiam-modal-button {
    color:white;
    background-color: #3872ff;
    padding: 6px 20px;
    margin:0 10px;
    font-size:15px;
    cursor: pointer;
}