/**************************************************
**************************************************/

body {
    background-color: #d0562b
}

.wrap {
    margin: 1.8rem 0 4rem 0;
}

.ch .wrap,
.sp-app .wrap,
.sp-app_b .wrap,
.sp-app_c .wrap {
    margin-top: 0;
}


/**************************************************

**************************************************/

.banner {
    position: relative;
}

.banner span {
    position: absolute;
    top: 0;
    z-index: 1;
    background: #7d0777;
    border-radius: 0 0 0.21rem 0.21rem;
    padding: 0.21rem;
    font-weight: normal;
    color: #fff;
    text-align: center;
}

.banner .span {
    left: 0;
}

.banner .help {
    right: 0;
}


/**************************************************
t-box
**************************************************/

.t-box,
.t-tit,
.t-txt,
.js-product,
.tab-box,
.t-outer {
    overflow: hidden;
}

.t-txt {
    padding: 0.2rem 0.2rem 0 0.2rem;
    margin: 0 0.2rem;
    background-color: #792001;
}


/**************************************************
t-tit
**************************************************/

.t-box .t-tit {
    width: 11.9rem;
    height: 2.665rem;
    margin: 0 auto;
    background: url('../images/title.png') no-repeat 50% 0;
    background-size: 100% 5.33rem;
}

.box-b .t-tit {
    background-position-y: -2.665rem;
}


/**************************************************
menu
**************************************************/

.menu-ul {
    margin-bottom: 0.21rem;
    text-align: center;
}

