/* Dropdown control */
.selectBox-dropdown {
	width: 123px; /* width = (desired width) - padding-right */
	height:25px;
	padding-right: 40px;
	position: relative;
	border: solid 1px #BBB;
	border-width:1px 0;
	line-height: 1.5;
	text-decoration: none;
    text-align: left;	
	color: #fff;
	outline: none;
	vertical-align: middle;
	background: url(../content/images/bg_select.png) repeat-x #717173;
	/*background: -moz-linear-gradient(top, #F8F8F8 1%, #E1E1E1 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #F8F8F8), color-stop(100%, #E1E1E1));
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F8F8F8', endColorstr='#E1E1E1', GradientType=0);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	*/
	display: inline-block;
	cursor: default;
}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
	border-color: #666;
}

.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-label {
	width: 100%;
	padding: 3px 5px;
	display: inline-block;
	white-space: nowrap;
	font-weight:bold;
	overflow: hidden;
    text-align: left;
    color: #fff;
}

.selectBox-dropdown .selectBox-arrow {
	position: absolute;
	top: 0;
	right: 0;
	width: 23px;
	height: 100%;
	background: url(images/jquery.selectBox-arrow.png) 50% center no-repeat;
	/*border-left: solid 1px #BBB;*/
}


/* Dropdown menu */
.selectBox-dropdown-menu {
    position: absolute;
	z-index: 99999;
	max-height: 200px;
	border: solid 1px #BBB; /* should be the same border width as .selectBox-dropdown */
	background: #717173;
    -moz-box-shadow: 0 2px 6px #000000;
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 2px 6px #000000;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 6px #000000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	overflow: auto;
}


/* Inline control */
.selectBox-inline {
    text-decoration: none !important;
	width: 250px;
	outline: none;
	border: solid 1px #BBB;
	background: #FFF;
	display: inline-block;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	overflow: auto;
    padding-top: 3px;
    padding-bottom: 3px;
}

.selectBox-inline:focus {
	border-color: #666;
}


/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
    text-decoration: none !important;
	list-style: none;
	display: block;
	cursor: default;
	padding: 0;
	margin: 0;
	color:#fff;
}

.selectBox-options LI A {
	line-height: 1.5;
	padding: 0 .5em;
	white-space: nowrap;
	overflow: hidden;
	background: 6px center no-repeat;
    background-color: #838383;
	text-decoration: none !important;
}

.selectBox-options LI.selectBox-hover A {
	background-color: #8c8c8d;
}

.selectBox-options LI.selectBox-disabled A {
	color: #888;
	background-color: transparent;
	text-decoration: none !important;
}

.selectBox-options LI.selectBox-selected A {
	text-decoration: none !important;
	background-color: #717173;
	color:#fff;
}

.selectBox-options .selectBox-optgroup {
	color: #666;
	background: #EEE;
	font-weight: bold;
	line-height: 1.5;
	padding: 0 .3em;
	white-space: nowrap;
}


/* Disabled state */
.selectBox.selectBox-disabled {
	color: #000 !important;
	/*color: #888 !important;*/
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
	opacity: .5;
	filter: alpha(opacity=50);
	border-color: #666;
}

.selectBox-inline.selectBox-disabled {
	color: #000 !important;
	/*color: #888 !important;*/
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
	background-color: transparent !important;
}

/*preferences*/

.preferences .selectBox-options,
.preferences .selectBox-options LI,
.preferences .selectBox-options LI A {
    text-decoration: none !important;
	list-style: none;
	display: block;
	cursor: default;
	padding: 0;
	margin: 0;
    color: #003e7e; /*#888*/
    background-color: #fff;
}

.preferences .selectBox-options LI A {
	line-height: 1.5;
	padding: 0 .5em;
	white-space: nowrap;
	overflow: hidden;
	background: 6px center no-repeat;
    background-color: #fff;
	text-decoration: none !important;
    color: #003e7e;
}

.preferences .selectBox-options LI.selectBox-disabled A {
    color: #a9aaaf;  /*#626262; #dadbdf;*/
	background-color: transparent;
	text-decoration: none !important;
}

.preferences .selectBox-options LI.selectBox-selected A {
	text-decoration: none !important;
	background-color: #003e7e;
	color:#fff;
}