/*
Author: David Qin
E-mail: david@hereapp.cn
Date: 2014-11-05
*/

.searchable-select-hide {
  display: none;
}

.searchable-select {
  display: inline-block;
  width:100%;
  font-size:14px;
  line-height: 1.428571429;
  color: #666;
  vertical-align: middle;
  position: relative;
  outline: none;
  white-space: nowrap;
}
.on .searchable-select-holder {
  border-color:#73bb29;
}

.searchable-select-holder{
  overflow: hidden;
  color:#757575;
  padding: 6px 24px 6px 10px;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  min-height: 30px;
  box-sizing: border-box;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.searchable-select-caret {
  position: absolute;
  width: 30px;
  box-sizing: border-box;
  top: 1px;
  bottom: 1px;
  right: 1px;
  background: #fff;
  display: block;
  cursor: text;
}
.searchable-select-caret::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  border-color: #ddd transparent transparent transparent;
  top: 13px;
  right:10px;
  border-style: solid;
  border-width: 5px;
  margin: auto;
}

.on .searchable-select-caret::after {
  border-color: transparent transparent #73bb29 transparent;
  top:8px;
}

.searchable-select-dropdown {
  position: absolute;
  background-color: #fff;
  border: 1px solid #73bb29;
  border-radius: 4px;
  padding: 6px 0;
  top: 43px;
  left: 0;
  right: 0;
  z-index: 1;
}
.searchable-select-dropdown::before{
  content:"";
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  border-color: transparent transparent #73bb29 transparent;
  top: -16px;
  left: 50%;
  margin-left:-8px;
  bottom: 0;
  border-style: solid;
  border-width: 8px;
}
.searchable-select-dropdown::after{
  content:"";
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  border-color: transparent transparent #fff transparent;
  top: -15px;
  left: 50%;
  margin-left:-8px;
  bottom: 0;
  border-style: solid;
  border-width: 8px;
}

.searchable-select-input {
  font-family: "Microsoft YaHei","微软雅黑";
  font-size:14px;
  outline: none;
  padding: 6px;
  padding-left:10px;
  box-sizing: border-box;
  width: 80%;
  position: absolute;
  top:-43px;
  background:#fff;
  color:#757575;
}

.searchable-scroll {
  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 {
  cursor: pointer;
  box-sizing: border-box;
  transition: all .5s ease 0s;
  text-align: center;
  height:24px;
  line-height:24px;
}
.searchable-select-item.hover{
  background:#eaeaea;
}
.searchable-select-item.selected {
  background: #73bb29;
  color: white;
}
