/*
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 * { cursor:pointer;margin:0; padding:0;}
ul.newList {margin:0; margin-top:3px;padding:0; list-style:none; color:#666666; width:210px; background:#FFFFFF; position:absolute;  border:1px solid #D8D8D8; top:22px; left:0; overflow:auto; z-index:9999;}
.newListSelected {width:205px; color:#666666; height:19px; padding:3px 0 0 6px; float:left; }
.newListSelected span {width:204px; display:block;}
ul.newList li {padding:3px 8px;}
.selectedTxt { cursor:pointer;width:178px; overflow:hidden; height:16px; padding:0 23px 0 0;}
.hiLite {background:#FFFFFF!important; color:#FF5700!important;}
.newListHover {background:#FFFFFF!important; color:#FF5700!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 #smallselect
(for the purposes of this example
========================================*/
.smallselect ul.newList * { cursor:pointer;margin:0; padding:0;}
.smallselect ul.newList {margin:0; margin-top:-1px; padding:0; list-style:none; color:#666666; width:127px; background:#FFFFFF; position:absolute;  border:1px solid #D8D8D8; top:22px; left:0; overflow:auto; z-index:9999;}
.smallselect .newListSelected {width:122px; color:#666666; height:19px; padding:3px 0 0 6px; float:left; }
.smallselect .newListSelected span {width:121px; display:block;}
.smallselect ul.newList li {padding:3px 8px;}
.smallselect .selectedTxt { cursor:pointer;width:95px; overflow:hidden; height:16px; padding:0 23px 0 0;}
.smallselect .hiLite {background:#FFFFFF!important; color:#FF5700!important;}
.smallselect .newListHover {background:#FFFFFF!important; color:#FF5700!important; cursor:default;}
.smallselect .newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
.smallselect .newListOptionTitle {font-weight:bold;}
.smallselect .newListOptionTitle ul {margin:3px 0 0;}
.smallselect .newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}
.smallselect { margin-top:-3px; }

.midselect ul.newList * { cursor:pointer;margin:0; padding:0;}
.midselect ul.newList {margin:0; margin-top:-1px; padding:0; list-style:none; color:#666666; width:227px; background:#FFFFFF; position:absolute;  border:1px solid #D8D8D8; top:22px; left:0; overflow:auto; z-index:9999;}
.midselect .newListSelected {width:222px; color:#666666; height:19px; padding:3px 0 0 6px; float:left; }
.midselect .newListSelected span {width:221px; display:block;}
.midselect ul.newList li {padding:3px 8px;}
.midselect .selectedTxt { cursor:pointer;width:195px; overflow:hidden; height:16px; padding:0 23px 0 0;}
.midselect .hiLite {background:#FFFFFF!important; color:#FF5700!important;}
.midselect .newListHover {background:#FFFFFF!important; color:#FF5700!important; cursor:default;}
.midselect .newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
.midselect .newListOptionTitle {font-weight:bold;}
.midselect .newListOptionTitle ul {margin:3px 0 0;}
.midselect .newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}
.midselect { margin-top:-3px; }
