* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: auto;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Helvetica,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    SimSun,
    sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol, li {
    list-style: none;
}

input, button {
    background: none;
    outline: none;
    border: 0px;
}

.modalBox, .loginInBox {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99;
    overflow: hidden;
    min-width: 320px;
    max-width: 640px;
    display: none;
}

.loginInBox .closeBtn {
    position: relative;
    top: 25%;
    width: 40px;
    font-size: 32px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    left: 50%;
    margin-left: -15px;
}

.inputBox {
    width: 90%;
    margin: 0 auto;
    position: relative;
    top: 18%;
    background: #fff;
    padding: 20px 10px;
}

.inputControl {
    width: 90%;
    height: 42px;
    border-bottom: 1px solid #dcdcdc;
    font-size: 13px;
    position: relative;
    display: flex;
    margin: 5% auto 10%;
}

.inputControl input {
    font-size: 16px;
    color: #757575;
    margin-left: 5%;
    padding: 3px 0;
}

.inputControl input#phone {
    width: 58%;
}

.getPhoneNumber {
    width: 100%;
    height: 42px;
    color: #125894;
    font-size: 16px;
}

.autoGet {
    width: 40%;
    height: 42px;
    position: absolute;
    right: 0px;
    top: 0px;
}

.commonBtn {
    font-size: 18px;
    color: #125894;
}

.closeModal {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    font-size: 22px;
}

body .layui-m-layer .layui-m-layer-msg {
    bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    font-size: 16px;
    letter-spacing: 2px;
}

body .layui-m-layer-msg .layui-m-layercont {
    padding: 30px 10px;
}
.justify .layui-m-layercont{
    text-align: justify!important;
}
.justify{
    text-align: justify;
}
.markbox {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    justify-content: flex-end;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}

#ruleModalBox, #luckDrawModal {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-width: 320px;
    max-width: 640px;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    margin: 0 auto;
    z-index: 3;
}

#luckDrawModal .luckDrawContent {
    background-color: #fff;
    width: 85%;
    height: auto;
    min-width: 300px;
    max-width: 580px;
    padding: 20px 15px;
    margin: 30px auto;
    border-radius: 15px;
    overflow-y: scroll;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#luckDrawModal .luckDrawContent > h5 {
    font-size: 18px;
    margin: 15px 0;
}

#luckDrawModal .close {
    width: 200px;
    height: 38px;
    line-height: 38px;
    border-radius: 6px;
    text-align: center;
    margin: 15px auto;
    color: #fff;
    letter-spacing: 3px;
    cursor: pointer;
    border: 1px solid #d81e06;
}

#ruleModalBox .ruleModalContent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ruleModalBox .ruleModal {
    background-color: #fff;
    width: auto;
    height: auto;
    min-width: 320px;
    max-width: 640px;
    padding: 20px 15px;
    margin: 30px 15px 0 15px;
    border-radius: 15px;
    overflow-y: scroll;
}

#ruleModalBox .ruleModal h5 {
    font-size: 18px;
    text-align: center;
}

#ruleModalBox ul li {
    display: flex;
    margin: 10px 0;
    font-size: 14px;
}

#ruleModalBox ul li:last-child {
    margin-bottom: 0;
}

#ruleModalBox ul li > div > p {
    margin-bottom: 6px;
}

.closeIcon {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #ffffff;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    margin: 30px auto 0;
}

.iconfont {
    position: absolute;
    right: 8%;
    font-size: 40px;
    top: 2px;
    font-weight: bold;
}

.guideImgBox {
    margin: 20px auto;
}

.guideImgBox img {
    max-width: 15%;
    position: relative;
    left: 80%;
}

.tipsToast {
    margin-top: 20%;
}

.tipsToast p {
    font-size: 18px;
    margin-top: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.activity_container {
    position: relative;
    height: 100%;
    font-size: 14px;
    background: url("../images/bg.jpg"), #670706;
    padding-top: 100%;
    background-size: cover;
}

.activity_container #rules {
    padding: 5px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    width: auto;
    position: absolute;
    right: 0;
    top: 15px;
}

.activity_container .participation {
    padding: 20px 15px;
}

.redPocketContainer {
    background: #ec5444;
    padding: 7px 10px 20px;
    border: 4px solid #f5cd9a;
    border-radius: 7px;
    margin-bottom: 54px;
}

.redPocketContainer > h5 {
    width: 132px;
    height: 32px;
    line-height: 31px;
    text-align: center;
    background: #620e08;
    color: #fff;
    border-radius: 6px;
    margin: 0 auto 10px;
    font-size: 17px;
}

.redPocketContainer > h5 > span:first-child {
    margin-right: 12px;
}

