* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

body {
	background-color: #dadada;
	background-image: url('/static/images/bg1.webp');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-attachment: fixed;
}

.main-container {
	max-width: 1170px;
	min-width: 240px;
	margin: 0 auto;
	clear: both;
	display: block;
}

.header {
	width: 100%;
	background: #252525;
	padding: 0 30px;
	box-sizing: border-box;
	min-height: 110px;
	display: flex;
	align-items: center;
}

.header h1,
.header h1 a {
	color: white;
	font-size: 24px;
}

.header .logo {
	float: right;
	margin: 0 20px 0 auto;
}

.navigation {
	width: 100%;
	background: #252525;
	padding: 0 30px;
	box-sizing: border-box;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
	min-height: 50px;
	display: flex;
	align-items: center;
	border-top: 1px solid #9b9a9a;
}

.navigation ul li {
	float: left;
	position: relative;
	list-style-type: none;
	padding: 0 30px;
}

.navigation a {
	font-size: 16px;
	color: white;
}

.content {
	width: 100%;
	min-height: 100px;
	padding-top: 30px;
	clear: both;
	overflow: hidden;
	background: #333;
	padding-left: 30px;
	padding-right: 30px;
	box-sizing: border-box;
	margin: 0 auto;
}

.gamelist article {
	margin-bottom: 30px;
	margin-right: 2.7%;
	box-sizing: border-box;
	box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	border-bottom: 1px solid #ccc;
	height: 250px;
	display: flex;
}

.gamelist .gameposter {
	margin-right: 20px;
	margin-bottom: 20px;
	position: relative;
}

.gamelist .gameposter .gamelang {
	position: absolute;
	top: 5px;
	right: 3px;
	z-index: 3;
}

.gamelist .gameposter .gamelang span {
	display: inline-block;
	padding: 1px 5px;
	margin-left: 8px;
	height: 20px;
	background-color: #ff5400;
	color: white;
	border-radius: 4px;
	text-align: center;
	line-height: 18px;
	font-size: 12px;
	color: #fff;
}

.gamelist .gameinfo {
	width: 350px;
}

.gamelist article img {
	height: 210px;
	width: 350px
}

.gamelist .tags li {
	display: inline-block;
	margin: 3px;
	padding: 3px 8px;
	color: #67c1f5;
	background-color: rgba(103, 193, 245, 0.2);
	line-height: 15px;
	height: 18px;
	font-size: 14px;
}

.gamelist article .gametitle {
	padding: 5px;
	font-size: 24px;
	color: white;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 95%;
}

.gamelist article .gametitle a {
	color: white;
}

.gamelist article .gametitle_e {
	padding: 5px;
	font-size: 18px;
	color: white;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 95%;
}

.detail {
	font-size: 14px;
	color: #a2a2a2;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}

.sidebar {
	width: 90%;
	margin: 20px 10px;
}

.sidebar h1 {
	font-size: 18px;
	color: white;
	padding-left: 10px;
	font-weight: bold;
	height: 35px;
	line-height: 35px;
}

.search,
.topsearch {
	width: 95%;
	border: 1px solid #ccc;
	height: 35px;
}

.search input,
.topsearch input {
	margin: 10px;
	width: 90%;
	color: white;
	background-color: inherit;
	border: 0;
}

.topsearch {
	display: none;
}

.hotgame img {
	width: 95%;
	margin: 5px 10px;
}

.hotgame p {
	margin-bottom: 20px;
	color: white;
	text-align: center;
}

.hotgame a {
	color: white;
}

.topswiper {
	width: 720px !important;
	height: 320px !important;
	margin-bottom: 20px;
}

/*common breadnav*/
.breadnav {
	color: white;
	font-size: 14px;
}

.breadnav a {
	color: white;
}

.breadnav .split {
	padding: 0 10px;
}

/*common footer*/
.jm_footer,
.jm_footer a {
	color: white;
	font-size: 14px;
}

.jm_footer .copyright {
	display: flex;
	padding: 20px 0 20px 30px;
	background: #252525;
}

.jm_footer .copyright .copy {
	width: 20%;
	padding: 0 0 20px 30px;
}

.jm_footer .copyright .beian {
	width: 20%;
	text-align: center;
}

.jm_footer .copyright .about {
	width: 60%;
	text-align: center;
}

.jm_footer .copyright .about span {
	padding-right: 20px;
}

.jm_footer .topgame {
	text-align: center;
	background: #252525;
	padding: 20px 0;
}

.jm_footer .topgame span {
	padding: 0 20px 0 0;
}

@media screen and (max-width: 480px) {

	.header {
		min-height: 60px;
	}

	.header .logo {
		display: none;
	}

	.navigation ul li {
		float: left;
		position: relative;
		list-style-type: none;
		padding: 0 10px;
		font-size: 14px;
	}

	.gamelist article {
		margin-right: 0;
		margin-bottom: 15px;
		height: 180px;
	}

	.gamelist article img {
		height: 80px;
		width: 120px
	}

	.gamelist article .gametitle {
		font-size: 16px;
	}

	.gamelist article .gametitle_e {
		font-size: 14px;
	}

	.detail {
		-webkit-line-clamp: 5;
	}

	.topsearch {
		display: block;
		margin: 0 0 20px 0;
	}

	.search {
		display: none;
	}

	.topswiper {
		width: 350px !important;
		height: 220px !important;
		margin-bottom: 10px;
	}

	.content {
		padding-left: 10px;
		padding-right: 10px;
	}

	.jm_footer .copyright {
		display: block;
		text-align: center;
		padding: 0;
	}

	.jm_footer .copyright .copy {
		width: 100%;
		text-align: center;
		padding: 0;
		height: 25px;
	}

	.jm_footer .copyright .beian {
		width: 100%;
		text-align: center;
		height: 25px;
	}

	.jm_footer .copyright .about {
		width: 100%;
		text-align: center;
		height: 25px;
	}

	.jm_footer .topgame span {
		width: 24%;
		display:inline-block;
		padding: 0;
	}


}