/*
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.

*/

BODY
{
/*	background:red;*/
}
/*==================================
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:110px; direction:rtl; text-align:right; background:#ffffff; position:absolute;  border:1px solid #ccc; top:22px; left:24px; overflow:auto; z-index:9999;}
ul.newList.searchBox {margin-left:6px; z-index:9999}

.newListSelected {width:135px; direction:ltr; color:#000; height:19px; padding:3px 6px 0 0; float:left; text-align:right; background:url(../images/hebrew/select-bg.png) no-repeat #FFFFFF; font-size:12px; font-family:Arial;}
.newListSelected.searchBox { background:url('../images/hebrew/bgr_searchBox.png') transparent no-repeat;  z-index:99999}
.newListSelected span {width:140px; display:block;}
ul.newList li a {padding:3px 8px; display: block;}
ul.newList li a:focus {-moz-outline-style: none;}
.selectedTxt {width:115px; overflow:hidden; height:16px; padding:0 10px 0 0; font-weight:bold;}
.hiLite {background:#FFF!important; color:#000!important;}
.hiLite a {background:#EEEEEE!important; color:#fff!important;}
.newListHover {background:#AAA!important; color:#FFF!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(../images/hebrew/dropdown.gif) no-repeat scroll 155px 1px; border:1px solid #A5ACB2; color:#000; height:17px; margin-bottom:10px; padding:0; width:140px;}
#win-xp .newListSelected div {display:block; font-size:0.85em; padding:2px 21px 2px 4px; text-align:right !important; width:129px;}
#win-xp ul.newList {list-style:none; color:#000; width:144px; background:#fff; border:1px solid #000; top:22px; left:20px; height:auto; overflow:auto; font-size: 0.85em; text-align:right!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;}