/* Win10 FF89+ tweak by Lars-Erik Østerud - 2021.06.01 - http://firefox.osterud.name */
#sidebar-header,sidebarheader,#bookmarksPanel>hbox,#history-panel .button-text,#bookmarksToolbarFolderMenu{display:none!important}
/* Optimize bars, boxes and sidebars to save space */
:root{--tab-min-height:26px!important;--urlbar-min-height:26px!important}
#titlebar{margin:-2px 0px -1px!important}#main-menubar{margin:5px 4px 9px!important}
#nav-bar{margin-bottom:-1px!important}#urlbar-container,#search-container{padding-block:4px!important;}
#bookmarksPanel,#history-panel{background-color:#FFF!important}
#sidebar{min-width:95px!important;max-width:300px!important;margin-top:-1px!important}
#bookmarksPanel .sidebar-placesTreechildren{margin-top:-35px!important}
.sidebar-placesTree{margin-left:-24px!important}
.sidebar-placesTreechildren::-moz-tree-indentation{width:6px!important}
.sidebar-placesTreechildren::-moz-tree-row{min-height:18px!important}
#viewButton,#search-box{border:1px solid #BFBFBF!important;margin:-1px!important;padding:0px 3px 0px 1px!important}
/* Make URL-bar look like before by setting the "expanded" URL-bar position/size == the "normal" URL-bar */
#urlbar[breakout-extend]{top:calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2)!important;
left:calc((var(--urlbar-toolbar-width) - var(--urlbar-width)) / 2)!important;width:100%!important}
#urlbar[breakout-extend] #urlbar-input-container{height:calc(var(--urlbar-min-height) - 0px)!important;padding:0px 1px!important}
.urlbarView{margin:-1px 0px!important;width:100%!important}.urlbarView-row{padding:0px!important}
.urlbarView-row-inner{padding:2px 0px 4px 4px!important} 
/* Clean up search-bar so it looks the same way as the URL-bar */
#PopupSearchAutoComplete{font-size:1.15em!important;
border-left-color:#0061E0!important;border-right-color:#0061E0!important;
border-bottom-color:#0061E0!important;border-top-style:#0061E0!important}
.searchbar-search-icon{margin-left:7px!important}
.autocomplete-richlistbox{margin:-2px 0px 4px!important}
.autocomplete-richlistbox>richlistitem{padding:2px 0px 6px!important;height:24px!important}
.autocomplete-richlistbox>richlistitem>image{margin:2px 8px 0px 7px!important} 
/* Remove things that are just taking up space */
.search-panel-current-engine,.search-setting-button,.search-panel-one-offs-header,.searchbar-separator{display:none!important}
.urlbarView .search-one-offs{padding:0px 0px 2px 0px!important}
.searchbar-engine-one-off-item{min-width:28px!important;max-height:28px!important;margin:0px!important}
.search-panel-one-offs{max-height:32px!important;margin-bottom:-6px!important}.addengine-item{padding-left:6px!important}
/* Set Classic Windows colors for title, tabbar, tabs and buttons */
#navigator-toolbox{background-color:#004080!important;color:#FFF!important}#nav-bar{background-color:#F0F0F0!important}
#scrollbutton-up,#scrollbutton-down,#new-tab-button,#tabs-newtab-button,#alltabs-button{fill:#FFF!important;
--toolbarbutton-hover-background:#33669A!important;--toolbarbutton-active-background:#527DA9!important} 
#urlbar-background,#searchbar{background-color:#FFF!important;border:1px solid #0061E0!important;
--toolbar-field-focus-border-color:none!important;--toolbar-field-border-color:none!important}