xpi/content/css/alt_autocompl_items.css
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://browser/content/browser.xul) {
	
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[actiontype="visiturl"],
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[actiontype="visiturl"],
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[actiontype="searchengine"],
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[actiontype="searchengine"],
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[type="autofill heuristic"],
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[type="autofill heuristic"],
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[actiontype="keyword"],
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[actiontype="keyword"] {
	  display:none !important;
	}
	
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[actiontype="visiturl"] + richlistitem:not([collapse="true"]),
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[actiontype="visiturl"] + richlistitem:not([collapse="true"]),
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[actiontype="searchengine"] + richlistitem:not([collapse="true"]),
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[actiontype="searchengine"] + richlistitem:not([collapse="true"]),
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[type="autofill heuristic"] + richlistitem:not([collapse="true"]),
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[type="autofill heuristic"] + richlistitem:not([collapse="true"]),
	panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) richlistitem[actiontype="keyword"] + richlistitem:not([collapse="true"]),
	#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] richlistitem[actiontype="keyword"] + richlistitem:not([collapse="true"]) {
	  border-top: 1px solid transparent !important;
	  border-bottom: 1px solid transparent !important;
	}
	
	@media not all and (-moz-windows-classic) {
	
		panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) .autocomplete-richlistitem:not([collapse="true"]),
		#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistitem:not([collapse="true"]) {
		  margin: 0px 4px 0px 4px !important;
		}

		panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) .autocomplete-richlistitem:not([collapse="true"]):nth-of-type(2),
		#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistitem:not([collapse="true"]):nth-of-type(2) {
		  margin: 4px 4px 0px 4px !important;
		}

		panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) .autocomplete-richlistitem:not([collapse="true"]):last-of-type,
		#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistitem:not([collapse="true"]):last-of-type {
		  margin: 0px 4px 4px 4px !important;
		}

		panel[type="autocomplete-richlistbox"]:not(#PopupAutoComplete) .autocomplete-richlistbox,
		#PopupAutoCompleteRichResult[autocompleteinput="urlbar"] .autocomplete-richlistbox {
		  padding: 0 !important;
		}
		
	}

}