@-moz-document domain("facebook.com') {

/****************
 **** GLOBAL ****
 ****************/

/*** REMOVE ADS ***/
#pagelet_ego_pane .ego_column + div, .UIStandardFrame_SidebarAds, #egoRefreshAds, .ego_iframe_tracking, .adsCell, [class*=' fbPhotoSnowboxAds'], [id*=' fbPhotoSnowboxAds'], .fbPhotoAdsCol, .fbCurrentThickline, .fbEmuEgoUnit, [class='fbEmu fbEmuBlock fbEmuEgo'], .egoOrganicColumn, #pagelet_ego_pane {
  display: none !important;
  visibility: collapse !important;
  border: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  position: absolute !important;
  top: -10000px !important;
  z-index: -10000000000000 !important;
}

/*** RIGHT COLUMN ON LEFT SIDE ***/
#rightCol { position: absolute !important; padding-right: 0 !important; border-top-width: 0 !important; border-color: transparent !important; }
#rightCol * { max-width: 175px !important; }

/* <-----REMOVE FROM CODE BELOW FOR LARGER FONT-----> */
/* .UIImageBlock_Content, .UIImageBlock_Content > * { font-size: 13px !important; } */


/***** NEW POPUP SETTINGS *****/

/*** SIDE BAR NEWS TICKER ***/
[class='uiContextualDialogPositioner fbFlyoutDialog uiContextualDialogLeft uiContextualDialogFixed'] .uiOverlayContent { position: relative; left: 2px !important; box-shadow: rgba(0,0,0,0.3) -3px 3px 8px 0 !important; }
[class='uiContextualDialogPositioner fbFlyoutDialog uiContextualDialogLeft uiContextualDialogFixed'] .uiOverlayArrow { -webkit-transform: rotate(360deg) !important; position: relative; right: 0 !important; }

/*** DEFAULTS FOR RIGHT COLUMN BEING DISPLAYED IN LEFT COLUMN ***/
.uiOverlayContent { position: relative; left: 510px; box-shadow: rgba(0,0,0,0.3) 3px 3px 8px 0 !important; }
.uiOverlayArrow { -webkit-transform: rotate(180deg) !important; position: relative; right: -154px !important; }
[class='uiContextualDialogPositioner uiContextualDialogBelow '][style*=' ']:not([data-position='below']):not([data-position='left']) { position: relative; left: 506px !important; }

/*** FOR PAGES W/ LEFT COLUMN ***/
.hasLeftCol [class='uiContextualDialogPositioner fbFlyoutDialog uiContextualDialogLeft uiContextualDialogFixed'][style*=' '][data-position='left'] .uiOverlayContent { position: relative; left: 10px !important; box-shadow: rgba(0,0,0,0.3) -3px 3px 8px 0 !important; }
.hasLeftCol [class='uiContextualDialogPositioner fbFlyoutDialog uiContextualDialogLeft uiContextualDialogFixed'][style*=' '][data-position='left'] .uiOverlayArrow { -webkit-transform: rotate(360deg) !important; position: relative; right: -8px !important; }

/*** INDIVIDUAL POST PAGE-VIEW ***/
[class='uiContextualDialogPositioner uiContextualDialogBelow '][data-position='below'] {   }
[class='uiContextualDialogPositioner uiContextualDialogBelow '][data-position='below'] .uiOverlayArrow {   }


/***** END GLOBAL *****/


/****************
 ***** HOME *****
 ****************/

/*** ADJUSTMENT FOR RIGHT COLUMN ***/
.home #leftCol { position: fixed; margin-top: 0 !important; margin-left: -109px !important; width: 198px !important; min-height: 430px !important; background: #fff !important; z-index: 2 !important; }
/* Adjust the Top value as needed in relation to the height of your left column */
.home #rightCol div { margin: 0 !important; }
.home #rightCol { left: 0 !important; top: 475px !important; }


/*** NEWS FEED ***/

.home .homeWiderContent #contentArea { padding-right: 18px !important; width: 763px !important; }
.home .homeWiderContent ul#home_stream { width: 763px !important; }
.home .homeWiderContent ul#home_stream #highlight_header { margin-left: 0 !important; }

.home #pagelet_home_stream ul#home_stream .uiUnifiedStory { padding-right: 0 !important; }
.home #pagelet_home_stream ul#home_stream .uiUnifiedStory .storyContent .mainWrapper > form > ul, .uiStreamBoulderStyle .uiStreamSubstories ul { width: 100% !important; }


