*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}
a{
    text-decoration: none;
}
ul,li{
    list-style: none;
}
input[type=text]::-webkit-input-placeholder,textarea::-webkit-input-placeholder{
    color:#ddd;
}
input[type=text]:-moz-placeholder,textarea:-moz-placeholder{
    color:#ddd;
}
input[type=text]:-ms-input-placeholder,textarea:-ms-input-placeholder{
    color:#ddd;
}
body,html{
	height: 100%;
	box-sizing: border-box;
}
body{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
	background-color:#fff;
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
}
.header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	background-color: #FF2A2A;
	color: #fff;
}
.header h2{
    font-size: 20px;
    font-weight: 800;
}
.header .btn{
	width: 24px;
	height: 24px;
	text-align: center;
}
.header .btn span{
    font-size: 22px;
}
.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
   /* background-color: rgba(0,0,0,.6); */
    z-index: 2147483647;
    display: none;
	overflow: hidden;
}
#sidebar1{
    background-color: #fbfafa;
    position: absolute;
    top:49px;
    width: 100%;
	height: calc(100% - 48px);
	padding: 15px;
	overflow-y: auto;
    animation: menudrop .3s linear forwards;
}
.hide #sidebar1{
    animation: menudrop 1s ease reverse forwards;
}
@keyframes menudrop{
    0% {
        transform: translateX(-165vw);
    }
    100% {
        transform: translateX(0);
    }
}

#sidebar1 ul li{
    padding:10px;
}
#sidebar1 ul li a{
	display: block;
    color: #212121;
    font-size: 14px;
	background-color:#fff;
	border-radius: 12px;
	text-align: center;
	padding:10px;
	font-weight: bold;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.mobile-ul{
	display: flex;
}
.mobile-ul li{
	width: 33.33%;
	display: inline-block;
}
.sidebar1-ul{
	display: flex;
	flex-wrap: wrap;
	
}
.sidebar1-ul li{
	width: 33.33%;
	padding:10px;
	display: inline-block;
}
.sidebar1-ul li .sortItem{
	width:auto;
	margin: 0;
}
.sidebar1-ul .sortItem h4{
	color:#666666;
}
.sidebar1-ul .sortItem .userInfo{
	justify-content: center;
}
#sidebar1 .row-ul{
	display: flex;
	flex-wrap: wrap;
}
#sidebar1 .row-ul li{
	width: 50%;
}
.bg-red{
	background-color:#ff2a2a !important;
	color: #fff !important;
}

.searchBox{
	top: 5px;
	right: 5px;
	position: absolute;
	border-radius: 10px;
	z-index: 111;
	background-color: #ffffff;
	align-items: center;
	width:30%;
	display: flex;
}
.searchBox .input{
	background-color: transparent;
	border: 0;
	font-size: 12px;
	width: 80%;
	height: 38px;
	padding: 0 5px;
}
.searchBox .searchbtn{
	color:#ff2a2a;
	display:inline-block;
	background-color: transparent;
}

@keyframes sharedrop1{
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}
.sortItem{
	display:inline-block;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	padding: 15px;
	margin:10px;
	width:calc(25% - 20px);
}
.sortItem .userInfo{
	display: flex;
	padding: 10px 0 0;
	align-items: center;
}
.sortItem h4{
	font-weight: bold;
}
.sortItem .imgIcon{
	border: 2px solid #FF2A2A;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	overflow: hidden;
	margin-left: -10px;
	flex-shrink: 0;
}
.sortItem .imgIcon img{
	width: 100%;
	object-fit: cover;
}
.sortItem .imgIcon:first-child{
	margin-left: 0;
}
.sortItem p{
	padding-left: 5px;
	color:#797979;
	font-size: 14px;
}


/* gameitem */
.gameItems{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color:#fff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	text-align: center;
	padding: 10px 0;
}
.gameItems .img{
	width: 206px;
	height:206px;
	margin: 10px auto;
}
.gameItems .img img{
	width: 100%;
	border-radius: 10px;
	object-fit: cover;
}
.gameItems .title{
    max-height: 36px;
    font-size: 15px;
    font-weight: 400;
    color: #333;
	font-weight: bold;
    overflow: hidden;
}
.gameItems .tags{
	display: flex;
	display:inline-block;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
}
.gameItems .tags span{
	display:inline-block;
	color:#B9B9B9;
	font-size: 12px;
	padding:2px 4px;
	border: 1px solid #B9B9B9;
	border-radius: 2px;
	margin: 0 1px;
}
.starWrap {
	display: flex;
	margin-top: 5px;
}
.starWrap>span{
	display: inline-block;
	vertical-align: middle;
}
.starWrap .star{
	width: 18px;
	height:18px;
	background: url('../images/star.png') center no-repeat;
	background-size: 100%;
	margin-right:5px;
}
.starWrap span{
	color: #FF2A2A;
}
/* foot */
.foot{
	padding:10px;
    color:#fff;
	background-color:#FF2A2A;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 15px;
}
.foot .foot-left{
  width:50%;
}
.foot .foot-left a{
	padding: 5px;
	text-align: left;
	display: inline-block;
	font-weight: 500;
	color: #fff;
	font-size: 12px;
}
.foot .search{
	width: 40%;
	display: flex;
	background-color: #fff;
	border-radius:5px;
}
.foot .search input{
	background-color: transparent;
	border: 0;
	height: 28px;
	font-size: 11px;
	display: inline-block;
	padding:4px;
	width: calc(100% - 24px);
}
.foot .search .btn{
	width:24px;
	line-height: 24px;
	text-align: center;
	background-color: transparent;
}
.foot .search .btn i{
	font-size: 14px;
	color: #FF2A2A;
}

