*{ margin:0;-webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-text-size-adjust:none;}


body {
    font-family: Microsoft Yahei;
    font-weight: 400;
    background: black;
    margin: 0;
    padding: 0;
    text-align:center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

html {
    font-size: 20px;
    -webkit-text-size-adjust:none;
}

.test{
    position: absolute;
    width: 100%;
    top: 50%;
    text-align: center;
    font-size: 2rem;
    color: red;
}
.bottom{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999; 
    background: white;
    overflow-x: auto;
    overflow-y: hidden;
}
.galgame{
    position: absolute;
    z-index: 9999;
    display: none;
    width: 100%;
    height: 100%;
    display: none;
}
.galgame .background{
    position:absolute;
    width: 100%; 
    height: 100%; 
    left: 0px; 
    top: 0px;
}
.main{
    display: none;
}
.main .map{
    position:absolute;
    width: 100%; 
    height: 100%; 
    left: 0px; 
    top: 0px;
    background: url('../resources/image/map.jpg') 50% 50% /100% auto no-repeat;
}
.white{
    position:absolute;
    width: 100%; 
    height: 100%; 
    left: 0px; 
    top: 0px;
    background: white;
    z-index: 10000;
    display: none;
}
.bottom_image{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    background: url('../resources/image/horizon_hint.png') 50% 50% /80% auto no-repeat;
}
.black{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0);
    text-align: center;
    z-index: 99;
}

.frame{
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    background: white; 
    z-index: 100;
}

.bgm{
    display: none;
}
.dialog{
    position: absolute;
    bottom: 1%;
    left: 5%;
    width: 90%;
    height: 25%;
    z-index: 210;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgb(101,101,101);
    border-radius: 10px;
    color: white;
    font-family: YouYuan;
}
.dialog-text{
    font-size: 1rem;
    padding:12px 30px;
    font-family: YouYuan;
    text-align: left;
}

.dialog-chara{
    position: absolute;
    bottom: 30%;
    left: 5%;
    width: auto;
    height: auto;
    z-index: 215;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgb(101,101,101);
    padding: 5px 22px;
    font-size: 1rem;
    color: white;
    font-family: YouYuan;
}

.charactor-left{
    position: absolute;
    left: 0%;
    top:0%;
    height: 100%;
    width: 100%;
}
.charactor-center{
    position: absolute;
    left: 0%;
    top:0%;
    height: 100%;
    width: 100%;
}
.charactor-right{
    position: absolute;
    left: 0%;
    top:0%;
    height: 100%;
    width: 100%;
}
.replay{
    position:absolute;
    height: 3.2rem;
    width: 11rem;
    background: url('../resources/image/replay.png') 50% 50% /auto 80% no-repeat;
}
.help{
    position:absolute;
    height: 3rem;
    width: 3rem;
    right: 0;
    background: url('../resources/image/help.png') 50% 50% /auto 80% no-repeat;
}
.notice{
    position:absolute;
    height: 2.4rem;
    width: 16rem;
    bottom:2%;
    left: 3%;
    background: #ffefd5;
    border-radius: 10px;
    border: 2px #7c521d solid;
}
.notice p{
    color:#7c521d;
    font-size: 0.9rem;
    line-height: 2.5rem;
    font-weight: bold;
}
.title{
    position: absolute;
    height: 2rem;
    width: 11rem;
    background: url('../resources/image/title.png') 50% 50% /auto 100% no-repeat;
}
.text{
    position:absolute;
    left: 0%;
    width: 55%;
    height: 100%;
    font-size: 1.1rem;
    line-height: 2.1rem;
    color: #ffddb0;
}
.time{
    position:absolute;
    left: 57%;
    width: 40%;
    height: 100%;
    font-size: 0.8rem;
    line-height: 2.5rem;
    color: #ffddb0;
}
.title-1{
    right: 3%;
    top: 82%;
}
.title-2{
    left: 2%;
    top: 35%;
}
.title-3{
    left: 26%;
    top: 15%;
}
.title-4{
    left: 59%;
    top: 9%;
}

.chara{
    position: absolute;
    width: 18%;
    height: 30%;
    
}
.chara-1{
    left: 61.5%;
    top: 46.5%;
}
.chara-2{
    left: 21.5%;
    top: 41%;
}
.chara-3{
    left: 50.6%;
    top: 15.5%;
}
.chara-4{
    left: 82%;
    top: 14%;
}



.onclick{
    position: absolute;
    width: 15%;
    height: 30%;
}
.onclick-1{
    left: 62.7%;
    top: 52.4%;
}
.onclick-2{
    left: 23%;
    top: 46.5%;
}
.onclick-3{
    left: 52.15%;
    top: 21.1%;
}
.onclick-4{
    left: 84%;
    top: 19.5%;
}



.blink{
    background:url('../resources/image/hint.png') 50% 50% /100% auto no-repeat;
    -webkit-animation: blink 2.5s  infinite ;
    -moz-animation: blink 2.5s  infinite ;
    -ms-animation: blink 2.5s  infinite ;
    animation: blink 2.5s  infinite ;
}

@-webkit-keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-o-keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-ms-keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.fadeInOut{
    -webkit-animation: fadeInOut 1s  1 ;
    -moz-animation: fadeInOut 1s  1 ;
    -ms-animation: fadeInOut 1s  1 ;
    animation: fadeInOut 1s  1 ;
}

@-webkit-keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-o-keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-ms-keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}





