*{
    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:#333;
}
input[type=text]:-moz-placeholder,textarea:-moz-placeholder{
    color:#333;
}
input[type=text]:-ms-input-placeholder,textarea:-ms-input-placeholder{
    color:#333;
}
body,html{
	height: 100%;
}
body{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
	background-color:#FFE458;
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
}
.header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
}
.header h2{
    color: #333;
    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(255,255,255,.6);
    z-index: 2147483647;
    display: none;
}
#sidebar1{
    background-color: #FFE458;
    position: absolute;
    top:48px;
    transform: translateX(-65vw);
    padding: 15px;
    max-width: 65vw;
    animation: menudrop .3s linear forwards;
	border-radius:0 15px 15px 0;
}
.hide #sidebar1{
    animation: menudrop 1s ease reverse forwards;
}
@keyframes menudrop{
    0% {
        transform: translateX(-65vw);
    }
    100% {
        transform: translateX(0);
    }
}

#sidebar1 ul li{
    padding: 5px 0;
}
#sidebar1 ul li a{
	display: block;
    color: #212121;
    font-size: 16px;
	background-color:#FFD600;
	border-radius: 12px;
	text-align: center;
	padding:10px 5px;
	font-weight: bold;
}
#sidebar1 ul.row-ul{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 -5px;
}
#sidebar1 ul.row-ul li{
	display: inline-block;
	width: 50%;
	padding-left: 5px;
	padding-right: 5px;
}
.bg-red{
	background-color: #F9734D !important;
	color: #fff !important;
}
.searchBox{
	top: 5px;
	right: 15px;
	position: absolute;
	border: 2px solid #333333;
	border-radius: 10px;
	z-index: 111;
	background-color: #FFE458;
	align-items: center;
	padding: 5px;
	width:30%;
	display: flex;
}
.searchBox .input{
	background-color: transparent;
	border: 0;
	font-size: 15px;
	width: 80%;
	padding:4px;
}
.searchBox .searchbtn{
	display:inline-block;
	background-color: transparent;
}

@keyframes sharedrop1{
    0% {
        transform: translateX(240px);
    }
    100% {
        transform: translateX(0);
    }
}


/* gameitem */
.gameItems{
	display: flex;
	align-items: center;
	background-color:#ffd600;
	border-radius: 10px;
	padding: 10px;
}
.gameItems .img{
	width: 60px;
	height: 60px;
	flex-shrink: 0;
}
.gameItems .img img{
	width: 100%;
	border-radius: 10px;
}
.gameItems .title{
    line-height: 18px;
    max-height: 36px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
	font-weight: bold;
    overflow: hidden;
	text-overflow: ellipsis
}
.gameItems .info{
	display:inline-block;
	width: calc(100% - 60px);
	padding-left: 10px;
}
.starWrap {
	display: flex;
	align-items: center;
	margin-top: 5px;
}
.starWrap .star{
	width: 16px;
	height:16px;
	display: inline-block;
	background: url("../images/star.png") center no-repeat;
	background-size: 100%;
	margin-right:1px;
}
/* float */

/* foot */
.foot{
	padding: 15px ;
    color:#333;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.foot .logo{
	font-size: 20px;
	width: 50%;
	font-weight:800;
	color: #333;
}
.foot .foot-right{
	display:inline-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.foot .foot-right a{
	padding: 5px;
	color: #333;
	text-align: left;
	display: inline-block;
	font-weight: 500;
}


@media screen and (max-width:376px){
	.foot .foot-right a{
		font-size: 14px;
	}
	.searchBox{
		top: 10px;
		right: 10px;
	}
	.gameItems .img{
		width:48px;
		height: 48px;
	}
	.gameItems .info{
		
		width: calc(100% - 48px);
		padding-left: 5px;
	}
}
@media screen and (max-width:320px){
	#sidebar1{
		padding: 10px;
	}
	#sidebar1 ul li a{
		font-size:13px
	}
	.gameItems .title{
		font-size: 14px;
	}
	.gameItems .img {
	    width: 56px;
	    height: 56px;
	}
	.gameItems .info {
	    width: calc(100% - 61px);
	    padding-left: 5px;
	}
}
.floatMenu{
	position: fixed;
	z-index: 11111;
	border-radius: 0 40px 40px 0;
	padding:5px 5px 5px 10px;
	background-color: #fff;
	top: 10%;
	left: 0;
}
.floatMenu a{
	display:block;
	width: 34px;
	height:34px;
	border-radius: 50%;
	background-color: #FFE458;
	text-align: center;
	line-height: 34px;
	color: #1a1a1a;
}
.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_active {
    left: 0;
}
.floatMenu.active {
    left: 269px;
	top:10%;
    z-index: 999999;
}
.gameWrap{
	height:calc(100% - 60px);
}
.gameWrap .gamePlay{
	width: 100%;
	height: 100%;
}
.gamePlay>iframe {
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    overflow: hidden;
    z-index: 999;
}

.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;
}