/*
	BOOTSTRAP OVERRIDE RULES
	Please do not add the .fuelux namespace wrapper class.
 */

//previous and next arrow
//should be wrapped in <span>
.pagination-previous{
	display: block;
	height: 0;
	width: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 4px solid @blue-cadet;
}
.pagination-next{
	display: block;
	height: 0;
	width: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid @blue-cadet;
}

//previous and next button
//
.pagination-btn {
	.btn-default;
	box-shadow: none;
	border: 1px solid @gray87;

	//to make arrow in the center
	.pagination-previous,
	.pagination-next {
		margin-left: 2px;
	}
}
.pagination {
	margin: 0;
	> li {
		> a {
			height: 21px;
			line-height: 1;
			padding: 5px 10px;
			color: @blue-cadet;
			&:hover,
			&:focus {
				color: @blue-cadet;
				background-color: @brand-primary-light;
			}

			//adjust arrow position
			&.pagination-btn {
				 padding-top: 6px;
			}
		}
		//adjust border, to make pagination button fit in the group
		&:first-child > a {
			&.pagination-btn {
				border-top-right-radius: 0;
				border-bottom-right-radius: 0;
			}
		}
		&:last-child > a {
			&.pagination-btn {
				border-top-left-radius: 0;
				border-bottom-left-radius: 0;
			}
		}

		&.active > a {
			&,
			&:hover,
			&:focus {
				color: @gray33;
				background-color: @blue-sky;
				border-color: @blue-sky;
			}
		}

		&.disabled > a {
			&.pagination-btn{
				#gradient > .gradient-bg(@true-white, @blue-smoke);
				.pagination-previous {
					border-right-color: @gray74;
				}
				.pagination-next {
					border-left-color: @gray74;
				}
			}
		}
	}

	&.pagination-lg {
		> li > a {
			font-size: 12px;
			height: 26px;
			padding-top: 7px;
			&.pagination-btn {
				padding-top: 8px;
			}
		}
	}
}