.pagination {
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
border-radius:.25rem
}
.page-link {
  position: relative;
  display: block;
padding:.5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6
}
.page-link:hover {
  z-index: 2;
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6
}
.page-link:focus {
  z-index: 2;
  outline: 0;
box-shadow:0 0 0 .2rem rgba(0,123,255,.25)
}
.page-link:not(:disabled):not(.disabled) {
  cursor: pointer
}
.page-item:first-child .page-link {
  margin-left: 0;
border-top-left-radius:.25rem;
border-bottom-left-radius:.25rem
}
.page-item:last-child .page-link {
border-top-right-radius:.25rem;
border-bottom-right-radius:.25rem
}
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff
}
.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6
}
.pagination-lg .page-link {
padding:.75rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5
}
.pagination-lg .page-item:first-child .page-link {
border-top-left-radius:.3rem;
border-bottom-left-radius:.3rem
}
.pagination-lg .page-item:last-child .page-link {
border-top-right-radius:.3rem;
border-bottom-right-radius:.3rem
}
.pagination-sm .page-link {
padding:.25rem .5rem;
font-size:.875rem;
  line-height: 1.5
}
.pagination-sm .page-item:first-child .page-link {
border-top-left-radius:.2rem;
border-bottom-left-radius:.2rem
}
.pagination-sm .page-item:last-child .page-link {
border-top-right-radius:.2rem;
border-bottom-right-radius:.2rem
}
.my-4 {
  margin-top: 1.5rem!important
}
.my-4 {
  margin-bottom: 1.5rem!important
}

.justify-content-center {
  -ms-flex-pack: center!important;
  justify-content: center!important
}

.pages {
  min-height: 500px;
}
.position,.position a{
  color:#999;
}
.page-num:not(:disabled) {
    cursor: pointer;
}
.page-num ,.page-link{
    position: relative;
    display: block;
    padding: 14px 20px;
    margin-left: -1px;
    line-height: 1.25;
    color: #333;
    background-color: #fff;
    border: 1px solid #dee2e6;
  margin-right:10px;
}
a.page-num:hover,.page-link:hover{
  text-decoration:none;
    color: #fff;
    background-color: #c9151e;
    border-color: #c9151e;
}
.page-num-current{
    z-index: 1;
    color: #fff;
    background-color: #c9151e;
    border-color: #c9151e;
}
.page-num-current:hover{
    color: #fff;
    background-color: #c9151e;
    border-color: #c9151e;
}

@media screen and (max-width:1024px) {
#size_bg{display: none;}
}
#size_bg_yd{display: none;}
@media screen and (max-width:1024px) {
#size_bg_yd{display: block;}
}

/*分页样式*/
.pglist {
  padding: 30px 0;
  width: 100%;
  text-align: center;
  clear: both;
}
.pglist a {
  color: #fff;
  padding: 0 26px;
  margin: 0 3px;
  background: #c9151e;
}
.pglist * {
  display: inline-block;
  _zoom: 1;
  _display: inline;
  vertical-align: middle;
  line-height: 40px;
  padding-bottom: 1px;
}
.pglist a:hover {
  display: inline-block;
  color: #fff;
  background: #c9151e;
}
.pglist .hover {
  display: inline-block;
  color: #fff;
  background: #c9151e;
}