/**
 * mobile reset
 */
* {
    box-sizing: border-box;
}
body,a,input{
    color: #445768;
}
html {
    /*background: #efefef;*/
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    font-size: .625rem
}
body,html {
    min-height: 100vh;
}
body, input, textarea, select{
    font-family: "microsoft yahei",tahoma,Helvetica,'鍗庢枃缁嗛粦',arial,'\5b8b\4f53','Hiragino Sans GB',sans-serif
}
body {
    font-size: 1.5rem;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent
}
h1,h2,h3,h4,h5,h6,ul,li,em,strong,pre,code, button {
    line-height: 1.5rem;
    font-size: 100%;
    font-style: normal
}
article,aside,blockquote,body,button,code,dd,details,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,input,legend,li,menu,nav,ol,p,pre,section,td,textarea,th,ul {
    margin: 0;
    padding: 0
}
input,select,textarea {
    font-size: 100%;
    box-shadow: none;
    -webkit-appearance: none;
}
input:focus{
    box-shadow: none;
    outline: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0
}
fieldset,img, button {
    border: 0
}
abbr,acronym {
    border: 0;
    font-variant: normal
}
del {
    text-decoration: line-through
}
address,caption,cite,code,dfn,em,th,var {
    font-style: normal;
}
ol,ul {
    list-style: none
}
caption,th {
    text-align: left
}
q:after,q:before {
    content: ''
}
sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}
sup {
    top: -.5em
}
sub {
    bottom: -.25em
}
a,ins {
    text-decoration: none
}
ul {
    list-style: none
}
img {
    border: 0;
    display: block;
}
p {
    margin: 0
}
a,a:link,a:visited,a:hover,a:active {
    text-decoration: none
}
textarea{
    resize: none;
}

/**
 * layout style
 */
.card{
    width: 100%;
    background: #fff;
    padding: 10px 15px;
    margin: 0px 0px 10px 0px;
}
.card-blue{
    padding: 15px;
    background: #49ced4;
    color: #fff;
}
.ft-form-group{
    width: 100%;
    position: relative;
}
.ft-bar-next{
    width: 100%;
    position: fixed;
    bottom: 0px;
    padding: 15px 15px;
    background: #fff;
    text-align: center;
    color: #49ced4;
    border: 0px;
}
.ft-submit-disabled{
    color: #ccc;
}
.ft-bar-order{
    width: 100%;
    font-size: 1.7rem;
    position: fixed;
    bottom: 0px;
}
.ft-bar-navs{
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
}

/**
 * widget style
 */
.ft-btn{
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #fff;
    position: relative;
    border-radius: 5px;
    text-overflow: ellipsis;
    padding: 10px 15px;
    outline: none;
}
.ft-btn-lg{
    font-size: 1.6rem;
    padding: 13px 20px;
}
.ft-btn-sm{
    font-size: 1.4rem;
    padding: 5px 10px;
}
.ft-btn-default{
    border: 1px solid #49ced4;
    color: #49ced4;
}
.ft-btn-default:focus{
    border: 1px solid #41b8be;
    color: #41b8be;
}
.ft-btn-default:active{
    border: 1px solid #41b8be;
    color: #41b8be;
}
.ft-btn-red{
    border: 1px solid #e23646;
    color: #e23646;
}
.ft-btn-gray{
    border: 1px solid #ccc;
    color: #ccc;
}

.ft-input{
    padding: 13px 10px;
    border: 0px;
}
.ft-input-bb{
    border-bottom: 1px solid #cfdcd9;
}
hr{
    border: 0px;
    border-bottom: 1px solid #cfdcd9;
}

