/*全局*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td,header,footer,section,aside,article{padding:0;margin:0}
body { background: #120f0c; font-size:12px; font-family:"Microsoft YaHei",Tahoma,SimSun,Verdana;}
address,caption,cite,code,dfn,em,th,var{font-weight:normal;font-style:normal}
abbr,acronym,img,input{border:0}
input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}
ul,ol,li{list-style:none;}
table{border-collapse:collapse;border-spacing:0}
.fr{float:right;}
.fl{float:left;}
.disb{display:block;}
.hid{display:none;}
.disib{display:inline-block;*display:inline;*zoom:1;}
a{color:#d7b591; text-decoration:none} 
a:hover{color:#fff; text-decoration: none; }
a:focus,input:focus{outline:0}
img{border:0;vertical-align:top; }
.clr { clear: both; }

.mainboxtop{margin: 0 auto;width: 100%; margin-top:-2.267rem; position:relative; z-index:10; max-width:10rem; }
.mainbox{margin: 0 auto; width: 10rem;height: 100%;position: relative; max-width:10rem; }

/*------ banner大图 ------*/
#banner {
	width: 100%; 
	height: 13.467rem; 
	max-width:10rem; 
	z-index: 9;
	margin: 0 auto;
	position: relative;
	display: block;
	clear:both; 
	overflow: hidden; 
}
#bannerbg {
	width: 100%;
	height: 13.467rem;
	position: absolute;
	overflow: hidden;
	z-index: 1;
	background: url(../images/bg.jpg) no-repeat center top;
	max-width:10rem; 
	background-size: cover;
	top:0;
}
#bannertxt {
	width: 10rem;
	height: 13.467rem;
	z-index: 999;
	margin: 0 auto;
	position: relative;
	display: block;
	max-width:10rem; 
}
#logo {
	width: 4.8rem;
	height: auto;
	position: absolute;
	right:0;
	top:15%;
	z-index: 99;
	text-align: center;
	overflow: hidden;
}
#logo img { width: auto; height: 2.6rem; }

#logo h1 {
	display: none;
}

#banner .txt1 {
	width: 9.5rem;
	height: auto;
	position: absolute;
	top: 42%;
    right:3%;
	background: url(../images/bannertxtbg.png) no-repeat;
	background-size: cover;
}
#banner .txt2 {
	width: 8rem;
	height: auto;
	position: absolute;
	top: 62%;
    left:10%;
}
#banner .txt1 img,#banner .txt2 img { width: 100% !important;height: 100%; }


/*------下载------*/
.gamedown30{ height:1.6rem; width:10rem; position: fixed; top: 0; display: block; margin: 0 auto; z-index: 9999; background:rgba(0,0,0,.7); overflow: hidden; }
.gamedown30 .navlogo { width: 2rem; height: 1.6rem; margin-top: .25rem; text-align: center; float: left; }
.gamedown30 .navlogo img { width: 1.7rem; height: auto; }
.gamedown30 .ios { width: 3.867rem; height: 1.333rem; float: left; background: url(../images/down-ios.png) no-repeat; margin: .133rem 0 0 .15rem; background-size: cover;}
.gamedown30 .android { width: 3.867rem; height: 1.333rem; float: left; background: url(../images/down-android.png) no-repeat; margin: .133rem 0 0 0; background-size: cover;}
.gamedown30 a { width: 3.867rem; height: 1.333rem; display: block; cursor:pointer; position: absolute; }
.gamedown30 a span { display: none; }

