@media (min-width: 679px) and (max-width : 1189px) {
	#SearchContainer .Video:nth-child(29), #SearchContainer .Video:nth-child(30) { display: none; }
}

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

	/* GENERAL STUFF */
	#ContentInner { max-width: 688px; 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%; margin-right: 0; }
	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: 80%; max-width: 520px; margin-top: 5px; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; -ms-flex-wrap: wrap; flex-wrap: wrap; }

	#ContentContainer .Image, #ContentContainer .Image:nth-child(5n+5) { margin-right: 8px; }
	
	.ContentLeftHome, #SearchContainer { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; -ms-flex-wrap: wrap; flex-wrap: wrap; }
	
	.SidebarBox .adsbygoogle { width: 300px;	margin: 0 auto; }
	
	/* news */
	/* blogs */
	.Blog { width: 48%; height: 205px; margin-right: 0; margin-left: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.Blog:nth-child(2n+2) { margin-left: 4%; }
	
	.RoundedDarkBlue { display: none; }
	.BlogVideo slideshow { max-width: 100%; }
	.BlogImage img { max-width: 100%; }
	
	.BoxUser, .BoxUser:nth-child(4n+5) { margin-right: 24px; width: 58px; }
	/* 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 */
	#UsersList { display: inline-block; width: 100%; }
	
	/* dialogs */
	/* community */
	#EmotionsBox { float: right; }
	#Emotion a { word-break: break-all; }
	.CommunityLastVideosCommentsPage .LastVideoComment,
	.CommunityLastImagesCommentsPage .LastImageComment,
	.CommunityLastProfilesCommentsPage .LastProfileComment,
	.CommunityLastBlogsCommentsPage .LastBlogComment  { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; }
	.CommunityLastVideosCommentsPage .LastVideoComment .LastVideoCommentContent,
	.CommunityLastImagesCommentsPage .LastImageComment .LastImageCommentContent,
	.CommunityLastProfilesCommentsPage .LastProfileComment .UserMeta,
	.CommunityLastBlogsCommentsPage .LastBlogComment .LastBlogCommentContent { width: 100%; max-width: initial; }
	
	.CommunityLastProfilesCommentsPage .LastProfileComment .UserMeta { margin-left: 10px; }
	.CommunityLastProfilesCommentsPage .LastProfileComment .UserMeta .Emotion { word-break: break-all; }
	
	.LastBlogComment .LastBlogCommentContent div { width: 100%; }
	
	/* comments */
	.LastVideoComment { display: -webkit-box;display: -ms-flexbox;display: flex; width: 100%; }
	.LastVideoComment .LastVideoCommentContent { width: auto; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
	
	/* ProfileBox */	
	div.CommentTop span.OwnerControls { visibility: visible; }
		
	/* CONTENT RIGHT */
	.SidebarBox { width: 100%; float: left; }
	.SidebarBoxTitle { width: 100%; }
	.SidebarBox:last-child { float: left; }
	
	/* dialogs */
	.LastImageComment { display: -webkit-box; display: -ms-flexbox; display: flex; }
	.LastImageComment .LastImageCommentContent  { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
}

@media (min-width : 481px) and (max-width : 990px) {
	#NewsItem { display: -webkit-box;display: -ms-flexbox;display: flex; margin-bottom: 20px; }
	#NewsItem .NewsImage { margin-right: 20px; width: 280px; }
	#NewsItem .NewsImage img { width: 280px; }
	#NewsItem .NewsData { width: auto; margin-top: 0; -webkit-box-flex: 1;-ms-flex: 1;flex: 1; }
}

@media (min-width : 729px) and (max-width : 990px) {
	.ContentRightHome .SidebarBox:nth-child(1) { display: none; }
	.ContentRightHome .SidebarBox:nth-child(3) { float: right; }
	
	.HomeTabletBanner { display: inline-block; width: 100%; margin-bottom: 25px; }
}

@media only screen and (min-width : 657px) {
	.NewsItem { min-height: 277px; }
}

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

	/* GENERAL STUFF */
	.ContentRightHome .SidebarBox:nth-child(1) { display: none; }

	/* 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 */
	#ContentLeft .NewsItem { margin-right: 10px; width: 48%; margin-right: 4%; }
	#ContentLeft .NewsItem:nth-child(2n+1) { margin-right: 0; }
	#ContentLeft .NewsImage img { width: 325px; clip: rect(0px,325px,168px,0px); }
	#ContentLeft .NewsItem .NewsImage { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	#ContentLeft .NewsItem .NewsImage a { position: relative; display: inline-block; height: 100%; width: 100%; overflow: hidden; }
	#ContentLeft .NewsData { width: 100%; }
	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; }
	
	#ProfileVideoBrowser { display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-pack: distribute; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
	#ProfileVideoBrowser .Video { margin-left: 10px; margin-right: 10px; }
	
	.SidebarBox  .Video { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; margin-right: 0; }
	.SidebarBox .VideoTitle { width: 100%; }
	.SidebarBox  .MetaInfo { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
	
	/* images */
	#ContentContainer { width: 100%; max-width: 640px; }
	#ContentContainer .Image, #AlbumContainer .Image { margin-right: 9px; }
	
	.Image { margin-bottom: 15px; }
	
	/* users */
	#UsersList .User { width: 100px; }
	
	/* community */
	.CommunityLastVideosCommentsPage .LastVideoComment .LastVideoCommentContent { max-width: initial; min-width: 149px; }
	.CommunityLastVideosCommentsPage .LastVideoComment { width: 100%; }
	
	/* comments */
	.SubCommentsContainer .Comment { width: 94%; }
	.AddCommentForm input { margin-left: 55px; }
	#AddCommentForm textarea { width: 88.8%; margin-right: 0; }
	.SubCommentsContainer textarea { width: 82%; }	

	/* CONTENT RIGHT */
	.SidebarBoxTitle { width: 100%; }
	.SidebarBox { width: 100%; }

}
@media (max-width : 654px) {
	#AddCommentForm textarea { width: 88%; }
	.emoji { margin-right: 5%; }
}

@media (min-width : 497px) and (max-width : 654px) {
	.ContentLeftHome .Video:nth-child(17) { display: none; }
}

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

	/* GENERAL STUFF */
	
	/* CONTENT LEFT */
	#AddNews #txtTitle { width: 100%; -webkit-box-sizing: border-box;box-sizing: border-box; }

	/* news
	#NewsItem { width: 300px; margin: 0 auto; margin-bottom: 20px; } */
	/* blogs */
	.Blog { width: 100%; height: initial; padding-right: 0; }
	.Blog:nth-child(2n+2) { margin-left: 0; }
	
	#BlogForm { width: 100%; }
	
	/* 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; width: 100%; text-align: left; }
	
	/* users */
	.BoxUser, .BoxUser:nth-child(4n+5) { margin-right: 16px; width: 58px; }

	/* 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; font-size: 24px; }
	.SidebarBoxTitle a { font-size: 24px; }

	/* blogs comments*/
	.LastBlogComment .LastBlogCommentContent div { width: 100%; }
	.LastBlogComment .LastBlogCommentContent { width: 87%; }
	
	/* best users */
	
	/* 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 */
	#ContentLeft .NewsItem { width: 100%; margin-bottom: 30px; }
	#ContentLeft .NewsData { width: 100%; min-height: initial; }
	#ContentLeft .NewsImage img { width: 434px; clip: rect(0px,434px,168px,0px); }
	/* 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; }
	
	#ContentRight #NewsItem { width: 100%; margin-bottom: 30px; }
	#ContentRight .NewsImage  { display: inline-block; width: 100%; height: auto; }
	#ContentRight .NewsImage img { float: left; width: 100%; position: relative; }
	#ContentRight .NewsData { width: 100%; }
		
	/* 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: 25%; }
	#UsersList .User a.UserName { padding-right: 5px; word-break: break-all; }
	/* 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 */

	/* videos comments */
	.LastVideoComment .LastVideoCommentContent { width: 49%; }		

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