/* Items per page dropdown */
/***************************/
.page-limit-selector form {
    margin:0;
}

.page-limit-selector a {
   font-size: 16px;
   color:@textColor;
   i {
    margin-left:5px;
    font-size:13px;
   }

   &:hover {
      text-decoration:none;
   }
}

/* page number links etc */
.pagination {
  position:relative;
  line-height:0;
  margin:0;
  margin-right: 10px;


  ul > li.disabled {
    color: #C2C4C9;
    i {
      color: #C2C4C9;
    }
  }


  > p {
    // for the 'showing x of z results' text
    margin: 4px 0 0;
  }
}

.pagination ul {
  -moz-box-shadow:    none;
  -webkit-box-shadow: none;
  box-shadow:         none;

  &:last-child {
    margin-right:-2px;
  }

  >li:last-child >a {
    border-top-right-radius:0;
    border-bottom-right-radius:0;
  }
}

.pagination ul > li > a, 
.pagination ul > li > span {
  &:hover {
    background:none;
    text-decoration:underline;
    background: #EFEFF1;
  }
}

.pagination li.disabled {
  .gradient(@bodyBackground,@bodyBackground,lighten(@bodyBackground,10%));
    color:#888888;
    -moz-box-shadow:    none;
    -webkit-box-shadow: none;
    box-shadow:         none;

    > a:hover, >span:hover, a:active, >span:active {
      text-decoration:none;
      .gradient(#f5f5f5,#f5f5f5,#fefefe);
      -moz-box-shadow:    none;
      -webkit-box-shadow: none;
      box-shadow:         none;
    }
}


/* JQuery datatables - see hosts app pagination */
/************************************************/
div.dataTables_length,
.page-limit-selector  {
  margin-left:-1px !important;
}

div.dataTables_length .btn-group > .btn:first-child,
.page-limit-selector .btn-group > .btn:first-child {
  border-radius:4px;
  color:@textColor;
  z-index:1;
}

.dataTables_paginate {
  margin-right:-4px !important;
}