body {
    padding: 0;
    margin: 0 auto;
    height: 100%;
    min-height: 100vh;
    overflow-y: auto;
    max-width: 768px;
}

.center {
    text-align: center;
}

.ttx-showBox {
    width: 90%;
    margin: 0 auto;
    border: 1px solid #ddd;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#replaceImage {
    display: block;
    height: 100%;
    margin: 0 auto;
}

.canvas-show {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
}

input[type=file] {
    position: absolute;
    bottom: 0;
}
button{
    border: 0;
}
/**
start
 */
.start-title{
    padding: 5%;
    color: #fff;
    line-height: 30px;
}
.start-photo-icon{
    width: 30px;
    vertical-align: text-bottom;
    margin-right: 5px;
}
.user-img-bg{
    width: 250px;
    height: 250px;
    background: url("../images/user-img-bg.png") 0 0 no-repeat;
    background-size: 100% 100%;
    padding: 4px;
    display: block;
    margin: 0 auto;
    position: relative;
}
.user-img{
    width: 80%;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 10%;
}
.up-file-btn{
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    outline:0;
}
.start-hint-bg{
    width: 300px;
    margin: 0 auto 10px;
}
.start-hint{
    background:rgba(90,114,255,0.6) ;
    color: #fff;
    padding: 2px 10px;
    display: inline-block;
    margin: 5px;
    font-size: 14px;
}
.start-btn{
    position: inherit;
    display: block;
}
/**
explain
 */

.explain-title {
    font-weight: 900;
    margin: 5px 0 10px;
    font-size: 26px;
}

.explain-content {
    background: #fff;
    border-radius: 10px;
    width: 80%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px;
    margin: 0 auto;
    line-height: 24px;
}

.agreement-hint {
    color: #1c88d3;
}

.explain-pink-text {
    color: #fa1fc3;
}

.explain-hint {
    color: #fff;
    font-size: 14px;
    margin: 5px 0 10px;
}

.explain-btn {
    color: #fff;
    width: 65%;
    margin: 0 auto;
    border-radius: 80px;
    padding: 10px 0;
    background: linear-gradient(to bottom, #6480ff, #3e4efc);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.explain-btn:active {
    background: linear-gradient(to bottom, #3e4efc, #6480ff);
}

.logo-bg {
    position: absolute;
    bottom: 30px;
    width: 100%;
}

.logo {
    margin: 0 auto;
    width: 130px;
    display: block;
}
.hint-alert{
    background: rgba(0,0,0,0.85);
    width: 60%;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 40%;
    border-radius: 5px;
    left: 20%;
    color: #fff;
}
.agreement{
    background: #F0F1F3;
    min-height: 100vh;
    width: 100%;
 }
.agreement-title{
    font-size: 24px;
    padding: 15px 0;
    font-weight: 900;
}
.agreement-bg{
    height: 80vh;
    padding: 0 25px;
    line-height: 22px;
    font-size: 14px;
}
.agreement-content{
    height: 80vh;
    overflow-y: auto;
    color: #777777;
}
.agreement-btn{
    margin: 10px auto 0;
    font-size: 20px;
}

/**
start
 */
.start-bg{
    padding: 0;
}
.stage{
    margin: 10px auto ;
}
.start-hint-alert{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}
.start-hint-alert-title{
    border-bottom: 1px dotted #E4E4E4;
    padding: 0 0 10px;
}
.start-hint-alert-bg{
    position: absolute;
    width: 80%;
    top: 30%;
    left: 10%;
    background: #fff;
    border-radius: 10px;
    padding: 20px 0;
}
.start-hint-alert-contant{
    padding: 10px 0;
}
.start-hint-alert-btn{
    margin: 10px auto;
}
.user-img-list{
    width: 250px;
    padding: 4px;
    margin: 0 auto ;
    color: #fff;
    position: relative;
}
.user-img-list-item-title{
    font-size: 16px;
    margin-right: 20px;
}
.user-img-list-item-message{
    width: 100px;
}
.user-img-list-item-img{
    width: 25px;
    display: inline-block;
}
.re-upload-btn{
    margin: 10px auto;
    background: transparent;
    color: #fff;
    border: 0;
    outline: 0;
    padding: 0 0 1px;
    border-bottom: 1px solid #fff;
}
.start-submit-btn{
    margin: 20px auto 0;
}
.start-hint-alert-photo-contant{
    width: 60%;
    margin: 0 auto;
}
