/*
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:60px; background:#fff; position:absolute;  border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999;}
.selectLarge ul.newList { width: 268px }
.selectMedium ul.newList { width: 128px }
.selectMediumShort ul.newList { width: 98px }
.newListSelected {width:69px; color:#000; height:19px; padding:0; float:left; background:url(/img/select_small.png) no-repeat;position: relative !important; cursor: pointer;}
.selectLarge .newListSelected {width:270px; color:#000; height:19px; padding:0; float:left; background:url(/img/select_large.png) no-repeat;}
.selectMedium .newListSelected {width:130px; color:#000; height:19px; padding:0; float:left; background:url(/img/select_medium.png) no-repeat;}
.selectMediumShort .newListSelected {width:100px; color:#000; height:19px; padding:0; float:left; background:url(/img/select_medium_short.png) no-repeat;}
.newListSelected span {width:284px; display:block;}
ul.newList li a {padding:3px 8px; display: block;}
ul.newList li a:focus {-moz-outline-style: none;}
.selectLarge .selectedTxt {width: 248px;overflow: hidden;height: 18px;padding: 0 20px 0 2px;}
.selectMedium .selectedTxt {width: 128px;overflow: hidden;height: 18px;padding: 0 20px 0 2px;}
.selectMediumShort .selectedTxt {width: 78px;overflow: hidden;height: 18px;padding: 0 20px 0 2px;}
.selectedTxt {width:50px; overflow:hidden; height:16px; padding:0 23px 0 0;line-height: 19px; color: gray;}
.hiLite {background:#87AF1C!important; color:#fff!important;}
.hiLite a {background:#87AF1C!important; color:#fff!important;}
.newListHover {background:#ccc!important; color:#000!important; cursor:default;}
.newListSelHover, .newListSelFocus {background-position:0 -19px; cursor:default;}
.newListOptionTitle {font-weight:bold;}
.newListOptionTitle ul {margin:3px 0 0;}
.newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}

.newListSelected .newList { position: absolute; display: block; clear: both; overflow: hidden; border: 1px solid #CBCBCB; z-index: 1000; margin: 0 !important; }
.newListSelected .newList li { clear: both; display: block; z-index: 1000; background: #FFF; float: none !important; width: auto; padding: 0 !important; margin: 0; border: 0 none; }
.newListSelected .newList li a { display: block; padding: 2px 5px; color: #373737; z-index: 1000; float: none !important; }
.newListSelected .newList li a:hover { background: #E1E1E1; text-decoration: none; color: #373737; }
.newListSelected .newList li .hiLite { background: #373737; color: #FFF; }

/*======================================
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(/js/select/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 21px 2px 4px; text-align:left !important; width:149px;}
#win-xp ul.newList {list-style:none; color:#000; width:172px; 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;}