/*
Author: David Qin
E-mail: david@hereapp.cn
Date: 2014-11-05
*/

.searchable-select-hide {
  display: none;
}

.searchable-select {
  outline: none;
  display: inline-block;
  font-size: 14px;
  line-height: 30px;
  color: #333333;
  position: relative;
  vertical-align: top;
}

.searchable-select-holder{
  background-color: #fff;
  border: solid 1px #4A4B5D;
  border-radius: 0px;
  padding: 0px 12px;
  padding-right: 20px;
  margin: 6px 4px;
  min-width: 150px;
  cursor: pointer;
  background: url(../img/selecter2.png) no-repeat right 5px bottom 8px / 7px 13px #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
}

.searchable-select-holder:hover {
  color: #40A9FF;
  background-color: #fff;
  border: 1px solid #40A9FF;
  background-color: rgba(63, 167, 252, .08);
  transition-duration: 0.3s;
}

/* .searchable-select-caret {
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  border-color: black transparent transparent transparent;
  top: 0;
  bottom: 0;
  border-style: solid;
  border-width: 5px;
  margin: auto;
  right: 10px;
} */

.searchable-select-dropdown {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 4px;
  border-top: none;
  top: 38px;
  left: 4px;
  right: 4px;
}

.searchable-select-input {
  margin-top: 5px;
  border: 1px solid #ccc;
  outline: none;
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
  width: 100%;
  height: 30px;
}

.searchable-scroll {
  margin-top: 4px;
  position: relative;
}

.searchable-scroll.has-privious {
  padding-top: 16px;
}

.searchable-scroll.has-next {
  padding-bottom: 16px;
}

.searchable-has-privious {
  top: 0;
}

.searchable-has-next {
  bottom: 0;
}

.searchable-has-privious, .searchable-has-next {
  height: 16px;
  left: 0;
  right: 0;
  position: absolute;
  text-align: center;
  z-index: 10;
  background-color: white;
  line-height: 8px;
  cursor: pointer;
}

.searchable-select-items {
  max-height: 400px;
  overflow-y: scroll;
  position: relative;
}

.searchable-select-items::-webkit-scrollbar {
  display: none;
}

.searchable-select-item {
  padding: 5px 10px;
  cursor: pointer;
  line-height: 24px;
  box-sizing: border-box;
  /* transition: all 1s ease 0s; */
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.searchable-select-item.hover {
  background: #40A9FF;
  color: white;
}

.searchable-select-item.selected {
  background: #1965B3;
  color: white;
}
