/* Dropdown control */

.dealer_box select {
  min-width: 2rem;
  position: relative;
  border: solid 1px #a08ae9;
  /*line-height: 1.5;*/
  height: 0.933333rem;
  line-height: 0.933333rem;
  text-decoration: none;
  text-align: left;
  color: #838383;
  outline: none;
  vertical-align: middle;
  background: #fff;
  -webkit-border-radius: 1.32rem;
  -moz-border-radius: 1.32rem;
  border-radius: 1.32rem;
  display: inline-block;
  cursor: default;
  font-size: 0.346667rem;
}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
  border-color: #666;
}

.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 {
  padding: 0.026667rem 0.106667rem;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
}

.selectBox-dropdown .selectBox-arrow {
  width: 0;
  height: 0;
  border-left: 0.213333rem solid transparent;
  border-right: 0.213333rem solid transparent;
  border-top: 0.213333rem solid #5f45ff;
  position: absolute;
  top: 0.426667rem;
  right: 0.426667rem;
  /*width: 23px;
    height: 100%;
    background: url(../images/jquery.selectBox-arrow.gif) 50% center no-repeat;*/
  /*border-left: solid 1px #BBB;*/
}

/* Dropdown menu */

.selectBox-dropdown-menu {
  position: absolute;
  z-index: 99999;
  max-height: 2.666667rem;
  min-height: 1em;
  border: solid 0.013333rem #BBB;
  /* should be the same border width as .selectBox-dropdown */
  background: #FFF;
  -moz-box-shadow: 0 0.026667rem 0.08rem rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0 0.026667rem 0.08rem rgba(0, 0, 0, .2);
  box-shadow: 0 0.026667rem 0.08rem rgba(0, 0, 0, .2);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Inline control */

.selectBox-inline {
  min-width: 2rem;
  outline: none;
  border: solid 0.013333rem #BBB;
  background: #FFF;
  display: inline-block;
  -webkit-border-radius: 0.053333rem;
  -moz-border-radius: 0.053333rem;
  border-radius: 0.053333rem;
  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: 0.013333rem;
  -moz-border-radius-topleft: 0.066667rem;
  -moz-border-radius-topright: 0.066667rem;
  -webkit-border-top-left-radius: 0.066667rem;
  -webkit-border-top-right-radius: 0.066667rem;
  border-top-left-radius: 0.066667rem;
  border-top-right-radius: 0.066667rem;
}

.selectBox-options.selectBox-options-bottom {
  border-top: none;
  -moz-border-radius-bottomleft: 0.066667rem;
  -moz-border-radius-bottomright: 0.066667rem;
  -webkit-border-bottom-left-radius: 0.066667rem;
  -webkit-border-bottom-right-radius: 0.066667rem;
  border-bottom-left-radius: 0.066667rem;
  border-bottom-right-radius: 0.066667rem;
}

.selectBox-options LI A {
  line-height: 1.5;
  padding: 0 .5em;
  white-space: nowrap;
  overflow: hidden;
  background: 0.08rem center no-repeat;
}

.selectBox-options LI.selectBox-hover A {
  /*background-color: #EEE;*/
}

.selectBox-options LI.selectBox-disabled A {
  /*color: #888;
    background-color: transparent;*/
}

.selectBox-options LI.selectBox-selected A {
  /*background-color: #C8DEF4;*/
}

.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;
}