.home #pagelet_home_stream ul#home_stream .uiStreamFirstStory .storyContent .mainWrapper .uiSelector a.uiSelectorButton:not(.uiCloseButton) { margin: -17px 15px 0 0 !important; }
.home #pagelet_home_stream ul#home_stream .uiStreamStory:not(.uiStreamFirstStory) .storyContent .mainWrapper .uiSelector a.uiSelectorButton:not(.uiCloseButton) { margin: -11px 15px 0 0 !important; }
.home #pagelet_home_stream ul#home_stream .uiStreamStory .storyContent .mainWrapper .uiSelector .uiSelectorMenuWrapper.uiToggleFlyout { position: relative; top: 15px !important; right: 5px !important; }

.home #pagelet_home_stream ul#home_stream .storyContent .storyContent [class='UIImageBlock_Content UIImageBlock_SMALL_Content'] { max-width: 654px !important; }
.home #pagelet_home_stream ul#home_stream .storyContent .storyContent .commentContent { width: 592px !important; }
.home #pagelet_home_stream ul#home_stream .storyContent .storyContent a.uiCloseButton { position: relative; left: 0 !important; }

.home #pagelet_home_stream ul#home_stream #stream_movable_header { padding-right: 18px !important; }
.home #pagelet_home_stream ul#home_stream .mentionsAddComment { width: 691px !important; }
.home #pagelet_home_stream ul#home_stream .storyContent .storyContent .mentionsAddComment { width: 643px !important; }

.home #pagelet_home_stream ul#home_stream .commentList > li.uiUfiComment > div[class='UIImageBlock clearfix uiUfiActorBlock'] > div[class='commentContent UIImageBlock_Content UIImageBlock_SMALL_Content'] { max-width: 633px !important; }
.home #pagelet_home_stream ul#home_stream .commentList > li.uiUfiComment > div > label.deleteAction { left: -5px !important; }


/*** NEW MESSAGES ***/
#MessagingDashboard .MessagingContentBorder, #MessagingDashboard #MessagingContentBorderShingle { width: 759px !important; }

#MessagingMainContent { width: 100% !important; }
#MessagingMainContent .uiList.body.contentListWidth > li  { width: 100% !important; }
#MessagingMainContent .uiList.body.contentListWidth > li > .content { width: 100% !important; }
#MessagingShelf { width: 759px !important; }

#MessagingDashboard .MessagingComposerForm > div { width: 645px !important; }
#MessagingDashboard .MessagingComposerForm > div > textarea { width: 640px !important; }



/*** COMMENTS PAGE FROM NOTIFICATIONS ***/
.ego_page.fbx #content .UIStandardFrame_Content { width: 980px !important; }
.ego_page.fbx #content .UIStandardFrame_Content div.permalink_stream ul[class='uiList uiStream'] > li { padding-right: 0 !important; }
.ego_page.fbx #content .UIStandardFrame_Content div.permalink_stream ul[class='uiList uiStream'] > li .mainWrapper .uiCloseButton { margin-right: 0 !important; }
.ego_page.fbx #content .UIStandardFrame_Content div.permalink_stream ul[class='uiList uiStream'] > li ul[class*='uiList uiUfi focus_target fbUfi'] { width: 100% !important; }


/*****  FIXES WHEN VIEWING FRIEND LISTS *****/
#friend_list_sidecol .plusIcon { left: 5px !important; }
#friend_list_sidecol .friendListTypeaheadBox { padding-bottom: 20px !important; }
#pagelet_friend_list_suggestions { position: relative; left: -20px !important; }
#pagelet_friend_list_suggestions > div > [class='uiHeader uiHeaderTopAndBottomBorder uiHeaderSection'] { position: relative; left: 15px !important; }
#pagelet_friend_list_suggestions table[class='uiGrid friendListSuggestion'] { position: relative; left: -5px!important; }
#pagelet_friend_list_suggestions table[class='uiGrid friendListSuggestion'] td a img { margin-right: 5px !important; }
#pagelet_friend_list_suggestions table[class='uiGrid friendListSuggestion'] td.friendListSuggestionName span.friendListSuggestionNameWrap { padding-right: 10px !important; width: 95px !important; }



/*****************
 **** PROFILE ****
 *****************/

/*** RIGHT COLUMN ADJUSTMENTS ***/
.hasLeftCol.fbx:not(.home) #rightCol { border: transparent !important; color: transparent !important; background: transparent !important; }
.hasLeftCol.fbx:not(.home) #rightCol #pagelet_right_sidebar { position:absolute; top: 1840px !important; left: -10px !important; margin: 0 !important; }
.hasLeftCol.fbx:not(.home) #rightCol #pagelet_right_sidebar div { margin: 0 !important; }
.hasLeftCol.fbx:not(.home) #rightCol #pagelet_right_sidebar #pagelet_ego_pane .ego_section .uiHeader {margin-bottom: 5px !important; }


