/* reset css */

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    outline: none;
    border: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    max-width: 700px;
    margin: 0 auto;
    /* background: #ec433b; */
    /* font-family: 'microsoft yahei', 'pingfang sc', 'hiragino sans gb', 'stheiti', tahoma, sans-serif; */
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
}


/* loading css */

.mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 800;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .7;
}

.spinner {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 900;
    width: 100%;
    height: 60px;
    margin-top: -30px;
    text-align: center;
    font-size: 10px;
}

.spinner>div {
    background-color: #ff534a;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4)
    }
    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes stretchdelay {
    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}


/* page css */

.container {
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
    /* overflow-y: scroll; */
    background-color: rgba(247, 66, 66, 100);
}

.container::-webkit-scrollbar {
    width: 0 !important;
}

.container {
    -ms-overflow-style: none;
}

.container {
    overflow: -moz-scrollbars-none;
}

.container .bg-top,
.container .bg-bottom {
    vertical-align: middle;
    width: 100%;
}

.container .bg-top {
    position: absolute;
    z-index: 2;
}

.container .bg-bottom {
    margin-top: 50px;
}


/* .container .bg-bottom {
    margin-top: -1px;
    padding-top: 100px;
} */


/* .container .bg {
    z-index: -1;
    width: 100%;
    margin-bottom: -1px;
} */

.container .content {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(247, 66, 66, 100);
}


/* .container .bg-bottom-wrap {
    background: #F74242;
} */


/* .container .bg-bottom {
    width: 100%;
    background: #F74242;
} */

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

.container .top .title {
    margin: 40px 0 30px;
    margin-top: 0;
}

.container .top .title h3 {
    margin: 0;
    text-align: center;
    line-height: 35px;
    font-size: 30px;
    letter-spacing: 1px;
}

.container .reward-title {
    text-align: center;
    color: rgb(248, 231, 28);
    font-weight: 500;
}

.container .reward {
    position: relative;
    /* width: 200px; */
    widows: 100%;
    height: 200px;
    background: url('/public/images/module/activity/christmas/reward-light.png');
    background-size: 100% 100%;
    background-position: 0 0;
    margin: 31px auto;
}
.container .reward-img-box {
    width: 200px;
    height: 200px;
}

.container .reward img,
.container .reward div {
    position: absolute;
}

