@media (max-width: 1200px) {
	
	#home .wrap .two_third .home .desc	{ position:relative; bottom:initial; left:initial; max-width:none; }
	
	#home .wrap .home .image>img		{ max-width:100%; }
	#home .wrap .one_third				{ width:33.8%; }
	#home .wrap .two_third				{ width:66.1%; }
	
	.list .wrap .one_third				{ width:33.3%!important; }
	
	#myCarousel .carousel-indicators 	{ width: 150px; left:44%; }
	.split3 .pdesc 						{ display: inline; width:45%;}
	
	
	.content-container					{ width: auto;}
	/*.content-padding					{ padding: 30px; }*/
	
	.article .list .one_third			{ width:33.3%!important; }
	#mobile .image>img					{ max-width:100%; }
	#live .image>img					{ max-width:100%; }
}

@media (max-width: 980px) {	
	
	#wrap								{ padding-top:50px; }
	#wrapper-preheader					{ display: none; }
	/*#wrapper-header					{ top: 0px; }
	#wrapper-postheader 				{ top: 50px;}
	*/
	#wrapper-header						{ margin-top: -50px;}
	#wrapper-postheader 				{ margin-top: -100px;}
	#wrapper-banner						{ margin-top:0px; }
	#header 							{ height:50px; }	
	#logo 								{ width: 90px;  top:0px; left:30px; background:url('../img/ag_logo.html') center center no-repeat; background-size:90px;}
	#email 								{ width: 140px; top:20px; left:30px}
	#language-desktop					{ display:none; }
	#menu								{ display:none; }
	.mobile-menu-btn 					{ display:block; }
	
	.events .desc						{ margin-left: 0px;}
	.hot								{ padding: 10% 12px;}
	.hot	.desc						{ padding: 0;}
	
	.article .detail .one_third 		{ width: 100%!important; padding: 0 5%;}
	.article .detail .two_third 		{ width: 100%!important; }
	
	.item.slide4 .text					{ right: 0; margin-right: -45%;}
	
	.anchor								{ margin-top: -53px!important; padding-top: 53px!important; z-index:1;}
	
	
	/* ==================================== Homepage ==================================== */
	
	.split3 .pdesc 						{ display: inline; width:45%;}
	
	#myCarousel .carousel-indicators 	{ width: 150px; left:42.5%; }
	
	
	
}

