/*模态框主体样式*/
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.header{
    width: 100%;
    height: 80px;
    color: #011408;
    /* 居中 */
    text-align: center;
    line-height: 100px;
}

.btn {
    border: none;
    outline: none;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin: 20px auto;
    cursor: pointer;
    text-align: center;
    display: block;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
    user-select: none;
}

.updateContent{
    margin-top: 5px;
    width: 100%;
    height: 30px;
    font: 15px "微软雅黑 Light";
    color: #011408;
    /* 左对齐 */
    text-align: left;
}

/*模态框公共样式*/
.modal-content {
    background-color: #fefefe;
    margin: 50px auto 0;
    padding: 20px;
    border: 1px solid #888;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    animation: modal-show 0.3s;
}

/* 正常大小 */
.modal-normal {
    width: 600px;
    height: 300px;
}

/* 中等大小 */
.modal-medium {
    width: 400px;
}

/* 迷你大小 */
.modal-mini {
    width: 250px;
}

/* 隐藏 */
.modal-hide {
    animation: modal-hide 0.3s;
}

/* 展示动画 */
@keyframes modal-show {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 隐藏动画 */
@keyframes modal-hide {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

/*关闭按钮*/
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

/*关闭按钮的鼠标点击和经过样式*/
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}