body.yandialog_open{
    overflow: hidden;
}
.yandialog_bg{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y:auto;
    background: rgba(0,0,0,0.3);
    display: none;
    z-index: 10000;
}
.yandialog{
    opacity: 0;

    position: absolute;

    background: #fff;
    min-width: 190px;
    z-index: 10000;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;

}
.yandialogheader{
    position: relative;
    padding:15px;



}
.yandialogheadertitle{
    font-size: 16px;
    color: #333;
    display: block;
    margin-right: 30px;
}
.yandialoggrabbing{
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
    cursor: grabbing;
    cursor: move\9;
}
.yandialogheaderclose{
    position: absolute;
    right: 10px;
    top: 16px;
    width: 20px;
    height: 20px;
    background: #ccc;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
}
.yandialogheaderclose:hover{
    background: #0e90d2;
}
.yandialogcontent{
    padding:15px;
}
.yandialogsuccess{
    padding:10px;
    background: #a7e4ec;
    color: #557478;
    border-top: 1px solid #ddd;
}
.yandialogerror{
    padding:10px;
    background: #fff5e2;
    color: #8e887e;
    border-top: 1px solid #ddd;
    word-break: break-all;
    word-wrap: break-word;

}
.yandialogfooter{
    background: #fafafa;
    border-top: 1px solid #ddd;
    padding:8px 10px;
}

.yandialogbtn{
    border:none;
    padding:3px 10px;
    display: inline-block;
    font-size: 14px;
    border-radius: 2px;

}
.yandialogbtnsubmit,a.yandialogbtnsubmit:hover,a.yandialogbtnsubmit:focus{
    background: #0e90d2;
    color: #fff;
}

.yandialogbtncancel{
    background: #bababa;
    color: #fff;
    margin-left: 7px;
}


/* ============================= theme  ======================= */

/* dz */
.yandialog_theme_dz .yandialog{
    border:7px solid rgba(0,0,0,0.1);
    border-radius: 10px;
}

/* bs */
.yandialog_theme_bs .yandialog{
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.yandialog_theme_bs .yandialogheader{
    border-bottom: 1px solid #eee;
}

/* simple */
.yandialog_theme_simple .yandialog{
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.yandialog_theme_bs .yandialogheader{

}
/* bg */
.yandialog_theme_bg .yandialog{
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.yandialog_theme_bg .yandialogheader{
    background: #fafafa;
}