body {
    margin: 0 auto;
    max-width: 640px;
    font-family: "lato", "myriad pro", "黑体";
    font-size: 14px;
    color: #fff;
    background: url("/public/images/datatopupmobile/step_bg.png") #1fb8b3 center top no-repeat;

}

a {
    text-decoration: none;
    color: #fff;
}

input,p,ul,li,table {
    border: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 320px){
    header .title span {
        font-size: 12px !important;
    }
    header .title2{
        font-size: 14px !important;
    }
}

.login {
    background: url("/public/images/datatopupmobile/bg_login.png") #e8e8e8 center top no-repeat;
    background-size: 100%;
    color: #000;
}

.main {
    padding: 0 15px;
    /*height: 1136px;*/
}

header {
    position: relative;
    height: 52px;
    line-height: 52px;
    background: url("/public/images/datatopupmobile/step_topbar_tab.png") no-repeat center;
    background-size: 100% 100%;
}

.login header {
    background: none;
}

header .title {
    text-align: center;
    font-size: 17px;
    font-family: "helvetica","Comfortaa", "myriad pro", "黑体";
}

header .title2 { font-size: 2em; }

.btn {
    display: inline-block;
    padding: 2px 15px;
    padding-top: 4px;
    line-height: normal;
    border: solid 1px #fff;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
}

.back {
    position: absolute;
    top: 10px;
    right: 5px;
    display: inline-block;
    padding: 2px 15px;
    padding-top: 4px;
    line-height: normal;
    border: solid 1px #fff;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
}

.login .back {
    border: solid 1px #000;
    color: #000;
}

.logo {
    margin: 0 auto;
    width: 106px;
    height: 170px;
    background: url("/public/images/datatopupmobile/login/logo_login.png") center no-repeat;
    background-size: 100%;
}

.login form {
    padding: 0 20px;
    line-height: 20px;
}

.login form label {
    display: block;
    margin-bottom: 5px;
}

.label-name {
    font-size: 16px;
}

.login form input[type="text"],
.login form input[type="password"]
 {
    margin-bottom: 10px;
    width: 97%;
    padding: 5px;
    background: url("/public/images/datatopupmobile/login/login_btn_input_password.png") center no-repeat;
    background-size: 100% 100%;
}

.login form input[type="checkbox"] {
    float: left;
    margin: 4px 8px 0 0;
}

.forgot-psw {
    padding: 20px 0;
}

.forgot-psw a {
    color: #0593d5;
    text-decoration: underline;
}

.submit {
    margin: 20px 0 50px 0;
    width: 100%;
    height: 35px;
    color: #fff;
    font-size: 15px;
    background: url("/public/images/datatopupmobile/login/login_btn_login.png") no-repeat center;
    background-size: 100% 100%;
}
/*step1*/
.lang {
    left: 5px;
    right: auto;
}

.link {
    margin: 0 auto;
    padding-top: 30px;
    display: block;
    width: 112px;
    font-size: 16px;
    text-align: center;
}

.link img {
    margin-bottom: 10px;
}
/*step1 end*/
/*buy*/
.amount {
    float: left;
    width: 50%;
    padding: 20px 0;
    text-align: center;
}

.amount span {
    margin: 0 auto;
    margin-top: 10px;
    display: block;
    width: 102px;
    height: 120px;
    line-height: 100px;
    color: #64aebc;
    font-size: 20px;
    background: url("/public/images/datatopupmobile/step2/step2_bubble.png") no-repeat center;
    background-size: 100% 100%;
}

.date {
    clear: both;
    text-align: center;
}

.buy {
    margin-top: 10px;
    padding: 20px 0;
    background: #fff;
    text-align: center;
}

.ht {
    font-size: 16px;
    color: #54a7b7;
}

.amount-option {
    display: inline-block;
    margin: 5px;
    width: 64px;
    color: #54a7b7;
    font-size: 18px;
    font-weight: bold;
}

.amount-option div {
     margin: 10px 0;
     width: 64px;
     height: 64px;
     line-height: 65px;
     color: #fff;
     font-size: 14px;
     font-weight: normal;
     background: url("/public/images/datatopupmobile/step2/step2_circle_off.png") no-repeat center;
     background-size: 100% 100%;
 }

.amount-option.on div {
    color: #54a7b7;
    background: url("/public/images/datatopupmobile/step2/step2_circle_on.png") no-repeat center;
    background-size: 100% 100%;
}

.buy a {
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    width: 70%;
    height: 30px;
    line-height: 32px;
    border-radius: 5px;
    background: #3991a2;
}

.buy a img {
    margin: 0 5px;
    margin-top: -3px;
    vertical-align: middle;
}
/*buy end*/
/*history*/
.unit-top {
    margin-top: 20px;
    border-radius: 5px 5px 0 0;
    line-height: 35px;
    color: #4ca7b8;
    background: #fff;
}

.unit-top .ht {
    padding: 0 5px;
}

.unit-top table {
    padding-bottom: 35px;
    width: 100%;
}

.unit-top table td {
    padding: 5px 5px;
    line-height: 20px;
    font-size: 13px;
}

.unit-bottom {
    border-radius: 0 0 5px 5px;
    text-align: center;
    font-size: 16px;
    background: #4ca7b8;
}

.unit-bottom span {
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 90px 0;
    display: block;
    width: 40%;
    padding-right: 50%;
    background: url("/public/images/datatopupmobile/step4/step4_btn_buy.png") right center no-repeat;
    background-size: 50%;
}

.unit-bottom a {
    text-decoration: underline;
}
/*history end*/
/*rule*/
.rule {
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    color: #3e98a9;
}

.rule .detail {
    height: 400px;
    overflow-y: auto;
}

.rule .detail table {
    width: 100%;
}

.rule .detail td {
    padding: 10px 0;
    vertical-align: top;
}

.rule .confirm {
    padding-top: 20px;
    text-align: center;
}

.rule .confirm a {
    margin: 0 15px;
    display: inline-block;
    width: 48px;
    height: 48px;
}

.rule .confirm .agree {
    background: url("/public/images/datatopupmobile/step3/step3_icon_select.png") no-repeat center;
    background-size: 100% 100%;
}

.rule .confirm .cancel {
    background: url("/public/images/datatopupmobile/step3/step3_icon_cancle.png") no-repeat center;
    background-size: 100% 100%;
}
/*rule end*/
/*back-home*/
.back-home .unit-top {
    padding: 30px 60px;
    line-height: 20px;
    text-align: center;
}

.back-home .ht {
    padding-bottom: 5px;
}

.back-home-btn {
    margin: 0 auto;
    margin-bottom: 20px;
    display: block;
    width: 75%;
}
/*back-home end*/