/* Dropdown control */
.selectBox-dropdown {
  position: relative;
  display: inline-block;
  min-width: 150px;
  border: 1px solid #96a5d4;
  color: #000;
  text-decoration: none;
  text-align: left;
  background: #fff;
  outline: none;
  vertical-align: middle;
  cursor: pointer;
}

.selectBox-dropdown .selectBox-label {
  display: block;
  padding: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  overflow: hidden;
  color: #4d4d4d;
}

.selectBox-dropdown .selectBox-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 100%;
  background-color: #96a5d4;
}

.selectBox-dropdown .selectBox-arrow:before {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: 'icomoon' !important;
  color: #fff;
  content: '\e90a';
  -webkit-transform: translateY(-50%) translateX(-50%) rotate(90deg);
     -moz-transform: translateY(-50%) translateX(-50%) rotate(90deg);
       -o-transform: translateY(-50%) translateX(-50%) rotate(90deg);
      -ms-transform: translateY(-50%) translateX(-50%) rotate(90deg);
          transform: translateY(-50%) translateX(-50%) rotate(90deg);
}

/* Dropdown menu */
.selectBox-dropdown-menu {
  position: absolute;
  z-index: 99999;
  max-height: 200px;
  min-height: 1em;
  border: solid 1px #96a5d4;
  background: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* 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 {
  list-style: none;
  display: block;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #4d4d4d;
}

.selectBox-options.selectBox-options-top{
  border-bottom: none;
  margin-top: 1px;
  -webkit-border-top-left-radius: 5px;
     -moz-border-top-left-radius: 5px;
          border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
     -moz-border-top-right-radius: 5px;
          border-top-right-radius: 5px;
}

.selectBox-options.selectBox-options-bottom{
  border-top: none;
  -webkit-border-bottom-left-radius: 5px;
     -moz-border-bottom-left-radius: 5px;
          border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
     -moz-border-bottom-right-radius: 5px;
          border-bottom-right-radius: 5px;
}

.selectBox-options li a {
  padding: 5px 16px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.selectBox-options li.selectBox-hover a {
  color: #fff;
  background-color: #96a5d4;
}

.selectBox-options li.selectBox-disabled a {
  color: #888;
  background-color: transparent;
}

.selectBox-options li.selectBox-selected a {
  color: #fff;
  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;
}
