/* modal组件css */

.modal-dialog-mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 16998990;
    background: rgba(0, 0, 0, .7);
}

.modal-dialog-box {
    width: 100%;
    height: 100%;
    z-index: 16999000;
    position: fixed;
    display: none;
    padding: 60px 0;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    overflow-y: scroll;
    flex-direction: column;
    align-items: center;
}

.modal-dialog-box:before, .modal-dialog-box:after {
    width: 0;
    height: 0;
    flex: 1;
    content: "";
    display: block;
}

.modal-dialog-main {
    background: #fff;
    width: auto;
    height: auto;
    border-radius: 2px;
    padding: 0px 0px 40px 0px;
    position: relative;
    flex: none;
}

.modal-title {
    font-size: 20px;
    line-height: 50px;
    color: #333;
    font-weight: bold;
    padding: 0 0 0 20px;
    background: #F7F7F7;
    height: 50px;
    position: relative;
}

.modal-content {
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
}

.modal-close {
    width: 24px;
    height: 24px;
    background: url("../../src/close.png") no-repeat center center;
    background-size: 24px 24px;
    /*float: right;*/
    /*margin-top: 13px;*/
    /*margin-right: 13px;*/
    right: 13px;
    top: 13px;
    position: absolute;
}

.modal-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 36px;
    margin-top: 20px;
}

.modal-btn a:hover {
    text-decoration: none;
}

.modal-btn-ok {
    width: 115px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    margin: 0 5px 0 0;
    color: #fff;
    border-radius: 2px;
    font-size: 18px;
}

.modal-btn-cancel {
    width: 115px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 2px;
    font-size: 18px;
    background: #E8E8E8;
    color: #666;
    border: #E8E8E8 1px solid;
    margin: 0 0 0 5px;
}

.modal-dialog-box .input-err {
    border-color: #ff0000 !important;
}