@import "../css/rem.css";

* {
    background-size: contain;
}

@-webkit-keyframes moveUp {
    0% {
        -webkit-transform: translateY(-20%);
        transform: translateY(-20%);
        opacity: 0;
    }

    50% {
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(20%);
        transform: translateY(20%);
        opacity: 0;
    }
}

:-webkit-input-placeholder {
    /* WebKit browsers */
    color: #a76b2b;
    font-size: 16px;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #a76b2b;
    font-size: 16px;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #a76b2b;
    font-size: 16px;
}

input:focus,
textarea:focus {
    outline: none;
}

button {
    display: block;
    font-size: 0;
    color: transparent;
    text-align: center;
    border: none;
    outline: none;
    background-color: transparent;
}

.u-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .6;
    z-index: 999;
}

.form-mask{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .6;
    z-index: 999;    
}

.u-btn.dismiss,
.u-btn.disabled {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

.u-loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: .24rem;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.u-loading .content {
    min-width: 6em;
    padding: 4em 1em .5em 1em;
    margin: .1rem auto;
    color: #fff;
    text-align: center;
    background-size: .4rem auto;
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #333;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 5px;
}

html {
    width: 100%;
    overflow-x: hidden;
}

h1.logo {
    position: absolute;
    left: .3rem;
    top: .3rem;
    width: 1.15rem;
    height: .89rem;
    background-image: url(../images/logo.png);
    z-index: 2;
}


.clearfix:before,
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.f-l {
    float: left;
}

.f-r {
    float: right;
}

body {
    position: relative;
    width: 100%;
    font-size: .24rem;
    background-color: #000;
}

.m-viewport {
    position: relative;
    width: 7.5rem;
    height: 30rem;
    margin: 0 auto;
    padding-top: 8.1rem;
    background-image: url(../images/body.jpg);
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.main-title {
    position: absolute;
    left: 50%;
    top: 0;
    width: 7.5rem;
    height: 4.85rem;
    transform: translateX(-50%);
    background-image: url(../images/main-title.png);
}

.u-btn.apply{
    position: fixed;
    right: .3rem;
    top: 5rem;
    width: 1.69rem;
    height: 1.8rem;
    background-image: url(../images/btn-apply.png);
    z-index: 5;
}

.m-user{
    margin-bottom: .9rem;
    padding: 0 1.25rem;
    font-size: .24rem;
}

.m-user .welcome{
    color: #fff;
}

.m-user a{
    color: #ffe06f;
    text-decoration: underline;
}

.evt-item{
    padding-bottom: 1.25rem;
}

.evt-item>.title{
    margin: 0 auto .35rem;
}

.evt-item>.title.t-1{
    width: 7.02rem;
    height: 1.54rem;
    background-image: url(../images/title-1.png);
}

.evt-item>.title.t-2{
    width: 7.02rem;
    height: 1.58rem;
    background-image: url(../images/title-2.png);
}

.evt-detail .slogen{
    margin-bottom: .3rem;
    padding: 0 .5rem;
    text-align: center;
    color: #a092eb;
}

.reward-view.r-1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .8rem;
}

.reward-view .border{
    position: relative;
    width: .82rem;
    height: .82rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: .04rem;
    overflow: hidden;
    background-image: url(../images/bg-item.png);   
}

.reward-view .pic{
    position: relative;
    width: .82rem;
    height: .82rem;
    overflow: hidden;
    background-image: url(../images/bg-item.png);
    background-size: 100% 100%;   
}

.reward-view .border {
    filter: hue-rotate(110deg);
}

.reward-view .border span {
    position: absolute;
    display: block;
}

.reward-view .border span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: .02rem;
    background: linear-gradient(90deg, transparent, #5953b1);
    animation: animate1 1s linear infinite;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.reward-view .border span:nth-child(2) {
    top: -100%;
    right: 0;
    width: .02rem;
    height: 100%;
    background: linear-gradient(180deg, transparent, #5953b1);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes animate2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

.reward-view .border span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: .02rem;
    background: linear-gradient(270deg, transparent, #5953b1);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}

@keyframes animate3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}


.reward-view .border span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: .02rem;
    height: 100%;
    background: linear-gradient(360deg, transparent, #5953b1);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

.reward-view .icon{
    position: absolute;
    left: 50%;
    top: 50%;
    width: .46rem;
    height: .46rem;
    transform: translate(-50%,-50%);
    background-image: url(../images/icon.png);
}

.reward-text{
    width: 16em;
}

.reward-text h5{
    font-size: .36rem;
    color: #fef9bf;
    font-weight: 700;
}

.reward-text p{
    color: #a092eb;
}

.reward-view.r-1{
  width: 6.06rem;
  height: 1.56rem;
  margin: 0 auto;
  background-image: url(../images/bg-1.png);  
}

.reward-view.r-2{
    width: 6.06rem;
    height: 1.92rem;
    margin: 0 auto;
    background-image: url(../images/bg-2.png);  
}

.reward-view.r-2 .reward-text{
    margin-top: .3rem;
    margin-right: .3rem;
}

.m-rule{
    position: relative;
    width: 7.36rem;
    height: 9.63rem;
    margin: 0 auto;
    padding-top: .7rem;
    box-sizing: border-box;
    background-image: url(../images/bg-rule.png);
}

.m-rule .title{
    position: absolute;
    left: 50%;
    top: .1rem;
    width: 3.4rem;
    height: .62rem;
    transform: translate(-50%,-50%);
    background-image: url(../images/title-rule.png);
}

.rule-text{
    padding: .2rem .35rem 0;
}

.rule-text p{
    line-height: 1.6;
    margin-bottom: .25rem;
    color: #ffe0a3;
}

.rule-text p b{
    font-weight: bold;
    color: #ffd200;
}


/* aeraModal */
.area-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.area-modal .area-modal-content {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 5.3rem;
    padding: 0 .35rem .3rem;
    font-size: .24rem;
    background-color: #670303;
    border: .06rem solid #5b0602;
    z-index: 1001;
}

.area-modal h5 {
    padding-top: .4rem;
    margin-bottom: .2rem;
    font-size: .32rem;
    color: #fff;
    text-align: center;
}

.area-modal .area-item {
    position: relative;
    width: 4.05rem;
    height: .6rem;
    padding-left: .5rem;
    line-height: .6rem;
    color: #5d0d00;
    margin: 0 auto .1rem;
    background-color: #fff;
    border-radius: 5px;
}

.area-modal .area-item .tag {
    display: none;
}

.area-modal .err-view {
    display: none;
    margin-top: .05rem;
    text-align: center;
}

.area-modal .err-view .i-notice {
    display: inline-block;
    width: .19rem;
    height: .19rem;
    margin-right: .05rem;
    background-image: url(../images/i-notice.png);
    vertical-align: middle;
}

.area-modal .err-view p {
    display: inline-block;
    color: #ffdf7d;
    vertical-align: middle;
}

.query-result {
    text-align: center;
}

.query-result .result-item {
    display: inline-block;
    position: relative;
    width: 1.9rem;
    height: .6rem;
    line-height: .6rem;
    text-align: center;
    color: #5d0d00;
    margin: 0 auto .1rem;
    background-color: #fff;
    border-radius: 5px;
    vertical-align: middle;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:no-wrap;
}

.query-result .result-item.player-name {
    margin-right: .25rem;
}

.area-item .u-list {
    display: none;
    position: absolute;
    top: .48rem;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 5px;
    z-index: 2;
}

.area-item .u-list li {
    height: .4rem;
    line-height: .4rem;
    margin: .15rem auto;
}

.area-item .u-list li:hover {
    background-color: #5d0d00;
}

.area-item .u-list a {
    padding-left: .15rem;
    color: #5d0d00;
}

.area-item .u-list li:hover a {
    color: #fff;
}

.area-modal .u-btn.submit {
    width: 2.23rem;
    height: .73rem;
    margin: .3rem auto;
    background-image: url(../images/btn-area-submit.png);
}

.area-modal .notice {
    text-align: center;
    color: #9e7676;
}

.area-modal .u-btn.close {
    position: absolute;
    top: -.06rem;
    right: -.58rem;
    width: .52rem;
    height: .52rem;
    background-image: url(../images/btn-close.png);
}

.area-modal .area-view .user-info{
    position: absolute;
    top: 0;
    left: 0;
    width: 4.18rem;
    margin: .05rem;
    padding: .08rem .2rem;
    box-sizing: border-box;
    color: #fff;
    background-color: rgba(0, 0, 0, .4);    
}

.area-modal .area-view .logout {
    margin-left: .4rem;
    color: #01b4ff;
}

/* AD */
.ad-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.ad-modal .u-btn.close {
    position: absolute;
    top: .08rem;
    right: .08rem;
    width: .52rem;
    height: .52rem;
    background-image: url(../images/btn-close.png);
}

.ad-modal-content{
    position: fixed;
    left: 50%;
    top: 50%;
    width: 6.4rem;
    height: 6.23rem;
    transform: translate(-50%,-50%);
    background-image: url(../images/bg-ad.png);
    z-index: 2000;
}

.ad-view{
    padding-top: .4rem;
}

.ad-modal-content img{
    display: block;
    width: 3.22rem;
    height: 3.22rem;
    margin: 0 auto;
}

.ad-modal-content h5{
    margin-bottom: .25rem;
    font-size: .4rem;
    color: #feeda9;
    font-weight: 700;
    text-align: center;
}

.ad-modal-content p{
    text-align: center;
}

.ad-modal .p-1{
    margin: .15rem 0 .2rem;
    font-size: .3rem;
    color: #a092eb;
}

.ad-modal .p-2{
    font-size: .3rem;
    color: #ffd800;
}

/* comfirm */
.comfirm-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.comfirm-modal .u-btn.close {
    position: absolute;
    top: -.06rem;
    right: -.58rem;
    width: .52rem;
    height: .52rem;
    background-image: url(../images/btn-close.png);
}

.comfirm-modal-content{
    position: fixed;
    left: 50%;
    top: 50%;
    padding: .3rem .5rem;
    transform: translate(-50%,-50%);
    background-color: #670303;
    border: .06rem solid #5b0602;
    z-index: 2000;
}

.comfirm-view{
    /* padding-top: .4rem; */
}

.comfirm-modal-content img{
    display: block;
    width: 3.22rem;
    height: 3.22rem;
    margin: 0 auto;
}

.comfirm-modal-content h5{
    margin-bottom: .25rem;
    font-size: .4rem;
    color: #feeda9;
    font-weight: 700;
    text-align: center;
}

.comfirm-modal-content p{
    text-align: center;
}

.comfirm-modal .p-1{
    margin: .15rem 0 .2rem;
    font-size: .3rem;
    color: #ffd800;
}

.comfirm-modal .p-2{
    font-size: .3rem;
    color: #ffd800;
}

.comfirm-modal .u-ctrl{
    display: flex;
    justify-content: center;
}

.comfirm-modal .u-ctrl .u-btn{
    width: 1.82rem;
    height: .73rem;
    margin: 0 .2rem;
}

.comfirm-modal .u-btn.ok{
    background-image: url(../images/btn-yes.png);
}

.comfirm-modal .u-btn.cancel{
    background-image: url(../images/btn-no.png);
}

/* ------------
 * UI Toast
 * ------------ */
 
 .u-toast {
    display: none;
    position:fixed;
    left:50%;
    top:40%;
    text-align:center;
    z-index:10000;
    transform: translate(-50%,-40%);
}

.u-toast div {
    width: 100%;
    font-size:.24rem;
    line-height:.28rem;
    padding:.2rem .4rem;
    color:#fff;
    text-align: center;
    background-color: rgba(0, 0, 0, .85);
}

/* Modal */
.m-vip-form{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}


.m-vip-form .form-modal-content {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    width: 6.9rem;
    max-height: 80vh;
    padding-bottom: .2rem;
    transform: translate(-50%, 0);
    background-color: #670303;
    border: .08rem solid #310402;
    font-size: .24rem;
    color: #fff;
    z-index: 1000;
    overflow-y: scroll;
    overflow-x: hidden;
}

.m-vip-form .u-btn.close {
    position: absolute;
    bottom: .3rem;
    left: 50%;
    width: .92rem;
    height: .92rem;
    transform: translateX(-50%);
    background-image: url(../images/btn-form-close.png);
    z-index: 1002;
}

.m-vip-form .form-header {
    padding: .08rem .2rem;
    color: #fff;
    background-color: #391515;
}

.m-vip-form .form-header .u-btn{
    float: right;
}

.m-vip-form .form-header .close {
    margin-left:.4rem;
    color: #01b4ff;
}

.m-vip-form .form-body {
    padding: .24rem .3rem 0;
}

.body-left .user-info {
    margin-bottom: .2rem;
}

.body-left .user-info .area-name,
.body-left .user-info .user-name {
    color: #ffd800;
}

.body-left .user-info .vip-level {
    margin-left: .25rem;
}

.body-left .user-info .level {
    color: #32be1b;
}

.m-vip-form .body-right {
    /* margin-right: 30px; */
}

.m-vip-form .form-row {
    position: relative;
    padding-left: 7em;
}


.m-vip-form .body-left .form-row {
    margin-bottom: .2rem;
}

.m-vip-form .body-right {
    /* padding-top:.4rem; */
}

.m-vip-form input[type=text] {
    display: inline-block;
    box-sizing: border-box;
    width: 3.42rem;
    height: .6rem;
    padding-left: .2rem;
    line-height: .6rem;
    color: #5d0d00;
    margin: 0 auto .2rem;
    background-color: #fff;
    border: none;
}

.m-vip-form input[type="text"]:disabled {
    background-color: #dddddd;
}

.m-vip-form textarea:disabled {
    background-color: #dddddd;
}

.m-vip-form .checkbox {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 12px;
    background-image: url(../images/btn-radio-normal.png);
    vertical-align: middle;
    cursor: pointer;
}

.m-vip-form .checkbox.on {
    background-image: url(../images/btn-radio-on.png);
}

.m-vip-form input.phone-code {
    width: 1.9rem;
    padding-left: .2rem;
}

.m-vip-form .u-btn.phone-code {
    display: inline-block;
    width: 1.51rem;
    /* height: .4rem; */
    line-height: .53rem;
    text-align: center;
    color: #e59156;
    border-radius: 2px;
    /* background-color: #b3b3b3; */
    border: 1px solid #e59156;
}

.m-vip-form .u-btn.phone-code.cntdown{
    color: #fff;
    background-color: #b3b3b3;
    border: none;
}

.m-vip-form textarea {
    display: inline-block;
    width: 3.42rem;
    height: .9rem;
    padding: .12rem;
    color: #5d0d00;
    margin: 0 auto .1rem;
    background-color: #fff;
    border: none;
    resize: none;
}

.m-vip-form label {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    width: 6em;
    padding-left: 1em;
    color: #fff;
    text-align: right;
}

.m-vip-form .i-need {
    display: inline-block;
    color: #ba3c3c;
    vertical-align: middle;
}

.m-vip-form .u-btn.submit {
    width: 2.23rem;
    height: .73rem;
    margin: .15rem auto .1rem;
    background-image: url(../images/btn-form-submit.png);
    z-index: 1999;
}

.m-vip-form .u-btn.submit.success{
    width: 1.18rem;
    height: 1.20rem;
    margin: .15rem auto .1rem;
    background-image: url(../images/btn-success.png);
}

.m-vip-form .u-btn.submit.success.disabled{
    filter: none;
}

.m-vip-form .u-btn.submit.edit {
    background-image: url(../images/btn-form-edit.png);
}

.m-vip-form .notice {
    color: #905b49;
    text-align: center;
}

/* TIPS */
.u-tips {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 21;
}

.u-tips .u-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .85);
    opacity: 1;
    z-index: 1;
}


.u-tips .tip-container {
    position: relative;
    top: 50%;
    left: 50%;
    width: 7.5rem;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.u-tips .tip-container .img {
    margin-top: .2rem;
}

.u-tips .tip-container img {
    width: 100%;
    max-height: 100%;
}

.topic .sub_type,
.topic .sub_desc {
    color: #0088ff;
}

.topic .itemDesc {
    margin-top: 10px;
    color: #a1e5ff;
}

.topic .type2 {
    color: #fff;
}

.topic .type3 {
    margin-bottom: 10px;
}

.topic .green,
.topic .strength,
.topic .agility,
.topic .mentality,
.topic .iniMovementSpeed,
.topic .healthPoint,
.topic .manaPerSecond,
.topic .skillStats,
.integralAddition,
.topic .smPerSecond,
.fightingCapAdd {
    color: #00ff00;
}

.topic .skillAdd1 {
    margin-top: 10px;
}

.topic .skillAdd1,
.topic .skillAdd2 {}

.topic .skillAdd1,
.topic .skillAdd2 {
    color: #0088ff;
}

.topic .purple {
    color: #9205EA;
}

.topic .gold,
.topic .type3 {
    color: #FFCC11;
}

.topic .dGold {
    color: #dd9955;
}

.topic .orange,
.topic .magicValue {
    color: #FF8800;
}

.topic .blue {
    color: #0088ff;
}

.tips-detail {
    font-size: .24rem;
    padding: 0 .3rem;
}

/* end */

/* add */
.icon.icon-success{
    display: block;
    width: 1.18rem;
    height: 1.2rem;
    margin: 0 auto;
    background-image: url(../images/btn-success.png);
}

.m-ctrl{
    position: relative;
}

.m-edit{
    position: absolute;
    right: 1.9rem;
    bottom: 0;
}

.m-edit span{
    color: #ffe0a3;
    text-decoration: underline;
}