/*
Stylish Select 0.4.1 - $ plugin to replace a select drop down box with a stylable unordered list
http://scottdarby.com/

Copyright (c) 2009 Scott Darby

Requires: jQuery 1.3 or newer

Dual licensed under the MIT and GPL licenses.

*/

/*==================================
Hide lists on page load
====================================*/

.stylish-select ul.newList {left:-9999px;}

/*==================================
red curvy example
====================================*/
#usedSearch ul.newList *, #homeSearchForm ul.newList *, #usedSearch .otherOpts ul.newList * {margin:0; padding:0;}
#usedSearch ul.newList a, #homeSearchForm ul.newList a, #usedSearch .otherOpts ul.newList a {color: #000; text-decoration:none; display:block;}
#usedSearch ul.newList, #homeSearchForm ul.newList, #usedSearch .otherOpts  ul.newList {margin:0; padding:0; list-style:none; color:#000; width:121px; background:#fff; position:absolute; border:1px solid #ccc; top:22px; left:0; overflow:hidden; z-index:9999;}
	#usedSearch ul.newList {width:154px;}
	#usedSearch .otherOpts ul.newList {width:71px;}
	#homeSearchForm ul.newList {width:121px;}

#usedSearch .newListSelected, #homeSearchForm .newListSelected, #usedSearch .otherOpts .newListSelected {color:#000; font-size:11px; height:19px; padding:3px 0 0 6px; float:left;}
	#usedSearch .newListSelected {width:158px; background:url(../images/used/selectBg.png) no-repeat;}
	#usedSearch .otherOpts .newListSelected {width:71px; background:url(../images/used/selectBgSm.png) no-repeat;}
	#homeSearchForm .newListSelected {width:121px; background:url(../images/selectBg.png) no-repeat;}

#usedSearch .newListSelected span, #homeSearchForm .newListSelected span, #usedSearch .otherOpts .newListSelected span {display:block;}
	#usedSearch .newListSelected span {width:123px; }
	#usedSearch .otherOpts .newListSelected span {width:71px; }
	#homeSearchForm .newListSelected span {width:121px;}
	
#usedSearch ul.newList li a, #homeSearchForm ul.newList li a, #usedSearch .otherOpts ul.newList li a {padding:3px 8px; display: block;}
#usedSearch ul.newList li a:focus, #homeSearchForm ul.newList li a:focus, #usedSearch .otherOpts ul.newList li a:focus {-moz-outline-style: none;}

#usedSearch .selectedTxt, #homeSearchForm .selectedTxt, #usedSearch .otherOpts .selectedTxt {width:95px; overflow:hidden; height:16px; padding:0 23px 0 0;}
	#usedSearch .selectedTxt {width:135px; overflow:hidden; height:16px; padding:0 23px 0 0;}
	#homeSearchForm .selectedTxt {width:95px; overflow:hidden; height:16px; padding:0 23px 0 0;}

#usedSearch .hiLite, #homeSearchForm .hiLite, #usedSearch .otherOpts .hiLite {background:#666!important; color:#fff!important;}
#usedSearch .hiLite a, #homeSearchForm .hiLite a, #usedSearch .otherOpts .hiLite a {background:#666!important; color:#fff!important;}
#usedSearch .newListHover, #homeSearchForm .newListHover, #usedSearch .otherOpts .newListHover {background:#ccc!important; color:#000!important; cursor:default;}

.newListSelected:focus {
	outline: none;
}

/*======================================
windows xp style - div that contains the
<select> has been given an id of #win-xp
(for the purposes of this example
========================================*/
#win-xp .newListSelected {background:#FFF url(dropdown.gif) no-repeat scroll 155px 1px; border:1px solid #A5ACB2; color:#000; height:17px; margin-bottom:10px; padding:0; width:173px;}
#win-xp .newListSelected div {display:block; font-size:0.85em; padding:2px 21px 2px 4px; text-align:left !important; width:149px;}
#win-xp ul.newList {list-style:none; color:#000; width:172px; background:#fff; border:1px solid #000; top:22px; left:0; height:auto; overflow:auto; font-size: 0.85em; text-align:left!important; position:absolute; z-index:9999;}
#win-xp ul.newList li {padding:2px 5px!important; border-bottom: 1px solid #cccccc;}
#win-xp .hiLite {background:#316ac5!important; color:#fff!important;}
#win-xp .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#win-xp .newListSelHover {cursor:default;}
#win-xp .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}
#win-xp .newListSelHover div, #win-xp .newListSelFocus div {font-weight:bold;}
