/*
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:#343434; 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;}
.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.jpg) no-repeat scroll 222px 0px;  border:1px solid #CCCCCC; color:#666666; height:18px; margin-bottom:0px; line-height:17px; padding:0; width:240px;}
#win-xp .newListSelected div {display:block; font-family:Verdana, Helvetica, sans-serif; font-size:11px; height:16px; padding:1px 21px 1px 4px; text-align:left !important; width:215px;}
#win-xp ul.newList {list-style:none; color:#666666; font: Verdana, Helvetica, sans-serif; width:240px; background:#fff; border:1px solid #CCCCCC; top:22px; left:0; height:auto; font-size: 11px; text-align:left!important; position:absolute; z-index:9999;}
#win-xp ul.newList li {padding:2px 5px!important; border-bottom: 0px solid #cccccc; height:17px;}
#win-xp .hiLite {background:#fff!important; color:#666666!important; }
#win-xp .newListHover {background:#F4F4F4!important; color:#343434!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:normal;}


#winxp .newListSelected {background:#FFF url(dropdown.jpg) no-repeat scroll 45px 0px;  border:1px solid #CCCCCC; color:#343434; height:17px; margin-bottom:0px; line-height:17px; padding:0; width:66px;}
#winxp .newListSelected div {display:block; font-size:12px; height:16px; padding:2px 21px 2px 4px; text-align:left !important; width:50px;}
#winxp ul.newList {list-style:none; color:#343434; width:66px; background:#fff; border:1px solid #CCCCCC; top:22px; left:0; height:auto; overflow:auto; font-size: 12px; text-align:left!important; position:absolute; z-index:9999;}
#winxp ul.newList li {padding:2px 5px!important; border-bottom: 0px solid #cccccc; height:17px;}
#winxp .hiLite {background:#fff!important; color:#343434!important; height:17px; vertical-align:top;}
#winxp .newListHover {background:#ccc!important; color:#343434!important; cursor:default;}
#winxp .newListSelHover {cursor:default;}
#winxp .newListSelHover, #winxp .newListSelFocus {background-position:auto;}
#winxp .newListSelHover div, #winxp .newListSelFocus div {font-weight:normal;}




#winxp_floatleft .newListSelected {background:#FFF url(dropdown.jpg) no-repeat scroll 115px 0px;  border:1px solid #CCCCCC; color:#343434; height:17px; margin-bottom:0px; line-height:17px; padding:0; width:136px;}
#winxp_floatleft .newListSelected div {display:block; font-size:12px; height:16px; padding:2px 21px 2px 4px; text-align:left !important; width:140px;}
#winxp_floatleft ul.newList {list-style:none; color:#343434; width:136px; background:#fff; border:1px solid #CCCCCC; top:22px; left:0; height:auto; overflow:auto; font-size: 12px; text-align:left!important; position:absolute; z-index:9999;}
#winxp_floatleft ul.newList li {padding:2px 5px!important; border-bottom: 0px solid #cccccc; height:17px;}
#winxp_floatleft .hiLite {background:#fff!important; color:#343434!important; height:17px; vertical-align:top;}
#winxp_floatleft .newListHover {background:#ccc!important; color:#343434!important; cursor:default;}
#winxp_floatleft .newListSelHover {cursor:default;}
#winxp_floatleft .newListSelHover, #winxp_floatleft .newListSelFocus {background-position:auto;}
#winxp_floatleft .newListSelHover div, #winxp_floatleft .newListSelFocus div {font-weight:normal;}





#win-reg .newListSelected {background:#FFF url(dropdown.jpg) no-repeat scroll 72px 0px;  border:1px solid #CCCCCC; color:#343434; height:17px; margin-bottom:0px; line-height:17px; padding:0; width:90px;}
#win-reg .newListSelected div {display:block; font-size:12px; height:16px; padding:2px 21px 2px 4px; text-align:left !important; width:90px;}
#win-reg ul.newList {list-style:none; color:#343434; width:90px; background:#fff; border:1px solid #CCCCCC; top:22px; left:0; height:auto; overflow:auto; font-size: 12px; text-align:left!important; position:absolute; z-index:9999;}
#win-reg ul.newList li {padding:2px 5px!important; border-bottom: 0px solid #cccccc; height:17px; width:72px;}
#win-reg .hiLite {background:#fff!important; color:#343434!important; }
#win-reg .newListHover {background:#ccc!important; color:#343434!important; cursor:default;}
#win-reg .newListSelHover {cursor:default;}
#win-reg .newListSelHover, #win-reg .newListSelFocus {background-position:auto;}
#win-reg .newListSelHover div, #win-reg .newListSelFocus div {font-weight:normal;}


#win-xp1 .newListSelected {background:#FFF url(dropdown.jpg) no-repeat scroll 72px 0px;  border:1px solid #CCCCCC; color:#666666; height:18px; margin-bottom:0px; line-height:17px; padding:0; width:90px;}
#win-xp1 .newListSelected div {display:block; font-family:Verdana, Helvetica, sans-serif; font-size:11px; height:16px; padding:1px 21px 1px 4px; text-align:left !important; width:215px;}
#win-xp1 ul.newList {list-style:none; color:#666666; font: Verdana, Helvetica, sans-serif; width:90px; background:#fff; border:1px solid #CCCCCC; top:22px; left:0; height:auto; font-size: 11px; text-align:left!important; position:absolute; z-index:9999;}
#win-xp1 ul.newList li {padding:2px 5px!important; border-bottom: 0px solid #cccccc; height:17px;}
#win-xp1 .hiLite {background:#fff!important; color:#666666!important; }
#win-xp1 .newListHover {background:#F4F4F4!important; color:#343434!important; cursor:default;}
#win-xp1 .newListSelHover {cursor:default;}
#win-xp1 .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}
#win-xp1 .newListSelHover div, #win-xp .newListSelFocus div {font-weight:normal;}