.shake{
    -moz-animation: fadeInOut 0.2s infinite;
    -ms-animation: fadeInOut 0.2s infinite;
    -webkit-animation:shake 0.2s infinite;
    animation:shake 0.2s infinite;
}


 @-webkit-keyframes shake {
    0%{
       -webkit-transform:translate(2px, 2px);
    }
    25%{
       -webkit-transform:translate(-2px, -2px);
    }
    50%{
       -webkit-transform:translate(0px, 0px);
    }
    75%{
        -webkit-transform:translate(2px, -2px);
    }
    100%{
        -webkit-transform:translate(-2px, 2px);
    }
}
@keyframes shake {
    0%{
       transform:translate(2px, 2px);
    }
    25%{
        transform:translate(-2px, -2px);
    }
    50%{
        transform:translate(0px, 0px);
    }
    75%{
        transform:translate(2px, -2px);
    }
    100%{
        transform:translate(-2px, 2px);
    }
}


.cks{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 999;
    display: none;
}
.bcc{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 999;
    display: none;
}
.bcss{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 999;
    display: none;
}
.jyy{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 999;
    display: none;
}

.cks-frame{
    position: absolute;
    width: 90%;
    height: 90%;
    left: 5%;
    top:5%;
    background: #feefd5;
    border-radius: 0.8rem;
    border:  0.1rem #7a4f1a solid;
}
.top-title{
    position: relative;
    width: 100%;
    height: 3.2rem;
    left: -0.05rem;
    top:0%;
    background: #4d300c;
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
    border-left:  0.1rem #7a4f1a solid;
    border-right:  0.1rem #7a4f1a solid;
    border-top:  0.1rem #7a4f1a solid;
    color: #feefd5;
    
}
.top-title p{
    line-height: 3.1rem;
    font-size: 1.9rem;
}
.replay1{
    position: absolute;
    width: 8rem;
    left: 0%;
    height: 100%;
    top: 0%;
    background: url('../resources/image/replay1.png') 50% 50% /auto 70% no-repeat;
}
.back{
    position: absolute;
    width: 8rem;
    right: 0%;
    height: 100%;
    top: 0%;
    background: url('../resources/image/back.png') 50% 50% /auto 70% no-repeat;
}
.content{
    position: relative;
    width: 90%;
    left: 5%;
    text-align: left;
    font-size: 1.0rem;
    margin-top: 0.8rem;
    line-height: 1.5rem;
}
.event{
    position: relative;
    width: 88%;
    left: 6%;
    text-align: left;
    margin-top: 0.7rem;
    height: 60%;
    background: #f9e6c5;
    border-radius: 0.7rem;
}

.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-button-prev{
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 2.8rem;
    margin-top: -1.4rem;
    background: url('../resources/image/prev.png') 50% 50% /auto 100% no-repeat;
    right: auto;
    left: -2.1rem;
    
}

.swiper-button-next{
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 2.8rem;
    margin-top: -1.4rem;
    background: url('../resources/image/next.png') 50% 50% /auto 100% no-repeat;
    right: -2.1rem;
    left: auto;
}

.event-title{
    position: absolute;
    height: 2.5rem;
    width: 100%;
    top: 0%;
    left: 0;

}
.green{
    width: 1rem;
    height: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    margin-left: 1.15rem;
    background: #bdd539;
}
.event-title p{
    position: absolute;
    margin-left: 3rem; 
    top: 0;
    color: #4d300c;
    font-size: 1.1rem;
    line-height: 3rem;
}
.event-time{
    position: absolute;
    width: 100%;
    top: 2.5rem;
    left: 0;
}
.event-rule{
    position: absolute;
    width: 100%;
    top: 4.1rem;
    left: 0;
}
.prefix{
    position: absolute;
    margin-left: 2.5rem; 
    top: 0;
    color: black;
    font-size:  0.95rem;
    line-height: 1.8rem;
}
.event-time-text{
    position: absolute;
    margin-left: 9.5rem; 
    top: 0;
    color: black;
    font-size:  0.95rem;
    line-height: 1.8rem;
}
.introduce{
    position: absolute;
    height: 10rem;
    margin-left: 9.5rem; 
    top: 0rem;
    line-height: 1.8rem;
    text-align: left;
    margin-right:  0.95rem;
    font-size: 1rem;
}
.progress{
    position: absolute;
    top: 9rem;
    height: 1.8rem;
    left: 2.5rem;
    right: 2.5rem;
    border-radius: .5rem;
    border:2px #7c521d solid;

}
.progress-num{
    position: absolute;
    height: 1.8rem;
    text-align: center;
    line-height: 1.8rem;
    width: 100%;
    color: #4d300c;
}
.progress-bar{
    position: absolute;
    top: 0.2rem;
    bottom: 0.2rem;
    left: 0.5rem;
    right: 0.5rem;
}
.progress-bar-red{
    width: 0%;
    height: 100%;
    background: #ff8d8d;
}
.submit{
    position: absolute;
    top: 1rem;
    left: 100%;
    height: 2rem;
    width: 8rem;
    margin-left: -10rem;
    background: url('../resources/image/submit.png') 50% 50% /auto 100% no-repeat;
}
.backgame{
    position: absolute;
    bottom: 2rem;
    left: 70%;
    height: 2.5rem;
    width: 8rem;
    margin-left: -4rem;
    background: url('../resources/image/backgame.png') 50% 50% /auto 100% no-repeat;
}
.rule{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../resources/image/rule.png') 50% 50% /auto 90% no-repeat rgba(0,0,0,.6);
    z-index: 999;
    display: none;
}
.xueyu{
    position: absolute;
    bottom: 1.3rem;
    left: 50%;
    height: 4rem;
    width: 8rem;
    margin-left: -4rem;
    background: url('../resources/image/xueyu.png') 50% 50% /auto 100% no-repeat;
}