.pagination{
	padding: 2px;
	margin: 1em 0;
	clear: both;	
}

.pagination ul{
	margin: 0;
	padding: 0;
	text-align: center; /*Set to "left" or "right" to left/right align pagination interface*/
	font-size: 100%;
}

.pagination li{
	list-style-type: none;
	display: inline;
	padding-bottom: 1px;
}

*:first-child+html .pagination li{
	margin-right: 4px; /*IE bug causes default spacing between links to disappear, so added it explicitly in IE7 */
}

* html .pagination li{ /*IE6 and below CSS hack*/
	margin-right: 4px; /*IE bug causes default spacing between links to disappear, so added it explicitly in IE6 and below browsers*/
}

.pagination a, .pagination a:visited{
	padding: 0 5px;
	border: 1px solid #9AAFE5;
	text-decoration: none; 
	color: #2F5582;
}

.pagination a:hover, .pagination a:active{
	border: 1px solid #2B66A5;
	color: #FFF;
	background-color: #708090;
	text-decoration: none;
}

.pagination a.currentpage{ /*Style for currently selected page link*/
	background-color: #2F5582;
	color: #FFF !important;
	border-color: #2B66A5;
	font-weight: bold;
	cursor: default;
}

.pagination a.disabled, .pagination a.disabled:hover{ /*Style for "disabled" previous or next link*/
	background-color: white;
	cursor: default;
	color: #929292;
	border-color: #2B66A5;
}

.pagination a.prevnext{ /*Style for previous and next link*/
	font-weight: bold;
}