.menu-ul li {
    display: inline-block;
    vertical-align: bottom;
    height: 1rem;
    line-height: 1rem;
    /* line-height: 0.896rem; */
    padding: 0.1rem 0.64rem;
    background: -webkit-linear-gradient(left, #de1251, #de1251);
    background: -moz-linear-gradient(left, #de1251, #de1251);
    background: -o-linear-gradient(left, #de1251, #de1251);
    background: linear-gradient(left, #de1251, #de1251);
    border-radius: 0.896rem;
    font-weight: bold;
    font-size: 0.55rem;
    color: #fff5c7;
    cursor: pointer;
}

.menu-ul li.on {
    background: -webkit-linear-gradient(left, #fcb208, #fbe88b);
    background: -moz-linear-gradient(left, #fcb208, #fbe88b);
    background: -o-linear-gradient(left, #fcb208, #fbe88b);
    background: linear-gradient(left, #fcb208, #fbe88b);
    color: #e10449;
}


/**************************************************
city
**************************************************/

.t-more {
    text-align: right;
    margin-bottom: -1rem;
    line-height: 1rem;
    height: 1rem;
    position: relative;
    z-index: 1;
    color: #fff;
}

.city-ul {
    padding: 0 0 0.1rem 2.5rem;
    height: 1rem;
    margin-right: 1.5rem;
    text-align: left;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.city-ul.on {
    height: auto;
}

.city-ul:before {
    content: '出发城市：';
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1rem;
    color: #fff;
}

.city-ul li {
    width: 20%;
    display: inline-block;
    line-height: 1rem;
    margin: 0 0.3rem 0 0;
    border-radius: 0.6rem;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.city-ul li:last-child {
    border: none
}

.city-ul li.on {
    background-color: #fcb206;
    color: #de1232;
}


/**************************************************
导航
**************************************************/

.nav-box {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 11;
    background-color: rgba(0, 0, 0, .9);
    padding: 0.21rem 0.21rem 0 0.21rem;
}

.nav-box .nav-ul a {
    display: block;
    float: left;
    width: 49%;
    margin: 0 2% 0.21rem 0;
    line-height: 1rem;
    text-align: center;
    border-radius: 2rem;
    color: #fff;
}

.nav-box .nav-ul a:nth-child(2n+0) {
    margin-right: 0;
}

.nav-box .nav-ul a.on {
    background-color: #668de2;
    color: #fff;
}

.scroll {
    bottom: 4rem;
}


/**************************************************
btn
**************************************************/

.btn {
    display: inline-block;
    min-width: 2.56rem;
    padding: 0 0.43rem;
    height: 1rem;
    line-height: 1rem;
    border: 0.085rem solid #fbe37f;
    border-radius: 1rem;
    /* box-shadow: 0 0 0.17rem 0.08rem #fdbb87;
    background: -webkit-linear-gradient(-45deg, #fc7e82, #fe4884, #fc74bc);
    background: -moz-linear-gradient(-45deg, #fc7e82, #fe4884, #fc74bc);
    background: -o-linear-gradient(-45deg, #fc7e82, #fe4884, #fc74bc);
    background: linear-gradient(-45deg, #fc7e82, #fe4884, #fc74bc); */
    background: -webkit-linear-gradient(left, #fcb106, #fbe88b);
    background: -moz-linear-gradient(left, #fcb106, #fbe88b);
    background: -o-linear-gradient(left, #fcb106, #fbe88b);
    background: linear-gradient(left, #fcb106, #fbe88b);
    font-weight: bold;
    color: #c200b3;
    cursor: pointer;
}


/**************************************************
lottery
**************************************************/

.lottery-box,
.lottery-inner {
    position: relative;
}

.lottery-box {
    text-align: center;
}

.lottery-inner,
.turntable-box {
    margin: 0 auto;
}

.lottery-btn {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2.1rem;
    height: 2.1rem;
    background: url('../images/arrow.png') no-repeat 0 0;
    background-size: 100%;
    /* -webkit-transition: background 1s ease;
    -moz-transition: background 1s ease;
    -o-transition: background 1s ease;
    transition: background 1s ease; */
}

.lottery-inner .on {
    background-position-y: -2.1rem;
}


/* .lottery-inner {
    position: relative;
}

.lottery-inner .btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

.lottery-inner .btn:before {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    margin-left: -0.5rem;
    width: 1rem;
    height: 0.64rem;
    background: url('../images/arrow.png') no-repeat 50% -0.64rem;
    background-size: 1rem 1.28rem;
    -webkit-transition: background 1s ease;
    -moz-transition: background 1s ease;
    -o-transition: background 1s ease;
    transition: background 1s ease;
}

.lottery-inner .on:before {
    background-position-y: 0;
} */


/**/

.turntable-box .info {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #fff;
}

.turntable-box {
    position: absolute;
    top: 3.55rem;
    left: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    height: 0;
    overflow: hidden;
    background: #850133 url('../images/lottery-bg.png') no-repeat top center;
    background-size: 100% 11.47rem;
    border: 1px solid #d71e00;
    border-radius: 0 0 0.43rem 0.43rem;
    box-sizing: border-box;
    -webkit-transition: height 1s ease;
    -moz-transition: height 1s ease;
    -o-transition: height 1s ease;
    transition: height 1s ease;
}

.turntable-show {
    height: 11.47rem
}

.turntable-outer {
    display: block;
    width: 9.5rem;
    height: 9.5rem;
    margin: 0.2rem auto;
    position: relative;
    background: url('../images/turntable-plate.png') no-repeat center center;
    background-size: 100% 100%;
}

.turntable-inner,
.turntable-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
}

.turntable-inner {
    width: 7.57rem;
    height: 7.57rem;
    margin: -3.785rem 0 0 -3.785rem;
    background: url('../images/turntable-prize.png') no-repeat center center;
    background-size: 100% 100%;
}

.turntable-pointer {
    z-index: 1;
    width: 2.13rem;
    height: 2.13rem;
    margin: -1.065rem 0 0 -1.065rem;
    background: url('../images/turntable-pointer.png') no-repeat center center;
    background-size: 100% 100%;
}


/**/

.anim {
    -webkit-animation: animated 1.5s linear infinite;
    -moz-animation: animated 1.5s linear infinite;
    -o-animation: animated 1.5s linear infinite;
    animation: animated 1.5s linear infinite;
}

@-webkit-keyframes animated {
    form {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1800deg);
    }
}

@-moz-keyframes animated {
    form {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1800deg);
    }
}

@-o-keyframes animated {
    form {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1800deg);
    }
}

@keyframes animated {
    form {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1800deg);
    }
}


/**************************************************
popup
**************************************************/

.mask,
.totast,
.popup {
    position: fixed;
    z-index: 100;
}

.mask {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
}

.totast,
.popup {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.totast {
    width: 60%;
    /* width: 300px; */
    text-align: center;
    padding: 0.43rem 0.21rem;
    background-color: rgba(0, 0, 0, .9);
    color: #fff;
}

.popup {
    min-width: 85%;
    text-align: center;
    line-height: 0.64rem;
}

.popup .t-tit {
    text-align: right;
    padding: 0.1rem;
}

.popup .i-close {
    display: inline-block;
    vertical-align: top;
    width: 0.85rem;
    height: 0.85rem;
    background: url('../images/close.png') no-repeat 0 0;
    background-size: 100% 100%;
    cursor: pointer;
}

.popup .t-txt {
    min-height: 4rem;
    background-color: #ffec69;
    border-radius: 0.43rem;
    box-shadow: inset 0 -0.21rem 0 #ffb32e;
    padding: 0.43rem;
    line-height: 1.5;
    box-sizing: border-box;
    color: #c43f24;
}


/*loading*/

.i-load {
    position: relative;
    display: block;
    height: 2rem;
}

.i-load:after {
    content: '';
    position: absolute;
    left: 50%;
    display: block;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    /* border: 1px solid rgba(0, 0, 0, .5); */
    border: 1px solid #c43f24;
    border-top-color: transparent;
    border-radius: 100%;
    overflow: hidden;
    -webkit-animation: circle 1s infinite linear;
    -moz-animation: circle 1s infinite linear;
    -o-animation: circle 1s infinite linear;
    animation: circle 1s infinite linear
}

.i-load:after {
    top: 50%;
    margin: -0.5rem 0 0 -0.7rem;
}

@-webkit-keyframes circle {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

@-moz-keyframes circle {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

@-o-keyframes circle {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

@keyframes circle {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}


/**/

.popup h2 {
    font-weight: bold;
    font-size: 0.64rem;
}

.popup p {
    /* margin-top: 0.43rem; */
    margin-bottom: 0.64rem;
}

.popup-rule {
    text-align: left;
}

.popup-rule {
    min-width: 90%;
}

.popup .ol {
    max-height: 6rem;
    overflow: hidden;
    overflow-y: auto;
}

.popup .ol li {
    padding: 0.4rem 0;
    margin-top: 0.5rem;
    text-align: right;
    border-top: 1px dashed #ffb32e;
    color: #ffb32e;
    overflow: hidden;
}

.popup .ol span {
    display: block;
    float: left;
    line-height: 1.5;
    max-width: 70%;
    overflow: hidden;
    /* white-space: nowrap; */
    /* text-overflow: ellipsis; */
    color: #c43f24;
    text-align: left;
}

.popup .ol a {
    display: inline-block;
    padding: 0.1rem 0.2rem;
    border-radius: 5px;
    line-height: 20px;
    background-color: #fd502d;
    color: #fff;
}


/**/

.popup input,
.popup .submit-btn {
    display: block;
    min-width: 8rem;
    max-width: 8rem;
    margin: 0 auto;
    margin-top: 0.21rem;
    height: 1.2rem;
    line-height: 1.2rem;
    border-radius: 0.21rem;
    padding: 0 0.21rem;
    outline: none;
}

input[type=text]:-moz-placeholder {
    color: #bbb
}

input[type=text]::-moz-placeholder {
    color: #bbb
}

input[type=text]:-ms-input-placeholder {
    color: #bbb
}

input[type=text]::-webkit-input-placeholder {
    color: #bbb
}

.popup input {
    border: 1px solid #c43f24;
    color: #c43f24;
}

.popup-regist .error {
    display: block;
    width: 8.4rem;
    margin: 0 auto;
    margin-top: 0;
    text-align: left;
}

.popup .submit-btn {
    cursor: pointer;
    background-color: #fd502d;
    color: #fff;
}


/**/

.popup-inner {
    height: 15rem;
    margin-top: 0.64rem;
    overflow: hidden;
    overflow-y: auto;
}