* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-user-select: none;
}

img {
    -webkit-touch-callout: none;
}

.g-progress {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #c7c7c7;
}

.g-progress .percentage {
    width: 25%;
    height: 5px;
    background-color: #edda3b;
}

.container {
    overflow: hidden;
    margin-top: 5px;
    background-color: #fff;
}

.page {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.active.page {
    display: block;
}

.page .header {
    overflow: hidden;
    height: 15%;
    text-align: center;
}

.page .header img {
    width: 50%;
}

.page .main {
    position: relative;
    /*overflow: hidden;*/
    height: 70%;
    margin-top: 10px;
}

.page .footer {
    overflow: hidden;
    height: 15%;
    text-align: center;
}

.select .on {
    display: none;
}

.select .off {
    display: inline-block;
}

.active.item .on {
    display: inline-block;
}

.active.item .off {
    display: none;
}


/*page1*/

.p1-type {
    float: left;
    width: 50%;
}

.form-container {
    margin-top: 10px;
    padding: 0 15px;
}

.form-element {
    position: relative;
    width: 100%;
    vertical-align: middle;
	    padding: 15px 10px;
}

.form-element .arr {
    position: absolute;
    top: 17px;
    right: 15px;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

input[type='text'],
input[type='tel'],
input[type='button'] {
    font-size: 14px;
    line-height: 18px;
    display: block;
    width: 100%;
    height: 44px;
    padding-right: 10px;
    padding-left: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: 0;
    -webkit-appearance: none;
}

.btn-prev {
    display: inline-block;
    padding: 10px 10px;
    color: #333!important;
}

.btn-prev .arr {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 15px;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    border-top: 1px solid #333;
    border-right: 1px solid #333;
}

.btn-next,
.btn-done {
    display: inline-block;
    padding: 10px 30px;
    color: #333!important;
    border-radius: 5px;
    background-color: #edda3b;
}

.btn-next .arr {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-top: 1px solid #333;
    border-right: 1px solid #333;
}


/*page2*/


/*page3*/

.p3-age {
    float: left;
    width: 50%;
}

.boyage,
.girlage {
    display: none;
}

.on.boyage,
.on.girlage {
    display: block;
}


/*page4*/

.p4-tip {
    position: absolute;
    top: -37px;
    left: 0;
    width: 86px;
}

.p4-style {
    float: left;
    width: 50%;
    height: 120px;
}

.hide {
    display: none;
}

.img-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    padding: 10px;
}

.img-wrap .on,
.img-wrap .off {
    width: 40px;
    height: 40px;
}

.img-wrap .img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.img-wrap .item {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
}


/*轮播图*/

.swiper-outer {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.active.swiper-outer {
    z-index: 10;
    opacity: 1;
}

.swiper-container {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    box-sizing: border-box;
    padding: 70px 0;
}

.imgwrap {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.imgwrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
}

.mask {
    width: 100%;
    height: 100%;
    opacity: .7;
    background-color: #000;
}

.num {
    font-size: 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    color: white;
}

.num span {
    margin: 0 5px;
}




/**/

