@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("facebook.com") {

/*Widen space for profile name and status on profile page*/
.profile_top_bar_container
{
width:720px !important;
}
/*Pad down names under little profile pictures*/
.UIPortrait_Text
{
padding-top:6px !important;
}

/*Fix facebook header*/
#menubar_container
{
top: -8px !important;
position: fixed !important;
background:transparent !important;
}

.profile .profile_color_bar
{
margin-top:-4px !important;
padding-top:66px !important;
}

.UIMediaHeader_TitleWrapper
{
background:transparent !important;
border:0 !important;
}

/*transparency*/
#presence
{
   opacity: 0.8 !important
}

#fb_menubar
{
   position: relative !important;
   left: auto !important;
   right: auto !important;
   opacity: 0.8 !important
}

/*Facebook Header drop shadow*/
#fb_menubar
{
width: 900px !important;
margin-left: 5px !important;

background:#3B5998 !important;
-moz-box-shadow:3px 3px 4px #666666;
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
}

/*Main Profile Pic drop shadow*/
#profile_pic
{
-moz-box-shadow:4px 4px 4px #666666;
margin-bottom:8px !important
}

/*Little profile pics drop shadow*/
.UIProfileImage, .wallimage a img
{
-moz-box-shadow:2px 2px 4px #666666;
}

.fg_img
{
margin-bottom:5px !important;
}

.pic_container
{
margin-bottom:4px !important;
}

.name_container
{
margin-right:4px !important;
}


/*Hide suggestions on homepage
#pymk_hp_box
{
display:none !important;
}
*/

/*Hide newsfeed filter options on homepage*/
#home_filter_list
{
display:none !important;
}

/*Widen newsfeed stream*/
#home_stream
{
width:555px !important;
}

/*Hide rounded corners on little profile pics*/
.UIRoundedImage_CornersSprite
{
display: none !important;
}

/***********************************************
BEGIN REMOVE FACEBOOK ADS, ADJUST CONTENT WIDTH
***********************************************/

	/** Default frameworks. **/
	.UIStandardFrame_Container { padding-right: 20px !important; width: 940px !important; }
	.UIStandardFrame_Content { margin: 0 auto !important; float: none !important; }
	.UIStandardFrame_SidebarAds { display: none !important; }
	.UIStandardFrame_FooterAds { display: none !important; }

	.UICompatibilityFrame_Container { padding-right: 20px !important; width: 940px !important; }
	.UICompatibilityFrame_Frame { margin: 0 auto !important; float: none !important; }
	.UICompatibilityFrame_SidebarAds { display: none !important; }
	.UICompatibilityFrame_FooterAds { display: none !important; }

	.UIWashFrame_Content { margin: 0 auto !important; float: none !important; }
	.UIWashFrame_SidebarAds { display: none !important; }
	.UIWashFrame_FooterAds { display: none !important; }

	.UINarrowFrame_Container { margin: 0 auto !important; }

	/** Page-by-Page fixes. **/

	/* s.php */
	/* The first three links in the Web Search list are never sponsored. Any beyond that always are. */
	.UILiveLink:nth-child(n+4) { display: none !important; }

	/* home.php */
	#home_sponsor_nile { display: none !important; }
	.UIConnectWithFriends.UIHomeBox { display: none !important; }

	/* profile.php */
	.profile .right_column_container .profile_sidebar_ads { display: none !important; }
	.profile .right_column { margin-right: 90px !important; }
	.profile_two_columns .right_column { width: 720px !important; margin-right: 0px !important; }
	.profile .info_tab .info_section .profile_info dl.info dd { width: 520px !important; }

	/* inbox/ */
	.message .body .text { width: 455px !important; }
	#inline_composer .composer_fields textarea { width: 450px !important; }
	#inline_composer .composer_fields { width: 561px !important; }
	#inline_composer .composer_fields dd { width: 455px !important; }
	#message_post_status { width: 433px !important; }
	.attachment_view { width: auto !important; }
	.attachment_view_container { float: none !important; padding-bottom: 0 !important; }

	/** Comment Handling. **/
	
	/* home.php */
	.commentable_item .ufi_section { width: auto !important; } /* 350px + 110px; */
	.comments_paging_container { float: none !important; }
	.commentable_item .comment_box .comment_content { width: 421px  !important; } /* 311px + 110px; */
	.hidden_add_button .comment_box .comments_add_box .one_row_add_box textarea { width: 452px !important; }
	.commentable_item .comment_box .comments_add_box textarea { width: 413px !important; }
	.like_box .like_users { width: auto !important; }

	/* album.php */
	/* Get this, there are two different layouts of album.php. I can't tell why, but it's pretty silly. */
	#photocomment { width: 520px !important; }
	#photocomment .commentable_item .comment_box .comment_content { width: 471px !important; }
	#photocomment .commentable_item .comment_box .comments_add_box textarea { width: 463px !important; }
	#album_container + .footer .commentable_item .comment_box .comments_add_box textarea { width: 463px !important; }

	/* profile.php */
	.minifeedwall .commentable_item .comment_box .comment_content { width: 511px !important; }
	.minifeedwall .hidden_add_button .comment_box .comments_add_box .one_row_add_box textarea { width: 542px !important; }
	.minifeedwall .commentable_item .comment_box .comments_add_box textarea { width: 503px !important; }

	/* video.php */
	.video_permalink #main_column { width: 504px !important; }
	.video_permalink .commentable_item .comment_box .comment_content { width: 455px !important; }
	.video_permalink .commentable_item .comment_box .comments_add_box textarea { width: 447px !important; }

	/* video.php - high quality */
	.video_permalink .info_bottom + #main_column { width: 400px !important; }
	.video_permalink .info_bottom + #main_column .commentable_item { width: 350px !important; }
	.video_permalink .info_bottom + #main_column .commentable_item .comment_box .comment_content { width: 301px !important; }
	.video_permalink .info_bottom + #main_column .commentable_item .comment_box .comments_add_box textarea { width: 293px !important; }

	/* note.php */
	.note_footer .commentable_item .comment_box .comment_content { width: 483px !important; }
	.note_footer .commentable_item .comment_box .comments_add_box textarea { width: 475px !important; }
	.profile_thumb + .note_body .note_footer .commentable_item .comment_box .comment_content { width: 423px !important; }
	.profile_thumb + .note_body .note_footer .commentable_item .comment_box .comments_add_box textarea { width: 415px !important; }

	/* posted.php */
	.share_footer .commentable_item .comment_box .comment_content { width: 483px !important; }
	.share_footer .commentable_item .comment_box .comments_add_box textarea { width: 475px !important; }

	/* blog.php */
	.fbblog .note_footer .commentable_item .comment_box .comment_content { width: 423px !important; }
	.fbblog .commentable_item .comment_box .comments_add_box textarea { width: 415px !important; }

	/* walltowall.php */
	#wall { width: auto !important; }
	#wall .commentable_item .comment_box .comment_content { width: 553px !important; }
	#wall .commentable_item .comment_box .comments_add_box textarea { width: 582px !important; }
	#wall .commentable_item .comment_box .comments_add_box textarea:not(.DOMControl_placeholder) { width: 543px !important; }

/***********************************************
END REMOVE FACEBOOK ADS, ADJUST CONTENT WIDTH
***********************************************/

/***************************************************
FIXES FOR REMOVE FACEBOOK ADS, ADJUST CONTENT WIDTH
***************************************************/

.commentable_item .ufi_section { width: auto !important; } /* 350px + 110px; */
	.comments_paging_container { float: none !important; }
	.commentable_item .comment_box .comment_content { width: 421px  !important; } /* 311px + 110px; */

#home_stream .commentable_item .comment_box .comments_add_box textarea { width: 438px !important; }

#home_stream .hidden_add_button .comment_box .comments_add_box .one_row_add_box textarea { width: 477px !important; }

#home_sidebar {
position: relative !important;
float: right !important;
margin-top: 55px !important;
left: -75px !important;
}
}
