@-domain url("facebook.com") {

/* HTML */
html {
position: fixed !important;
}

}

/* ADS */

#pagelet_adbox,
#pagelet_search_ads {
display: none !important;
}

/* TOP BAR */

#pageHead,
#blueBar {
position: fixed !important;
left: 0 !important;
width: 100% !important;
top: 0 !important;
background-color: #3b5998 !important;
}

/* MAIN CONTENT AREA */

#contentCol {
position: fixed !important;
top: 41px !important;
left: 8px !important;
right: 264px !important;
bottom: 0 !important;
border: none !important;
overflow-y: auto !important;
width: auto !important;
}

.home #contentCol {
top: 152px !important;
}

/* STATUS UPDATER */

#pagelet_composer {
position: fixed !important;
z-index: 1 !important;
top: 87px !important;
left: 182px !important;
right: 264px !important;
padding: 8px 8px 0 8px !important;
background-color: #eceff5 !important;
border: 1px solid #d8dfea !important;
}

/* LEFT HOMEPAGE SIDEBAR */

#leftCol {
position: fixed !important;
left: 0 !important;
top: 40px !important;
border-right: 1px solid #b3b3b3 !important;
}

#pagelet_chat_home {
visibility: collapse !important;
}

/* LEFT PROFILE PAGE SIDEBAR */

#pagelet_left_column {
left: 0 !important;
position: fixed !important;
top: 41px !important;
bottom: 0 !important;
overflow-y: auto !important;
width: 196px !important;
z-index: 1 !important;
}

/* RIGHT HOMEPAGE SIDEBAR */

#rightCol {
position: fixed !important;
right: 0 !important;
top: 41px !important;
padding-top: 8px !important;
bottom: 24px !important;
overflow-y: auto !important;
background: white !important;
}

/* MAIN PROFILE PAGE CONTENT */

#right_column {
position: absolute !important;
left: 240px !important;
right: 16px !important;
padding-bottom: 64px !important;
width: auto !important;
}

/* PROFILE PAGE PHOTOS + WRITE A NOTE PAGE */

.UIMediaHeader_Container ,
.UIStandardFrame_Content {
margin-top: 40px !important;
}

/* TOP PROFILE PAGE BAR */

.profile_top_bar_container {
position: fixed !important;
padding-top: 40px !important;
left: 0 !important;
background-color: #eceff5 !important;
padding-left: 248px !important;
right: 0 !important;
}

.profile_name_and_status {
max-height: 72px !important;
overflow-y: auto !important;
}

/* PROFILE PAGE TAB CONTENT */

#tab_content {
position: fixed !important;
top: 168px !important;
left: 224px !important;
bottom: 24px !important;
right: 0 !important;
margin-left: -224px !important;
padding: 0 !important;
margin-right: 0 !important;
width: auto !important;
overflow-y: auto !important;
overflow-x: hidden !important;
bottom: 0 !important;
}

/* SEARCH RESULTS */

#pagelet_search_search_form {
padding-top: 40px !important;
}

.UISearchSummaryBar .UIWell {
border:1px solid #CCCCCC;
margin-bottom: 40px !important;
}

#search_filter_bar .UIWell {
border:1px solid #CCCCCC;
}

/* GENERIC FEED HEADER PAGELET + HOMEPAGE PHOTO PANEL HEADER */

#pagelet_stream_header,
#contentArea > * > .uiHeader:first-of-type,
#contentArea > #pagelet_media_dashboard > * > .uiHeader:first-of-type {
position: fixed !important;
width: auto !important;
padding-top: 8px !important;
margin-left: 182px !important;
padding-left: 10px !important;
left: 0 !important;
right: 264px !important;
padding-right: 10px !important;
top: 41px !important;
background: white;
z-index: 10 !important;
border-bottom: 1px solid #b3b3b3 !important;
border-right: 1px solid #b3b3b3 !important;
}

.pageScan {
position: fixed !important;
top: 96px !important;
left: 182px !important;
right: 256px !important;
padding: 6px !important;
background-color: #eceff5 !important;
border: 1px solid #d8dfea !important;
border-left: none !important;
}

/* GENERIC FEED PAGELET */

#pagelet_intentional_stream {
position: absolute !important;
width: auto !important;
padding-bottom: 56px !important;
margin-left: 0 !important;
background: white;
}

.feed_comments {
width: 100% !important;
}

/* DIALOG WINDOWS */

.generic_dialog, .pop_container_advanced {
position: fixed !important;
top: 58px !important;
left: 20% !important;
right: 20% !important;
max-width: 75% !important;
z-index: 100000000 !important;
}

/* MENUS */

#dropmenu_container  {
z-index: 50000000 !important;
}

/* LIGHT BLUE BAR AT THE BOTTOM OF GENERIC FEED */

.UIShowMore_Pager,
.lightblue_box {
margin-bottom: 16px !important;
position: fixed !important;
bottom: 0 !important;
left: 240px !important;
width: 320px !Important;
z-index: 3 !important;
}

/* FOOTER (REMOVED) (seriously, who looks at that?) */

#pageFooter {
display: none !important;
}