*{
    margin: 0;
    padding: 0;
}
a,img,button,input,textarea{-webkit-tap-highlight-color:rgba(255,255,255,0);}
html, body{
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
    overflow: hidden;
}
/* toast弹窗样式 */
.toast-wpr{
    position: fixed;
    line-height: 20px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    left: 50%;
    top: -20%;
    transform: translate(-50%, 0);
    font-size: 20px;
    padding: 10px 10px;
    border-radius: 26px;
    animation: 0.5s ease slidein;
}
.toast-wpr p{
    text-align: center;
    white-space: nowrap;
}
@keyframes slidein  {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.toast-wpr.show{
    top: 50%;
    z-index: 100;
}
/* toast弹窗样式结束 */

#container{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    overflow: hidden;
}

#img{
    position: absolute;
    width: 100%;
    height: 80%;
    top: 0;
    opacity: 0;
    z-index: 100;
}

.loading_page{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    transition: 0.5s;
    transform-origin: center center;
    z-index: 200;
    font-size: 0.24rem;
    line-height: 0.48rem;
    color: #fff;
    text-shadow: 2px 2px 24px #ffffff, -2px -2px 24px #ffffff;
}

.loading{
    position: absolute;
    top: 40%;
    left: 50%;
    margin: -0.6rem 0 0 -1.03rem;
    width: 2.07rem;
    text-align: center;
    transform-origin: center center;
}

.loading .loading_flower{
    width: 100%;
}

.loading .loading_rotate{
    position: absolute;
    top: 0;
    left: 0.58rem;
    width: 0.9rem;
    animation: rotate 2s linear  infinite;
}

@keyframes rotate{
    from{transform: rotate(0deg)}
    to{transform: rotate(359deg)}
}

canvas{
    position: absolute;
    top: 50%;
    width: 100%;
    height: 100%;
    z-index: 10;
}

audio{
    position: absolute;
    top: 0;
    width: 0;
    height:0;
}

#zimg-file{
width: 0;
position: absolute;
opacity: 0;
left: 50%;
margin-left: -75px;
bottom: 88px;
z-index: 0;
}
.to_photo{
position: absolute;
bottom: 0rem;
left: 0.5rem;
width: 4.4rem;
height: 0.77rem;
background-image: url("../../assets/img/clothing/btn_go.png");
background-size: 100% 100%;
z-index: 0;
opacity: 0;
-webkit-tap-highlight-color: transparent;
transition: 0.3s;
transition-delay: 1s;
}

.to_photo.show {
bottom: 0.5rem;
opacity: 1;
z-index: 100;
}

.hight_x  .to_photo.show {
bottom: 2rem;
opacity: 1;
z-index: 100;
}


.addr_input{
position: absolute;
top: 2rem;
left: 0.35rem;
width: 6.8rem;
height: 7.29rem;
z-index: 100;
background-image: url("../../assets/img/photo/address.png");
background-size: 100% 100%;
z-index: 0;
opacity: 0;
-webkit-tap-highlight-color: transparent;
transform: translateY(-3rem);
transition: 0.3s;
}
.addr_input.show {
transform: translateY(0);
opacity: 1;
z-index: 100;
}
.addr_input input{
position: absolute;
top: 3.5rem;
left: 1.4rem;
width: 4.2rem;
height: 0.74rem;
border: 1px solid #aea29c;
background: #ffffff;
font-size: 0.36rem;
padding: 0.2rem;
box-sizing: border-box;
line-height: 0.74rem;
color: #666;
}
.addr_input .err{
position: absolute;
top: 4.4rem;
font-size: 0.28rem;
width: 100%;
color: #f33;
text-align: center;
}
.to_result{
position: absolute;
top: 5rem;
left: 2.4rem;
width: 2.26rem;
height: 0.62rem;
background-image: url("../../assets/img/photo/finish.png");
background-size: 100% 100%;
}

#cav{
position: absolute;
top: 0%;
width: 0;
height: 0;
opacity: 0;
z-index: 10;
}

#username {
    position: absolute;
    z-index: 20;
    top: 75%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    text-align: center;
    border: solid thin #62b743;
    font-size: 20px;
    padding:10px 0;
    display: none;
    outline: none;
}

.result {
    width: 100%;
    height: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%,0,0);
}
.result img {
    width: 100%;
    height: auto;
}

.result .result_btn_block {
    width: 100%;
    position: absolute;
    top: 73%;
    display:-webkit-box;
    display: -moz-box;
    display: box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    /* 09版 */
    -webkit-box-pack: space-around;
    /* 12版 */
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-justify-content: space-around;
    -o-justify-content: space-around;
    justify-content: space-around;
}
.result .result_btn {
    display: block;
    width: 30%;
}

.result .result_btn img {
    width: 100%;
    height: auto;
}

/* 长按保存 */
.result img.save_tips {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    width: 50%!important;
    height: auto!important;
    display: none;
}