/*
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:180px; background:#fff; position:absolute;  border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999; }
.newListSelected {width:186px; color:#000; height:19px; padding:3px 0 0 6px; float:left; background:url(../images/misc/select/select-bg.png) no-repeat;}
.newListSelected span {width:174px; display:block;}
ul.newList li a {padding:3px 8px; display: block;}
ul.newList li a:focus {-moz-outline-style: none;}
.selectedTxt {width:148px; overflow:hidden; height:16px; padding:0 23px 0 0;}
.hiLite {background:#CC0000!important; color:#fff!important;}
.hiLite a {background:#CC0000!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;}

/*==================================
red curvy example
====================================*/
.produkt ul.newList * {margin:0; padding:0; }
.produkt ul.newList a {color: #000; text-decoration:none; display:block;}
.produkt ul.newList {margin:0; padding:0; list-style:none; color:#000; width:205px; background:#fff; position:absolute;  border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999; }
.produkt .newListSelected {width:206px; color:#000; height:19px; padding:3px 0 0 6px; float:left; background:url(../images/misc/select/select-bg-grey.png) no-repeat;}
.produkt .newListSelected span {width:199px; display:block;}
.produkt ul.newList li a {padding:3px 8px; display: block;}
.produkt ul.newList li a:focus {-moz-outline-style: none;}
.produkt .selectedTxt {width:173px; overflow:hidden; height:16px; padding:0 23px 0 0;}
.produkt .hiLite {background:#CC0000!important; color:#fff!important;}
.produkt .hiLite a {background:#CC0000!important; color:#fff!important;}
.produkt .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
.produkt .newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
.produkt .newListOptionTitle {font-weight:bold;}
.produkt .newListOptionTitle ul {margin:3px 0 0;}
.produkt .newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}

/*==================================
red curvy example
====================================*/
#sortorder ul.newList * {margin:0; padding:0; }
#sortorder ul.newList a {color: #000; text-decoration:none; display:block;}
#sortorder ul.newList {margin:0; padding:0; list-style:none; color:#FFF; width:115px; background:#fff; position:absolute;  border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999; }
#sortorder .newListSelected { font-size: 10px; width:116px; color:#FFF; height:17px; padding:5px 0 0 6px; float:left; background:url(../images/misc/select/select-bg-sort.png) no-repeat;}
#sortorder .newListSelected span {width:109px; display:block;}
#sortorder ul.newList li a {padding:3px 8px; display: block;}
#sortorder ul.newList li a:focus {-moz-outline-style: none;}
#sortorder .selectedTxt {width:83px; overflow:hidden; height:16px; padding:0 23px 0 0;}
#sortorder .hiLite {background:#CC0000!important; color:#fff!important;}
#sortorder .hiLite a {background:#CC0000!important; color:#fff!important;}
#sortorder .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#sortorder .newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
#sortorder .newListOptionTitle {font-weight:bold;}
#sortorder .newListOptionTitle ul {margin:3px 0 0;}
#sortorder .newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}

/*==================================
select bg number
====================================*/
#rowcount ul.newList * {margin:0; padding:0; }
#rowcount ul.newList a {color: #000; text-decoration:none; display:block;}
#rowcount ul.newList {margin:0; padding:0; list-style:none; color:#FFF; width:55px; background:#fff; position:absolute;  border:1px solid #ccc; top:22px; left:0; overflow:auto; z-index:9999; }
#rowcount .newListSelected { font-size: 10px; width:56px; color:#FFF; height:17px; padding:5px 0 0 6px; float:left; background:url(../images/misc/select/select-bg-number.png) no-repeat;}
#rowcount .newListSelected span {width:49px; display:block;}
#rowcount ul.newList li a {padding:3px 8px; display: block;}
#rowcount ul.newList li a:focus {-moz-outline-style: none;}
#rowcount .selectedTxt {width:23px; overflow:hidden; height:16px; padding:0 23px 0 0;}
#rowcount .hiLite {background:#CC0000!important; color:#fff!important;}
#rowcount .hiLite a {background:#CC0000!important; color:#fff!important;}
#rowcount .newListHover {background:#ccc!important; color:#000!important; cursor:default;}
#rowcount .newListSelHover, .newListSelFocus {background-position:0 -22px; cursor:default;}
#rowcount .newListOptionTitle {font-weight:bold;}
#rowcount .newListOptionTitle ul {margin:3px 0 0;}
#rowcount .newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}