/*
Stylish Select 0.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
*/


/*==================================
remove default focus style
====================================*/
:focus {outline:none;}

.js ul.newList {left:-9999px;}

/*==================================
red curvy example
====================================*/
ul.newList * {margin:0; padding:0;}
ul.newList {margin:0; padding:0; list-style:none; color:#000; width:290px; background:#fff; position:absolute;  border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999;}
.newListSelected {width:285px; color:#000; height:19px; padding:3px 0 0 6px; float:left; background:url(select-bg.png) no-repeat;}
.newListSelected span {width:284px; display:block;}
ul.newList li {padding:3px 8px;}
.selectedTxt {width:258px; overflow:hidden; height:16px; padding:0 23px 0 0;}
.hiLite {background:#650101!important; color:#fff!important;}
.newListHover {background:#ccc!important; color:#000!important; cursor:default;}
.newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
.newListOptionTitle {font-weight:bold;color:#b64d52}
.newListOptionTitle ul {margin:3px 0 0;}
.newListOptionTitle li {font-weight:normal; border-left:none; color: #000}

/*======================================
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 110px -1px; border:1px solid #A5ACB2; color:#000; height:18px;_height:20px; margin-bottom:10px; padding:0; width:130px;}
#win-xp .newListSelected div {display:block; font-size:12px; padding:2px 21px 0px 4px; text-align:left !important; width:130px;}
#win-xp ul.newList {list-style:none; color:#000; width:130px; background:#fff; border:1px solid #000; top:22px; left:0;  overflow:auto; font-size: 12px; text-align:left!important; position:absolute; z-index:9999;}
#win-xp ul.newList li {padding:2px 5px!important; border-bottom: none;}
#win-xp .hiLite {background:#316ac5!important; color:#fff!important;}
#win-xp .newListHover {background:#ccc!important; color:#000!important; cursor:hand;}
#win-xp .newListSelHover {cursor:default;}
#win-xp .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}
#win-xp .newListSelHover div, #win-xp .newListSelFocus div {}


#win-xp2 .newListSelected {background:#FFF url(dropdown.gif) no-repeat scroll 40px -1px; border:1px solid #A5ACB2; color:#000; height:18px;_height:20px; margin-bottom:10px; padding:0; width:60px;}
#win-xp2 .newListSelected div {display:block; font-size:12px; padding:2px 21px 0px 4px; text-align:left !important; width:60px;}
#win-xp2 ul.newList {list-style:none; color:#000;height:300px; width:60px; background:#fff; border:1px solid #000; top:22px; left:0; height:auto; overflow:auto;font-size: 12px; text-align:left!important; position:absolute; z-index:9999;}
#win-xp2 ul.newList li {padding:2px 5px!important; border-bottom: none;}
#win-xp2 .hiLite {background:#316ac5!important; color:#fff!important;}
#win-xp2 .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#win-xp2 .newListSelHover {cursor:default;}
#win-xp2 .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}
#win-xp2 .newListSelHover div, #win-xp .newListSelFocus div {}


div.selCont_search .newListSelected { background:#FFF url(dropdown.gif) no-repeat scroll 230px -1px; border:1px solid #A5ACB2; color:#000; height:18px;_height:20px; margin-bottom:10px; padding:0; width:250px;}
div.selCont_search .newListSelected div {display:block; font-size:12px; padding:2px 21px 0px 4px; text-align:left !important; width:250px;}
div.selCont_search ul.newList {list-style:none; color:#000; width:250px; background:#fff; border:1px solid #000; top:22px; left:0;  overflow:auto; font-size: 12px; text-align:left!important; position:absolute; z-index:9999;}
div.selCont_search ul.newList li {padding:2px 5px!important; border-bottom: none}
div.selCont_search .hiLite {background:#316ac5!important; color:#fff!important;}
div.selCont_search .newListHover {background:#ccc!important; color:#000!important; cursor:hand;}
div.selCont_search .newListSelHover {cursor:default;}
div.selCont_search .newListSelHover, div.selCont_search .newListSelFocus {background-position:auto;}
div.selCont_search .newListSelHover div, div.selCont_search .newListSelFocus div {}


