/* 弹窗 (background) */
.demo-modal {
    display: none; /* 默认隐藏 */
    position: fixed; 
    color: #333;
    z-index: 999;
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}

/* 弹窗内容 */
.demo-modal-content {
    text-align:left;
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 15px;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    width: 380px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    /*-webkit-animation-name: animatetop;*/
    /*-webkit-animation-duration: 0.4s;*/
    /*animation-name: animatetop;*/
    /*animation-duration: 0.4s*/
}

/* 添加动画 */
/*@-webkit-keyframes animatetop {*/
/*    from {top:-300px; opacity:0} */
/*    to {top:0; opacity:1}*/
/*}*/

/*@keyframes animatetop {*/
/*    from {top:-300px; opacity:0}*/
/*    to {top:0; opacity:1}*/
/*}*/

/* 关闭按钮 */
.demo-modal-close {
    color:#cbcbcb;
    float: right;
    font-size: 20px;
    font-weight: bold;
}


.demo-modal-close:hover,
.demo-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}



.demo-modal-header {
    margin: 0;
    padding: 6px 0px;
    line-height: 1.42857143; 
    border-bottom: 1px solid #e5e5e5;
}

.demo-modal-body {
    margin: 6px 0px;
}

.demo-modal-body input{
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.demo-modal-footer {
    margin-top: 12px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.demo-modal-footer button{
    margin: 12px 6px 0px 0px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    display: inline-block;
    padding: 6px 12px; 
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143; 
    border: 1px solid #ccc;
    border-radius: 4px;
}