.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 24px 0;
}

.pagination > li {
  display: none;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  text-decoration: none;
  min-width: 44px;
  text-align: center;
  min-height: 32px;
  line-height: 32px;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
  z-index: 2;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  z-index: 3;
  cursor: default;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  cursor: not-allowed;
}

.pagination .pager__item--previous,
.pagination .pager__item--next {
  display: inline-block;
}

.pagination .pager__item--previous a,
.pagination .pager__item--next a {
  background: white;
}

.pagination .pager__item.active {
  display: inline-block;
}

.mini-pager {
  position: relative;
  padding-top: 35px;
  list-style: none;
  padding-left: 0;
  text-align: center;
}

@media (min-width: 600px) {
  .pagination > li {
    display: inline-block;
  }
}
