/*
Author: David Qin
E-mail: david@hereapp.cn
Date: 2014-11-05
*/

.has-page-hide{ display:none;}
.searchable-select-dropdown.searchable-select-hide {
  opacity:0;
  visibility:hidden;
  top:55px;
}

.searchable-select {
  display: inline-block;
  min-width: 146px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555;
  vertical-align: middle;
  position: relative;
  outline: none;
  cursor:pointer;
}

.searchable-select-holder{
  padding: 0 8px;
  background-color: #eee;
  border:1px solid #ccc;
  background-image: none;
  min-height: 24px;
  box-sizing: border-box;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.searchable-select-caret {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 0;
  right: 0;
  border-left:1px solid #ccc;
}
.searchable-select-caret:before{
 content:'';
 position:absolute;
 left:50%;
 top:50%;
 width:0;
 height:0;
 margin:-2.5px 0 0 -5px;
 border:5px solid transparent;
 border-top:5px solid #727272;  
 border-bottom:0;
}
.searchable-select-dropdown {
  position: absolute;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow:0 0 10px rgba(0,0,0,.3);
  padding: 10px;
  top: 40px;
  left: 0;
  right: 0;
  transition:all .3s;
  visibility:visible;
  opacity:1;
  z-index:999;
}
.searchable-select-dropdown:before{
  position:absolute;
  content:'';
  right:10px;
  top:-12px;
  border:6px solid transparent;
  border-bottom:6px solid #ccc;
  }
.searchable-select-dropdown:after{
  position:absolute;
  content:'';
  right:11px;
  top:-10px;
  border:5px solid transparent;
  border-bottom:5px solid #fff;
}
.searchable-select-input {
  border: 1px solid #ccc;
  outline: none;
  padding:0 10px !important;
  width: 100% !important;
  height:25px !important;
  background:#eee !important;
  box-sizing: border-box;
  margin:0 0 10px !important;
}

.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: 360px;
  overflow-y: scroll;
  position: relative;
}

.searchable-select-items::-webkit-scrollbar {
  display: none;
}

.searchable-select-item {
  padding: 0 10px;
  cursor: pointer;
  border-radius:5px;
  margin:5px 0 0;
  min-height: 20px;
  box-sizing: border-box;
}

.searchable-select-item.hover {
  background: #f37e34;
  color: white;
}

.searchable-select-item.selected {
  background: #9DC600;
  color: white;
}
