﻿/*
Author: David Qin
E-mail: david@hereapp.cn
Date: 2014-11-05
*/

.searchable-select-hide {
	display: none;
}

.searchable-select {
	display: inline-block;
	width: 310px;
	height: 60px;
	font-size: 14px;
	line-height: 1.428571429;
	color: #555;
	vertical-align: middle;
	position: relative;
	outline: none;
	z-index:10;
}

.searchable-select-holder {
	display: flex;
	align-items: center;
	width: 290px;
	padding: 0 0 0 10px;
	height: 58px;
	font-size: 14px;
	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;
}

.searchable-select-dropdown {
	position: absolute;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 4px;
	top: 70px;
	left: 0;
	right: 0;
}

.searchable-select-input {
	margin-top: 5px;
	border: 1px solid #ccc;
	outline: none;
	padding: 0 10px;
	box-sizing: border-box;
	width: 100%;
	height: 45px;
	border-radius: 6px;
	font-size: 14px;
	color: #646566;
}

.searchable-scroll {
	margin-top: 4px;
	position: relative;
}

.searchable-scroll.has-privious {
	padding-top: 20px;
}

.searchable-scroll.has-next {
	padding-bottom: 20px;
}

.searchable-has-privious {
	top: 0;
}

.searchable-has-next {
	bottom: 0;
}

.searchable-has-privious,
.searchable-has-next {
	width: 100%;
	height: 30px;
	line-height: 30px;
	left: 0;
	right: 0;
	position: absolute;
	text-align: center;
	z-index: 10;
	background-color: #F3F4F6;
	cursor: pointer;
}

.searchable-select-items {
	max-height: 300px;
	overflow-y: scroll;
	position: relative;
}

.searchable-select-items::-webkit-scrollbar {
	display: none;
}

.searchable-select-item {
	width: 100%;
	padding: 10px 5px;
	cursor: pointer;
	min-height: 35px;
	margin-bottom: 10px;
	box-sizing: border-box;
	transition: all 1s ease 0s;
}

.searchable-select-item.hover {
	background: #FF5500;
	color: white;
}

.searchable-select-item.selected {
	background: #FF5500;
	color: white;
}
