@media screen and (max-width:1300px){
	div.alltags{padding:0px;}
	div.alltags li{margin:1px;}
	.howtoFlash{
		width:calc(100%);
		margin:60px auto 5px auto;
	}
}
@media screen and (max-width:1150px){
	div.alltags li{width:150px; height:150px;}
	div.alltags li p{left:2px; top:2px; width:146px; height:128px; padding-top:18px; border-radius:73px;}	
}
@media screen and (max-width:980px){
	.content.flashplayer .playerTest{display:inline-block; width:calc(100% - 20px); text-align:center;}
	.main{margin:0px;}
	.top{height:30px;}
	#ublock, .left, #topmenu>a, #topmenu>span{display:none;}
	.main>div:first-child{margin-left:0px !important; } 
	#topmenu{background:#00BBF9 !important;}
		
	/*main*/
	.intromain+.actionmenu, #gameRotatorMain{display:none;}
	.indexcateg a{line-height:25px; padding-right:5px; font-size:12px;}
	
	.footer{text-align:center;}	
	.footer #about{text-align:center; padding-left:0px;}
	.footer #copy{display:none;}	
	
	/* user */	
	#ucard{display:none;}
	.cardsave img{display:none;}
	.card .think{width:90% !important;}
	.card .ava{width:100% !important;}
	.card .viewport{width:80% !important;}
	.cardsave{width:auto !important;}	
	
	/* av */
	div.a_wrap2{padding:10px !important;}	
	
	/* forum */
	table.mctd div.post img{max-width:100% !important;}
	table.mctd  .topic_table table{width:99%;}
	table.mctd div.post_wrapper{position:relative;}
	table.mctd span.short_wrapper{display:block; position:absolute; left:0px; top:0px; width:15px; height:30px; background:#ff9900; border-radius:0 7px 7px 0; color:#ffffff; font-size:11px; text-align:center; line-height:30px; cursor:pointer;}
	table.mctd div.poster{display:none;}
	table.mctd div.postarea, table.mctd .moderatorbar{margin-left:20px;}
	table.mctd #quickreplybox{width:500px;}
	table.mctd table.table_grid#stats{font-size:10px;}
	table.mctd #main_grid{margin-left:0px !important; float:right;}
	table.mctd div#karmatable{max-width:800px; overflow:hidden;}
	table.mctd blockquote.bbc_standard_quote, blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote, .smalltext, tr.smalltext th, .codeheader, .quoteheader, code.bbc_code{font-size:12px !important;}
	table.mctd code.bbc_code{max-width:500px;}
	
	#sky_video{margin-left:0px !important;}	
	#sky_video:before{display:none;}
	
	/* tag text */
	div.txt ol, div.txt ul{list-style-position:inside; padding-left:0px;}
	div.txt p.txtimg{float:none !important; margin:5px 0 5px 0 !important; border-width:2px !important;}	
	div.txt p.txtimg img{max-width:100% !important;}
}

@media screen and (max-width:599px){
	/* main */
	.indexcateg{width:99%;}

	.tags li{height:30px !important;}
	.subcat li{padding-right:15px !important;}
	
	.txt{padding:10px !important;}
	.content{padding:8px !important;}
	
	/* play */	
	.dlh{display:none !important;}
	
	/* tag */
	div.tagpage div#tagdescr{padding:115px 5px 5px 5px !important;}
	div.tagpage #taglogo{left:15px; top:10px;}
	div.tagpage .share42init{top:15px; left:110px;}
	div.tagpage div.subtags,
	div.playpage div.subtags,
	div.searchresults div.subtags{margin: 5px !important;}
	
	div.playpage div#gamedescr{padding:190px 5px 5px 5px !important;}
	
	/* notes */
	div.floor a.readnote{display:none;}
	
	/* search */
	.advansedsearch{width:auto !important;}
	.bestsearch{clear:both; margin:530px 0 0 0 !important;}
	.bestsearch p{padding:10px 0 10px 0 !important;}
	
	/* user */
	.interests span{text-align:left; padding-left:5px;}
	.interests input[type="text"].uinput{width:85%;}
	.settings p.boxes{padding-left:0px;}
	.sitesettings div.adsettings{margin-top:165px;}
	
	.content.contacts input[type="text"], .content.contacts textarea{width:89% !important;}
	
	/* av */
	ul.a_steps li{font-size:12px;}
	div.a_wrap2{padding:5px !important;}
	div.a_nav{padding:5px;}
	div.a_nav img{max-width:100%;}
	div#step1 ul.a_mestoinfo{ margin-left:0px; margin-top:490px;}
	div#step2 ul.a_pricecap li.a_c1{width:auto;}

	/* forum */
	table.mctd table.table_grid#stats thead,
	table.mctd div.topic_table#mlist thead{display:none;}
	table.mctd div#karmatable{max-width:400px; overflow:hidden;}
	table.mctd .moderatorbar{display:none;}	
	table.mctd code.bbc_code{max-width:350px;}
	
	#sky_video{display:none;}
	#walkthrough{top:0px; right:-165px; z-index:0; left:auto; bottom:auto;}
}

@media screen and (max-width:400px){
	.navpage{left:0px !important;}
	
	.dlh, #controls span.l{display:none !important;}	/* play */
	
	.gameinfo, .gamegroup{display:none;} /* search favorites */	
	div.playpage .gamegroup{display:block;} 	/* exclude playpage */
	.gamecontainer{float:left; padding:0 2px 2px 2px !important;}	/* search favorites transform to tiles*/	
	.content.notesread #gamedescr{padding:165px 0 0 0; min-height:140px;} /* notes */
	
	
	
	.content.reglogin{text-align:right; line-height:35px; padding-right:5px;}
	.content.reglogin span{display:inline; width:auto; float:none;}
	.content.reglogin + h3.blue,
	.content.ulogin{text-align:right; padding-right:10px;}
	
	/* user */
	.card .uc_gender,
	.card .uc_birth,
	.card .uc_home{padding-right:0px;}
	
	/* forum */
	table.mctd code.bbc_code{max-width:250px;}	
	
	div.playpage div#gamedescr{padding:240px 5px 5px 5px !important;}
	#walkthrough{bottom:-55px; left:-17px; top:auto; right:auto;}
}