.pagination input::-moz-selection{
  background:#ff7600;
}

.pagination input::selection{
  background:#ff7600;
}

.pagination {
/*display: inline-block;*/
display: block;
border: 1px solid #CDCDCD;
border-radius: 3px;
  display: table;
width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  margin: 0 auto; }

.pagination a {
display: block;
float: left;
width: 20px;
width: 35px;
/*height: 20px;*/
outline: none;
border-right: 1px solid #CDCDCD;
border-left: 1px solid #CDCDCD;
color: #555555;
vertical-align: middle;
text-align: center;
text-decoration: none;
font-weight: bold;
font-size: 16px;
font-size: 21px;
font-family: Times, 'Times New Roman', Georgia, Palatino;
/* ATTN: need a better font stack */
background-color: #f3f3f3;
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);
height: 31px;
 }
.pagination a:hover, .pagination a:focus, .pagination a:active {
  background-color: #cecece;
  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-color: #f3f3f3;
  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);
  color: #A8A8A8;
  cursor: default;
  }

.pagination a:first-child {
border: none;
border-radius: 2px 0 0 2px;
border-radius: 0;  }

.pagination a:last-child {
border: none;
border-radius: 0 2px 2px 0;
border-radius: 0; }

.pagination input {
float: left;
margin: 0;
padding: 0;
width: 120px;
/*height: 20px;*/
height: auto;
outline: none;
border: none;
vertical-align: middle;
text-align: center; 
/*background-color: #fce8e0;*/
  background-color: #f5efd6;
  font-size: 1.3em;
  font-size: 1.1em;/*custom*/
  height: 24px;/*custom*/
  height: 31px;/*custom*/
}

/* gigantic class for demo purposes */
.gigantic.pagination {
margin: 30px 0; }

.gigantic.pagination a {
height: 60px;
width: 60px;
font-size: 50px;
line-height: 50px; }

.gigantic.pagination input {
width: 300px;
height: 60px;
font-size: 30px; }

/* log element for demo purposes */
.log {
display: none;
background-color: #EDEDED;
border: 1px solid #B4B4B4;
height: 300px;
width: 524px;
overflow: auto;
margin-left: 0;
list-style: none;
padding: 10px; }
.log li {
  margin-top: 0;
  margin-bottom: 5px; }

  /*custom */
  .pagination_head{
    margin-bottom: 0.5em;
  }