.pager {
  margin-top: 40px;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.pager a,
.pager span {
  width: 48px;
  height: 48px;
  padding: 5px;
  border: 0;
  margin: 0 4px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #303030;
  line-height: 38px;
  text-align: center;
  background-color: #fff;
  border-radius: 5px;
}
.pager a.all,
.pager span.all {
  width: auto;
}
.pager a {
  -moz-transition: color 0.1s linear;
  -o-transition: color 0.1s linear;
  -webkit-transition: color 0.1s linear;
  transition: color 0.1s linear;
  text-decoration: none !important;
}
.pager a:hover {
  color: #FF671F;
}
.pager span {
  color: #fff;
  background-color: #303030;
}
.pager__prev, .pager__next {
  position: relative;
  cursor: pointer;
  font-size: 0 !important;
}
.pager__prev:before, .pager__next:before {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
  content: "";
}
.pager__prev:before {
  background-image: url("/local/templates/tim/img/pager-left.svg");
  background-position: left top;
  background-repeat: no-repeat;
  background-color: transparent;
}
.pager__next:before {
  background-image: url("/local/templates/tim/img/pager-right.svg");
  background-position: left top;
  background-repeat: no-repeat;
  background-color: transparent;
}

@media (max-width: 1199px) {
  .pager a,
  .pager span {
    width: 40px;
    height: 40px;
    line-height: 30px;
  }
}
