/*
Stylish Select 0.2.3 - jQuery 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

Licensed under the GPL license:
http://www.gnu.org/licenses/gpl.html
*/

/*==================================
red curvy example
====================================*/
ul.newList * {margin:0; padding:0;}
ul.newList
{
	margin:0;
	padding:0;
	list-style:none;
	color:#000;
	width:240px;
	background:#fff;
	position:absolute;
	display:none;
	border:1px solid #ccc;
	top: 35px;
	left: 6px;
	overflow:auto;
	z-index:9999;	
}
.newListSelected {width:285px; color:#000; height:19px; padding:3px 0 0 6px; float:left; }
.newListSelected:hover {background-position:0 -22px;}
.newListSelected span {width:284px; display:block;}
ul.newList li {padding:3px 8px;}
.selectedTxt
{
	width: 230px;
	overflow:hidden;
	height: 25px;
	padding-top: 10px;
	padding-left: 10px;
	background-color: #000000;
	border: 1px solid #96D58D;
	color: #96D58D;
	margin-top: 10px;
	background-image:url(/images/fleche.gif);
	background-position:210px 50%;
	background-repeat: no-repeat;
}

.hiLite {background:#96D58D!important; color:#fff!important;}
.newListHover {background:#ccc!important; color:#000!important; cursor:default;}
.newListSelHover {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:173px;}
#win-xp .newListSelected div {display:block; font-size:0.85em; padding:2px 4px; text-align:left !important; width:146px;}
#win-xp ul.newList {list-style:none; color:#000; width:172px; background:#fff; display:none; 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;}