/* select */
.select-test, .select-test2 { width: 140px; }

.select-x {
  position: relative;
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.select-x * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.select-x button {
	position: relative;
    border: 1px solid #eee;
    width: 100%;
    text-align: left;
    height: 30px;
    padding: 6px 12px;
    font-size: 12px;
	background-color:#FFF;
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-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;
	outline: none
}
.select-x ul {
  width: 100%;
  position: absolute;
  z-index: 10;
  visibility: hidden;
  border: 1px solid #eee;
  border-top: none;
  background-color: #fff;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.select-x ul.open {
  visibility: visible;
}
.select-x ul li {
  padding: 6px 12px;
  cursor: pointer;
  text-align:left;
  font-size: 11px;
}
.select-x ul li:hover {
  background-color: #efefef;
}
.select-x ul li.selected {
  background-color: #efefef;
}
.select-x ul li.nolink {
	pointer-events: none;
    cursor: default;
	margin: 10px 0 0;
    border-bottom: 1px solid #eee;
    border-style: dashed;
	list-style: none !important;
}
/* animations */
.select-x-fade {
  transition: visibility 0.4s, opacity 0.4s;
  opacity: 0;
}
.select-x-fade.open {
  opacity: 1;
}
.select-x-slide {
  transition: visibility 0.4s cubic-bezier(0, 1, 0.5, 1), transform 0.4s cubic-bezier(0, 1, 0.5, 1);
  transform: scaleY(0);
  transform-origin: top;
}
.select-x-slide.open {
  transform: scaleY(1);
}
.caret {
  position: absolute;
  top: 12px;
  right: 7px;
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 5px dashed;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}
