/* Dropdown control */
.selectBox-dropdown,
.selectBox-dropdown:hover {
	width: 100%; /* width = (desired width) - padding-right */
	position: relative;
	border: solid 1px #CFD1D2;
    border-radius: 3px;
    font-size: 15px;
    margin-top: -1px;
    padding: 10px 8px 8px 8px;
	line-height: 1em;
    /*height: 36px;*/
	text-decoration: none;
	color: #000;
	outline: none;
	vertical-align: middle;
	background: #ffffff;
	display: inline-block;
	cursor: pointer;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}


.selectBox-dropdown .selectBox-label {
	width: 100%;
	/*padding: 0 0.5em;*/
	display: inline-block;
    line-height: 1.2em;
	white-space: nowrap;
    overflow:  hidden;
    text-align: left;
	text-overflow: ellipsis;
    /*height: 20px;*/
}

.selectBox-dropdown .selectBox-arrow {
	position: absolute;
	top: 0;
	right: 0;
	width: 36px;
	height: 100%;
	/*background: url(../images/selectBox-arrow.gif) 50% center no-repeat;*/
    background: white url('../images/select-down.png') center center no-repeat;
	border-left: solid 1px #CFD1D2;
    border-radius: 0 3px 3px 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.selectBox-dropdown.selectBox-menuShowing .selectBox-arrow{
    background: white url('../images/select-up.png') center center no-repeat;
}


/* Dropdown menu */
.selectBox-dropdown-menu {
	position: absolute;
	z-index: 99999;
	/*max-height: 200px;*/
	border: solid 1px #CFD1D2; /* should be the same border width as .selectBox-dropdown */
	background: #FFF;
	-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	overflow: auto;
}


/* Inline control */
.selectBox-inline {
	width: 250px;
	outline: none;
	border: solid 1px #CFD1D2;
	background: #FFF;
	display: inline-block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	overflow: auto;
}

.selectBox-inline:focus {
	border-color: #666;
}


/* Options */
.selectBox-options,
.selectBox-options li,
.selectBox-options li a {
	list-style: none;
	display: block;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

.selectBox-options li a {
	line-height: 18px;
    min-height: 18px;
	padding: 10px 5px 10px 10px;
	white-space: nowrap;
	overflow: hidden;
	background: 6px center no-repeat;
    color: black;
    font-family: Arial,sans-serif;
    font-size: 14px;
	text-overflow: ellipsis;
}

.selectBox-options li.option-in-optgroup a {
    padding-left: 30px !important;
}

.selectBox-options li.selectBox-hover a {
	/*background-color: #EEE;*/
    background-color: #0159A4;
    color: white !important;
}

.selectBox-options li.selectBox-disabled a {
	color: #888;
	background-color: transparent;
}

.selectBox-options li.selectBox-disabled.selectBox-hover a {
    /*background-color: #EEE;*/
    background-color: #0159A4;
    color: #888 !important;
}

.selectBox-options li.selectBox-selected a {
	/*background-color: #C8DEF4;*/
    background-color: #0159A4;
    color: white !important;
}

.selectBox-options .selectBox-optgroup {
	color: black;
	/*background: #dddddd;*/
	font-weight: bold;
	line-height: 18px;
    font-size: 14px;
	padding: 2px .4em;
	white-space: nowrap;
}


/* 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;
}
