* {
    padding: 0;
    margin: 0;
}

body, html {
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-family: arial, Verdana, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;

}

body {
    background: url("../img/h5_bg_blue_normal.jpg") #6bd4ff;
}

#main_view{
    padding-top:0.14rem;
}
.main {
    margin: 0rem auto;
    padding: 0.12rem;
    width: 3.25rem;
    border: 0.03rem black solid;
    border-radius: 0.1rem;
    background-color: #ffffff;
    box-shadow: 0.03rem 0.03rem 0.01rem rgba(0, 87, 122, 0.27);
    box-sizing:border-box;
}

.main_img {
    height: 4.1rem;
    line-height:2.95rem;
    border: 0.03rem black solid;
    border-radius: 0.1rem;
    box-sizing:border-box;
    position: relative;
    z-index: 10;
    overflow: hidden;
    text-align: center;
}

.main_img .fill_img {
    width: 100%;
    height: 100%;
}
.main_img .center_img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}
.main_img .press_title {
    text-align: center;
    font-size: 0.15rem;
    line-height: 0.28rem;
    color: #ffffff;
    position: absolute;
    right: 0.04rem;
    bottom: 0.03rem;
    padding:0.01rem 0.2rem;
    background-color:rgba(156, 156,156, 0.6); ;
    border-radius: 0.2rem;
}
.main_img .press_gift{
    background: url("../img/gift.png") no-repeat;
    background-size:contain;
    width:0.45rem ;
    height: 0.45rem;
    text-align: center;
    font-size: 0.15rem;
    color: #ffffff;
    position: absolute;
    left: 0.04rem;
    bottom: 0.03rem;
}
.pic_list {
    margin-top: 0.08rem;
    width: 100%;
}

.pic_list .sticker_main {
    list-style-type: none;
    text-align: center;
    margin: 0rem 0.1rem;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 0;
}

.pic_list .sticker_main li {
    display: inline-block;
    width: 0.92rem;
    height: 1.08rem;
    line-height: 1.08rem;
    border: 0.03rem black solid;
    border-radius: 0.1rem;
    background-color: #ffffff;
    box-shadow: 0.03rem 0.03rem 0.01rem rgba(0, 87, 122, 0.27);
    margin:0 0.04rem;
    overflow: hidden;
    vertical-align: middle;

}

.pic_list .sticker_main li img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.create_sticker {
    margin: 0.03rem auto;
    background: url("../img/h5_btn_photograph_normal.png") no-repeat;
    background-size: contain;
    width: 3.41rem;
    height: 0.66rem;
}

.create_sticker:active {
    margin: 0.03rem auto;
    background: url("../img/h5_btn_photograph_pressed.png") no-repeat;
    background-size: contain;
    width: 3.41rem;
    height: 0.66rem;
}

.footer {
    margin: 0.16rem 0rem 0.09rem;
    text-align: center;
}

.footer .download {
    margin: 0rem auto;
    width: 3.01rem;
    height: 0.68rem;
    background: url("../img/h5_def_download_normal.png") no-repeat;
    background-size: contain;
    display: block;

}


#pick_photo .header {
    width: 3.51rem;
    height: 1.04rem;
    margin: 0.23rem auto 0.08rem;
    background: url("../img/h5_def_logoname_disable.png") no-repeat;
    background-size: contain;
}
#pick_photo .big_view {
    margin: 0.09rem auto;
    padding: 0.23rem;
    width: 3.25rem;
    border: 0.03rem black solid;
    border-radius: 0.1rem;
    background-color: #ffffff;
    box-shadow: 0.03rem 0.03rem 0.01rem rgba(0, 87, 122, 0.27);
    box-sizing:border-box;
}

#pick_photo .big_view .inner_view {
    height: 2.73rem;
    border: 0.03rem black solid;
    border-radius: 0.1rem;
    box-sizing:border-box;
    text-align: center;
}

#pick_photo .big_view .inner_view img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#pick_photo .pick_tips {
    margin: 0 auto;
    width: 3rem;
    height: 0.25rem;
    background: url("../img/h5_text_photoreminder_disable.png") no-repeat;
    background-size: contain;
}



#pick_photo .select_sex {
    margin: 0.09rem auto 0.04rem;
    text-align: center;
}

#pick_photo .select_sex .upload_male {
    width: 1.67rem;
    height: 0.64rem;
    display: inline-block;
    background: url("../img/h5_btn_male_normal.png") no-repeat;
    background-size: contain;
}

#pick_photo .select_sex .upload_male:active {
    width: 1.67rem;
    height: 0.64rem;
    display: inline-block;
    background: url("../img/h5_btn_male_pressed.png") no-repeat;
    background-size: contain;
}

#pick_photo .select_sex .upload_female {
    margin-left: 0.09rem;
    width: 1.67rem;
    height: 0.64rem;
    display: inline-block;
    background: url("../img/h5_btn_female_normal.png") no-repeat;
    background-size: contain;
}

#pick_photo .select_sex .upload_female:active {
    margin-left: 0.09rem;
    width: 1.67rem;
    height: 0.64rem;
    display: inline-block;
    background: url("../img/h5_btn_female_pressed.png") no-repeat;
    background-size: contain;
}

#pick_photo .select_sex .new_photo {
    margin: 0.04rem auto;
    width: 1.2rem;
    height: 0.3rem;
    background: url("../img/h5_text_retakephoto_pressed.png") no-repeat;
    background-size: contain;
}

.face_failure_container{
    position:fixed;
    z-index: 100;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    background:rgba(0, 0, 0, 0.6);
    text-align: center;
    white-space: nowrap;
    overflow: auto;
    font-size: 0;

}
.face_failure_container:after{
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.face_failure_container .failure_content{
    display: inline-block;
    width: 2.85rem;
    vertical-align: center;
    padding: 0.28rem 0rem;
    text-align: center;
    background-color: #ffffff;
    border-radius: 0.1rem;
    box-sizing:border-box;
}
.face_failure_container .failure_content p{
    font-size: 0.18rem;
    font-weight: bold;
}
.face_failure_container .failure_content .pick_photo{
    margin: 0.28rem auto 0rem;
    width: 1.77rem;
    height: 0.602rem;
    background: url("../img/h5_btn_takephoto_normal.png") no-repeat;
    background-size: contain;
}
.painting_container{
    position:fixed;
    z-index: 100;
    top:0rem;
    bottom: 0rem;
    width: 100%;
    background:rgba(0, 0, 0, 0.6);
    text-align: center;
}
.painting_container .painting_load{
    margin:1.4rem auto 0rem;
    width: 2.1rem;
}
.painting_container .painting_load img{
    width: 100%;
}