/*网页样式重置reset*/
html {
    font-size: 1em;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight: rgba(0,0,0,0);
    -webkit-text-size-adjust: none;
}

body {
    font-size: 0.75em;
}

label {
    cursor: pointer;
}

a:link, a:visited {
    text-decoration: none;
}

input, button, select, textarea {
    outline: none;
}

textarea {
    resize: none;
}

a, abbr, acronym, address, applet, article, aside, audio, b, blockquote, big, body, center, canvas, caption, cite, code, command, datalist, dd, del, details, dfn, dl, div, dt, em, embed, fieldset, figcaption, figure, font, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, keygen, label, legend, li, meter, nav, menu, object, ol, output, p, pre, progress, q, s, samp, section, small, span, source, strike, strong, sub, sup, table, tbody, tfoot, thead, th, tr, tdvideo, tt,
u, ul, var {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

article, aside, footer, header, hgroup, nav, section, figure, figcaption {
    display: block;
}
/*html5设置*/

h1, h2, h3, h4, h5, h6, th, td, table, input, button, select, textarea, sub {
    font-size: 1em;
}

body, input, button, select, textarea, sub {
}

em, cite, address, optgroup {
    font-style: normal;
}

kbd, samp, code {
}

img, input, button, select, textarea {
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

img, fieldset {
    border: 0;
}

abbr, acronym {
    cursor: help;
    border-bottom: 1px dotted black;
}

table {
    width: 100%;
    border-spacing: 0;
    border: 0;
}

    table th, table td {
        border: 0;
    }

legend, hr {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

legend, hr, caption {
    visibility: hidden;
    font-size: 0;
    width: 0;
    height: 0;
    line-height: 0;
}
.m-fix {
    position:fixed;
    z-index:9;
}
/*------------------------------------------------------------------------------------------------------------------------------*/
/*统一样式*/
html {
    width: 640px;
    height: 100%;
    background: #fff;
}

body {
    margin: 0 auto;
    width: 640px;
    font-family:微软雅黑;
    background: #000;
}

/*统一功能元件样式 f-*/
.f-fl {
    float: left;
}

.f-fr {
    float: right;
}

.f-imgW01 {
    max-width: 100%;
}

.f-imgW02 {
    max-width: 320px;
}

.clear {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}

body {
    height: auto;
    background: transparent center center no-repeat;
    background-size: cover;
}
/*url(../img/select_bg.jpg)*/

/*index*/
.p-index {
    position: relative;
    width: 640px;
    background: #fff;
    background-size: cover;
}

.portrait .p-index {
    -webkit-transform: scale(0.4);
    transform: scale(0.4);
    -o-transform: scale(0.4);
    -moz-transform: scale(0.4);
    -ms-transform: scale(0.4);
    margin-top: -44%;
}

/*模块 m-*/
.m-page {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: transparent;
    transform-origin: center;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -o-transform-origin: center;
    -ms-transform-origin: center;
}

    .m-page.show {
        z-index: 10;
        display: block;
        opacity: 1;
    }

    .m-page.hide {
        z-index: 5;
        display: none;
        opacity: 0;
    }

    .m-page.active {
        z-index: 15;
        display: block;
        opacity: 1;
    }

    .m-page.anim.show {
        z-index: 10;
        display: block;
        opacity: 1;
        -webkit-transition: all 600ms linear;
        -moz-transition: all 600ms linear;
        -ms-transition: all 600ms linear;
        -o-transition: all 600ms linear;
        transition: all 600ms linear;
    }

    .m-page.anim.hide {
        z-index: 5;
        display: block;
        opacity: 0;
        -webkit-transition: all 400ms linear;
        -moz-transition: all 400ms linear;
        -ms-transition: all 400ms linear;
        -o-transition: all 400ms linear;
        transition: all 400ms linear;
    }

    .m-page.anim.active {
        z-index: 15;
        display: block;
        opacity: 1;
        -webkit-transition: all 500ms linear 100ms;
        -moz-transition: all 500ms linear 100ms;
        -ms-transition: all 500ms linear 100ms;
        -o-transition: all 500ms linear 100ms;
        transition: all 500ms linear 100ms;
    }

.m-img {
    width: 100%;
    height: 960px;
}

.m-abs {
    position: absolute;
   /* width: auto;
    height: auto; */
}

.m-re {
    position: relative;
    width: auto;
    height: auto;
}

.m-full {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.zoomh_t {
    transform-origin: center 0;
    -webkit-transform-origin: center 0;
    -moz-transform-origin: center 0;
    -o-transform-origin: center 0;
    -ms-transform-origin: center 0;
}

.zoomh_m {
    transform-origin: center;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -o-transform-origin: center;
    -ms-transform-origin: center;
}

.zoomh_b {
    transform-origin: center bottom;
    -webkit-transform-origin: center bottom;
    -moz-transform-origin: center bottom;
    -o-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
}

.zoomh_80 {
    transform-origin: center 90%;
    -webkit-transform-origin: center 90%;
    -moz-transform-origin: center 90%;
    -o-transform-origin: center 90%;
    -ms-transform-origin: center 90%;
}

.zoomh_20 {
    transform-origin: center 20%;
    -webkit-transform-origin: center 20%;
    -moz-transform-origin: center 20%;
    -o-transform-origin: center 20%;
    -ms-transform-origin: center 20%;
}

.zooml_t {
    transform-origin: left 0;
    -webkit-transform-origin: left 0;
    -moz-transform-origin: left 0;
    -o-transform-origin: left 0;
    -ms-transform-origin: left 0;
}

.zooml_m {
    transform-origin: left center;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    -ms-transform-origin: left center;
}

.zooml_b {
    transform-origin: left bottom;
    -webkit-transform-origin: left bottom;
    -moz-transform-origin: left bottom;
    -o-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
}

.zooml_80 {
    transform-origin: left 90%;
    -webkit-transform-origin: left 90%;
    -moz-transform-origin: left 90%;
    -o-transform-origin: left 90%;
    -ms-transform-origin: left 90%;
}

.zooml_20 {
    transform-origin: left 20%;
    -webkit-transform-origin: left 20%;
    -moz-transform-origin: left 20%;
    -o-transform-origin: left 20%;
    -ms-transform-origin: left 20%;
}

.zoom20_b {
    transform-origin: 20% bottom;
    -webkit-transform-origin: 20% bottom;
    -moz-transform-origin: 20% bottom;
    -o-transform-origin: 20% bottom;
    -ms-transform-origin: 20% bottom;
}

.screentip {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    background: rgb(60,208,132) center center no-repeat;
    background-size: cover;
}

    .screentip .content {
        line-height: 150%;
        letter-spacing: 1px;
        font-size: 26px; /*display: none;*/
    }

        .screentip .content img {
            width: 300px;
        }

        .screentip .content span {
            font-size: 26px;
            width: 90%;
            padding-left: 5%;
            line-height: 50px;
            display: block;
        }

.hmiddle {
    display: table;
    vertical-align: middle;
    _position: absolute;
    overflow: hidden;
}

.subwrap {
    vertical-align: middle;
    display: table-cell;
    _position: absolute;
    _top: 50%;
}

.content {
    _position: relative;
    _top: -50%;
}

/* pageLoading */
.pageLoading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 100%;
    width: 100%;
    background: #000;
}

    .pageLoading img {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -30px -30px;
        width: 60px;
    }

div.hide, img.hide, section.hide, input.hide {
    display: none;
}

.bold {
    font-weight: bold;
}



.scale0 {
    transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
}

.scale1 {
    transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
}

/*
.m-select1 { height: 60px; width: 558px; font-size: 26px; color: #000; border: 0; padding: 0 0 0 10px; background: url(../img/select_box.png) center center no-repeat transparent; -webkit-appearance: none; }
.m-select2 { height: 60px; width: 238px; font-size: 26px; color: #000; border: 0; padding: 0 0 0 10px; background: url(../img/select_box1.png) center center no-repeat transparent; -webkit-appearance: none; }
.m-input { height: 60px; width: 548px; font-size: 26px; color: #000; border: 0; padding: 0 0 0 10px; background: url(../img/text_box.png) center center no-repeat transparent; -webkit-appearance: none; }

input[type="radio"] { width: 52px; height: 52px; border: 0; -webkit-appearance: none; background: url(../img/Form/choice0.png); }
    input[type="radio"]:checked { background: url(../img/Form/choice1.png); }

input[type="checkbox"] { width: 36px; height: 36px; border: 0; -webkit-appearance: none; background: url(../img/Form/off.png); }
    input[type="checkbox"]:checked { background: url(../img/Form/on.png); }

input::-webkit-input-placeholder { color: #000; }
input:-moz-placeholder { color: #000; }
input::-moz-placeholder { color: #000; }
input:-ms-input-placeholder { color: #000; }
*/
.i-sicon {
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    z-index: -99;
    opacity: 0;
    font-size: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.i-logo {
    left: 20px;
    bottom: 25px;
}

.d-arr {
    left: 285px;
    bottom: 60px;
    width: 70px;
    height: 70px;
}

.ianim {
    -webkit-transition: all 600ms linear;
    -moz-transition: all 600ms linear;
    -ms-transition: all 600ms linear;
    -o-transition: all 600ms linear;
    transition: all 600ms linear;
}

.anim .ianim {
    -webkit-transition: all 600ms linear 300ms;
    -moz-transition: all 600ms linear 300ms;
    -ms-transition: all 600ms linear 300ms;
    -o-transition: all 600ms linear 300ms;
    transition: all 600ms linear 300ms;
}

.anim .ianim1 {
    -webkit-transition: all 600ms linear 800ms;
    -moz-transition: all 600ms linear 800ms;
    -ms-transition: all 600ms linear 800ms;
    -o-transition: all 600ms linear 800ms;
    transition: all 600ms linear 800ms;
}

.anim .ianim2 {
    -webkit-transition: all 600ms linear 1200ms;
    -moz-transition: all 600ms linear 1200ms;
    -ms-transition: all 600ms linear 1200ms;
    -o-transition: all 600ms linear 1200ms;
    transition: all 600ms linear 1200ms;
}

.i-hbg {
    left: 0;
    top: 0;
    width: 100%;
}

.i-htop {
    left: 6px;
    top: 35px;
}

.i-hstart {
    left: 153px;
    top: 85%;
    margin-top: -20px;
}

.i-hhand {
    left: 297px;
    top: 440px;
    opacity: 0;
}

/*******/

.load_mask_red {
    display: none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.4);
    opacity: 1;
    z-index: 12;
}
.red_pocket {
    background:url(../img/newyear/Artboard%201%20copy.png) no-repeat;
    background-size: 100%;
    width: 500px;
    height:585px;
    left: 50%;
    top: 50%;
    margin: -297.5px -250px;
    border-radius: 12px;
}
.red_pocket_open {
    background:url(../img/newyear/Artboard%201%20copy%202.png) no-repeat;
    background-size: 100%;
    width: 498px;
    height: 715.5px;
    left: 50%;
    top: 50%;
    margin: -357.75px -249px;
    border-radius: 12px;
}

.btn_red_close {
       right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
}
.btn_red_close1 {
    display:none;
       right: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
}
.btn_learn_more {
       width: 100%;
    height: 50px;
    top: 205px;
}

.pt_mask_red {
    display: none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    opacity: 1;
    z-index: 99;

}
.load_mask_red_open {
      display: none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    opacity: 1;
    z-index: 15;
}
.close_red {
    right: 12px;
    top: 12px;
}

.tc_red {
       overflow-y: scroll;
    margin-top: 80px;
    height: 600px;
    padding: 0 30px 0 30px;
    font-size: 23px;
    -webkit-overflow-scrolling: touch;
}

.checkbox_red {
    width: 30px;
    height: 30px;
    float: left;
}

.term_red {
    float: left;
    margin-left: 15px;
    text-decoration: underline;
}

.pt_red {
    font-size: 20px;
    height: 30px;
    line-height: 30px;
    width: 340px;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 170px;
    z-index:99;
}

.btn_red_pocket {
        width: 100%;
    height: 480px;
}

.btn_wishes {
    display:none;
    width:100%;
    height:100%;
}

.red_pocket_result {
    background:url(../img/newyear/Artboard%201%20copy%203.png) no-repeat;
    background-size: 100%;
    width: 498px;
    height: 715.5px;
    left: 50%;
    top: 50%;
    margin: -357.75px -249px;
    border-radius: 12px;
}
.btn_red_close_result {
       right: 12px;
    top: 12px;
    width: 40px;
    height: 40px;
}

.pt_area_red {
    width: 498px;
    height: 715.5px;
    left: 50%;
    top: 50%;
    margin: -357.75px -249px;
    border-radius: 35px;
    background: #fff;
    font-size: 25px;
}
#myCanvas {
    display:none;
    position: absolute;
    left: 0;
    right: 0;
    width: 410px;
    height: 200px;
    top: 345px;
    margin: 0 auto;
    border-radius: 15px;
}
.press {
    display:none;
    width: 317px;
    bottom: 50px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.save_img {
    display:none;
    opacity:0;
    width: 100%;
    top: 70px;
}
.mask_warning {
    display:none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 15;
}
.warning {
    width: 512px;
    height: 796.8px;
    top: 50%;
    left: 50%;
    margin: -398.4px -256px;
}
.mask_warning1 {
    display:none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 15;
}
.mask_warning3 {
    display:none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 15;
}

.mask_warning4 {
    display:none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 15;
}
.warning1 {
    background: url(../img/act2.png) no-repeat;
    background-size: 100%;
    width: 475px;
    height: 855.3px;
    top: 50%;
    left: 50%;
    margin: -477px -237.5px;
}
.warning3 {
    background: url(../img/act2.png) no-repeat;
    background-size: 100%;
    width: 475px;
    height: 855.3px;
    top: 50%;
    left: 50%;
    margin: -477px -237.5px;
}

.show_predetermine_pop {
    display:none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 15;
}
.allergens {
    display:none;
     right: 30px; 
    font-size: 20px;
    line-height: 77px;
    height: 77px;
    top: 0;
}
.allergens_intro_span {
    text-decoration: underline;
}
.act2_close{
	position: absolute;
    top: 30px;
    right: 0;
    width: 120px;
    height: 125px;
}
.act2_go{
	position: absolute;
    bottom: 0px;
    width: 215px;
    height: 75px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* width, height */
.w100 {
  width: 100%;
}

.h100 {
  height: 100%;
}

/*flex*/
.flex {
  display: flex;
}

.flexwrap {
  flex-wrap: wrap;
}

.flexfe {
  align-items: flex-end;
}


.flexlr {
  justify-content: space-between;
}

/*flex center center - 主轴*/
.flexcc {
  justify-content: center;
  align-items: center;
}

/*flex center auto - 水平居中*/
.flexca {
  justify-content: center;
}

/*flex auto center - 垂直居中*/
.flexac {
  align-items: center;
}

/*flex left right*/
.flex-item {
  flex: 1;
}


.flexcul {
  flex-flow: column;
}

.flexdc {
  flex-direction: column;
}

.flexab {
  align-items: baseline;
}

.pos-rel {
  position: relative;
  top: 0;
  left: 0;
}

.pos-abs {
  position: absolute;
  z-index: 33;
}

.pos-fix {
  position: fixed;
  z-index: 99;
}


.center {
  text-align: center;
}


.left {
  text-align: left;
}

.right {
  text-align: right;
}

.f-ss {
  font-weight: 100;
}

.f-s {
  font-weight: 300;
}

.f-xs {
  font-weight: 400;
}


.f-m {
  font-weight: 500;
}

.f-b {
  font-weight: bolder;
}

.f-bb {
  font-weight: bold;
}

.f-underline {
  text-decoration: underline;
}


.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -moz-box;
  -moz-line-clamp: 2;
  -moz-box-orient: vertical;
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: normal;
  overflow: hidden;
}


.f-14 {
  font-size: 14px;
}

.f-16 {
  font-size: 16px;
}

.f-18 {
  font-size: 18px;
}

.f-20 {
  font-size: 20px;
}

.f-22 {
  font-size: 22px;
}

.f-24 {
  font-size: 24px;
}

.f-26 {
  font-size: 26px;
}

.f-28 {
  font-size: 28px;
}

.f-30 {
  font-size: 30px;
}

.f-32 {
  font-size: 32px;
}

.f-34 {
  font-size: 34px;
}


.f-36 {
  font-size: 36px;
}

.f-38 {
  font-size: 38px;
}

.f-40 {
  font-size: 40px;
}

.f-44 {
  font-size: 44px;
}

.f-46 {
  font-size: 46px;
}

.f-48 {
  font-size: 48px;
}

.f-52 {
  font-size: 52px;
}

.f-54 {
  font-size: 54px;
}

.f-56 {
  font-size: 56px;
}

.f-58 {
  font-size: 58px;
}

.f-60 {
  font-size: 60px;
}

.margin-xs {
  margin: 10px;
}

.margin-sm {
  margin: 20px;
}

.margin {
  margin: 30px;
}

.margin-lg {
  margin: 40px;
}

.margin-xl {
  margin: 50px;
}

.margin-top-xs {
  margin-top: 10px;
}

.margin-top-sm {
  margin-top: 20px;
}

.margin-top {
  margin-top: 30px;
}

.margin-top-lg {
  margin-top: 40px;
}

.margin-top-xl {
  margin-top: 50px;
}

.margin-top-ll {
  margin-top: 60px;
}

.margin-bottom-xs {
  margin-bottom: 10px;
}

.margin-bottom-sm {
  margin-bottom: 20px;
}

.margin-bottom {
  margin-bottom: 30px;
}

.margin-bottom-lg {
  margin-bottom: 40px;
}

.margin-bottom-xl {
  margin-bottom: 50px;
}

.margin-left-xs {
  margin-left: 10px;
}

.margin-left-sm {
  margin-left: 20px;
}

.margin-left {
  margin-left: 30px;
}

.margin-left-lg {
  margin-left: 40px;
}

.margin-left-xl {
  margin-left: 50px;
}

.margin-right-xs {
  margin-right: 10px;
}

.margin-right-sm {
  margin-right: 20px;
}

.margin-right {
  margin-right: 30px;
}

.margin-right-lg {
  margin-right: 40px;
}

.margin-right-xl {
  margin-right: 50px;
}

.padding-xs {
  padding: 10px;
}

.padding-sm {
  padding: 20px;
}

.padding {
  padding: 30px;
}

.padding-lg {
  padding: 40px;
}

.padding-xl {
  padding: 50px;
}

.padding-top-sm {
  padding-top: 20px;
}

.padding-top {
  padding-top: 30px;
}

.padding-top-lg {
  padding-top: 40px;
}

.padding-left-xs {
  padding-left: 10px;
}

.padding-left-sm {
  padding-left: 20px;
}


.padding-left {
  padding-left: 30px;
}

.padding-left-xl {
  padding-left: 50px;
}


.padding-right-xs {
  padding-right: 10px;
}

.padding-right-sm {
  padding-right: 20px;
}

.padding-right {
  padding-right: 30px;
}

.padding-right-lg {
  padding-right: 40px;
}

.padding-right-xl {
  padding-right: 50px;
}

.padding-bottom-sm {
  padding-bottom: 20px;
}

.padding-bottom {
  padding-bottom: 30px;
}

.padding-bottom-lg {
  padding-bottom: 40px;
}


.nullView10 {
  width: 100%;
  height: 10px;
}

.nullView20 {
  width: 100%;
  height: 20px;
}

.nullView30 {
  width: 100%;
  height: 30px;
}

.nullView50 {
  width: 100%;
  height: 50px;
}

.nullView80 {
  width: 100%;
  height: 80px;
}

.nullView100 {
  width: 100%;
  height: 100px;
}