/*游戏特色*/
.tese { width: 100%; height:8.2rem; display: block; max-width: 10rem; background: url(../images/bg-tese.jpg) no-repeat center bottom; position: relative; }
.title-tese { width: 100%; height: .8rem; position: absolute; top:.533rem; z-index: 99; background: url(../images/title-tese.png) no-repeat center; background-size: cover;}
/*图片轮播*/
#devicebox { padding:1.5rem 0 .5rem; }
.device{width:8.6rem;height:4.867rem;padding:.4rem .533rem .5rem;border-radius:.267rem;background:#111;border:3px solid #ccc; margin:.0667rem auto;position:relative;box-shadow:0 0 5px #000}
.device .arrow-left{background:url(../images/arrows.png) no-repeat left top;position:absolute;left:0.133rem;top:50%;margin-top:-0.2rem;width:.226rem;height:.4rem;background-size: cover; }
.device .arrow-right{background:url(../images/arrows.png) no-repeat left bottom;position:absolute;right:0.133rem;top:50%;margin-top:-0.2rem;width:.226rem;height:.4rem;background-size: cover; }
.swiper-container {width:8.6rem;height:4.867rem; }
.content-slide { padding: .267rem; color: #eee; }
.pagination{position:absolute;left:0;text-align:center;bottom:0.133rem; width:100%}
.swiper-pagination-switch{display:inline-block;width:0.133rem;height:0.133rem;border-radius:0.133rem;background:#999;box-shadow:0 1px 2px #555 inset;margin:0 0.04rem;cursor:pointer}
.swiper-active-switch { background: #fff; }
.swiper-slide img {width:8.6rem;height:4.867rem; }

/*装备展示*/
.show { width: 100%; height:auto; display: block; max-width: 10rem; position: relative; }
.title-show { width: 100%; height: .8rem; position: absolute; top:.533rem; z-index: 99; background: url(../images/title-show.png) no-repeat center; background-size: cover;}
#imgshow { padding: 1.8rem 0 .5rem; }
#imgshow ul { padding: 0 0 0 .1rem; margin: 0 0 1rem 0; }
#imgshow li { width: 4.733rem; height: 6.067rem; float: left; margin: 0 .08rem .133rem; }
#imgshow li img { width: 4.733rem; height: 6.067rem; }

/*游戏截图*/
.jietu { width: 100%; height: auto; display: block; position: relative; max-width: 10rem; background: url(../images/bg-jietu.jpg) no-repeat;}
.title-jietu { width: 100%; height: .8rem; position: absolute; top:.533rem; z-index: 99; background: url(../images/title-jietu.png) no-repeat center; background-size: cover;}
/*截图平铺*/
.imglistbox { top: 0rem; }
.imglist { padding: 1.667rem 0 .4rem .25rem; }
.imglist li { margin: 0 0 .15rem 0; }
.imglist li img { width: 9.467rem; height: auto; border:1px #876d5c solid; }

/* 底部版权 */
#footer { width: 100%; background: #000; max-width:10rem; padding:.2rem 0 1rem; margin-top:0; border-top: 1px solid #74572c;}
.footerlogo { width: 2.3rem; display: block; padding-top: .133rem; margin: 0 auto .133rem;  }
.footerlogo img { width:2.3rem; height: auto; }
.copyright { width: 9.4rem; padding:0 .3rem .3rem; color: #666; font-size: .32rem; line-height: .48rem; text-align: center; }
.copyright .tips { color: #bb261c; font-weight: normal; }
.copyright a { color: #aaa; }
.footerbtn { width: 9.6rem; margin: 0.2rem auto; }
.footerbtn a { width: 2.933rem; height: 0.747rem; line-height: 0.747rem; font-size: 0.373rem; color:#aaa; text-align: center; margin: 0 auto; display: block; background-color: #333; border: 1px solid #555; border-radius: 0.053rem; }

/*右侧固定浮动*/
.fixedbox { position:fixed; right: 20px; bottom: 50px; z-index: 9999; width: 210px; height: 470px; }
@media (max-width:768px){
.fixedbox{display:none; }
	}
.fixedbox div { text-align: center; color: #95743a; font-weight: bold; }
.fixedbox div p { font-size: 14px; line-height: 18px; }
.fixedbox .chongzhi { margin: 40px 0 0 0;}
.fixedbox .code { margin: 0 auto 5px; }
.fixedbox .code img { width: 105px; height: 105px; margin: 5px 0; }
.fixedbox .qq img { margin: 5px 0;}
.fixedbox .top { width: 180px; height: 50px; bottom: 0; margin: 0; position: absolute; }
.fixedbox .top a { width: 180px; height: 50px; display: block; }
.h5bar{ width:180px; height:470px; float:left; background: url(../images/fixedboxbg.png) no-repeat bottom; }
.h5open{ position:fixed; z-index:99999; bottom: 250px; right:0px; height:120px; width:30px; padding: 12px 0 0; text-align: center; background: url(../images/btn.png) no-repeat; }
.h5close{ height:100px; width:30px; padding: 25px 0 0; background: url(../images/btn.png) no-repeat; text-align:center; float:left; margin:150px 0 0;}
.h5btn{ font-size:14px; line-height:16px; color:#cdcdcd; cursor:pointer; }

#musicbox { position: absolute; width: .8rem; height: .8rem; z-index: 9999999; top:1.5rem; left: .333rem;  opacity: 0.6; }
#musicbox a {
    display: inline-block;
    width: .8rem;
    height:.8rem;
    text-align: center;
    background-color: #CCCCCC;
    border-radius: .8rem;
    font-size: .347rem;
    margin-top: .267rem;
    background-image: url(../images/m.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
#musicbox a.play { animation: rotates 3s linear infinite;}
#musicbox a img { width: 100%; height: 100%; }
@keyframes rotates {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

/*适龄提示*/
#cadpa { width: 1rem; height: 1.28rem; position: absolute; top:8rem; right: .2rem; display: block; margin: 0 auto; z-index: 999; }
#cadpa img { width: 1rem; height: 1.28rem; }
.cadpa-img { text-align: center; height: 1.8rem;  }
.cadpa-img img { width: auto; height: 1.6rem; display: inline-block; }
.cadpa-img img.gamelogo { height: 1.547rem; padding: 0 .4rem; border: .027rem solid #222; border-radius: 8px; }

/*-----------弹窗-----------*/
.md-modal {position:fixed; top:50%; left:50%; width:50%; max-width:1000px; min-width: 94%; height:70%; z-index:9999999999999; visibility:hidden; -webkit-transform:translateX(-50%)translateY(-50%);-moz-transform:translateX(-50%)translateY(-50%);-ms-transform:translateX(-50%)translateY(-50%);transform:translateX(-50%)translateY(-50%);  
}
.md-show { visibility: visible;}
.md-overlay{position:fixed;width:100%;height:100%; visibility:hidden;top:0;left:0;z-index:999999;opacity:0;background:rgba(1,1,1,0.6);-webkit-transition:all 0.3s;-moz-transition:all 0.3s;transition:all 0.3s;}
.md-show ~ .md-overlay {opacity: 1;visibility: visible;}
/*弹窗内容*/
.md-content{ height: 100%; color:#5b5b5b; background:#fff; position:relative; border-radius:8px; margin:0 auto; text-align: center; }
.md-content h3 { font-size:.48rem; font-weight: normal; margin:0; padding:.333rem .4rem 0; text-align:center; background:#fff; border-radius:8px; color:#111; overflow: hidden; white-space:nowrap; overflow: hidden; text-overflow:ellipsis; }
.md-content .md-close { width: auto; position: absolute; left: 43%; bottom: 10px; font-size: .347rem; color: #fff; padding: .133rem .267rem; background: rgb(206, 171, 75);  border: none; cursor:pointer; border-radius: 4px; }
.md-content .md-close:hover { background: rgba(235, 195, 88, 1); }
.md-content .md-main { padding:0 .533rem; height: 78%; margin: .267rem 0.3rem 0; padding: .3rem .2rem 0; border-top: .013rem solid #ccc; font-size: .347rem; overflow-y: scroll; }
.md-content .md-main span { display: block; }
.md-content .md-main-img { width: 100%; height: auto; margin: 0 auto; }
.md-content .md-main-img img { width:90%; height: auto; margin: 0 0 .267rem; min-width: 4.267rem; max-width: 90%; }
.md-content > div p { line-height: .64rem; text-indent: .693rem; margin-bottom: 12px; text-align: left; }
/* 弹窗动画 */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7); 
	-moz-transform: scale(0.7); 
	-ms-transform: scale(0.7); 
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s; 
	-moz-transition: all 0.3s; 
	transition: all 0.3s;
}
.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1); 
	-moz-transform: scale(1); 
	-ms-transform: scale(1); 
	transform: scale(1);
	opacity: 1;
}

/*微信引导提示*/
#pMask { position: fixed; z-index:99999; top: 0; width: 100%; height: 100%; display: none; }
.wx { display: none; position: fixed; width: 10rem; height: 8.9rem; margin: 0 ; border-radius: 0.3rem; top:2.3rem; z-index: 99999999999; background: rgba(0,0,0,.7); }