* {
    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;
}

.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;
}

#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 .invite {
    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"), #7e0000;
    padding-top: 115%;
    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;
}

#effectiveDate {
    position: absolute;
    left: 0;
    right: 0;
    top: 14%;
    margin: 0 auto;
    padding: 5px 10px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5ddaf), to(#e8b973));
    background-image: linear-gradient(180deg, #f5ddaf, #e8b973);
    border-radius: 18px;
    color: #c5111d;
    font-size: 15px;
    width: 220px;
    text-align: center;
}

@media (min-width: 768px) {
    #effectiveDate {
        top: 20%;
    }
}

.activity_container .participation {
    background: #fdf4e3;
    margin: 30px 10px;
    padding: 20px 15px;
}

.activity_container .participation .meetingCeremony {
    margin-bottom: 30px;
}

.activity_container .participation .meetingCeremony > h5,
.activity_container .participation .invitationCeremony > h5 {
    display: flex;
    align-items: flex-end;
    font-size: 20px;
    margin-bottom: 10px;
}

.activity_container .participation .meetingCeremony > h5 > span,
.activity_container .participation .invitationCeremony > h5 > span {
    margin-left: 10px;
}

.activity_container .participation .meetingCeremony .minsu {
    margin-top: 15px;
    background: #e8b972;
    color: #fff;
    padding: 20px 10px;
    border-radius: 8px;
}

.activity_container .participation .meetingCeremony .minsu > h5 {
    font-size: 18px;
    text-align: center;
    letter-spacing: 5px;
}

.activity_container .participation .meetingCeremony .minsu .tags, .activity_container .participation .meetingCeremony .minsu .reasons {
    display: flex;
    margin: 15px 0;
}

.activity_container .participation .meetingCeremony .minsu .tags > div {
    padding: 8px 10px;
    border-radius: 6px;
    background-color: #fdf4e3;
    font-size: 15px;
    margin-right: 8px;
    color: #000;
    font-weight: 500;
    height: 100px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.activity_container .participation .meetingCeremony .minsu .tags > div > p .number {
    font-size: 32px;
    color: #0f5591;
    margin: 0 8px;
}

.activity_container .participation .meetingCeremony .minsu .reasons {
    display: flex;
    margin: 0 auto;
    padding: 5px 18px;
    background-color: #f5ddaf;
    color: #000000;
    border-radius: 30px;
    align-items: center;
}

.activity_container .participation .meetingCeremony .minsu .reasons > span:first-child {
    position: relative;
    white-space: nowrap;
    padding-right: 10px;
    margin-right: 10px;
}

.activity_container .participation .meetingCeremony .minsu .reasons > span:first-child::after {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #000000;
}

.activity_container .participation .meetingCeremony .goProduct, .activity_container .participation .invitationCeremony .invite {
    width: 108px;
    height: 38px;
    line-height: 38px;
    border: 1px solid #d81e06;
    border-radius: 6px;
    text-align: center;
    margin: 30px auto;
    cursor: pointer;
}

.activity_container .participation .luckDraw > h5 {
    font-size: 18px;
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

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

}

#header > h4 {
    padding: 15px;
    background: #d50a00;
    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 {
    display: flex;
}

#ydintroContent > ul > li {
    flex: 1;
    height: 80px;
    padding: 15px 10px;
    background: #ffffff;
    border-right: 8px solid #0f5591;
    color: #f7881c;
}

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

#ydintroContent > ul > li > div:first-child {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

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

#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;
}

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