.page {
  position: relative;
  margin: 10px auto;
  text-align: center;
}
.page .custom-pagination,
.page.custom-pagination ul,
.page .custom-pagination ul li,
.page .custom-pagination .page-to input {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.page .custom-pagination {
  display: inline-flex;
  height: 32px;
  color: #666;
  text-align: center;
  font-size: 14px;
  position: relative;
  margin: 0 auto;
}
.page .custom-pagination ul {
  float: left;
  height: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0;
  overflow: hidden;
  white-space: no-wrap;
}
.page .custom-pagination ul li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  float: left;
  min-width: 32px;
  margin: 0 4px;
  height: 32px;
  padding: 0 10px;
  background-color: #f0f2f5;
  border-radius: 2px;
  font-size: 14px;
  cursor: pointer;
}
.page .custom-pagination ul li:first-child {
  margin-left: 0;
}
.page .custom-pagination ul li.current-page {
  background-color: #409eff;
  color: #fff;
  border: 0;
  line-height: 32px;
}
.page .custom-pagination ul li:hover {
  background-color: #409eff;
  color: #fff;
}
.page .custom-pagination .prev-page,
.custom-pagination .next-page,
.custom-pagination .first-page,
.custom-pagination .last-page {
  display: flex;
  justify-content: center;
  align-items: center;
  float: left;
  width: 32px;
  height: 32px;
  background-color: #f0f2f5;
  border-radius: 2px;
  box-sizing: border-box;
  cursor: pointer;
  vertical-align: middle;
  color: #666;
  text-decoration: none;
}
.page .custom-pagination .prev-page svg,
.custom-pagination .next-page svg {
  width: 16px;
  height: 16px;
}
.page .custom-pagination .prev-page {
  margin: 0 10px;
}
.page .custom-pagination .next-page {
  margin: 0 10px;
}
.page .custom-pagination .prev-page:hover,
.page .custom-pagination .next-page:hover,
.custom-pagination .first-page:hover,
.custom-pagination .last-page:hover {
  background-color: #409eff;
  color: #fff;
}
.page .custom-pagination ul li.ellipsis {
  background-color: transparent;
  border: 0;
  cursor: default;
  line-height: 18px;
  font-size: 20px;
}
.page .custom-pagination ul li.ellipsis:hover {
  background-color: transparent;
  border: 0;
  cursor: default;
  line-height: 18px;
  font-size: 20px;
  color: #666;
}
.page .custom-pagination .page-to {
  width: 166px;
  height: 32px;
  line-height: 32px;
  float: left;
  margin-left: 20px;
}
.page .custom-pagination .page-to input {
  display: inline-block;
  width: 40px;
  height: 32px;
  line-height: 28px;
  background-color: #fafafa;
  border: 0;
  box-sizing: border-box;
  vertical-align: middle;
  margin: 0 10px;
  padding: 0 5px;
  border-radius: 2px;
}
.page .custom-pagination .page-to input:focus {
  outline: 0;
}
.page .custom-pagination .page-to span {
  vertical-align: middle;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 32px;
  background-color: #fafafa;
  cursor: pointer;
  margin-left: 10px;
  box-sizing: border-box;
  border-radius: 2px;
}
.page .custom-pagination .page-to span:hover {
  background-color: #409eff;
  color: #fff;
}
