.limitSelection {
  float: right;
  position: relative;
  margin-left: 5px;
  min-height: 20px;
  z-index: 1;
}

.limitSelection.hidden {
  display: none;
}

.limitSelection > div {
  border: 1px solid #DFDFDF;
  border-radius: 4px;
  background: url(plugins/Morpheus/images/sort_subtable_desc_light.png) no-repeat right 2px;
  padding: 0 14px 0 4px;
  display: block;
  width: 41px;
  height: 26px;
  cursor: pointer;
}

.limitSelection.disabled > div {
  opacity: 0.5;
  cursor: not-allowed;
  filter: Alpha(opacity=50);
}

.limitSelection.visible > div {
  border-radius: 0 0 4px 4px;
  background-image: url(plugins/Morpheus/images/sort_subtable_asc_light.png)
}

.limitSelection > ul {
  margin-top: 1px;
  overflow: visible;
  background-color: @theme-color-background-base;
}

.limitSelection > ul > li {
  cursor: pointer;
  padding: 0 10px 0 4px;
  font-size: 1.1em;
  font-weight: bold;
  height: 20px;
  margin-top: -40px;
  background-color: @theme-color-background-base;
  border-left: 1px solid #DFDFDF;
  border-right: 1px solid #DFDFDF;
  vertical-align: middle;
  text-align: right;
}

.limitSelection > ul > li.last {
  border-top: 1px solid #DFDFDF;
  border-radius: 4px 4px 0 0;
}

.limitSelection > ul > li:hover {
  background-color: #EBEAE6;
}

.limitSelection span {
  padding-top: 3px;
  display: inline-block;
}
