.selectricWrapper {
  position: relative;
  margin: 0;
  width: 100%;
  cursor: pointer;
}

.selectric {
  border: 1px solid #666;
  position: relative;
  background: #fff;
}

.selectric:hover, .selectric:focus {
	outline: auto;
}

.selectric .label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 30px 0 0;
  padding: .2em .5em;
  font-size: 1em;
  min-height: 18px;
  color: #444;
}

.selectric .button {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 100%;
  text-align: center;
  font: 0/0 a;
  *font: 20px/30px Lucida Sans Unicode,Arial Unicode MS,Arial;
}

.selectric .button:after {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #666;
  border-bottom: none;
}

.selectricHover .selectric {
  border-color: #666;
}

.selectricHover .selectric .button {
  color: #888;
}

.selectricHover .selectric .button:after {
  border-top-color: #888;
}

.selectricOpen {
  z-index: 9999;
}

.selectricOpen .selectric {
  border-color: #666;
  background: #fff;
  z-index: 9999;
}

.selectricOpen .selectricItems {
  display: block;
}

.selectricDisabled {
  filter: alpha(opacity=50);
  opacity: 0.5;
  cursor: default;
  -webkit-touch-callout: none;
  user-select: none;
}

.selectricHideSelect {
  position: relative;
  overflow: hidden;
  width: 0;
  height: 0;
}

.selectricHideSelect select {
  position: absolute;
  left: -100%;
  display: none;
}

.selectricInput {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  outline: none !important;
  border: none !important;
  *font: 0/0 a !important;
  background: none !important;
}

.selectricTempShow {
  position: absolute !important;
  visibility: hidden !important;
  display: block !important;
}

.selectricItems {
  display: none;
  position: absolute;
  overflow: auto;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #CCC;
  border-top: 0;
  z-index: 9998;
}

.selectricItems ul,.selectricItems li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.selectricItems li {
  display: block;
  padding: .2em .5em;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.selectricItems li.last {
  border-bottom: 0;
}

.selectricItems li.selected {
  background: #eee;
}

.selectricItems li:hover {
  background: #eee;
}
