.wb-paginate-pager {
	text-align: center;

	.paginate-prev::before,
	.paginate-next::after {
		font-family: "Glyphicons Halflings";
		font-weight: 400;
		line-height: 1em;
		position: relative;
		top: .1em;
	}

	.paginate-prev::before {
		content: "\e091";
		margin-right: .5em;
	}

	.paginate-next::after {
		content: "\e092";
		margin-left: .5em;
	}

	li.active:nth-last-child(2) a {
		border-bottom-right-radius: 4px;
		border-top-right-radius: 4px;
	}

	li.active:nth-last-child(2) button {
		border-bottom-right-radius: 4px;
		border-top-right-radius: 4px;
	}

	.pagination {
		& > li {
			&.active {
				& > button {
					cursor: default;
					outline-offset: -2px;
				}
			}
			& > button {
				background-color: $btn-default-bg;
				border: 1px solid $btn-default-border;
				color: $btn-default-color;
				margin-bottom: .5em;
				margin-left: -1px;
				padding: 10px 16px;
				position: relative;

				&:hover, &:focus {
					background-color: #d4d6da;
					border-color: #bbbfc5;
					z-index: 2;
				}

				&:focus {
					@include tab-focus;
				}
			}
			&.disabled {
				& + li {
					& > button {
						border-bottom-left-radius: $pager-border-radius;
						border-top-left-radius: $pager-border-radius;
					}
				}
			}

			&:first-child {
				& > button {
					border-bottom-left-radius: $pager-border-radius;
					border-top-left-radius: $pager-border-radius;
					margin-left: 0;
				}
			}

			&:last-child {
				& > button {
					border-bottom-right-radius: $pager-border-radius;
					border-top-right-radius: $pager-border-radius;
				}
			}

		}

		& > .active {
			& > button, & > button:focus, & > button:hover {
				background-color: $brand-primary;
				border-color: $brand-primary;
				color: #fff;
				cursor: default;
				z-index: 3;
			}
		}
	}
}

html:not(.wb-disable) .wb-pgfltr-out {
	display: none !important;
}
