/*
Author: David Qin
E-mail: david@hereapp.cn
Date: 2014-11-05
*/

.searchable-select-hide {
	display: none;
}

.searchable-select {
	display: inline-block;
	width: 100%;
	line-height: 1.428571429;
	vertical-align: middle;
	position: relative;
	outline: none;
	font-size: 0.18rem;
	font-family: Arial-Regular, Arial;
	font-weight: 400;
	color: #001323;	
}

.searchable-select-holder {
	height: 0.46rem;
	line-height: 0.46rem;
	border-radius: 0.04rem;
	box-sizing: border-box;
	padding-left: 0.2rem;
	background: rgba(0, 19, 35, 0.03);
	border: none;
	font-size: 0.18rem;
	font-family: Arial-Regular, Arial;
	font-weight: 400;
	color: #001323;
}

.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: 0.05rem;
	margin: auto;
	right: 0.1rem;
}

.searchable-select-dropdown {
	position: absolute;
	background-color: #f7f8f8;
	border: 1px solid #ccc;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	padding: 0.04rem;
	border-top: none;
	top: 0.28rem;
	left: 0;
	right: 0;
}

.searchable-select-input {
	background: rgba(0, 19, 35, 0.03);
	margin-top: 0.05rem;
	border: 1px solid #ccc;
	outline: none;
	padding: 0.1rem 0.04rem;
	width: 100%;
	box-sizing: border-box;
	width: 100%;
	font-size: 0.18rem;
	font-family: Arial-Regular, Arial;
	font-weight: 400;
	color: #001323;	
}

.searchable-scroll {
	margin-top: 0.04rem;
	position: relative;
}

.searchable-scroll.has-privious {
	padding-top: 0.16rem;
}

.searchable-scroll.has-next {
	padding-bottom: 0.16rem;
}

.searchable-has-privious {
	top: 0;
}

.searchable-has-next {
	bottom: 0;
}

.searchable-has-privious,
.searchable-has-next {
	height: 0.16rem;
	left: 0;
	right: 0;
	position: absolute;
	text-align: center;
	z-index: 10;
	background-color: #f7f8f8;
	line-height: 0.08rem;
	cursor: pointer;
}

.searchable-select-items {
	max-height: 3rem;
	overflow-y: scroll;
	position: relative;
}

.searchable-select-items::-webkit-scrollbar {
	display: none;
}

.searchable-select-item {
	padding: 0.1rem 0.05rem;
	cursor: pointer;
	min-height: 0.3rem;
	box-sizing: border-box;
	transition: all 1s ease 0s;
}

.searchable-select-item.hover {

	background: #555;
	color: white;
}

.searchable-select-item.selected {
	background: #28a4c9;
	color: white;
}
