/*
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
====================================*/
ul.newList * {margin:0; padding:0;}
ul.newList a {color: #000; text-decoration:none; display:block;}
ul.newList {margin:0; padding:0; list-style:none; color:#000; width:54px; background:#fff; position:absolute;  border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999;}
.newListSelected {
	width:44px; 
	color:#000000; 
	height:16px;
	font-family:tahoma;
	font-size:10px; 
	padding:2px 0 0 10px; 
	float:left; 	
	background:url(bg_select_currency.gif) no-repeat;
}
.newListSelected span {width:54px; display:block;}
ul.newList li a {padding:3px 8px; display: block;}
ul.newList li a:focus {-moz-outline-style: none;}
.selectedTxt {width:54px; overflow:hidden; height:18px; padding:0 0px 0 0;}
.hiLite {background:#650101!important; color:#fff!important;}
.hiLite a {background:#650101!important; color:#fff!important;}
.newListHover {background:#cccccc; color:#000000; cursor:default;}
/*
.newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
*/
.newListOptionTitle {font-weight:bold;}
.newListOptionTitle ul {margin:3px 0 0;}
.newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}

/*======================================
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:54px;}
#win-xp .newListSelected div {display:block; font-size:0.85em; padding:2px 21px 2px 4px; text-align:left !important; width:54px;}
#win-xp ul.newList {list-style:none; color:#000; width:54px; 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;}

#div_sort_shopping ul.newList * {margin:0; padding:0;}
#div_sort_shopping ul.newList a {color: #a51c94; text-decoration:none; display:block;text-align:left;}
#div_sort_shopping ul.newList {margin:0; padding:0; list-style:none; color:#a51c94; width:76px; background:#f7e7ef; position:absolute;  border:0px solid #ccc; top:22px; left:0; overflow:visible; z-index:9999;}
#div_sort_shopping .newListSelected {
	width:76px; 
	color:#000000; 
	height:16px;
	font-family:tahoma;
	font-size:10px; 
	padding:2px 0 0 10px; 
	float:left;
	text-align:left; 	
	background:url(bg_select_box_sort.jpg) no-repeat;
}
#div_sort_shopping .newListSelected span {width:76px; display:block;}
#div_sort_shopping ul.newList li a {padding:3px 8px; display: block;}
#div_sort_shopping ul.newList li a:focus {-moz-outline-style: none;}
#div_sort_shopping .selectedTxt {width:76px; overflow:hidden; height:18px; padding:0 0px 0 0;}
#div_sort_shopping .hiLite {background:#f7e7ef!important; color:#a51c94!important;}
#div_sort_shopping .hiLite a {background:#f7e7ef!important; color:#a51c94!important;}
#div_sort_shopping .newListHover {background:#f7e7ef; color:#a51c94; cursor:default;}
/*
.newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
*/
#div_sort_shopping .newListOptionTitle {font-weight:bold;}
#div_sort_shopping .newListOptionTitle ul {margin:3px 0 0;}
#div_sort_shopping .newListOptionTitle li {font-weight:normal; border-left:0px solid #ccc;}
