/*-----------------------------------*/
/* Select Elements */
/*-----------------------------------*/
.cusel,
#cuselBox .cusel-scroll-wrap,
#cuselBox .jScrollPaneContainer,
#cuselBox .cusel-scroll-pane {
  width: 100% !important;
}

.cusel {
  height: 33px;
  display: inline-block;
  position: relative;
  z-index: 2;
  padding: 0 30px 0 12px;
  text-shadow: none;
}

.cuselOpen {
  z-index: 9999;
  background: #eaeaea;
  border-radius: 4px 4px 0 0;
}

/* Right Arrow */
.cuselFrameRight {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  cursor: pointer;
}

.cuselFrameRight:before,
.cuselFrameRight:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 5px solid #a7a7a7;
  position: absolute;
  top: 11px;
  right: 14px;
}

.cuselFrameRight:after {
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 5px solid #a7a7a7;
  border-bottom: none;
  top: 17px;
}

.cusel:hover .cuselFrameRight:before,
.cuselFocus .cuselFrameRight:before {
  border-bottom-color: #999;
}

.cusel:hover .cuselFrameRight:after,
.cuselFocus .cuselFrameRight:after {
  border-top-color: #999;
}

/* Selected Item */
.cuselText {
  cursor: pointer;
} /* Needed for iPad */
.cuselText label {
  width: 100%;
  height: 100%;
  line-height: 29px;
  color: #a0a0a0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-style: italic;
}

/* Select List */
#cuselBox {
  position: absolute;
  z-index: 9999;
}

#cuselBox .jScrollPaneContainer {
  position: relative;
  overflow: hidden;
  background: #eaeaea;
  border-top: 1px solid #c5c9c1;
}

#cuselBox .cusel-scroll-pane {
  padding-right: 0 !important;
}

#cuselBox span {
  display: block;
  padding-left: 2px;
  cursor: pointer; /* Needed for iPad */
}

#cuselBox span label {
  display: block;
  padding: 9px 10px;
  position: relative;
  border-top: 1px solid #f2f5ef;
  border-bottom: 1px solid #c5c9c1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: none;
  cursor: pointer;
}

#cuselBox span:last-child {
  border-bottom: none;
}

#cuselBox span:hover,
#cuselBox span.cuselOptHover,
#cuselBox span.cuselActive {
  color: #e7367e;
}

/* Scrolling */
#cuselBox .jScrollPaneTrack {
  height: 100%;
  width: 4px !important;
  background: #a0a0a0;
  background: rgba(160, 160, 160, 0.36);
  position: absolute;
  top: 0;
  right: 4px;
}

#cuselBox .jScrollPaneDrag {
  position: absolute;
  cursor: pointer;
  width: 6px !important;
  height: 26px !important;
  right: -1px;
  background: #a0a0a0;
}

.jScrollArrowUp,
.jScrollArrowDown {
  width: 6px !important;
  height: 6px;
  position: absolute;
  top: 0;
  right: 3px;
  cursor: pointer;
}

.jScrollArrowDown {
  top: auto;
  bottom: 0;
}

.jScrollArrowUp:before,
.jScrollArrowDown:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 6px solid #a0a0a0;
}

.jScrollArrowDown:before {
  border-top: 6px solid #a0a0a0;
  border-bottom: none;
}
