/* Dropdown control */
.selectBox-dropdown {
	idth:100%;
    in-width: 150px;
    position: relative;
    border: 2px solid #e8e8e7;
    line-height: 0.5em;
    text-decoration: none;
    text-align: center;
    color: #0e0e08;
    outline: none;
    vertical-align: middle;
    background: #fff;
    display: block;
    cursor: default;
}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
    border-color: #9d9d9d; 
}

.selectBox-menuShowing {
    border-color: #9d9d9d;
}

.selectBox-dropdown.selectBox-menuShowing-bottom {
    -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-menuShowing-top {
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.selectBox-dropdown .selectBox-label {
	margin-right:3em;
    padding: 1.5em 1em;
    display: block;
    white-space: nowrap;
    overflow: hidden;
	background:#fff;
}

.selectBox-required .selectBox-label {
	background:#fff url(../img/frequired.svg) 98% 50% no-repeat;
	color:#9f9f9c;
}

.selectBox-error .selectBox-label {
	background: #fff url(../img/ferror.svg) 98% 50% no-repeat;
	color:#9f9f9c;
}
.selectBox-error {
	border-color:#d42323 !important;
}

.selectBox-dropdown .selectBox-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 3em;
    height: 100%;
    background: url(../img/select.svg) 50% center no-repeat;
	background-size:contain;
    border-left: none;
}

.selectBox-menuShowing .selectBox-arrow {
    background: url(../img/select-open.svg) 50% center no-repeat;
	background-size:contain;
}

/* Dropdown menu */
.selectBox-dropdown-menu {
	font-size:70%; text-transform:uppercase; line-height:2em; letter-spacing:0.1em;
	width:100%;
    position: absolute;
    z-index: 50;
    max-height: 24em;
    min-height: 1em;
    border: 2px solid #9d9d9d; /* should be the same border width as .selectBox-dropdown */
    background: #fff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Inline control */
.selectBox-inline {
    min-width: 150px;
    outline: none;
    border: solid 1px #BBB;
    background: #FFF;
    display: 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: 0em;
    margin: 0;
	background-image:none;
}

.selectBox-options.selectBox-options-top {
}
.selectBox-options.selectBox-options-bottom {
}

.selectBox-options LI A {
    line-height: 0.5em;
    padding: 1.5em 0.5em;
    white-space: nowrap;
    overflow: hidden;
    background: 6px center no-repeat;
}

.selectBox-options LI.selectBox-hover A {
    background-color: #0678bb !important;
	color:#fff;
}

.selectBox-options LI.selectBox-disabled A {
    color: #888;
    background-color: transparent;
}

.selectBox-options LI.selectBox-selected A {
    background-color: #eee;
}

.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: #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;
}
