/* Facebook Plus | updated Nov 07, 2011 */

/* This style is an *extension* to "Facebook - Sticky Top Nav Bar & More Prettiness".
 * I'm grateful to Code.Red for permission to expand on his work.
 * See the paradigm here: http://userstyles.org/styles/25094
*/

@-moz-document domain("facebook.com") {

/*=============================================*/

/* START shadows & glows */ 

.uiMenu, #dropmenu_container, .hovercard .stage {
  -moz-box-shadow: 3px 3px 20px rgba(0,0,0,0.4); 
  -webkit-box-shadow: 3px 3px 20px rgba(0,0,0,0.4);
}

#navAccountPic .img,
img[class*="uiProfilePhoto"],
.fbxWelcomeBox a.fbxWelcomeBoxBlock > img.img,
.largeFbProfileBlankIcon {
  -moz-box-shadow: 0px 0px 3px #D8DFEA;
  -webkit-box-shadow: 0px 0px 3px #D8DFEA;
}
/* END shadows & glows */

/* START jewel button mods */
.jewel:not([class*="Toggler"]):hover:active { 
  background-color: #627AAD !important;
  border: 1px solid #1D4088 !important;
  margin: -1px 0 -1px -1px !important; 
  border-bottom: none !important;
}
.jewelNew {
  border-radius: 6px 6px 0 0;
  border: solid 1px white !important;
}
/* END jewel button mods */

/* Round off square corners on major elements */

select, textarea, form,
#navSearch div[class],
.uiTypeahead .wrap,
.uiTypeahead .wrap input,
.inputtext, .textInput, .inputpassword {
  border-radius: 3px !important;
}
 
.uiComboInput,
.uiSearchInput,
.uiOverlayContent,
[class$="Tokenizer"],
.blurb, .uiTooltipText, .uiTooltip, .titletip,
.uiHeader, .HC_Center,
#welcome_dashboard .active_step,
#welcome_dashboard .step_indicator,
input.editorkit_button, 
input.inputbutton, input.inputsubmit,
[class^="uiButton"], .uiSelectorButton, .uiButton, .create_button, 
a[style*="border-color: #e7e7e7 #666666 #666666 #e7e7e7;"],
.UIWell, div.container,
.uiComposerMetaContainer,
[class^="UIComposer"], .fluidInputCell,
[class^="UIActionMenu"], .UISelectList,
.UIMessageBox, .uiProgressBar,
.pas.attachmentFrame, .fbTabGridItem,
.uiPhotoThumb, .uiProfilePhoto, 
.largePhoto > img.img,
.uiMediaThumb > i, .owner_thumb>a,
.uiMediaThumbWrap, .UIPhotoGrid_Image,
#editphotoalbum, #editphotoalbum .photo,
#hubs_wikipedia div.thumbinner,
a.edit_link, a.box_editor, a.skip,
.ubersearch .result, .protip, 
.status, .error, .highlight, .uiBoxOverlay,
.uiBoxGray, .uiBoxWhite, .uiBoxLightblue, .uiBoxRed, .uiBoxYellow,
.account_note, .network_pending, 
.notifications, .noticebox, .form_container, #ads_privacy_examples,
.photo_table, .photo_table > table, #photoborder,
img.img[style*="padding:4px; border:1px solid #DDDDDD;"],
#tagging_instructions, #photo_tag_selector,
.datebox, .calendar_picker, .calendar_picker_container,
.side_column, div.feed_comments, 
.connect_widget_comment_box,
.dialog_loading,
.commentable_item .ufi_section,
.uiUfi .ufiItem, .uiBlingBox,
.uiTypeaheadView ul.basic,
.uiTypeahead, .uiTypeahead .wrap,
.fbQuestionsPollResultsBar, .shaded,
.fbQuestionsPollPager>span, .fbEigenpollRow,
#fbPhotoTheaterStageActions a,
.fbProfilePhotoThumbEmpty,
.contextual_dialog_content,
.hovercard .stage,
.fbTextEditor, 
.editaccount .editor_panel {
  border-radius: 3px;
}
[class^="dialog_content_"] {
  border-radius: 5px !important;
}

.navHeaderPencil:hover,
.fbChatTabMax:hover,
[class*="CloseButton"]:hover {
  border-radius: 2px;
}

