/*
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: #fff; text-decoration:none; display:block; }
ul.newList {margin:0; padding:0; list-style:none; color:#fff; background:#fff; position:absolute; border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999;}
ul.newList li a {padding:1px 8px; display: block;}
ul.newList li a:focus {-moz-outline-style: none;}
.selectedTxt {width:258px; overflow:hidden; height:16px; padding:0 23px 0 0;}
.hiLite {background:#650101!important; color:#fff!important;}
.hiLite a {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 {position:absolute; top:8px; left:80px; background:#FFF url('../../images/select_box1_bg.jpg') right; border:1px solid #666666; color:#fff; height:18px; line-height:18px; width:120px; z-index:100;}
#win-xp .newListSelected div {position:absolute; top:0; left:0; display:block; margin:0; height: 18px; line-height:18px;  padding: 0 0 0 5px; text-align:left !important; width:120px;}
#win-xp ul.newList {position:absolute; list-style:none; color:#fff; width:120px; background:#141414; border:1px solid #666; top:22px; left:0; overflow:auto; text-align:left!important; z-index:100; }
#win-xp ul.newList li {padding:2px 5px!important; color: #fff;}
#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;}

/*======================================
windows xp style - regular width with shift
========================================*/
#win-xp-shift .newListSelected {position:absolute; top:8px; left:215px; background:#FFF url('../../images/select_box1_bg.jpg') right; border:1px solid #666666; color:#fff; height:18px; line-height:18px; width:120px; z-index:100;}
#win-xp-shift .newListSelected div {position:absolute; top:0; left:0; display:block; margin:0; height: 18px; line-height:18px;  padding: 0 0 0 5px; text-align:left !important; width:120px;}
#win-xp-shift ul.newList {position:absolute; list-style:none; color:#fff; width:120px; background:#141414; border:1px solid #666; top:22px; left:0; overflow:auto; text-align:left!important; z-index:100; }
#win-xp-shift ul.newList li {padding:2px 5px!important; color: #fff;}
#win-xp-shift .hiLite {background:#316ac5!important; color:#fff!important;}
#win-xp-shift .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#win-xp-shift .newListSelHover {cursor:default;}
#win-xp-shift .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}

/*======================================
windows xp style - regular width with shift2
========================================*/
#win-xp-shift2 .newListSelected {position:absolute; top:8px; left:105px; background:#FFF url('../../images/select_box1_bg.jpg') right; border:1px solid #666666; color:#fff; height:18px; line-height:18px; width:120px; z-index:100;}
#win-xp-shift2 .newListSelected div {position:absolute; top:0; left:0; display:block; margin:0; height: 18px; line-height:18px;  padding: 0 0 0 5px; text-align:left !important; width:120px;}
#win-xp-shift2 ul.newList {position:absolute; list-style:none; color:#fff; width:120px; background:#141414; border:1px solid #666; top:22px; left:0; overflow:auto; text-align:left!important; z-index:100; }
#win-xp-shift2 ul.newList li {padding:2px 5px!important; color: #fff;}
#win-xp-shift2 .hiLite {background:#316ac5!important; color:#fff!important;}
#win-xp-shift2 .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#win-xp-shift2 .newListSelHover {cursor:default;}
#win-xp-shift2 .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}

/*======================================
windows xp style - width larger
========================================*/
#win-xp-smaller .newListSelected {position:absolute; top:8px; left:80px; background:#FFF url('../../images/select_box1_bg.jpg') right; border:1px solid #666666; color:#fff; height:18px; line-height:18px; width:50px; z-index:100;}
#win-xp-smaller .newListSelected div {position:absolute; top:0; left:0; display:block; margin:0; height: 18px; line-height:18px;  padding: 0 0 0 5px; text-align:left !important; width:50px;}
#win-xp-smaller ul.newList {position:absolute; list-style:none; color:#fff; width:50px; background:#141414; border:1px solid #666; top:22px; left:0; overflow:auto; text-align:left!important; z-index:100; }
#win-xp-smaller ul.newList li {padding:2px 5px!important; color: #fff;}
#win-xp-smaller .hiLite {background:#316ac5!important; color:#fff!important;}
#win-xp-smaller .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#win-xp-smaller .newListSelHover {cursor:default;}
#win-xp-smaller .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}

/*======================================
windows xp style - width larger
========================================*/
#win-xp-larger .newListSelected {position:absolute; top:8px; left:80px; background:#FFF url('../../images/select_box1_bg.jpg') right; border:1px solid #666666; color:#fff; height:18px; line-height:18px; width:230px; z-index:100;}
#win-xp-larger .newListSelected div {position:absolute; top:0; left:0; display:block; margin:0; height: 18px; line-height:18px;  padding: 0 0 0 5px; text-align:left !important; width:230px;}
#win-xp-larger ul.newList {position:absolute; list-style:none; color:#fff; width:230px; background:#141414; border:1px solid #666; top:22px; left:0; overflow:auto; text-align:left!important; z-index:100; }
#win-xp-larger ul.newList li {padding:2px 5px!important; color: #fff;}
#win-xp-larger .hiLite {background:#316ac5!important; color:#fff!important;}
#win-xp-larger .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#win-xp-larger .newListSelHover {cursor:default;}
#win-xp-larger .newListSelHover, #win-xp .newListSelFocus {background-position:auto;}

