@namespace url(http://www.w3.org/1999/xhtml);

/* -------------------------------------------------------- *
 * Style:   All-In-One Distractions Remover For Facebook    *
 * Author:  Filius - veryhugebox at gmail                   *
 * -------------------------------------------------------- */

@-moz-document domain("facebook.com") {

    /* --- Delete any of the following sections to prevent the style from removing an element --- */

    /* Remove Advertisements */

    .invitefriends, div[id*="sponsor"], div[class*="sponsor"], div[class*="advert"], div[class$="_ad"], div[id$="_ad"], div[class$="_ads"], div[id$="_ads"], div[class^="ad_"], div[id^="ad_"], div[class^="ads_"], div[id^="ads_"], div[class*="_ad_"], div[id*="_ad_"], .adcolumn_header
    {
        display: none !important;
    }

    /* Remove Find Your Friends */

    #findfriends
    {
        display: none !important;
    }

    /* Remove application "Bookmarks" (functionality is replicated in the Applications drop-down so it's redundant) */

    .application_bookmarks
    {
        display: none !important;
    }   

    /* Remove Non-Standard Applications from Profile Pages - thanks to aliumalik for inital idea 
       View the source code to work out the box_app id number of any application you wish to include 
       The easiest way to do this is install the firebug add-on and choose 'inspect element' */

    div[id^="box_app"]:not(#box_app_10698955342):not(#box_app_17343487608):not(#box_app_2200123456):not(#box_app_2297529396):not(#box_app_2305272732):not(#box_app_2309869772):not(#box_app_2327158227):not(#box_app_2341989679):not(#box_app_2344061033):not(#box_app_2347471856):not(#box_app_2356318349):not(#box_app_2361831622):not(#box_app_2373072738):not(#box_app_2392950137):not(#box_app_2407511955):not(#box_app_2468813376):not(#box_app_2503140832):not(#box_app_2719290516):not(#box_app_4727653471):not(#box_app_4818548774):not(#box_app_4998688431):not(#box_app_5766521571)
    {
        display: none !important;
    }

    /* Remove Application Stories from the Minifeed
       41, 42 are apps, 47 is fan pages, 46 is photos so I'm keeping that in 
       .app_install_story and .app_story are used in the Home News Feed */

    #profile_minifeed > div[class*="story_type_4"]:not(.story_type_46), #profile_minifeed > .story_type_63, .app_install_story, .app_story
    {
        display: none !important;
    }

    /* Get rid of the white space above "Suggest Friends for..." */

    .secondary_actions
    {
        margin-top: 10px !important;
    }

    /* Remove welcome to the new Facebook */

    .fb95_preview_bar, .fbnew_preview_bar
    {
        display: none !important;
    }

    /* Remove the footer. You may well want to leave this in. */

    #pagefooter
    {
        display: none !important;
    }

    /* Spread things out */
    .story_body
    {
        width: 95% !important; 

    }
    .story_content, .story_info
    {
        max-width: 595px !important;
    }

    .right_column
    {
        width: 76% !important;
    }
    .profile_two_columns #profile_top_bar
    {
        padding: 0px 0px 0px 220px;
    }
    #profile_top_bar
    {
        margin: auto;
        width: 717px;
    }

    .profile .info_tab .info_section .profile_info dl.info dd 
    {
        width:555px !important;
    }


}