.remainRedPocket {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 84px;
    font-size: 22px;
    color: #690203;
    font-weight: bold;
    background-image: linear-gradient(#fafcf3, #fcd5a6);
    border: 1px solid #fff1da;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.28);
}

.remainRedPocket strong {
    font-size: 32px;
}

.redPocketContent {
    background-image: linear-gradient(#fafcf3, #fcd5a6);
    border: 1px solid #fff1da;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.28);
    padding-top: 30px;
    padding-bottom: 5%;
    border-radius: 8px;
}

.redPocketContent ul {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.redPocketContent ul > li {
    flex: 1;
    position: relative;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.redPocketContent ul > li:last-child {
    margin-right: 0;
}

.remainRedPocketCount {
    position: absolute;
    top: -10px;
    right: 0px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #fff;
    background: #fe4c4c;
    border-radius: 50%;
    box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.taskListsContainer ul > li {
    position: relative;
    padding: 10px 7px;
    border-radius: 8px;
    border: 4px solid #f5cd9a;
    background: #ec5345;
    margin-bottom: 8px;

}

.taskListsContainer ul > li .disabledMask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    z-index: 2;
    display: none;
}

.taskListsContainer ul > li .content {
    background-image: linear-gradient(#fefae9, #fcd5a7);
    border-radius: 5px;
    padding: 9px 15px 14px;
}

.taskListsContainer ul > li .content h5 {
    position: relative;
    font-size: 17px;
    color: #620e08;
    display: flex;
    align-items: center;
}

.taskListsContainer ul > li .content p {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    margin-top: 5px;
}

.taskListsContainer ul > li .content .optionContent {
    display: flex;
    justify-content: space-between;
}

.taskListsContainer ul > li .content div strong {
    font-size: 23px;
    color: #b2191b;
}

.taskListsContainer ul > li .content div button {
    width: 120px;
    height: 32px;
    background-image: linear-gradient(#f47555, #ee392e);
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    letter-spacing: 1px;
}

/*被邀请页面*/
#header {

}

#header > h4 {
    padding: 15px;
    background: #ed2c38;
    color: #fff;
}

#registerContent {
    padding: 20px 10px;
}

#registerModal {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

#registerModal .registerContent {
    background-color: #fff;
    width: 85%;
    height: auto;
    min-width: 300px;
    max-width: 580px;
    padding: 20px 15px;
    margin: 30px auto;
    border-radius: 15px;
    overflow-y: scroll;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

}

#registerContent .inputGroup input {
    display: block;
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    border: none;
    border-bottom: 1px solid #e6e6e6;
    outline: none;
    padding-left: 15px;
}

#registerContent .inputGroup .verifyCode {
    display: flex;
}

#registerContent .inputGroup .verifyCode button {
    width: 150px;
    color: #125894;
    font-size: 18px;
    border-bottom: 1px solid #dcdcdc;
}

.registerContent .goBuy {
    width: 200px;
    height: 38px;
    line-height: 38px;
    border-radius: 6px;
    text-align: center;
    margin: 30px auto;
    background: #08c160;
    color: #fff;
    letter-spacing: 3px;
    cursor: pointer;
}

.registerBtn {
    display: block;
    height: 48px;
    line-height: 48px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    background-image: -webkit-gradient(linear, left top, right top, from(#f99f47), to(#f7881c));
    background-image: linear-gradient(90deg, #f99f47, #f7881c);
    border-radius: 3px;
    margin-top: 60px;
}

.registerBtn button {
    color: #fff;
    font-size: 18px;
}

#ydintroContent > ul, #productIntroContent ul {
}

#ydintroContent > ul > li, #productIntroContent > ul > li {
    height: 80px;
    padding: 15px 25px;
    background: #ffffff;
    border-bottom: 8px solid #0f5591;
    color: #000;
}

#ydintroContent > ul > li, #productIntroContent > ul > li {
    display: flex;
}

#productIntroContent > ul > li > div:first-child {
    border: 2px solid #2d221e;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 6px;
    font-size: 22px;
    font-weight: bold;
    color: #000;
}

#productIntroContent > ul > li > div:last-child {
    position: relative;
    flex: 1;
    color: #000000;
    letter-spacing: 2px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #000;
    padding: 10px;
    border-radius: 6px;
    margin-left: 20px;
}

#productIntroContent > ul > li > div:last-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-right-color: #000000;
    margin-left: -40px;
    margin-top: -19px;
}

#productIntroContent > ul > li > div:last-child::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 18px solid transparent;
    border-right-color: #fff;
    margin-left: -35px;
    margin-top: -17px;
}

#ydintroContent > ul > li:nth-last-child(1) {
    border: none;
}

#ydintroContent > ul > li > div:first-child {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    width: 50px;
    margin-right: 10px;
    text-align: center;
}

#ydintroContent > ul > li > div:last-child {
    font-size: 17px;
    flex: 1;
}

#ydintroContent > ul > li > div:last-child > h4 {
    margin-bottom: 10px;
}

#productIntroContent, #ydintroContent {

}

#productIntroContent > h4, #ydintroContent > h4 {
    text-align: center;
    padding: 30px 0;
    background: #0e5592;
    color: #fff;
}

#lottery {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

#lottery table {
    width: 100%;
}

#lottery table tr {
    display: inline-flex;
    width: 100%;
}

#lottery table tr > td {
    position: relative;
    text-align: center;
    flex: 1;
    height: 90px;
    line-height: 90px;
    margin-right: 2px;
    background-color: #ff3500;
    color: #fff;
    border: 2px solid #fdf4e3;
}

#lottery table tr:first-child > td:first-child {
    border-top-left-radius: 12px;
}

#lottery table tr:last-child > td:first-child {
    border-bottom-left-radius: 12px;
}

#lottery table tr:first-child > td:last-child {
    border-top-right-radius: 12px;
}

#lottery table tr:last-child > td:last-child {
    border-bottom-right-radius: 12px;
}

#lottery table td span {
    display: block;
    width: 100%;
    height: 90px;
}

#lottery table td div.desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

}

#lottery table td div.desc > div {
    line-height: 1.2;
    font-size: 13px;
}

#lottery table td a {
    width: 100%;
    height: 90px;
    display: block;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    background-color: #e8b971;
}

#lottery table td.active .mask {
    display: block;
}

.completeIcon1, .completeIcon2 {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    display: none;
}

.mask {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.44);
    display: none;
}