﻿/*
Author: David Qin
E-mail: david@hereapp.cn
Date: 2014-11-05
*/

.searchable-select-hide {
  display: none;
}

.searchable-select {
  display: inline-block;
  width:100%;
  text-align:left;
  font-size: 14px;
  line-height: 42px;
  color: #ffffff;
  vertical-align: middle;
  position: relative;
  outline: none;
  padding-left:10px;
  background: url(../images/pro_ctg_arrow.png) center right no-repeat;background-size: auto 100%;
  
}
.searchable-select::after{content:"";width:100%;height:1px;background:#fff;position:absolute;bottom:0px;left:0px;}
.searchable-select-holder{
    width:100%;
	height:42px;
	line-height:42px;
    _background-color: #fff;
    background-image: none;
    position:relative;
/*    border: 1px solid #ccc;
	border-radius: 4px;
	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: 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;
  display:none;
}

.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: 41px;
  left: 0;
  right: 0;
  z-index:10000;
}

.searchable-select-input {
  _margin-top: 5px;
  border: 1px solid #ccc;
  outline: none;
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
  width: 100%;
}

.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 5px;
  padding-left:25px;
  cursor: pointer;
  min-height: 46px;
  box-sizing: border-box;
  transition: all .3s ease 0s;
  color:#040404;
}

.searchable-select-item.hover {

  background: #002b62;
  color: white;
}

.searchable-select-item.selected {
  background: #002b62;
  color: white;
}