.mb15{
	margin-bottom: 15px;
}
.backTop{
	position: fixed;
	bottom: 30px;
	right: 10px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: url('../images/backTop.png') center no-repeat;
	background-size: 100%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chu_box {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: -100%;
    overflow: hidden;
    z-index: 9999;
}
.chu_box #sidebar1{
	width: 480px;
	top: 0;
	height:100%;
}

.chu_active {
    left: 0;
}
.gameWrap{
	height:calc(100% - 60px);
}
.gameWrap .gamePlay{
	width: 100%;
	height: 100%;
	background-color: #f9f9f9;
}
.gamePlay>iframe {
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    overflow: hidden;
    z-index: 999;
}

.floatMenu{
	position: fixed;
	z-index: 11111;
	border-radius: 0 40px 40px 0;
	padding:5px 5px 5px 10px;
	background-color: #FF2A2A;
	top: 10%;
	left: 0;
}
.floatMenu a{
	display:block;
	width: 34px;
	height:34px;
	border-radius: 50%;
	background-color: #fff;
	text-align: center;
	line-height: 34px;
	color: #1a1a1a;
}
.floatMenu.active {
    left: 480px;
	top:10%;
    z-index: 999999;
}
.floatMenu .btn img{
	width:24px;
	display: inline-block;
	margin-top: 5px;
}
@media screen and (max-width:768px){
	.chu_box #sidebar1{
		width:280px;
		padding: 10px;
	}
	.floatMenu.active {
	    left: 280px;
	}
	.mobile-ul,.sidebar1-ul{
		flex-direction:row;
	}
	/* .mobile-ul li:nth-child(1),.mobile-ul li{
		width: 100%;
		padding: 8px !important;
	} */
	.sidebar1-ul li{
		padding: 8px !important;
		/* width: 100%; */
	}
}

@media screen and (max-width:431px){
	.sortItem{
		width: calc(50% - 20px);
	}
	
	.foot .foot-right a{
		font-size: 14px;
	}
	#sidebar1{
		padding: 10px;
	}
	.mobile-ul{
		flex-direction: row
	}
	.mobile-ul li {
	  width: 35%;
	  padding: 5px !important;
	}
	.mobile-ul li:nth-child(1){
		width: 30%;
	}
	.chu_box .mobile-ul,.chu_box .sidebar1-ul{
		flex-direction: column;
	}
	.chu_box .sidebar1-ul li{
		width: 100%;
	}
	.chu_box .mobile-ul li:nth-child(1),.chu_box .mobile-ul li {
		width: 100%;
	}
	.sidebar1-ul{
		justify-content: space-between;
	}
	.sidebar1-ul li {
	    width:calc(50% - 5px);
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
/* 	.mobile-ul{
		flex-direction: column;
	} */
	/* .mobile-ul li:nth-child(1),.mobile-ul li{
		width: 100%;
		padding: 5px;
	} */
	.chu_box #sidebar1{
		width:280px;
	}
	.floatMenu.active {
	    left: 280px;
	}
}
@media screen and (max-width:376px){
	.mobile-ul{
		flex-direction: column;
		padding-top: 10px;
	}
	.mobile-ul li,.mobile-ul li:nth-child(1){
	  width:100%;
	}
	.mobile-ul li,.sidebar1-ul li{
		padding: 5px !important;
	}
	.sidebar1-ul li {
	    width: 100%;
	   
	}
}

@media screen and (max-width:321px){
	
	.chu_box #sidebar1{
		width: 240px;
	}
	.floatMenu.active {
	    left: 240px;
	}
	.gameItems .img {
	    width: 114px;
	    height: 114px;
	    margin:0 auto 10px;
	}
	.gameItems .tags span{
		margin-bottom: 4px;
	}
	.gameItems .tags{
		padding-bottom: 0;
	}
	.chu_box .sidebar1-ul li{
		width: 100%;
	}
	
}

.ads {
	max-width: 767px;
	margin-left: auto;
	margin-right: auto;
	padding:10px 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.ads>p {
	font-size: 12px;
	color: #ccc;
}