/*
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 !important;
	text-decoration:none;
	display:block;
}
ul.newList {
/* 	
	z-index is required so menu doesn't disappear behind left nav images 
*/
	z-index:9!important;

	margin:0;
	padding:0;
	list-style:none;
	color:#fff;

/* this is the width of the drop down part */
	width:151px;

	background:#4e4e4e;
	position:absolute;

/*	border:1px solid #333;*/
/* this controls the position of the drop down under the select box */
	top:22px!important;
	left:0;
	/*overflow:auto;*/

	/* This padding controls the highlight on mouseover the text */
	padding-right:10px!important;
	padding-bottom:5px!important;
}
.newListSelected {
	/* for IE6 */
	display:inline;

	width:179px;
	color:#fff;
	height:22px;
	padding:0;

	/* this is the margin to move select box from left edge */
	margin-left:15px;

	margin-top:10px;
	float:left;
	background:#fff;
	background:url(/img/select-bg-3.gif) no-repeat;
/* this uncentered the text in the stylish select box when it's closed */
	text-align:left !important;
	/* this is needed here as well as above for IE 
	z-index:1;
*/
}
.newListSelected span {
	width:140px;
	display:block;
	color:#000 !important;
}
ul.newList li.nodisplay {
	display:none;
}
/* CC Added this style so rollover makes text black so it stands out */
ul.newList li a:hover {
	color:#000!important;
	width:110px;
}
ul.newList li a {
	/*padding:3px 8px;*/
	padding:1px 20px 1px 2px !important;
	display: block;
	font-size:13px !important;
}
ul.newList li a:focus {
	-moz-outline-style: none;
	color:#000 !important;
}
.selectedTxt {
	/*width:179px;*/
/* Changed width so right column doesn't get shifted */
	width:140px;

	font-size:13px !important;
	overflow:hidden;
	height:16px;
	padding:2px 23px 0 0;
/* changed right padding to 0 */
	padding:4px 0px 0 0;
/* this moves the text over from the left edge in the select box
	when it's not clicked */
	margin-left:15px !important;
	margin-right:0px !important;
	
	/*
		z-index:1!important;
	*/
}

/*
.hiLite {background:#650101!important; color:#fff!important;}
.hiLite a {background:#650101!important; color:#fff!important;}
*/

.hiLite {
	background:#acacac!important;
	color:#fff!important;
	width:110px;
}
.hiLite a {
	background:#acacac!important;
	color:#fff!important;
	width:110px;
}
.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 around drop down 
	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(img/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;}
*/

