/* Dropdown control */
.selectBox-dropdown {
	padding:0;
	border:none;
	color:#222;
	position: relative;
	text-decoration:none;
	text-align:left;
	outline:none;
	vertical-align:middle;
	display:inline-block;
	cursor:pointer;
}
.selectBox-dropdown:hover {
	color:#111;
}

/* Text */
.selectBox-text {
	display:block;
	height:30px;
	margin:0 5px;
	padding-right:20px;
	background:#c9c9c9 url(../images/b-select_bg.gif) repeat-x 0 0;
}
.selectBox-dropdown:hover .selectBox-text {
	background-position:0 -100px;
}
.selectBox-dropdown.selectBox-menuShowing .selectBox-text {
	background-position:0 -200px;
	
}
.selectBox-dropdown .selectBox-label {
	padding:0 5px;
	display:block;
	white-space:nowrap;
	overflow:hidden;
}

/* Side */
.selectBox-side {
	position:absolute;
	top:0;
	height:100%;
	width:5px;
	background:no-repeat 0 0;
}
.selectBox-dropdown:hover .selectBox-side {
	background-position:0 -100px;
}
.selectBox-dropdown.selectBox-menuShowing .selectBox-side {
	background-position:0 -200px;
}
.selectBox-left-side {
	left:0;
	background-image:url(../images/b-select_left.png);
}
.selectBox-right-side {
	right:0;
	background-image:url(../images/b-select_right.png);
}


.b-select_size_medium .selectBox-text {
	height:40px;
	background-image:url(../images/b-select_size_medium_bg.gif);
}
.b-select_size_medium .selectBox-left-side {
	background-image:url(../images/b-select_size_medium_left.png);
}
.b-select_size_medium .selectBox-right-side {
	background-image:url(../images/b-select_size_medium_right.png);
}





.selectBox-dropdown.selectBox-menuShowing {
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-bottomright: 0;
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.selectBox-dropdown .selectBox-arrow {
	position:absolute;
	top:50%;
	right:10px;
	width:9px;
	height:7px;
	margin-top:-3px;
	background:url(../images/b-select_arrow.gif) no-repeat;
}


/* Dropdown menu */
.selectBox-dropdown-menu {
	position: absolute;
	margin:3px 0 0 0;
	z-index: 99999;
	max-height:200px;
	min-height:1em;
	overflow:auto;
	border:1px solid #BBB;
	background:#FFF;
	/* box-shadow */
	-webkit-box-shadow:0 1px 2px #BBB;
	-moz-box-shadow:0 1px 2px #BBB;
	box-shadow:0 1px 2px #BBB;
	/* box-shadow */
	-webkit-box-shadow:0 1px 2px rgba(0,0,0, 0.25);
	-moz-box-shadow:0 1px 2px rgba(0,0,0, 0.25);
	box-shadow:0 1px 2px rgba(0,0,0, 0.25);
}


/* Inline control */
.selectBox-inline {
	min-width: 150px;
	outline: none;
	border: solid 1px #BBB;
	background: #FFF;
	display: inline-block;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	overflow: auto;
}
.selectBox-inline:focus {
	border-color: #666;
}


/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
	display:block;
}
.selectBox-options {
	padding-top:1px;
}
.selectBox-options LI {
	padding:0 1px 1px;
}
.selectBox-options LI A {
	padding:5px 9px;
	text-decoration:none;
	white-space:nowrap;
	overflow:hidden;
	cursor:pointer;
	color:#0f629e;
}

.selectBox-options LI.selectBox-hover A, .selectBox-options LI.selectBox-selected A {
	background-color: #3673B7;
	color:#FFF;
}

.selectBox-options LI.selectBox-disabled A {
	color:#AAA;
}

.selectBox-options .selectBox-optgroup {
	color:#666;
	margin-bottom:1px;
	background:#EEE;
	padding:5px 9px;
	white-space:nowrap;
	font-style:italic;
	cursor:default;
}


/* Disabled state */
.selectBox.selectBox-disabled {
	color: #888 !important;
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
	opacity: .5;
	filter: alpha(opacity=50);
	border-color: #666;
}

.selectBox-inline.selectBox-disabled {
	color: #888 !important;
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
	background-color: transparent !important;
}