@media only screen and (max-width : 990px) {

	/*#Content { background: gold; }
		#ContentInner { background: blue; }
			#ContentLeft { background: #DADADA; }
				#Pager { background: yellow; }
			#ContentRight { background: green; }
	#Footer { background:black; }*/
				
			
	/*#Content { display: none; }
		#ContentInner { display: none; }
			#ContentLeft { display: none; }
				#Pager { display: none; }*/
			/*#ContentRight { display: none; } */
				/*.SidebarBox { display: none; } */
	/*#Footer { display: none;*/
}


@media only screen and (max-width : 990px) {

	/* GENERAL STUFF */
	#ContentInner { width: 100%; height: 100%; padding-right: 15px; padding-left: 15px; 
	-webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
	-moz-box-sizing: border-box;    /* Firefox 1 - 28 */
	box-sizing: border-box; 
	overflow: hidden; }
	#ContentLeft, #ContentRight { width: 100%; }
	h1 { line-height: 28px; }
	#PublishDialog h1, #RecommendDialog h1 { line-height: 18px; }
	#HeaderRight { display: none; }
	#OnlineUserDiv { padding-top: 5px; }
	
	/* CONTENT LEFT */
	#SortByContainer { width: 100%; max-width: 645px; margin-bottom: 0px; }
	#CategoriesContainer, #CategoriesContainerWithSubmenu { margin-top: -21px; position: initial; float: left; }
	#ContentContainer { margin-left: 0; width: 75%; max-width: 520px; margin-top: 5px; }
	
	/* news */
	/* blogs */
	.RoundedDarkBlue { display: none; }
	.BlogVideo slideshow { max-width: 100%; }
	.BlogImage img { max-width: 100%; }
	/* videos */
	.VideoSortByContainer { margin-left: 0px; max-width: 515px; }
	/* images */
	#SearchContainer .Image:nth-child(6n+6) { margin-right: 20px; }
	#AlbumImage { max-width: 100%; }
	#SlideShowContainer embed, #SlideShowContainer object { max-width: 100%; }
	
	/* users */
	/* dialogs */
	/* community */
	/* comments */
	div.CommentTop span.OwnerControls { visibility: visible; }
	
	/* CONTENT RIGHT */
	.SidebarBox { width: 300px; float: left; }
	.SidebarBox:nth-child(1) { margin-right: 35px; }	
}

@media only screen and (max-width : 728px) {

	/* GENERAL STUFF */

	/* CONTENT LEFT */
	#ContentContainer { width: 78%; }
	/* news */
	.NewsItem { margin-right: 10px; }
	div.NewsItem:nth-child(2n+3) { margin-right: 0px; }
	/* blogs */
	/* videos */
	.Video, .PlayListVideo { margin-right: 25px; }
	#SearchContainer .Video:nth-child(4n+4), #SearchContainer .PlayListVideo:nth-child(4n+4) { margin-right: 16px; }	
	#SearchContainer .Video, #SearchContainer .PlayListVideo { margin-right: 16px; }
	/* images */
	#ContentContainer .Image, #AlbumContainer .Image { margin-right: 9px; }	
	/* users */
	/* dialogs */
	/* community */
	.CommunityLastVideosCommentsPage .LastVideoComment .LastVideoCommentContent { width: 149px; }
	.CommunityLastVideosCommentsPage .LastVideoComment { width: 300px; }
	.CommunityLastImagesCommentsPage .LastImageComment .LastImageCommentContent { width: 166px; }
	.CommunityLastImagesCommentsPage .LastImageComment { width: 300px; }
	/* comments */
	.SubCommentsContainer .Comment { width: 94%; }
	.AddCommentForm input { margin-left: 55px; }
	#AddCommentForm textarea { width: 87%; }
	.SubCommentsContainer textarea { width: 82%; }	

	/* CONTENT RIGHT */
	.SidebarBox:nth-child(1) { margin-right: 10px; }		
	
}

