xpi/content/css/win8/smallnavbutextra.css
@-moz-document url(chrome://browser/content/browser.xul) {

	#main-window[fx50plus="true"][defaultfxtheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
	  margin-inline-start: -6px !important;
	}

	#main-window[fx50plus="true"][defaultfxtheme="true"] #forward-button + #urlbar > * {
	  transition: none !important;
	}

	#main-window:not([fx50plus="true"]) #nav-bar #notification-popup-box + *{
	  -moz-padding-start: 9px !important;
	  transition: none !important;
	}

	#main-window:not([fx50plus="true"])[defaultfxtheme="true"] #navigator-toolbox #nav-bar #urlbar-container #notification-popup-box[hidden] + *,
	#main-window:not([fx50plus="true"]) #navigator-toolbox #nav-bar #urlbar-container #notification-popup-box[hidden] + * {
	  -moz-padding-start: 4px !important;
	  -moz-padding-end: 3px !important;
	  transition: none !important;
	}

	#main-window:not([fx50plus="true"]) #nav-bar #notification-popup-box:not([hidden]) {
	  padding-left:2px !important;
	  padding-right:2px !important;
	  transition: none !important;
	}
	
	@media (-moz-os-version: windows-win10) {
	  #main-window[fx50plus="true"][defaultfxtheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
		margin-inline-start: -9px !important;
	  }
	  #main-window:not([fx50plus="true"])[defaultfxtheme="true"] #nav-bar #notification-popup-box[hidden] + * {
		-moz-padding-start: 4px !important;
	  }
	}
	
    #nav-bar #urlbar-container,
	#nav-bar #urlbar-container[forwarddisabled] {
	  -moz-margin-start: 2px !important;
	}
	
    #nav-bar #urlbar-container > #urlbar-wrapper > #urlbar,
	#nav-bar #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar {
      transition: none !important;
      transition-property: none !important;
      transition-delay: 0s !important;
    }

	#main-window #navigator-toolbox #urlbar-wrapper {
	  -moz-box-align: center !important;
	}

	#main-window[ctraddon_appbutton_on_navbar="true"] #appmenu-popup {
	  margin-top:0px !important;
	}
	
	@media (max-resolution: 1.0dppx) {
		#main-window #navigator-toolbox #nav-bar #back-button > .toolbarbutton-icon{
		  padding: 2px 0px !important; /*3 0*/
		  margin: 0px 0px !important;
		  margin: 0px 0px !important;
		}
		
		#main-window #navigator-toolbox #nav-bar #forward-button > .toolbarbutton-icon{
		  padding: 2px 0px !important;
		  margin: 0px !important;
		}
	  
		#main-window #navigator-toolbox #nav-bar #back-button,
		#main-window #navigator-toolbox #nav-bar #forward-button{
		  margin: -1px 0 !important;
		}
	}

	#main-window #navigator-toolbox #nav-bar:-moz-locale-dir(ltr) #forward-button{
      margin-left: 4px !important;
	  margin-right: 4px !important;
	}
	#main-window #navigator-toolbox #nav-bar:-moz-locale-dir(rtl) #forward-button{
      margin-left: 4px !important;
	  margin-right: 4px !important;
	}

	@media (-moz-os-version: windows-win10) {
	  @media (max-resolution: 1.0dppx) {
		#main-window #navigator-toolbox #nav-bar #back-button > .toolbarbutton-icon{
		  padding: 2px 0px !important;
		  margin: 0px 0px !important;
		  margin: 0px 0px !important;
		}
		
		#main-window #navigator-toolbox #nav-bar #forward-button > .toolbarbutton-icon{
		  padding: 2px 0px !important;
		  margin: 0px !important;
		}
		
		#main-window #navigator-toolbox #nav-bar:-moz-locale-dir(ltr) #forward-button{
		  margin-left: 9px !important;
		}

		#main-window #navigator-toolbox #nav-bar:-moz-locale-dir(rtl) #forward-button{
		  margin-left: 9px !important;
		}
	  }
	}

	#nav-bar .toolbarbutton-1 {
	  -moz-appearance: toolbarbutton !important;
	  background: unset !important;
	  box-shadow: unset !important;
	}
	#nav-bar #urlbar-icons .toolbarbutton-1 {
	  -moz-appearance: none !important;
	}
	
	#navigator-toolbox #nav-bar:not([tabsontop="false"]) .toolbarbutton-1 > .toolbarbutton-menubutton-button,
	#navigator-toolbox #nav-bar:not([tabsontop="false"]) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
	#navigator-toolbox #nav-bar:not([tabsontop="false"]) .toolbarbutton-1 {
	  padding: 0px 0px !important;
      margin: 1px 0 !important;
	}
	
	#navigator-toolbox #nav-bar[tabsontop="false"] .toolbarbutton-1 > .toolbarbutton-menubutton-button,
	#navigator-toolbox #nav-bar[tabsontop="false"] .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
	#navigator-toolbox #nav-bar[tabsontop="false"] .toolbarbutton-1 {
	  padding: 0px 0px !important;
      margin: 1px 0 0 0 !important;
	}

	#navigator-toolbox:not([customizing]) #nav-bar-customization-target {
      -moz-padding-end: 3px !important;
      -moz-margin-end: -3px !important;
	}
	
	#main-window[inFullscreen][tabsontop="false"] #nav-bar {
	  margin-top: -1px !important;
	}
	

	@media not all and (-moz-windows-theme:aero) {

		#nav-bar .toolbarbutton-1:not([disabled]):hover {
		  box-shadow: inset 0px 0px 1px rgba(0,0,0,0.6),
					  inset 0px 0px 1px rgba(0,0,0,0.6),
					  inset 0px 0px 2px 0 rgba(255,255,255,1.0),
					  inset 0px 0px 2px 0 rgba(255,255,255,1.0),
					  inset 0px 0px 1px rgba(0,0,0,0.7),
					  inset 0px 0px 1px rgba(0,0,0,0.7),
					  inset 0px 12px 0px 0px rgba(255,255,255,0.5)  !important;
		  border-radius: 3px !important;
		}
		#nav-bar .toolbarbutton-1:not([disabled])[checked],
		#nav-bar .toolbarbutton-1:not([disabled])[open],
		#nav-bar .toolbarbutton-1:not([disabled]):active {
		  box-shadow: inset 0px 0px 1px rgba(0,0,0,0.7),
					  inset 0px 0px 4px rgba(0,0,0,0.7),
					  inset 0px 12px 0px 0px rgba(255,255,255,0.5) !important;
		  border-radius: 3px !important;
		}

	}
	
	#nav-bar .toolbarbutton-1 {
      min-width:22px !important;
    }
	#nav-bar #urlbar-icons .toolbarbutton-1 {
	  min-width: unset !important;
	}

    #urlbar-container,
	#urlbar-container *,
	#urlbar-wrapper,
	#urlbar,
	#urlbar *,
	#nav-bar * .toolbarbutton-icon,
	#nav-bar * {
	  clip-path: none !important;
	}

	#nav-bar #urlbar-container #back-button:not([cui-areatype="menu-panel"]) {
	  -moz-image-region: rect(0, 54px, 18px, 36px) !important;
	}
	
	#main-window[fx55plus="true"] #nav-bar #urlbar-container #back-button:not([cui-areatype="menu-panel"]) {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar.png") !important;
	}
	#main-window[fx55plus="true"] #nav-bar #urlbar-container #back-button:not([cui-areatype="menu-panel"]):-moz-lwtheme-brighttext {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar-inverted.png") !important;
	}
	
	@media (min-resolution: 1.1dppx) {
		#main-window #nav-bar #urlbar-container #back-button:not([cui-areatype="menu-panel"]) {
		  -moz-image-region: rect(0, 108px, 36px, 72px) !important;
		}
		#main-window[fx55plus="true"] #nav-bar #urlbar-container #back-button:not([cui-areatype="menu-panel"]) {
		  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar@2x.png") !important;
		}
		#main-window[fx55plus="true"] #nav-bar #urlbar-container #back-button:not([cui-areatype="menu-panel"]):-moz-lwtheme-brighttext {
		  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar-inverted@2x.png") !important;
		}
	}

	#nav-bar #urlbar-container #forward-button[disabled]{
	  visibility: visible !important;
	  opacity: 1.0 !important;
	}

    #navigator-toolbox #nav-bar #back-button[disabled] > .toolbarbutton-icon,
	#navigator-toolbox #nav-bar .toolbarbutton-menubutton-dropmarker > image,
	#navigator-toolbox #nav-bar toolbarbutton[type="menu-button"]:not([id="tiletabs-buttonmenu"]) > .toolbarbutton-menubutton-button .toolbarbutton-icon,
	#navigator-toolbox #nav-bar toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
	#navigator-toolbox #nav-bar .toolbarbutton-1:not(#restman-button):-moz-any(:hover ,[checked],[open],[type="menu-button"]) > .toolbarbutton-icon,
	#navigator-toolbox #nav-bar .toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-dropmarker::before{
	  -moz-appearance: none !important;
	  background: none !important;
	  background-image: none !important;
	  border-radius: 2.5px;
	  border-color: transparent !important;
	  box-shadow: none !important;
	  transition-property: none !important;
      transition-duration: 0ms !important;
	}   

	#nav-bar #back-button:not(:hover) > .toolbarbutton-icon,
	#nav-bar #forward-button:not(:hover) > .toolbarbutton-icon,
	#nav-bar #back-button:hover[disabled] > .toolbarbutton-icon,
	#nav-bar #forward-button:hover[disabled] > .toolbarbutton-icon{
	  -moz-appearance: none !important;
	  border: 0px solid transparent !important;
	  box-shadow: none !important;
	  background: none !important;
	}

	@media (max-resolution: 1.0dppx) {
		#main-window #nav-bar .toolbarbutton-menubutton-button > .toolbarbutton-icon,
		#main-window #nav-bar .toolbarbutton-1:not([type="menu"]) > .toolbarbutton-icon{
		  padding: 2px !important;
		}
		
		#main-window #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
		  padding: 2px !important;
		}
		  
		#main-window #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"] .toolbarbutton-icon,
		#main-window #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"] .toolbarbutton-menubutton-dropmarker{
		  padding: 0px !important;
		  margin: 0px !important;
		}

		#main-window #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"] .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
		  padding: 0 2px !important;
		}

		#main-window #nav-bar toolbarbutton[cui-areatype="toolbar"] > :-moz-any(#zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button) > .toolbarbutton-icon,
		#main-window #nav-bar :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button, #pocket-button):-moz-any([cui-areatype="toolbar"],:not([cui-areatype])) > .toolbarbutton-icon,
		#main-window #nav-bar :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button, #pocket-button):-moz-any([cui-areatype="toolbar"],:not([cui-areatype])) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
		#main-window #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
		  width: unset !important;;
		}

	}
	
	@media (min-resolution: 1.1dppx) {
		#main-window #nav-bar toolbarbutton[cui-areatype="toolbar"] > :-moz-any(#zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button) > .toolbarbutton-icon,
		#main-window #nav-bar :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button, #pocket-button):-moz-any([cui-areatype="toolbar"],:not([cui-areatype])) > .toolbarbutton-icon,
		#main-window #nav-bar :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button, #pocket-button):-moz-any([cui-areatype="toolbar"],:not([cui-areatype])) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
		#main-window #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
		#main-window[defaultfxtheme="true"] #nav-bar :-moz-any(#ctraddon_bookmarks-button,#ctraddon_history-button,#ctraddon_back-button,#ctraddon_forward-button,#ctraddon_stop-button,#ctraddon_reload-button,#ctraddon_ctr-button) > .toolbarbutton-icon {
		  width: 18px !important;
		  height: 18px !important;
		  padding: 0 !important;
		}

		#main-window #nav-bar #back-button:hover > .toolbarbutton-icon,
		#main-window #nav-bar #forward-button:hover > .toolbarbutton-icon,
		#main-window #nav-bar #back-button:not(:hover) > .toolbarbutton-icon,
		#main-window #nav-bar #forward-button:not(:hover) > .toolbarbutton-icon,
		#main-window #nav-bar #back-button:hover[disabled] > .toolbarbutton-icon,
		#main-window #nav-bar #forward-button:hover[disabled] > .toolbarbutton-icon{
		  -moz-appearance: none !important;
		  border: 1px solid transparent !important;
		  box-shadow: none !important;
		  background: none !important;
		}
		#main-window #nav-bar #urlbar-container #back-button,
		#main-window #nav-bar #urlbar-container #forward-button{
		  padding-top:2px !important;
		  padding-bottom:2px !important;
		  margin-top:2px !important;
		  margin-bottom:2px !important;
		}
	}

	/* START: urlbar border tweaking (default theme does not provide left urlbar border) */
	#main-window[defaultfxtheme="true"] #urlbar {
	  min-height: 24px;
	}

	#main-window[defaultfxtheme="true"] #urlbar,
	#main-window[defaultfxtheme="true"] .searchbar-textbox {
	  border: 1px solid ThreeDShadow !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar,
	  #main-window[defaultfxtheme="true"] .searchbar-textbox {
		border-color: rgba(0,0,0,.32) !important;
	  }
	}
	#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
	#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
	  border-color: rgba(0,0,0,.32) !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
		border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3) hsla(210,54%,20%,.27) !important;
	  }

	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
		border-color: Highlight !important;
	  }
	}
	
	/* Windows 10 tweaks */
	@media (-moz-os-version: windows-win10) {

		#urlbar-wrapper, #urlbar,
		.searchbar-textbox{
		  min-height: 24px !important;
		  height: 24px !important;
		  font-size: 12px !important;
		}
		
		#main-window[fx57plus="true"] #nav-bar-customization-target{
		  margin-top:1px;
		  margin-bottom:1px;
		}

		#urlbar{
		  padding-top: unset !important;
		  padding-bottom: unset !important;
		}
		#searchbar .searchbar-search-button {
		  margin-top:unset !important;
		  margin-bottom:unset !important;
		  padding-top: unset !important;
		  padding-bottom: unset !important;
		}
		
		#urlbar[pageproxystate="valid"] .verifiedDomain,
		#urlbar[pageproxystate="valid"] .verifiedIdentity {
		  background: unset !important;
		}
		
		#main-window[defaultfxtheme="true"] #urlbar,
		#main-window[defaultfxtheme="true"] .searchbar-textbox {
		  border: 1px solid hsl(0,0%,90%) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar,
		  #main-window[defaultfxtheme="true"] .searchbar-textbox {
			border-color: hsl(0,0%,90%) !important;
		  }
		}
		#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
		#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
		  border-color: rgba(0,0,0,.32) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,90%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:hover:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:hover:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,80%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
			border-color: Highlight !important;
		  }
		}
		
		#navigator-toolbox #nav-bar .toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-dropmarker {
		  margin-top: -3px !important;
		  margin-bottom: -3px !important;
		}
		
		#main-window[defaultfxtheme="true"] #urlbar,
		#main-window[defaultfxtheme="true"] .searchbar-textbox,
		#main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
		#main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
		  box-shadow: unset !important;
		}

	}
	/* END: urlbar border tweaking (default theme does not provide left urlbar border) */

	#nav-bar #ctraddon_appbutton > .toolbarbutton-icon {
	  padding-left: 0px !important;
	  padding-right: 0px !important;
	  margin-left: 0px !important;
	  margin-right: 0px !important;
	}

	/* tweaks for text/full modes */
	#nav-bar[mode="text"] toolbarbutton .toolbarbutton-text,
	#nav-bar[mode="full"] toolbarbutton .toolbarbutton-text {
	  background: none !important;
	  box-shadow: none !important;
	  border: unset !important;
	}
	
	/* default badge buttons: loop/panelUI */
	#nav-bar #PanelUI-menu-button .toolbarbutton-badge,
	#nav-bar #PanelUI-menu-button .toolbarbutton-badge-container,
	#nav-bar #loop-button .toolbarbutton-badge,
	#nav-bar #loop-button .toolbarbutton-badge-container,
	#nav-bar #loop-button-throttled .toolbarbutton-badge,
	#nav-bar #loop-button-throttled .toolbarbutton-badge-container{
	  padding:0 !important;
	}

	/*buttons with SVG images*/
	#nav-bar .toolbarbutton-1[image$="svg"] .toolbarbutton-icon {
	  max-width: 22px !important;
	  max-height: 22px !important;
	  width: auto !important;
	  height: auto !important;
	}

	/*Jetpacks toggle & action buttons support*/
	#nav-bar toolbarbutton[id^="action-button-"] .toolbarbutton-icon,
	#nav-bar toolbarbutton[id^="toggle-button-"] .toolbarbutton-icon {
	  width:16px !important;
	}

	#nav-bar toolbarbutton .toolbarbutton-badge,
	#nav-bar toolbarbutton .toolbarbutton-badge-container,
	#nav-bar toolbarbutton .toolbarbutton-badge-stack {
	  box-shadow: none !important;
	  border: 0 !important;
	  padding: 0 !important;
	  margin: 0 !important;
	}

	#navigator-toolbox #nav-bar toolbarbutton .toolbarbutton-badge-stack {
	  padding-right: 1px !important;
      padding-left: 1px !important;
	  margin-right: 2px !important;
      margin-left: 2px !important;
	}
	
	#navigator-toolbox #nav-bar toolbarbutton .toolbarbutton-badge-stack .toolbarbutton-badge {
      min-width: 0px !important;
	  width: 10px !important;
      font-size:75% !important;
	  margin-top: -4px !important;
	  -moz-margin-end: -3px !important;
	}

	#nav-bar toolbarbutton .toolbarbutton-badge-container,
	#nav-bar toolbarbutton .toolbarbutton-badge-stack {
	  background: none !important;
	}
	
	/*Feedly Notifier support*/
	#nav-bar toolbaritem[id="widget:jid1-BOjn8b0IM7kH2w@jetpack-main-widget"] {
      min-width:0px !important;
      width:22px !important;
      min-height:0px !important;
      height:16px !important;
	  padding: 0 !important;
	  margin: 1px !important;
	}

	/* The Fox, only better add-on support*/
	#navigator-toolbox[slimChrome="true"] #nav-bar{
	  padding-bottom:2px !important;
	}

	/* Disconnect */
	#nav-bar #disconnect-item #disconnect-badge{
	  margin-top:6px !important;
	}
	
	/* Ghostery */
	#nav-bar #ghostery-button .toolbarbutton-icon {
	  margin-top:2px !important;
	}
	#nav-bar #ghostery-button-badge{
	  margin-bottom:-3px !important;
	  -moz-margin-end: 0px !important;
	  padding: 0px !important;
	}

	/* zoom page add-on */
    #navigator-toolbox #nav-bar #zoompage-zoomdisplay-s,
    #navigator-toolbox #nav-bar #zoompage-zoomin-s,
    #navigator-toolbox #nav-bar #zoompage-zoomout-s,
    #navigator-toolbox #nav-bar #zoompage-zoomdisplay-t,
    #navigator-toolbox #nav-bar #zoompage-zoomout-t,
    #navigator-toolbox #nav-bar #zoompage-zoomin-t {
      -moz-appearance: none !important;
    }

	#nav-bar #zoompage-zoomout-s image,
	#nav-bar #zoompage-zoomin-s image,
	#nav-bar #zoompage-zoomout-t image,
	#nav-bar #zoompage-zoomin-t image{
	  padding:1px !important;
	}
	
	#navigator-toolbox #nav-bar #zoompage-zoomin-c,
	#navigator-toolbox #nav-bar #zoompage-zoomout-c,
	#navigator-toolbox #nav-bar #zoompage-zoomin-n,
	#navigator-toolbox #nav-bar #zoompage-zoomout-n {
      -moz-appearance: none !important;
      margin-left:-4px !important;
      margin-right:-4px !important;
    }

	#nav-bar #zoompage-zoomin-c image,
	#nav-bar #zoompage-zoomdisplay-c image,
	#nav-bar #zoompage-zoomout-c image,
	#nav-bar #zoompage-zoomin-n image,
	#nav-bar #zoompage-zoomdisplay-n image,
	#nav-bar #zoompage-zoomout-n image{
	  padding:0px !important;
	}

	/* special buttons inside urlbars boxes */
	#urlbar #notification-popup-box + box toolbarbutton,
	#urlbar #notification-popup-box + box toolbarbutton .toolbarbutton-icon,
	#urlbar-icons toolbarbutton[type="menu"],
	#urlbar-icons toolbarbutton[type="menu"] .toolbarbutton-icon {
	  -moz-appearance: none !important;
	  padding-top: unset !important;
	  padding-bottom: unset !important;
	  margin-top: unset !important;
	  margin-bottom: unset !important;
	  border: unset !important;
	  box-shadow: unset !important;
	  background: unset !important;
	}

	/*Tile tabs tweaks*/
	#navigator-toolbox #nav-bar #tiletabs-buttonmenu .toolbarbutton-menubutton-button image {
      margin-right: unset !important;
      padding-right: unset !important;
	  padding: 0 !important;
	  -moz-margin-start: 1px !important;
	}
	
	/* LastPass tweaks */
	#nav-bar #lpt_lastpass-compact-btn .toolbarbutton-icon {
	  padding: unset !important;
	  margin: unset !important;
	  min-height: unset !important;
	  min-width: unset !important;
	}
	#nav-bar #lpt_lastpass-compact-btn {
	  margin: 1px !important;
	  min-height: unset !important;
	  min-width: unset !important;
	  height: unset !important;
	  width: unset !important;
	}
	
	/**/
	#main-window[fx56plus="true"] #nav-bar toolbarbutton[type="menu-button"] .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
	  padding: 0 !important;
	  -moz-padding-end: 2px !important;
	}
	
  /*Temporary Fx57 tweaks*/
  #main-window[fx57plus="true"] .searchbar-textbox,
  #main-window[fx57plus="true"] #urlbar-wrapper,
  #main-window[fx57plus="true"] #urlbar {
    min-height: 0px !important;
    height: 24px !important;
	font-size: 12px !important;
  }


  #main-window[fx57plus="true"] .searchbar-search-button{
    padding: unset !important;
    margin: 0 2px !important;
  }

  #main-window[fx57plus="true"] .search-go-button{
    margin: -1px -2px !important;
  }

  #main-window[fx57plus="true"] #connection-icon,
  #main-window[fx57plus="true"] #identity-icon{
	margin-top: -2px !important;
	margin-bottom: -1px !important;
  }

  @media (min-resolution: 1.1dppx) {
    #main-window[fx57plus="true"] #identity-icon-labels label {
      margin-top: -2px !important;
    }
  }
 
  #main-window[fx57plus="true"] #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]:not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
	margin: -1px 0 !important;
  }
}