.pagination {
  border-radius: 3px;
  width: 336px;
  height: 40px;
  top: 9px;
}

.pagination a {
  display: block;
  float: left;
  width: 20px;
  outline: none;
  color: #0079C2;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  font-family: Arial;
  border-radius: 10px;
  margin: 0 0 0 4px;
  background: #a3c869;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f3f3f3), color-stop(100%, lightgrey));
  background-image: -webkit-linear-gradient(#f3f3f3, lightgrey);
  background-image: linear-gradient(#f3f3f3, lightgrey); 
}

.pagination a:hover, .pagination a:focus, .pagination a:active {
  background: #a3c869;
  color: #00A84F;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e4e4e4), color-stop(100%, #cecece));
  background-image: -webkit-linear-gradient(#e4e4e4, #cecece);
  background-image: linear-gradient(#e4e4e4, #cecece);
}

.pagination a.disabled, .pagination a.disabled:hover, .pagination a.disabled:focus, .pagination a.disabled:active {
  background: #00A84F;
  color: #0079C2;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f3f3f3), color-stop(100%, lightgrey));
  background-image: -webkit-linear-gradient(#f3f3f3, lightgrey);
  background-image: linear-gradient(#f3f3f3, lightgrey);
  cursor: default; 
}

.pagination a:first-child {
  border: none;
  border-radius: 2px 0 0 2px; 
}

.pagination a:last-child {
  border: none;
  border-radius: 0 2px 2px 0; 
}

.pagination input {
  float: left;
  margin: 0;
  padding: 0;
  width: 80px;
  height: 20px;
  outline: none;
  border: none;
  vertical-align: middle;
  text-align: center;
  color: #ffffff;
}

/* gigantic class for demo purposes */
.gigantic.pagination {
  position: relative;
  float: right;
}

.gigantic.pagination a {
  width: 34px;
  font-size: 29px;
  line-height: 34px; 
  border-radius: 6px;
  padding: 1px 0;
  margin: 0 3px 0 0;
}

.gigantic.pagination input {
  width: 150px;
  font-size: 16px;
  font-weight: bold;
  background: #0079C2;
  border-radius: 6px;
  padding: 8px;
  margin: 0 3px 0 0;
}