@media only screen and (max-width : 640px) {

	/* GENERAL STUFF */
	
	/* CONTENT LEFT */
	#ContentContainer { width: 100%; }
	#CategoriesContainer, #CategoriesContainerWithSubmenu { width: 100%; }
	#CategoriesContainer ul, #CategoriesContainerWithSubmenu ul { margin-left: 0px; list-style-type: none;  margin-bottom: 10px; }
	#CategoriesContainer li, #CategoriesContainerWithSubmenu li { display: inline-block; padding-left: 2px; padding-right: 6px; border-right: 1px solid #1E1E1E; line-height: 13px; height: 13px; }
	#CategoriesContainer li:last-child, #CategoriesContainerWithSubmenu li:last-child { border: 0; }
	
	/* news */
	.NewsItem { width: 100%; }
	.NewsData { width: 100%; }
	/* blogs */
	.Blog { width: 100%; height: initial; }
	/* videos */
	.Video, .PlayListVideo { margin-right: 10px; }
	#SearchContainer .Video:nth-child(4n+4), #SearchContainer .PlayListVideo:nth-child(4n+4) { margin-right: 10px; }	
	#SearchContainer .Video, #SearchContainer .PlayListVideo { margin-right: 10px; }
	/* images */
	#ContentContainer .Image:nth-child(5n+5), #AlbumContainer .Image:nth-child(5n+5) { margin-right: 15px; }
	#ContentContainer .Image, #AlbumContainer .Image { margin-right: 15px; }
	#ImageLinks div { padding-bottom: 15px;  padding-top: 10px;  width: 100%; text-align: left; }
	/* users */
	/* dialogs */
	/* community */
	/* comments */	
	.SubCommentsContainer .Comment { width: 92%; }
	#AddCommentForm textarea { width: 82%; }
	.SubCommentsContainer textarea { width: 74%; }
	.MediaData { width: 51%; }
	/* register */
	#FacebookRegister { height: 75px; border-right: 0px; margin-top: 10px; }
	#NormalRegister { margin-left: 0px; margin-top: 10px; }
	#NormalRegister p, #FacebookRegister p { margin-bottom: 0px; }
	#LoginForm #FacebookRegister { height: 75px; }
	
	/* CONTENT RIGHT */	
	.SidebarBox { width:100%; }
	.SidebarBoxTitle { width: 100%; border-bottom: 0px; }
	.SidebarBoxTitle a { font-size: 24px; }

	/* blogs comments*/
	.LastBlogComment .LastBlogCommentContent div { width: 100%; }
	.LastBlogComment .LastBlogCommentContent { width: 87%; }
	
	/* best users */
	.BoxUser:nth-child(4n+5) { margin-right: 38px; }
	
	/* videos comments */
	.LastVideoComment .LastVideoCommentContent { width: 65%; }
	.LastVideoComment .LastVideoCommentVideo { float: right; }	
	
	/* images comments */
	.LastImageComment .LastImageCommentContent { width: 70%; }
	.LastImageComment .LastImageCommentImage { float: right; }		
}

@media only screen and (max-width : 480px) {

	/* GENERAL STUFF */

	/* CONTENT LEFT */
	
	/* news */
	/* blogs */
	/* videos */
	#ContentContainer .Video:nth-child(3n+3), .PlayListVideo:nth-child(3n+3) { margin-right: 10px; }
	#SearchContainer .Video:nth-child(4n+4), #SearchContainer .PlayListVideo:nth-child(4n+4) { margin-right: 8px; }	
	#SearchContainer .Video:nth-child(3n+3), #SearchContainer .PlayListVideo:nth-child(3n+3) { margin-right: 8px; }	
	#SearchContainer .Video, #SearchContainer .PlayListVideo { margin-right: 8px; }	
	/* images */
	#ContentContainer .Image:nth-child(5n+5), #AlbumContainer .Image:nth-child(5n+5) { margin-right: 18px; }
	#ContentContainer .Image, #AlbumContainer .Image { margin-right: 18px; }
	/* users */
	/* dialogs */
	/* community */
	/* comments */	
	.CommentsContainer .CommentBottom p { width: 90%; }
	.SubCommentsContainer .Comment { width: 90%; }
	#AddCommentForm textarea { width: 78%; }
	.SubCommentsContainer textarea { width: 69%; }	
	/*register*/
	
	/* CONTENT RIGHT */
	.SidebarBox:nth-child(1) { margin-right: 0px; }
	
	/* blogs comments*/
	.LastBlogComment .LastBlogCommentContent { width: 84%; }	
	
	/* best users */
	
	/* videos comments */
	.LastVideoComment .LastVideoCommentContent { width: 59%; }
	
	/* images comments */
	.LastImageComment .LastImageCommentContent { width: 63%; }	
	
}

@media only screen and (max-width : 400px) {

	/* GENERAL STUFF */
	#ContentInner { padding-right: 10px; padding-left: 10px; }
	
	/* CONTENT LEFT */
	/* news */
	/* blogs */
	/* videos */
	#SortByContainer a:nth-child(8) { display: none; }
	.VideoSortByContainer span:nth-child(7) { display:none; }
	#SortByContainer span:nth-child(7) { display:none; } /* search */
	#ContentContainer .Video:nth-child(2n+2), .PlayListVideo:nth-child(2n+2) { margin-right: 0px; }		
	#SearchContainer .Video:nth-child(2n+2), #SearchContainer .PlayListVideo:nth-child(2n+2) { margin-right: 0px; }	
	/* images */
	#ContentContainer .Image:nth-child(3n+3), #AlbumContainer .Image:nth-child(3n+3) { margin-right: 0px; }
	#SearchContainer .Image:nth-child(3n+3) { margin-right: 0px; }
	#SearchContainer .Image { margin-right: 18px; }
	/* users */
	#UsersList .User { width: 100px; }
	/* dialogs */
	/* community */
	/* comments */
	.SubCommentsContainer .Comment { width: 88%; }
	.MediaData { margin-left: 5px; margin-top: 10px;}
	.SubCommentsContainer textarea { width: 65%; }	
	#AddCommentForm textarea { width: 74%; }
	/* register*/
	
	  
	/* CONTENT RIGHT */
	
	/* blogs comments*/
	.LastBlogComment .LastBlogCommentContent { width: 81%; }
	
	/* best users */
	.BoxUser:nth-child(4n+5) { margin-right: 0px; }
	/* videos comments */
	.LastVideoComment .LastVideoCommentContent { width: 49%; }		

	/* images comments */
	.LastImageComment .LastImageCommentContent { width: 55%; }		
}