/* upper edge only */

[class^="Flyout"], .fbNubFlyoutOuter, 
[class*="Titlebar"], [class*="Toggler"],
.topNavLink
 {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
}
#navAccount.topNavLink,
.jewelButton, a.fbNubButton,
#pageNav li.topNavLink a:not([class="navSubmenu"]),
#pageLogo > a,
.helpPage .HCContents, 
.connect_widget_facebook_logo_menubar, /* Facebook Connect widget */
.fbPhotoTheater {
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
}

/* lower edge only */
.jewelFooter a,
.uiMenu,
.uiTypeaheadView,
.uiComposerMessageBox,
.language_form, .mobile_account_inlay,
div.box.moveable,
.editaccount .editor_panel,
#contentCurve {
  border-radius: 0 0 3px 3px;
}

/* left edge only */
.UIComposer_Attachment_TDTextArea,
#buddy_list_panel_settings_flyout,
#buddy_list_panel_lists_flyout,
.uiSideNav .sortableItem,
.uiSideNav a.item,
.uiSideNav a.subitem,
#fbFriendsSidebar li.buddyRow a:hover,
.uiStepFirst .back {
  border-radius: 5px 0 0 5px;
}
.GBSearchBox_Input,
#navSearch .uiTypeahead, 
#navSearch .uiTypeahead .wrap,
#navSearch .uiTypeahead > * { 
  border-radius: 3px 0 0 3px;
}

/* top left only */
h2.dialog_title, .helpPage .menuButton:first-child,
.toggle_tabs li.first a.selected,
.fbDockChatTab a.fbNubButton,
a.fbDock {
  border-top-left-radius: 5px;
}

/* top right only */
h2.dialog_title,
#attribution_span,
.backLink,
#buddy_list_panel_settings_flyout,
#buddy_list_panel_lists_flyout,
.HovercardOverlay > .HovercardHeavy.hovercard {
  border-top-right-radius: 5px;
}
/* bottom left only */
#navAccount > ul, .fbJewelFlyout,
.jewelBox, 
.edit_profilepicture,
#dropmenu_container,
.header-link.first,
.HovercardHeavy.hovercard .stage,
.fbNubFlyout, .fbNubFlyoutFooter,
.inputContainer > textarea,
[class^="dialog_content"], .dialog_buttons {
  border-bottom-left-radius: 5px;
}
/* bottom right only */
#boxes_left, [class^="dialog_content"], 
.dialog_buttons {
  border-bottom-right-radius: 5px;
}

/* Next & Previous buttons */
a.next, #photonav_next:hover,
.video_permalink_pager a.pager-next:hover,
.UIPager_Button.UIPager_ButtonForward,
.UIThumbPagerControl_Button_Right,
.featureBox:last-of-type {
  border-radius: 0 2px 3px 0;
}
a.prev, #photonav_prev:hover,
.video_permalink_pager a.pager-prev:hover,
.UIThumbPagerControl_Button_Left,
.UIPager_Button.UIPager_ButtonBack { 
  border-radius: 2px 0 0 3px;
}
/* end (Round off square corners) section */

/* chat dock */
#fbDockChat.offline > #fbDockChatBuddylistNub:not(:active) {width: 120px !important;}
#fbDockChat > #fbDockChatBuddylistNub {width: 120px !important;}
.fbDockChatTab.idle:not(:hover),
.fbDockChatTab.disabled {opacity: .8;}

/* no corner-radius on open chat tab*/
.fbDockChatTab[class*="openToggler"] a.fbNubButton {
  border-radius: 0px; -moz-border-radius: 0px;
}

/* end chat dock */

/* miscellaneous */

.uiTypeaheadView ul.basic,
.hovercard .stage {
  border: 1px solid #3B5998;
  border-bottom-width: 2px !important;
}
.uiSearchInput button[type="submit"] {background-color: transparent !important;}

.uiCloseButton,
.uiCloseButton:hover {
  -moz-transition: ease-out .5s opacity;
  -webkit-transition: ease-out .5s opacity;
}
.create_button { margin-bottom: -2px !important;}

.fbJewelFlyout,
.fbPhotoTheater .photoInfo {
  border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-collapse: separate !important;
}

/* End Of Line */
}