body, dl, dd, ul, p, pre, h1, h2, h3, h4, h5, h6, button, input, textarea, form {
    margin: 0
}

ul, input, textarea, button, select {
    padding: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td {
    padding: 0
}

ul {
    list-style: none
}

img {
    border: 0
}

div, ul, li, a, input, textarea, select {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0)
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400
}

em, i {
    font-style: normal
}

input {
    outline: 0
}

a {
    text-decoration: none;
    outline: 0
}

a::-moz-selection {
    background: 0 0
}

a::selection {
    background: 0 0
}

body {
    font-family: PingFangSC-Regular, sans-serif, Helvetica;
    background: #f7f7f7
}
.wrapper{
    float:left;
    width:94%;
    margin-left:3%;
    background:#FFFFFF;
    border-radius: 10px;
    position:relative;
    padding-top:20px;
    padding-bottom:20px;
    margin-top:15px;
}

.payMethod {
    float: left;
    width: 94%;
    height: 40px;
    margin-left: 3%;
    background: #FFFFFF;
    border-radius: 10px;
    position: relative;
    margin-top: 2%;
}

.icon {
    position: absolute;
    right: 5%;
}

.picture-line {
    position: relative;
    margin-top: inherit;
    height: 24px
}

.discountString {
    background: linear-gradient(90deg, #FF7171 0%, #FF2E2E 100%);
    display: none;
    height: 100%;
    margin-left: 5px;
    border-radius: 0 12px 12px 9px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
}

.merchant-title{
    text-align:left;color:#989898;font-size:14px;margin:0;margin-top:10px;
}
.merchant-info{
    margin-top:10px;
    padding-left:20px;
    padding-right:20px;
}
.merchant-name{
    font-size:16px;
    margin-top:10px;
    margin-bottom:20px;
    color:#333;
}
.avatar{
    position:absolute;
    width:48px;
    height:48px;
    border-radius: 50%;
    left:50%;
    margin-left:-25px;
    top:-25px;
    border:2px solid #5ca3da;
}
.avatar img{
    border-radius:50%;
    width:100%;
}

.line{
    height: 1px;
    border-top: 1px dashed #f5f5f5;
    width: 100%;
}
.amount{
    font-size: 16px;
    float:right;
    line-height:40px;
    margin-top:0;
    margin-bottom:0;
    color:#333;
}
.amount-title{
    margin-top:0;
    font-size: 16px;
    color:#989898;
    float:left;
    line-height:45px;
    margin-bottom:0
}
.btn {
    height:42px;
    text-align:center;
    line-height:42px;
    border-radius:5px;
    background-image:-webkit-linear-gradient(#5ca3da, #5ca3da);
    color:#FFFFFF;
    border:1px solid #5ca3da;
    background-color:#5ca3da;
    /*box-shadow:0px 0px 5px 0px #999 inset;*/
}
.btn-wrapper{
    float: left;
    width: 94%;
    margin-top: 28px;
    margin-left: 3%;
}
.note-wrapper{
    float: left;
    width: 94%;
    margin-top:12px;
    margin-left: 3%;
}
.note{
    width:100%;float:left;
    font-size: 12px;
    color: #5ca3da;
    margin-top:10px;
}
.note-detail{
    margin-top: 15px;
    color: #989898;
    overflow: hidden;
}
.btn.disable, .confirm.disable {
    background-image:-webkit-linear-gradient(#d3d3d3, #d3d3d3) !important;
    box-shadow:none;
    border:1px solid #d3d3d3 !important;
    color:#FFFFFF;
    background-color:#d3d3d3 !important;
}
.wrapper.success{
    border:none;
}
.info{
    border-bottom:1px dashed #5ca3da;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top:10px;
}
.confirm{
    margin-top:0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.success .success-icon-wrapper{
    position: relative;
    text-align: center;
    top: 0;
    margin-top: 25px;
    width: 64px;
    height: 64px;
    margin-left:-33px;
    left: 50%;
}
.success-icon-wrapper img{
    width:100%;

}
.order{
    font-size:14px;
    color:#989898;
    margin-bottom:24px;
}
.success .amount{
    font-size:32px;
}
.success .line{
    width:100%;
    margin-left:0;
    margin-right:0;
}
.success .btn-wrapper{
    margin-bottom:24px;
    margin-top:24px;
    width:50%;
    margin-left:25%
}
.success .btn{
    background:#FFFFFF;
    color:#5ca3da;
    border:1px solid #5ca3da;
    font-weight:700;
}
.line-divider{
    width:88%;
    height: 1px;
    margin-left: 6%;
    border-top:1px dashed #eee;
    float:left;
}
.tips{
    padding:5px;
    margin:0;
    min-height:30px;
    text-align:center;
    background:#ec6464;
    color:#f5f5f5;
    position:fixed;
    top:0;
    left:0;
    right:0;
    line-height:30px;
    z-index: 9999;
    font-size:14px;
}
.remark {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .5)
}

.remark-box {
    position: relative;
    top: 45%;
    margin: 0 30px;
    background: #f7f7f7;
    overflow: hidden;
    -webkit-border-radius: 8px;
    -webkit-transform: translateY(-50%)
}

.remark-box h3 {
    padding-top: 15px;
    text-align: center;
    color: #333;
    font-size: 17px
}

.remark-box p {
    padding: 15px
}

.remark-box input {
    width: 100%;
    height: 40px;
    text-indent: 10px;
    color: #333;
    font-size: 14px;
    background: #fff;
    border: 1px solid #eee;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box
}

.remark-box ul {
    overflow: hidden
}

.remark-box li {
    width: 50%;
    float: left;
    letter-spacing: 3px;
    line-height: 50px;
    color: #007fff;
    text-align: center
}

.remark-box li:active {
    background: #eee
}

.remark-box ul.border-t:after, .remark-box li.border-r:before {
    background: #ddd
}
.keyboard {
    position: fixed;
    height: 240px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    padding-bottom:constant(safe-area-inset-bottom);
    padding-bottom:env(safe-area-inset-bottom);
}

.number {
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    float: left;
    border-right: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;

}
.number:active {
    background-color: #f2f5f7
}
.del {
    background: url(../img/del.png) no-repeat center center;
    background-size: 34px 24px;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    float: left;
    border-right: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}
.del:active{
    background-color: #5ca3da
}
.one-2-nine {
    float: left;
    width: 33%;
}

.payment {
    float: left;
    width: 24%;
}

.number-wrapper {
    float: left;
    width: 75%;
}

.oper-wrapper {
    width: 25%;
    float: left;
}
.amount span {
    float: right;
    border: none;
    text-align: right;
    height: 40px;
    font-size: 32px;
    color: #989898;
    line-height: 40px;
}
#money:before{
    content:"￥";
    font-size:14px;
    padding-left:7px;
    color:#989898
}


.confirm {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    float: left;
    border-right: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    height: 180px;
    width: 100%;
    line-height: 180px;
    background: #5ca3da;
    color: #FFFFFF
}
