@import "variables";
.navigation {
	.pages {
		margin: 0 -4px;
		padding: 0;
		list-style: none;
		white-space: nowrap;
		li {
			display: inline-block;
			padding-left: 4px;
			padding-right: 4px;
			@media (max-width: 767px){
				&:not(.prev):not(.next):not(.current){
					display: none;
				}
			}
			a {
				border: none;
				display: block;
				min-width: 26px;
				padding: 2px 8px;
				color: $gray_dark;
				text-align: center;
				@include border-radius(50px);
				&:hover {
					color: $blue;
				}
			}
			&.current {
				a {
					background: $color_primary;
					color: $color_white;
				}
			}
		}
	}
	.options {
		margin-top: 8px;
		font-size: 12px;
		.dropdown-menu {
			width: 80px !important;
			min-width: 80px !important;
			li {
				& + li {
					border-top: 1px solid $gray_light;
				}
				a {
					border: none;
				}
			}
		}
	}
	text-align: right;
	@media (max-width: 767px){
		text-align: center;
	}
}
.page-navigation {
	display: flex;
	align-items: center;
	.options {
		display: flex;
		align-items: center;
		margin: 0 0 0 auto;
		padding: 0;
		list-style: none;
		& > li {
			padding: 0 4px;
		}
	}
	.pages {
		display: flex;
		margin: 0 -10px 0 16px;
		padding: 0;
		list-style: none;
		&:first-child {
			margin-left: auto;
		}
		& > li {
			padding: 0 4px;
			a {
				border: 0;
				display: block;
				min-width: 32px;
				height: 32px;
				font-size: 18px;
				font-weight: bold;
				line-height: 32px;
				text-align: center;
				@include border-radius(16px);
			}
			&.disabled {
				pointer-events: none;
				a {
					color: $gray;
				}
			}
			&.current {
				a {
					background: $color_primary;
					color: $white;
				}
			}
		}
	}
}