@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* hide unused menus */
menu[label="Bookmarks"], [label="Help"] { display: none !important; }

/* Get rid of the JavaScript Console under Tools */
#javascriptConsole { display: none !important; }

/* Remove the Bookmark star */ 
#star-button { display: none !important; }  

/* combined Stop/Reload button - must reverse order on toolbar first */
#stop-button[disabled="true"] { display: none !important; } 
#stop-button:not([disabled]) + #reload-button { display: none !important; }

/* Remove extra padding from the Navigation Bar */
.toolbarbutton-1, .toolbarbutton-menubutton-button {
   padding: 0 2px !important; }
.toolbarbutton-1[checked="true"], .toolbarbutton-1[open="true"], 
.toolbarbutton-menubutton-button[checked="true"], 
.toolbarbutton-menubutton-button[open="true"] {
   padding: 3px 1px 1px 3px !important; }

/* Remove separators between toolbars*/
#toolbar-menubar {
     margin-top: -1px !important; 
     border: none !important; }
#nav-bar {
     margin-top: -4px!important; 
     border-top: none!important; }

/* Make the Search box flex wider */
#search-container { -moz-box-flex: 200 !important; }
#searchbar { -moz-box-flex: 200 !important; }

/* better auto-complete */
#urlbar[pageproxystate="valid"] > #urlbar-icons > #go-button {  
     visibility: visible !important; }
.ac-comment, .ac-url-text {
     font-size: 100% ! important; }
.ac-url-text {
     font-size: 100% ! important;
     color: green !important; }

/* restore buttons on Quick Find bar */
#FindToolbar > * { display: -moz-box !important; }
.findbar-container > * { display: -moz-box !important; }

/* Reorder statusbar panels and icons */
#gm-status { -moz-box-ordinal-group: 6!important;
     padding: 0 !important; }
#stylish-panel { -moz-box-ordinal-group: 7!important;
     padding: 0 3px 0 6px !important; }
#stylish-strings { -moz-box-ordinal-group: 8!important; }
#abp-status { -moz-box-ordinal-group: 9!important; }
#unmht-statusbarpanel-preferences { -moz-box-ordinal-group: 10!important; }
.statusbar-resizerpanel { -moz-box-ordinal-group: 11!important; } /* this one is important,it's the resizer*/

.statusbuttons-toolbar { margin-top: -1px!important;
     padding-right: 4px !important; 
     border-top: 1px gray !important;
     border-right: 1px white !important;
     border-bottom: 1px white !important;
     border-left: 1px gray !important; }

/* Remove stuff from sidebar */
#sidebar-splitter { display: none !important; }
sidebarheader { display: none !important; }