* {
    padding: 0;
    margin: 0;
    color: #333;
    font-family: '微软雅黑';
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul, ol {
    list-style: none;
}

a {
    color: #333;
    display: block;
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

img {
    display: block;
    border: 0;
    max-width: 100%;
}

html, body {
    width: 100%;
    height: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
}

.banner {
    margin: 0 auto;
}

.btn1, .orderBtn, .testBtn {
    width: 70%;
    margin: 0 auto;
}

.btn1 {
    margin: 20px auto;
}

.wrapper {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.wrapper section {
    float: left;
    width: 100%;
    padding: 0 5%;
}

.wrapper section label {
    width: 30%;
    float: left;
}

.wrapper .counts {
    position: relative;
}

.wrapper .counts p {
    position: absolute;
    color: #fff;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    height: 40px;
}

.form-control, .wrapper section .item {
    float: left;
    width: 70%;
    height: 34px;
    line-height: 34px;
}

.wrapper section .item .icon {
    margin-right: 5%;
}

.item .sex_item {
    float: left;
    width: 30%;
    margin-right: 10%;
}

.wrapper section .tips {
    float: right;
    width: 70%;
    height: 30px;
    line-height: 30px;
    color: #f81e06;
    font-size: 12px;
}

.agree {
    font-size: 12px;
    width: 100%;
    height: 25px;
    line-height: 25px;
    position: relative;
}

.agree span {
    display: inline-block;
    position: absolute;
}

.agree span b {
    font-weight: normal;
    color: #8a8a8a;
}

.content {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.content #orderBtn, .content #btn3 {
    position: absolute;
    width: 70%;
    left: 15%;
}

.content #orderBtn {
    top: 58.5%;
}

.content #btn3 {
    top: 79%;
}

footer {
    width: 100%;
    position: relative;
    bottom: 0;
    background: #fff;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
}

footer ul {
    width: 100%;
    border-top: 1px #d1d1d1 solid;
}

footer ul li {
    width: 50%;
    float: left;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-right: 1px #d1d1d1 solid;
}

footer ul li:nth-child(2) {
    border-right: none;
}

footer ul li.selected {
    background: #fc6351;
    color: #fff;
}

/* .toast{
    display: none;
    width: 100%;
    height:100%;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    bottom: 0;
}
.toast .toast_wrapper{
    width: 85%;
    height:30%;
    background: #fff;
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    margin:auto;
    border-radius: 2%;
}
.toast .toast_wrapper .title{
    width:100%;
    text-align: center;
    color:#fff;
    background: #299bf3;
    margin: 0;
    height:80px;
    line-height:80px;
}*/
.layui-m-layercont {
    position: relative !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
    height: 105px !important;
    line-height: 105px !important;
}

.totast_content {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    height: 130px;
    position: relative;
}

.totast_content .iconfont {
    width: 60px;
    height: 60px;
    font-size: 60px;
    position: relative;
    top: 5px;
    left: 40%;
    line-height: 60px;
}

.callBtn {
    width: 60px;
    text-align: center;
    position: relative;
    left: 40%;
    top: 4%;
    height: 40px;
    line-height: 40px;
}

.layui-m-layercont .service_item {
    margin-top: 10%;
}

.layui-m-layercont p.service {
    height: 30px;
    line-height: 30px;
}

#compaignCS .csBox-init {
    position: fixed;
    top: 65%;
    right: 10px;
    z-index: 1000;
    width: 50px;
    height: 70px;
    transition: .2s;
    background: url('../images/cs.png') center/cover no-repeat;
}

#compaignCS .csBox-init-actived {
    position: fixed;
    top: 65%;
    right: -25px;
    z-index: 1000;
    width: 50px;
    height: 70px;
    transition: .2s;
    background: url('../images/cs.png') center/cover no-repeat;

}