/* Dropdown control */
.selectBox-dropdown {
	position: relative;
	line-height: 1.5;
	text-decoration: none;
	text-align: left;
	color: #555 !important;
	vertical-align: top;
	display: inline-block;
	zoom:1;
 *display:inline;
	cursor: default;
	border: 1px solid #dddddd;
	width:auto;
	height:auto;
	overflow:hidden;
	text-align:left;
}
.selectBox-dropdown:focus, .selectBox-dropdown:focus .selectBox-arrow {
	border-color: #dddddd;
}
.selectBox-dropdown .selectBox-label {
	padding: 4px 20px 4px 15px;
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
}
.selectBox-dropdown .selectBox-arrow {
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 100%;
	background: url(/images/arrow_select_white.png) 50% center no-repeat;
	border-left: solid 1px #dddddd;
}
/* Dropdown menu */
.selectBox-dropdown-menu {
	text-align:left;
	position: absolute;
	z-index: 999;
	min-height: 1em;
	max-height: 400px;
	width: auto !important;
	min-width:120px;
	/* should be the same border width as .selectBox-dropdown */
    background: #f0f0f0;
	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, .4);
	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .4);
	box-shadow: 0 2px 4px rgba(0, 0, 0, .4);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
/* Inline control */
.selectBox-inline {
	min-width: 150px;
	
	background: #ffffff;
	display: inline-block;
	overflow: auto;
}
.selectBox-inline:focus {
	border-color: #666;
}
/* Options */
.selectBox-options, .selectBox-options li, .selectBox-options li a {
	list-style: none;
	display: block;
	cursor: default;
	padding: 0;
	margin: 0;
}
.selectBox-options.selectBox-options-top {
	border-bottom:none;
	margin-top:1px;
}
.selectBox-options.selectBox-options-bottom {
	border-top:none;
}
/* drop options */
.selectBox-options li a {
	line-height: 1.5;
	padding: 2px 20px 3px 15px;
	white-space: nowrap;
	overflow: hidden;
	background: 6px center no-repeat;
	color:#000;
}
.selectBox-options li.selectBox-hover a {
	background-color: #5389C5;
	color:#fff;
}
.selectBox-options li.selectBox-disabled a {
	color: #666;
	background-color: #ccc;
}
.selectBox-options li.selectBox-selected a {
	background-color: #5389C5;
	color:#fff;
}
.selectBox-options .selectBox-optgroup {
	color: #fff;
	background: #EEE;
	font-weight: bold;
	line-height: 1.5;
	padding: 0 .3em;
	white-space: nowrap;
}
/* Disabled state */
.selectBox.selectBox-disabled {
	color: #aaa;
	background-color: #ddd;
	outline:none;
}
.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
	opacity: .3;
	filter: alpha(opacity=30);
	border-color: #999;
}
.selectBox-inline.selectBox-disabled {
	color: #666;
}
.selectBox-inline.selectBox-disabled .selectBox-options a {
	background-color: transparent;
}
