/*弹出框*/
.am-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1110;
    display: none;
    opacity: 0;
    outline: 0;
    text-align: center;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    transition-property: transform, opacity;
    transition-property: transform, opacity, -webkit-transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    background-color: rgba(0,0,0,0.5);
}
.am-modal:focus {
    outline: 0;
}
.am-modal.am-modal-active {
    opacity: 1;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    overflow-x: hidden;
    overflow-y: auto;
}
.am-modal:before {
    content: "\200B";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.am-modal-dialog {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
    width: 270px;
    max-width: 100%;
    border-radius: 0;
    background: #f8f8f8;
    /*@media @large-up {
      width: @modal-lg;
      margin-left: -@modal-lg/2;
    }*/
}
@media only screen and (min-width:641px) {
    .am-modal-dialog {
        width: 540px;
    }
}
.am-modal-hd {
    padding: 15px 10px 5px 10px;
    font-size: 1.8rem;
    font-weight: 500;
}
.am-modal-hd + .am-modal-bd {
    padding-top: 0;
}
.am-modal-hd .am-close {
    position: absolute;
    top: 4px;
    right: 4px;
}
.am-modal-bd {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #dedede;
    border-radius: 2px 2px 0 0;
    line-height: 30px;
}
.am-modal-bd + .am-modal-bd {
    margin-top: 5px;
}
.am-modal-no-btn .am-modal-dialog {
    border-radius: 0;
    border-bottom: none;

}
.am-modal-footer {
    height: 44px;
    line-height: 44px;
    overflow: hidden;
    display: table;
    width: 100%;
    border-collapse: collapse;
}
.am-modal-btn {
    display: table-cell !important;
    padding: 0 5px;
    height: 44px;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    font-size: 1rem;
    line-height: 44px;
    text-align: center;
    color: #000;
    display: block;
    word-wrap: normal;
    /* for IE */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid #dedede;
}