.icon{
    display: inline-block;
}
.icon-success{
    width: 25px;
    height: 25px;
    background-image: url(../images/order_succese_icon@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-location{
    width: 21px;
    height: 23px;
    background-image: url(../images/address_icon@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-arrow-right{
    width: 7px;
    height: 12px;
    background-image: url(../images/arrow_icon@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-clock{
    width: 25px;
    height: 25px;
    background-image: url(../images/order_pay_time@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-close{
    width: 25px;
    height: 25px;
    background-image: url(../images/pay_close_btn@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-wechat-pay{
    width: 24px;
    height: 23px;
    background-image: url(../images/pay_wechatpay_icon@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-alibaba-pay{
    width: 24px;
    height: 24px;
    background-image: url(../images/pay_alipay_icon@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-problem{
    width: 26px;
    height: 26px;
    background-image: url(../images/pay_problem_btn@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-text-add{
    width: 11px;
    height: 11px;
    background-image: url(../images/medical_icon@2x.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
/**
 *  base style
 */
.clearfix:after{
    clear: both
}
.clearfix:after,.clearfix:before{
    content: ' ';
    display: table
}
.clearfix:after{
    height: 0;
    visibility: hidden;
}
.text-center{
    text-align: center;
}
.text-light-gray{
    color: #bbbbbb;
}
.text-gray{
    color: #73889a;
}
.text-blue{
    color: #49ced4;
}
.text-wechat{
    color: #05cb04;
}
.text-alibaba{
    color: #01a9ef;
}
.text-red{
    color: #c21323;
}
.text-light-red{
    color: #e07b82;
}
.text-underline{
    text-decoration: underline;
}
.text-linethrough{
    text-decoration: line-through;
}
.font-12{
    font-size: 1.2rem;
}
.font-13{
    font-size: 1.3rem;
}
.font-14{
    font-size: 1.4rem;
}
.font-15{
    font-size: 1.5rem;
}
.font-16{
    font-size: 1.6rem;
}
.font-17{
    font-size: 1.7rem;
}
.left{
    float: left;
}
.right{
    float: right;
}
.full-width{
    width: 100%;
}

/**
 * login page
 */
.container-login>.ft-form-group{
    width: 73%;
    margin: 0px auto 15px auto;
}
.container-login>.ft-logo{
    display: block;
    width: 22%;
    margin: 50px auto 40px auto;
}
.container-login .ft-btn{
    width: 57%;
    display: block;
    margin: 40px auto;
}
.get-authcode{
    display: inline-block;
    padding: 10px 5px;
    position: absolute;
    right: 0px;
    top: 7px;
}
.login-dialog{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
}
.login-dialog-content{
    position: relative;
    top: 30px;
    z-index: 1001;
    height: 100%;
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.login-dialog-tip{
    padding: 10px 15px;
    background: #000;
    color: #fff;
    opacity: 0.6;
    border-radius: 6px;
}

/**
 * profile page
 */
.container-profile{
    width: 100%;
    padding: 5px 15px 5px 15px;
    margin-top: 10px;
    background: #fff;
}
.profile-card label{
    display: inline-block;
    width: 80px;
}
.profile-card .ft-input{
    width: calc( 100% - 90px );
}

/**
 * confirm_order page
 */
.order-userinfo-card{
    display: flex;
    align-items: center;
}
.order-location-detail{
    width: calc( 100% - 30px );
    padding: 0px 20px;
}
.order-location-detail p{
    margin: 5px 0px;
}
.order-item{
    padding: 10px 0px;
}
.order-item:first-child{
    padding-top: 0px;
}
.order-item:last-child{
    padding-bottom: 0px;
}
.order-number{
    font-size: 1.2rem;
}
.order-price{
    display: flex;
    align-items: center;
}
.order-price .ft-btn{
    margin-left: auto;
}
.order-notes{
    padding: 0px 15px;
}
.order-notes input{
    text-align: right;
}
.ft-bar-order-tip{
    width: calc( 100% - 120px );
    background: #fff;
    padding: 15px;
    float: left;
}
.ft-bar-order-link{
    width: 120px;
    display: block;
    background: #49ced4;
    padding: 15px;
    float: right;
    color: #fff;
    text-align: center;
}
.paymeny-result-dialog{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}
.payment-dialog-content{
    position: relative;
    z-index: 1001;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-dialog-info{
    width: 72%;
    background: #fff;
    border-radius: 10px;
}
.payment-dialog-info p{
    padding: 15px 20px;
}
.payment-btn{
    width: 50%;
    padding: 10px 0px;
    float: left;
    text-align: center;
    border-top: 1px solid #ddd;
    color: #49ced4;
}
.payment-success-btn{
    border-left: 1px solid #ddd;
}
/**
 * pay_success page
 */
.pay-success-card{
    display: flex;
    align-items: flex-start;
}
.pay-success-card .icon{
    margin-top: 10px;
}
.pay-success-tip{
    width: calc( 100% - 25px );
    padding-left: 15px;
}
.pay-success-tip>.font-17{
    line-height: 30px;
}
.pay-success-tip>.font-13{
    line-height: 20px;
}
.success-qrcode{
    width: 50%;
    margin: 100px auto 0px auto;
}
/**
 * my_order page
 */
.ft-bar-navs>a{
    display: block;
    width: 25%;
    text-align: center;
    padding: 12px 10px;
}
.ft-bar-navs>a.active{
    color: #49ced4;
}
.ft-bar-navs>a.active>span{
    border-bottom: 2px solid #49ced4;
    padding: 0px 2px 10px 2px;
}
.ft-order{
    width: calc( 100% - 20px );
    margin: 10px auto;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 7px 12px 0 rgba(171, 201, 199, 0.06);
    border: solid 0.6px #cfdcd9;
}

/**
 * order_detail page
 */
.order-status-card{
    padding-left: 30px;
    padding-right: 30px;
}
.order-status-card .font-17{
    line-height: 30px;
}
.order-status-card .font-13{
    line-height: 20px;
}
.notes-text{
    text-align: right;
    float: right;
    width: calc( 100% - 100px );
}

/**
 * gifts page
 */
.container-gifts{
    width: 100%;
    padding: 0px 20px;
}
.gift-logo{
    width: 180px;
    margin: 0px auto 0px auto;
}
.gift-tip-lv1{
    color: #c21323;
}
.gift-tip-lv2{
    font-weight: bold;
    color: #e23646;
    margin-top: 30px;
}
.gift-tip-lv3{
    color: #e23646;
    margin-top: 17px;
}
.gift-main-intro{
    margin-top: 20px;
    line-height: 25px;
}
.about-ft{
    margin: 20px 0px 0px 0px;
}
.about-ft .font-12{
    line-height: 30px;
}
.container-gifts .ft-btn-red, .container-gifts .ft-btn-gray{
    display: block;
    width: 57%;
    margin: 20px auto 0px auto;
}
.show-more{
    width: 100%;
    height: 0px;
    padding-bottom: 12%;
    background-image: url(../images/showmore@2x.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.gift-main-opened{
    max-height: 150px;
    overflow-y: hidden;
}

.gifts-header{
    width: 100%;
    height: auto;
    position: relative;
}
.buy-link-wrapper{
    width: 34%;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 150px;
    margin-left: auto;
    margin-right: auto;
}
.buy-now{
    width: 100%;
    height: 0px;
    padding-bottom: 31.4%;
    display: block;
    background-image: url(../images/dinggou_btn@2x.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.gifts-body{
    width: 100%;
    padding-bottom: 10px;
    background: -webkit-linear-gradient(#fffbe2, #ffd565);
    background: -o-linear-gradient(#fffbe2, #ffd565);
    background: -moz-linear-gradient(#fffbe2, #ffd565);
    background: linear-gradient(#fffbe2, #ffd565);
}
.gifts-content{
    width: 93.87%;
    color: #fffeec;
    padding: 0px 20px 20px 20px;
    margin: 0px auto 0px auto;
    background: -webkit-linear-gradient(#f26936, #f8442c);
    background: -o-linear-gradient(#f26936, #f8442c);
    background: -moz-linear-gradient(#f26936, #f8442c);
    background: linear-gradient(#f26936, #f8442c);
}
.gifts-content-type1{
    margin-bottom: 20px;
}
.type1-item{
    position: relative;
    margin-top: 20px;
    padding-left: 25px;
    font-size: 1.4rem;
    line-height: 27px;
}
.type1-item .icon-text-add{
    position: absolute;
    left: 0px;
    top: 8px;
}
.gifts-title-btn{
    display: table;
    border-radius: 22px;
    background: #fdc15a;
    padding: 8px 15px;
    color: #f5512e;
    font-size: 1.4rem;
    box-shadow: 0 4px 28px 0 #be3618;
    margin: 40px auto 0px auto;
}
.gifts-content-type2{
    margin-bottom: 20px;
}
.gifts-content-type2 img{
    margin-top: 40px;
}
.type3-item{
    position: relative;
    padding-left: 25px;
    font-size: 1.4rem;
    line-height: 33px;
}
.type3-list{
    margin-top: 20px;
}
.type3-item span{
    position: absolute;
    left: 0px;
}
.gifts-pre-body{
    width: 100%;
    min-height: 100vh;
    background-color: #f3512e;
}
.detail-link-wrapper{
    width: 34%;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 360px;
    margin-left: auto;
    margin-right: auto;
}
.detail-link{
    width: 100%;
    height: 0px;
    padding-bottom: 27.1%;
    display: block;
    background-image: url(../images/detail_btn@2x.png);
    background-repeat: no-repeat;
    background-size: cover;
}
/**
 * order dialog
 */
.order-dialog{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}
.dialog-wrapper{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #000;
    opacity: 0.4;
    z-index: 1000;
}
.order-dialog-noti{
    width: 100%;
    height: 88px;
    padding: 20px 30px 20px 50px;
    background-color: #49ced4;
    box-shadow: 0 7px 12px 0 rgba(171, 201, 199, 0.06);
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1001;
    color: #fff;
    display: flex;
    align-items: center;
}
.order-dialog-noti>.font-17{
    padding-left: 30px;
}
.order-dialog-payments{
    width: 100%;
    padding: 15px 15px;
    background: #fff;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1001;
}
.payments-bar{
    text-align: center;
    padding-bottom: 10px;
}
.payments-bar .icon-close{
    float: right;
    position: relative;
    top: -2px;
}
.wechat-pay-bar{
    display: flex;
    align-items: center;
    padding: 15px 0px;
}
.wechat-pay-bar .icon-arrow-right, .alibaba-pay-bar .icon-arrow-right{
    margin-left: auto;
    margin-right: 10px;
}
.wechat-pay-bar .icon-wechat-pay{
    margin-right: 10px;
    position: relative;
    top: 2px;
}
.alibaba-pay-bar{
    display: flex;
    align-items: center;
    padding: 15px 0px;
}
.alibaba-pay-bar .icon-alibaba-pay{
    margin-right: 10px;
    position: relative;
    top: 2px;
}
.payments-tip{
    padding: 15px 0px 5px 0px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.payments-tip .icon-problem{
    margin-left: 5px;
}

/**
 * select
 */
.select-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: end;
    background: rgba(0,0,0,.4);
    display: none;
}
.select-dialog.show{
    display: -webkit-box;
    display: box;
}
.select-cnt{
    background-color: #fff;
    width:100%;
    min-height: 100px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    pointer-events: auto;
    position: relative;
    font-size: 16px;
    box-sizing: border-box;
    padding-bottom: 20px;
}
.select-cnt .select-scroll{
    position: relative;
    -webkit-mask: -webkit-gradient(linear,0% 30%,0% 0%,from(rgba(222,187,71,1)),to(rgba(36,142,36,0)));
}
.select-cnt .select-scroll ul{
    -webkit-mask: -webkit-gradient(linear,0% 30%,0% 100%,from(rgba(222,187,71,1)),to(rgba(36,142,36,0)));
    display: -webkit-box;
    display: box;
    -webkit-box-pack:center ;
}
.select-cnt .select-scroll p{
    position: absolute;
    top: 80px;
    height: 30px;
    width: 100%;
    margin: 0;
    z-index: -1;
    border: 1px solid #eee;
    border-left: none;
    border-right: none;
}
.select-cnt .select-scroll ul li{
    width: 33%;
    height: 200px;
    overflow: hidden;
    text-align: center;
    position: relative;
}
.select-cnt .select-scroll ul li dl{
    position: absolute;
    width: 100%;
    margin: 0;
    top: 80px;
}
.select-cnt .select-scroll ul li dl dd{
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 30px;
    line-height: 30px;
}
.select-cnt .select-action{
    margin-top: 30px;
    display: -webkit-box;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-pack: center;

}
.select-cnt .select-action button{
    display: inline-block;
    border-radius: 5px;
    padding: 6px 20px;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    width: 100px;
    margin: 0 20px;
}
.select-cnt .select-action button:active{
    -webkit-filter: brightness(.8);
}
.select-cnt .select-action button.b-submit{
    background-color: #b5011c;
}
.select-cnt .select-action button.b-submit:active{

}
.select-cnt .select-action button.b-cencel{
    background-color: #999999;
}
.select-action-bar{
    padding: 15px 20px;
    background-color: rgba(246, 246, 246, 0.9);
    box-shadow: 0 -0.5px 0 0 #e5e5e5;
    text-align: center;
}