/*** TOP PORTION ***/
#pagelet_byline .fbProfileByline { width: 100% !important; }

/*** PROFILE FEED ***/
.hasLeftCol.fbx:not(.home) #contentArea[role='main'] { width: 759px !important; padding: 0 20px !important; }
.hasLeftCol.fbx:not(.home) ul#profile_minifeed > li { width: 100% !important; padding-right: 0 !important; }
.hasLeftCol.fbx:not(.home) ul#profile_minifeed > li .storyContent .dynamicIconSelector { margin: -10px -20px 0 0 !important; }
.hasLeftCol.fbx:not(.home) ul#profile_minifeed > li .storyContent form > ul { width: 100% !important; }
.hasLeftCol.fbx:not(.home) ul#profile_minifeed > li .storyContent [class='uiSelector inlineBlock mlm highlightSelector uiStreamHide uiSelectorRight'] { margin: 0 !important; }
.hasLeftCol.fbx:not(.home) ul#profile_minifeed .uiStreamMinistoryGroup { padding: 0 !important; }
.hasLeftCol.fbx:not(.home) ul#profile_minifeed .uiStreamMinistoryGroup li { padding: 0 !important; }


/*** EDIT PROFILE PAGE ***/
.fbPageEdit #contentCol div[class='pal grayArea uiBoxGray noborder'] { width: 759px !important; }
.fbPageEdit #contentCol table.uiInfoTable tbody td.rightCol { position: absolute; }
.fbPageEdit #contentCol table.uiInfoTable tbody + tbody td.rightCol { position: absolute; }
.fbPageEdit #contentCol table.uiInfoTable tbody + tbody td.rightCol > div { position: relative!important; left: -575px !important; z-index: 3; }
.fbPageEdit #contentCol table.uiInfoTable tbody + tbody + tbody:not(.mrl) td.rightCol { position: absolute; }
.fbPageEdit #contentCol table.uiInfoTable tbody div[class='UIImageBlock clearfix fbHubsInfoPanel'] { display: none !important; }
.fbPageEdit #contentCol table.uiInfoTable tbody + tbody + tbody + tbody td.rightCol { position: absolute; }
.fbPageEdit #contentCol table.uiInfoTable .profileLanguagesField td.rightCol { position: absolute; }
.fbPageEdit #contentCol table.uiInfoTable .profileTextareaField td.rightCol { position: absolute; }



/******************
 **** PICTURES ****
 ******************/

.fbx:not(.hasLeftCol) #contentArea { width: 100% !important; }
#album_pagelet #album_photos_pagelet { margin-left: 270px !important; }
#album_pagelet #album_metadata_pagelet .fbxPhotoSetPageMetadata, #album_pagelet #album_metadata_pagelet ul, #album_pagelet #album_metadata_pagelet li { width: 100% !important; }

.fbx #album_tagges_pagelet { position: relative !important; left: 50% !important; }
.fbx #album_tagges_pagelet div > .uiHeader { max-width: 165px !important; }
.hasLeftCol.fbx #pagelet_photo_albums table.fbPhotosGrid, .hasLeftCol.fbx #pagelet_photos_of_me table.fbPhotosGrid { width: 100% !important; }

/*** PHOTO THEATER ***/
#fbPhotoTheater table.photoInfo .detailsCell { padding-right: 0 !important; }
#fbPhotoTheater table.photoInfo .detailsCell hr.mvm { width: 313px !important; }
#fbPhotoTheater div.commentsContainer, #fbPhotoTheater div.commentsContainer ul[class*='uiList uiUfi focus_target fbUfi'] { width: 100% !important; }



/*****************
 **** FRIENDS ****
 *****************/

/*** LISTS ***/
#editFriendsHeader h2 .editFriendsHeaderNewList, #editFriendsHeader h2 .editFriendsPhonebookHeaderRight { margin-right: 0 !important; }


/*** CONTACTS ***/
.hasLeftCol.fbx:not(.home) #rightCol {
 width: 159px !important;
 position: absolute !important;
 left: 1px !important;
 top: 595px !important;
 padding-top: 15px !important;
 border-top: 1px solid #eee !important;
}

.hasLeftCol.fbx:not(.home) #rightCol div { margin-left: 7px !important; margin-right: -15px !important; }




/****************
 **** EVENTS ****
 ****************/
.hasLeftCol.home.fbx #content[class='fb_content clearfix'] #mainContainer .hasRightCol #contentArea { width: 759px !important; padding-right: 20px !important; }



/*********************
 **** USERSCRIPTS ****
 *********************/

}