@import './color.sass';

.pagination>li>a {
  border: 0;
  border-radius: 50%;
  transition: all .3s;
  padding: 0;
  margin: 0 4px;
  height: 32px;
  width: 32px;
  line-height: 20px;
  color: #2F3136 !important;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 640px) {
    height: 18px;
    width: 18px;
    line-height: 18px;
  }
}

.pagination>li>span {
    border: 0;
    border-radius: 8px;
    transition: all .3s;
    padding: 0;
    margin: 0 4px;
    height: 32px;
    width: auto;
    line-height: 20px;
    color: $secondary;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    background: transparent;
}

.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    z-index: 3;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #F0F1F3;
    border-color: #F0F1F3;
    color: #fff;
    box-shadow: none;
  }

.pagination.pagination-info>.active>a, .pagination.pagination-info>.active>a:focus, .pagination.pagination-info>.active>a:hover, .pagination.pagination-info>.active>span, .pagination.pagination-info>.active>span:focus, .pagination.pagination-info>.active>span:hover {
    background-color: $info;
    border-color: $info;
    box-shadow: 0 4px 5px 0 rgba(0, 188, 212, 0.14), 0 1px 10px 0 rgba(0, 188, 212, 0.12), 0 2px 4px -1px rgba(0, 188, 212, 0.2);
}

.pagination.pagination-success>.active>a, .pagination.pagination-success>.active>a:focus, .pagination.pagination-success>.active>a:hover, .pagination.pagination-success>.active>span, .pagination.pagination-success>.active>span:focus, .pagination.pagination-success>.active>span:hover {
    background-color: $success;
    border-color: $success;
    box-shadow: 0 2px 2px 0 rgba(76, 175, 80, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(76, 175, 80, 0.12);
}

.pagination.pagination-warning>.active>a, .pagination.pagination-warning>.active>a:focus, .pagination.pagination-warning>.active>a:hover, .pagination.pagination-warning>.active>span, .pagination.pagination-warning>.active>span:focus, .pagination.pagination-warning>.active>span:hover {
    background-color: $warning;
    border-color: $warning;
    box-shadow: 0 2px 2px 0 rgba(255, 152, 0, 0.14), 0 3px 1px -2px rgba(255, 152, 0, 0.2), 0 1px 5px 0 rgba(255, 152, 0, 0.12);
}

.pagination.pagination-danger>.active>a, .pagination.pagination-danger>.active>a:focus, .pagination.pagination-danger>.active>a:hover, .pagination.pagination-danger>.active>span, .pagination.pagination-danger>.active>span:focus, .pagination.pagination-danger>.active>span:hover {
    background-color: $danger;
    border-color: $danger;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, 0.14), 0 3px 1px -2px rgba(244, 67, 54, 0.2), 0 1px 5px 0 rgba(244, 67, 54, 0.12);
}