/*======================================================================
  Selectric
======================================================================*/
.eb-selectricWrapper {
  position: relative;
  margin: 0 0 10px;
  width: 100%;
  cursor: pointer;
}

.eb-selectricResponsive {
  width: 100%;
}

.eb-selectric {
  border: 1px solid #DDD;
  /*background: #F8F8F8;*/
  position: relative;
  /*border-radius: 2px;*/
}
.eb-selectric .label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 30px 0 0;
  padding: 6px;
  font-size: 12px;
  line-height: 18px !important;
  color: #444;
  min-height: 18px;
  margin-bottom: 0 !important;
  text-align:center;
}
.eb-selectric .button {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  color: #BBB;
  text-align: center;
  font: 0/0 a;
  /* IE Fix */
  *font: 20px/30px Lucida Sans Unicode, Arial Unicode MS, Arial;
}
.eb-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: #BBB;
  border-bottom: none;
}

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

.eb-selectricOpen {
  z-index: 9999;
}
.eb-selectricOpen .eb-selectric {
  border-color: #CCC;
  /*background: #F0F0F0;*/
}
.eb-selectricOpen .eb-selectricItems {
  display: block;
}

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

.eb-selectricHideSelect {
  position: relative;
  overflow: hidden;
  width: 0;
  height: 0;
}
.eb-selectricHideSelect select {
  position: absolute;
  left: -100%;
  display: none;
}

.eb-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;
}

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

/* Items box */
.eb-selectricItems {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255,255,255,0.95);
  border: 1px solid #CCC;
  z-index: -1;
  box-shadow: 0 0 10px -6px;
}
.eb-selectricItems .eb-selectricScroll {
    max-height:200px;
  height: 100%;
  overflow: auto;
}
/*
##.eb-selectricAbove .eb-selectricItems {
##  top: auto;
##  bottom: 100%;
##}
*/
.eb-selectricItems ul, .eb-selectricItems li {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  min-height: 20px;
}
.eb-selectricItems li {
  display: block;
  padding: 5px;
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #EEE;
  color: #666;
  cursor: pointer;
  text-align: center;
}
.eb-selectricItems li.selected {
  background: #EFEFEF;
  color: #444;
  border-top-color: #E0E0E0;
}
.eb-selectricItems li:hover {
  background: #F0F0F0;
  color: #444;
}
.eb-selectricItems li.disabled {
  background: #F5F5F5;
  color: #BBB;
  border-top-color: #FAFAFA;
  cursor: default;
}
