@-moz-document url("chrome://browser/content/browser.xul"){

/* about:config changes to make */
/* browser.urlbar.formatting.enabled - to false */
/* browser.urlbar.trimURLs - to false */

/* other changes */
/* toolbar: right click > "Customize" > remove the tab grouping icon */
/* toolbar: right click > select "Text" (instead of "Icons" or "Icons and text") */

/* entire top area + the addon bar (bottom), change font/size here */
#bookmars-menu,
#TabsToolbar,
#nav-bar,
#tabbrowser-tabs,
#navigator-toolbox,
#main-menubar > menu,
#urlbar, 
#searchbar .searchbar-textbox,
.textbox-input:-moz-placeholder,
#urlbar[level] .autocomplete-textbox-container > *,
#FindToolbar,
toolbox,
toolbar,
#addon-bar     
{
-moz-appearance:none !important;color:#000 !important;border:0px !important;text-shadow:none !important;background:none !important;
font-size:12px !important;line-height:16px !important;
font-family:sans-serif;
}

/* single line address bar */
/* #urlbar[level] .autocomplete-textbox-container > * {background-color:#ffffb7 !important;}*/ /* yellow for https */
.autocomplete-richlistitem  {height:28px !important;overflow:hidden !important;font-size:8.5pt !important;color:black !important}
.ac-title > .ac-normal-text {color:transparent !important}/* hack (transparent) */
.ac-url                     {margin-top:-32px !important;}
menubar, toolbox, toolbar   {border-style:none !important;}
#urlbar[pageproxystate="valid"] > #urlbar-icons > #go-button {visibility:visible !important;}

/* tabs */
tab[selected="true"] .tab-text {font-weight:900 !important}
menubar, toolbox, toolbar, tabbar, tab {border:none !important;padding:0 !important;border-radius:0px !important}
tab {padding:0 0 1px 3px !important;outline:none !important;background:none !important;}

/* tab bar: next/previous buttons: replaced with text */
.scrollbutton-up, .scrollbutton-down, .close-button {border:none !important;padding:0px 6px !important}
.scrollbutton-up *, .scrollbutton-down *, .close-button * {display:none !important}
.scrollbutton-up:after {content:"‹" !important;font-size:11pt !important;position:relative;top:-1px}
.scrollbutton-down:after {content:"›" !important;font-size:11pt !important;position:relative;top:-1px}
.close-button:after {content:"×" !important;font-size:10pt !important;position:relative;top:0px}

/* "tab" instead of "new tab" */
#new-tab-button * {display:none !important}
#new-tab-button:after {content:"Tab" !important;}

/* Zotero */
#zotero-status-image {opacity:.33}
#zotero-status-image:hover {opacity:1}

/* hidden elements */
.autocomplete-history-dropmarker, /* drop down arrow in urlbar, (Alt+Arrow) */
#searchbar .searchbar-dropmarker-image, /* drop down arrow in searchbar, (Alt+Arrow / area still clickable) */
.tabs-newtab-button, /* 'new tab' button inside tab bar */
#throbber-box, /* loading wheel */
#star-button, /* bookmark this icon */
.search-go-button, /* search magn glass */
#feed-button, /* rss icon */ 
#helpMenu, /* help menu button */
#go-button,/* green "Go" arrow */
#identity-box,/* Location Bar favicon */
.toolbarbutton-menu-dropmarker,/* no dropdown arrows */
.bookmark-item .menu-iconic-icon, /* no icons and no generic/replacement icons */
.bookmark-item .toolbarbutton-icon,/* no icons and no generic/replacement icons */
.tab-icon-image,/* no icons and no generic/replacement icons */
.searchbar-engine-image,/* no icons and no generic/replacement icons */
#edit-menu  /* hide edit menu item (copy/cut/paste/find etc) */
{display:none !important;}

/* dummies */
menubar > menu,
#navbar, 
#urlbar, 
#searchbar,
#TabsToolbar,
#PersonalToolbar,
#FindToolbar,
#sidebar-header, 
#bookmarksPanel,
#bookmars-menu,
#toolbar-menubar, 
#navigator-toolbox toolbar,
.tab-text,
menuitem,
#history-panel {}


}