/* region 分页器 */
.search-result-pager {
  padding-left: 10px;
  padding-right: 10px;
}

.pagination-container {
  font-size: 0;
  color: #666;
  line-height: 24px;
}

.pagination-container > * {
  font-size: 14px;
  vertical-align: middle;
}

.pagination-toFirst,
.pagination-toLast {
  display: none;
}

.pagination {
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
  margin-right: 15px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a {
  float: left;
  width: auto;
  height: 24px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 14px;
  text-align: center;
  color: #666;
  cursor: pointer;
}

.pagination > li + li > a {
  margin-left: 15px;
}

.pagination > li:nth-child(2) > a,
.pagination > li:last-child > a {
  margin-left: 10px;
}

.pagination > .disabled > a,
.pagination > .ellipsis > a {
  cursor: default;
}

.pagination > .active > a {
  background-color: #f7f8f8;
  color: #e41f2b;
  cursor: default;
}

@media (min-width: 1024px) {
  .pagination > li:not(.active):not(.ellipsis):not(.disabled) > a:hover {
    background-color: #e41f2b;
    color: #fff;
  }
}

.pagination > li:not(.active):not(.ellipsis):not(.disabled) > a:active,
.pagination-toFirst:not(.disabled):active,
.pagination-toLast:not(.disabled):active {
  background-color: #f24651;
}

.pagination > li:not(.active):not(.ellipsis):not(.disabled) > a:active:before,
.pagination-toFirst:not(.disabled):active:before,
.pagination-toLast:not(.disabled):active:before {
  background-position-y: -16px;
}

.pagination > li:first-child > a,
.pagination > li:last-child > a {
  width: 30px;
  background-color: #f7f8f8;
}

.pagination > li:first-child > a:before,
.pagination > li:last-child > a:before,
.pagination-toFirst:before,
.pagination-toLast:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  margin: 4px auto;
  background-image: url(/aem/etc/clientlibs/cloudbu-site/clientlib-pageination/css/images/pagination-sprite.png);
  background-size: auto 48px;
}

#nav-main.all-nav .nav-title .hot,
#nav-main .topbar-nav .nav-inner .hot {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  position: absolute;
  background: #e41e2b;
}

@media (min-width: 1024px) {
  .pagination > li:first-child:hover > a:before,
  .pagination > li:last-child:hover > a:before {
    background-position-y: -16px;
  }

  #nav-main.all-nav .nav-title .hot,
  #nav-main .topbar-nav .nav-inner .hot {
    top: 3px;
    left: 103px;
  }
}

.pagination > li:first-child.disabled > a:before,
.pagination > li:last-child.disabled > a:before {
  background-position-y: -32px;
}

.pagination > li:first-child > a:before {
  background-position: -32px 0;
}

.pagination > li:last-child > a:before {
  background-position: -48px 0;
}

.pagination > .pagination-goto-mb {
  display: none;
}

.pagination-to {
  height: 24px;
  width: 36px;
  border: solid 1px #d2d2d2;
  vertical-align: middle;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.pagination-to:hover {
  border-color: #999;
}

.pagination-to:focus {
  border-color: #666;
  color: #666;
}

.pagination-to + .pagination-text,
.pagination-text + .pagination-to {
  margin-left: 3px;
}

.pagination-submit {
  height: 24px;
  padding-left: 5px;
  padding-right: 5px;
  border: solid 1px #d2d2d2;
  margin-left: 12px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .pagination-submit:hover {
    border-color: #e41f2b;
    color: #e41f2b;
  }
}

.pagination > li.pagination-selectTo {
  display: none;
}

.pagination-selectTo select {
  float: left;
  min-width: 70px;
  height: 24px;
  padding-left: 6px;
  border: solid 1px #d2d2d2;
  margin-left: 10px;
  font-size: 14px;
  color: #666;
}

.pagination-toFirst:before {
  background-position: 0 0;
}

.pagination-toLast:before {
  background-position: -16px 0;
}

@media (max-width: 1023px) {
  .pagination-container {
    line-height: 28px;
    text-align: center;
  }

  .pagination > li:not(:first-child):not(:last-child):not(.pagination-goto-mb),
  .pagination-text,
  .pagination-to,
  .pagination-submit {
    display: none;
  }

  .pagination > li > a {
    height: 28px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .pagination > li:first-child > a,
  .pagination > li:last-child > a {
    width: 32px;
  }

  .pagination > li:nth-child(2) > a,
  .pagination > li:last-child > a {
    margin-left: 15px;
  }

  .pagination > li:first-child > a:before,
  .pagination > li:last-child > a:before,
  .pagination-toFirst:before,
  .pagination-toLast:before {
    margin: 6px auto;
  }

  .pagination > .pagination-goto-mb {
    display: block;
    float: left;
    height: 28px;
    border: solid 1px #d2d2d2;
    margin-left: 15px;
    font-size: 14px;
    line-height: 26px;
    color: #999;
  }

  .pagination > .pagination-goto-mb.on-focus {
    border-color: #666;
  }

  .goto-mb-input {
    width: 34px;
    height: 26px;
    padding: 0 5px;
    border: none;
    line-height: 21px;
    color: #666;
  }

  .pagination-goto-mb span {
    height: 26px;
    padding: 0 5px;
    text-align: left;
  }

  .pagination-toFirst,
  .pagination-toLast {
    display: inline-block;
    width: 32px;
    height: 28px;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: middle;
    background-color: #f7f8f8;
    cursor: pointer;
  }

  .pagination-toFirst.disabled:before,
  .pagination-toLast.disabled:before {
    background-position-y: -32px;
  }

  #nav-main.all-nav .nav-title .hot,
  #nav-main .topbar-nav .nav-inner .hot {
    top: 6px;
    left: 92px;
  }
}

/* endregion 分页器 */