@media (max-width: 960px) {
	.selectlang-menu					{background-image:none;}
}
@media (max-width: 800px) {
	.only-desktop						{ display:none!important; }
	.only-mobile						{ display:block!important; }	
	
	/* ==================================== Homepage ==================================== */
	.item .text							{ max-height:300px;/*min-height:240px!important;*/ }
	
	
	/* new banner set */
	.item .contain						{ min-height: 0; padding-bottom: 35px;}
	
	.item .link218							{ width: 100%; text-align:center; height: 218px;}
	.item .link218 span img 				{ margin: 0 2%;}
	
	.item .link							{ width: 100%; text-align:center; height: 90px;}
	.item .link span img 				{ margin: 0 2%;}

	.item.s-bj 							{ background: #542f64;} 
	
	.item.slide1 						{ background: #a6d6ed;}
	.item.slide1 .link					{ background: #f15f22;}
	.item.slide1end 					{ background: url(../img/home/home1_end-800_bg.html) bottom #7dd5fa;}
	.item.slide1end .link				{ background: #f15f22;}
	.item.slide2 						{ background: #36a4c6;}
	.item.slide3						{ background: #2d4553;} 
	.item.slide4 						{ background: #403d63;} 
	.item.slide4 .text					{ display: block; position:relative; top:inherit; left:inherit; right:auto; padding: 0; max-width:400px; margin:0 auto; }
	.item.slide4 .text img 				{ position: relative; padding: 0 5%;}
	.item.s-live 						{ background: #700346;} 
	.item.s-g2e2017						{ background: #f3f3f3;} 
	.item.s-g2e2017 .link				{ background: #f15f22;}
	.item.s-g2e2017end					{ background: #f3f3f3;} 
	.item.s-redpocket2017_8				{ background: #0e878b;} 
	.item.s-ulive						{ background: #2a3d4b;} 
	.item.s-yoplay						{ background: #1166d0;}
	.item.s-livechat201709				{ background: #d4aaff;}
	.item.s-mastertour					{ background: #814390;} 
	.item.s-aghero 						{ background: #2c006f;} 
	.item.s-g2e2018						{ background: #f3f3f3;} 
	.item.s-g2e2018end					{ background: #d3eef9;}  
	.item.s-s2							{ background: #25277c;}
	.item.s-s2aug						{ background: #25277c;}  
	.item.s-euhall						{ background: #fff;} 
	.item.s-s2sep						{ background: #25277c;}   
	.item.s-livechat201810				{ background: #e7e7fd;}  
	.item.s-s2nov						{ background: #150529;} 
	.item.s-agnw						{ background: #0e0a18;}
	.item.s-s2final						{ background: #000;}    
	.item.s-cny2019						{ background: #ff7d4a;}  
	.item.s-ag2019						{ background: #640E0D;}   
	.item.s-mt2019						{ background: #000;}   
	.item.s-rp201907					{ background: #13a0cd;}     

	/*
	.item.s-live .text					{ display: block; position:relative; top:inherit; left:inherit; right:auto; padding: 0; max-width:400px; margin:0 auto; }
	.item.s-live .text img 				{ position: relative; padding: 0 5%;}
	*/
	
	.item.content .text					{ display: block;  position:relative; bottom:inherit; left:inherit; padding: 0; width:100%; margin:0 auto;/*max-width:325px;*/}
	.item.content .text					{ min-height:auto!important;}
	
	.item.about							{ background: #000;}
	.item.join							{ background: #d3d3d3;}
	.item.service						{ background: #0a7da0;/*url(/img/service/service-bg.jpg)*/}
	.item.mobile						{ background: #090907;}
	.item.egame							{ background: #300000;}
	.item.live							{ background: #327e50;}
	
	#footer .wrap2 .sep-0				{ display:block; }
	#footer .wrap2 .one_third			{ width:50%; }
	#footer .wrap2 .two_third			{ width:100%; }
	#footer .wrap2 .half				{ width:100%; }
	#footer .wrap2 .links 				{ margin: 0 0 20px 0;}
	#footer .wrap2 .one_third.last		{ margin:0 auto; float:none; }
	#footer .sitemap>ul.gap				{ padding-left: 0px;}
	
	#home .wrap	.sep-0					{ display:none; }
	#home .wrap .one_third				{ width:100%; }
	#home .wrap .two_third				{ width:100%; }	
	
	.article .list .one_third			{ width:50%!important;  }
	
	.split3 .pdesc 						{ display: inline; width:55%;}
	
	.slide-container 					{ width: 100%; height: auto; margin: 0 auto;}
	.carousel-control					{ display: none; }
	#myCarousel .carousel-indicators 	{ width: 150px; left:40%; }
	
	.inpage .one_third 					{ width: 100%;}
	.inpage .two_third 					{ width: 100%;}
	.inpage .passage.sep				{ padding-left: 0; border-left: 0; padding: 30px 0; border-top: 1px solid #eeab02; }
	
	.elite 								{ display:none; }
	
	.content-padding					{ padding: 30px 5%; }
	
}

@media (max-width: 660px) {
	/*#footer .sitemap>ul					{ width:50%; }*/
	#footer .qrcode						{ float:left; width:50%; }
	
	#footer>.social						{ float:none; margin: 0 30px; padding: 20px 0 0; text-align:center; }
	#footer>.social>ul>li				{ float:none; display:inline-block; margin: 0 10px; }
	
	#footer>.copyright					{ float:none; margin: 0 30px; text-align:center; }
	#footer>.copyright .sep-copyright	{ display:block; }
	.split3 .pdesc 						{ display: inline; width:45%;}
	
	
	#footer #sitemap .one_third			{ width:50%; }
	#footer #sitemap .two_third			{ width:50%; }
	
	#footer .logo						{ display: none;} 
	
	#myCarousel .carousel-indicators 	{ width: 150px; left:37.5%; }
	
}
@media (max-width: 620px) {
	.selectlang-menu .langblock{
		display:block;
	}
	.selectlang-menu .langblock.first:after{
		opacity:0;
		display:none;
	}
	
	.selectlang-menu .langenter  						{margin-top: 0px;}
	.selectlang-menu .langblock.first					{margin-bottom:20px;}
	.selectlang-menu .title				{margin-bottom:20px;}
	
}
@media (max-width: 560px) {
	/* ==================================== Homepage ==================================== */
	#footer .wrap2 .one_third			{ width:100%; }
	#footer .wrap2 .two_third			{ width:100%; }
	#footer .wrap2 .links				{ margin: 0 0 20px 0;}
	
	#home .wrap .one_third				{ width:100%!important; }
	#home .wrap .two_third				{ width:100%; }
	
	#footer #sitemap .one_third			{ width:100%; }
	#footer #sitemap .two_third			{ width:100%; }
	#footer #sitemap .half				{ width:50%; }
	
	.split3 .pdesc 						{ display: inline; width:100%; margin-top: 20px;}
	.split3 .psep 						{ display: none;}
	
}
@media (max-width: 480px) {
	/*#footer .sitemap>ul					{ width:100%; }*/
	#footer #sitemap .one_third			{ width:100%; }
	#footer #sitemap .two_third			{ width:100%; }
	#footer #sitemap .half				{ width:50%; }
	.split3 .pdesc 						{ display: inline; width:100%;}
	
	#myCarousel .carousel-indicators 	{ width: 150px; left:30%; }
	/* homepage padding
	#home .wrap .home					{ padding:0 10px; }*/
	.article .detail .one_third 		{ width: 100%!important; padding: 0 5% 0 10%;}
	
	.item .text							{ max-height:260px;/*min-height:240px!important;*/ }
	
	.wrapper-selectlang-menu			{ top: 0;}
	.selectlang-menu 					{ height: 600px; overflow-y: auto;}
	.selectlang-menu .others			{ /*margin: 10px; */width: 50%;}
	
	
}

@media (max-width: 340px) {
	/*
	#footer .sitemap>ul					{ width:100%; }
	#footer .qrcode						{ width:100%; }
	
	.share>ul>span						{ margin: 15px 3% 15px 0;}
	.share>ul>li						{ display:block; float:left; margin: 0 0 0 5%; }
	.article .list.wrap	.one_third		{ min-height: 450px;}
	*/
	#myCarousel .carousel-indicators 	{ width: 55%; left:20%; }
	.selectlang-menu .others			{ margin: 0; } 
	.item .link							{ height: 90px; } 
	/*.item .link							{ height: 50px; }
	.slide1 .link						{ height: 90px; }
	.slide1end .link					{ height: 90px; }
	.s-g2e2017 .link					{ height: 90px; }*/
	.events .link span img 				{ margin: 0;}
}

@media (max-width: 400px) {
	.item.content .text h1 				{ font-size: 32px;}
	.item.content .text h2 				{ font-size: 18px;}	
	#footer .social .sep 				{ display: none;}
	.hot .image 						{ float: none;}
}

@media (min-width: 800px) and (max-width: 1040px){
	.item .text							{ margin-right: -45%!important; }
}

@media (max-height: 550px) and (min-width: 560px){
	.wrapper-selectlang-menu			{ top: 0; }
	.selectlang-menu 					{ height: 400px; overflow-y: auto;}	
}