.container .reward img:nth-of-type(1) {
    top: 52%;
    left: 50%;
    z-index: 100;
    width: 80px;
    margin: -37px 0 0 -10px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.container .reward img:nth-of-type(2) {
    top: 54%;
    left: 50%;
    width: 80px;
    padding: 3px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.container .reward img:nth-of-type(3) {
    bottom: 0;
    left: 50%;
    width: 40px;
    transform: translateX(-50%);
    -webkit-transform: translate(-50%, -34px);
}

.container .reward div {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -10px);
    -webkit-transform: translate(-50%, -10px);
}

.container .top .txt {
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: .2px;
    font-size: 14px;
}

.container .top .time,
.container .top .invite-btn {
    max-width: 280px;
    height: 50px;
    margin: 20px auto 30px;
    background: url('/public/images/module/activity/christmas/border.png') no-repeat;
    background-size: 100% 100%;
    background-position: 0 0;
    text-align: center;
    line-height: 50px;
    color: rgb(247, 66, 66);
    font-size: 20px;
    font-weight: 700;
}

.container .top .time span {
    display: inline-block;
    min-width: 30px;
}

.container .top .finished-list {
    margin: 15px 0 30px;
    text-align: center;
}

.container .top .finished-list img {
    width: 40px;
    height: 40px;
    margin: 0 1px;
    border-radius: 50%;
}

.container .top .invitee-list {
    margin: 15px auto;
    text-align: center;
}

.container .top .invitee-list div {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 1px;
    background: rgb(175, 31, 36);
    border-radius: 50%;
}

.container .top .invitee-list img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* way--start */
.container .top .way {
    background: url('/public/images/module/activity/christmas/top-way.png') no-repeat;
    /* background-size: cover; */
    background-size: 100% 100%;
    border-radius: 4px;

    max-width: 90%;
    margin: 30px auto 0;
    padding-bottom: 40px;
}
.container .top .way .cnt {
    padding: 0px 15px;
}
.container .top .cnt .title1, .container .top .cnt .title2 {
    margin: 30px 0 0;
    letter-spacing: .5px;
    color: rgb(248, 231, 28);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.container .top .cnt .title2 {
    margin: 5px 0 0;
}
.container .top .copy-box {
    margin-top: 10px;
}
.container .top .copy-input {
    color: rgb(52,52,52);
    line-height: 19px;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 200;
    width: 98%;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    word-break: break-all;
    overflow: hidden;
}
.container .top .way-p {
    margin-top:-5px;
    max-width: 96%;
}

.container .top .copy-btn {
    padding: 0 10px;
    background: rgba(0, 0, 0, .1);
    color: #f9e900;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.container .top .copy-btn img {
    display: block;
    width: 34px;
    height: 34px;
}
/* way--end */

.container .top .invite-btn {
    /* max-width: 320px; */
    max-width:100%;
    width:100%;
    height: 90px;
    padding-bottom: 28px;
    background: url('/public/images/module/activity/christmas/button.png') no-repeat;
    background-size: 100% 100%;
    /* background-size: cover; */
    background-position: 0 0;
    line-height: 50px;
    margin: 20px auto 0px;
}

.container .top .assets {
    display: block;
    width: 90%;
    margin: 0 auto;
}

.container .bottom .way,
.container .bottom .draw-winner-tip,
.container .bottom .ps {
    max-width: 90%;
    margin: 20px auto 0;
}

.container .bottom .way {
    margin-top: 60px;
}

.container .bottom .way-1 {
    display: none;
    margin: 58.5px auto 0;
    background: url('/public/images/module/activity/christmas/bottom-way1.png') no-repeat;
    background-size: cover;
    border-radius: 4px;
}

.container .bottom .way-2 {
    background: url('/public/images/module/activity/christmas/bottom-way2.png') no-repeat;
    background-size: cover;
    border-radius: 4px;
}

.container .bottom .ps {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: url('/public/images/module/activity/christmas/bottom-ps.png') no-repeat;
    background-size: 100% 100%;
    padding: 20px 5px;
}

.container .way .cnt,
.container .draw-winner-tip .cnt,
.container .ps .cnt {
    padding: 0 10px;
    overflow: hidden;
}

.container .way-1 .cnt {
    padding-bottom: 25px;
}

.container .way-2 .cnt {
    padding-bottom: 20px;
}

.container .bottom .cnt h4 {
    margin: 20px 0 0;
    letter-spacing: .5px;
    color: rgb(248, 231, 28);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.container .bottom .cnt .way-p {
    margin: 20px 0 0 0;
}

.container .bottom .cnt p {
    margin: 10px 0 0 0;
    letter-spacing: .5px;
    line-height: 17px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    font-weight: 400;
}

/* .container .bottom .copy-box {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    position: relative;
    margin-top: 10px;
    border: 1px solid #da9394;
    border-radius: 4px;
}
.container .bottom .copy-input {
    height: 50px;
    line-height: 20px;
    width: 100%;
    padding-left: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #c72531;
    color: #fff;
    border-radius: 4px;
    font-weight: 200;
}

.container .bottom .copy-btn {
    padding: 0 10px;
    background: rgba(0, 0, 0, .1);
    color: #f9e900;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.container .bottom .copy-btn img {
    display: block;
    width: 34px;
    height: 34px;
} */

.container .bottom .draw-winner-tip .bell {
    max-width: 38px;
    display: block;
    margin: 10px auto;
}

.container .bottom .draw-winner-tip .candle {
    max-width: 26px;
    display: block;
    margin: 30px auto 0;
}

.container .bottom .draw-winner-tip .detail-1 {
    margin-top: 0;
    color: #F8E71C;
    font-weight: 700;
    text-align: center;
}

.container .bottom .draw-winner-tip .detail-2 {
    text-align: center;
}

.container .bottom .ps h4 {
    margin-top: 0;
    color: #fff;
    font-size: 14px;
    text-align: left;
}

.container .bottom .ps .detail-1 {
    color: rgba(255, 255, 255, .8);
    font-weight: 700;
}

.container .bottom .contact {
    font-weight: 700;
}

.container .share {
    display: none;
}

.container .share .info-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: rgba(255, 255, 255, 0);
    text-align: center;
    color: rgb(52, 52, 52);
}

.container .share .info-wrap>div {
    padding: 15px 0;
    background: #fff;
    border-radius: 4px;
}

.container .share .info-wrap img {
    width: 70px;
    margin: 15px 0 5px;
}

.container .share .info-wrap img+div {
    font-size: 14px;
}


/* mobile device */

@media screen and (max-width: 375px) {
    .container .top .title h3 {
        font-size: 27px;
    }
    .container .top .copy-input {
        padding: 10px 10px 20px 10px;
    }
}

@media screen and (max-width: 321px) {
    .container .top .title h3 {
        font-size: 25px;
    }
    .container .top .finished-list img,
    .container .top .invitee-list img,
    .container .top .invitee-list div {
        width: 35px;
        height: 35px;
    }
}


/* @media screen and (max-width: 375px) {
    .container .top .copy-input {
        padding: 15px 10px 15px 10px;
    }
} */


/* layer css */

.layui-m-layercont {
    padding: 5px 20px !important;
    font-size: 16px;
}

.my-confirm-layer.win-join .img-box {
    max-height: 94px;
    margin: 0 auto;
    display: block;
}

.my-confirm-layer.win-join img {
    max-height: 94px;
}

.my-confirm-layer.win-join .txt-box {
    color: #2B2C33;
}

.my-confirm-layer.win-join .txt-box .detail-1 {
    font-size: 20px;
    margin: 0 0 5px 0;
}

.my-confirm-layer.win-join .txt-box .detail-2 {
    font-size: 16px;
    color: rgba(43, 44, 51, .7);
    margin: 0 0 18px 0;
}

.my-confirm-layer.win-join .layui-m-layerbtn span[yes] {
    color: red;
    background-color: #fff;
}