.pagination{
padding: 2px;
margin: 1em 0;
clear: both;
}

.pagination ul{
font-size:10px;
margin:0;
padding:0;
text-align:right;
}

.pagination li{
list-style-type: none;
display: inline;
padding-bottom: 1px;
}

*:first-child+html .pagination li a{ /*IE7 only CSS hack*/
margin-right: 4px; /*IE bug causes default spacing between links to disappear, so added it explicitly in IE7 */
}

* html .pagination li a{ /*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, .pagination a:active{
	border:1px solid #666;
	color:#666;
	padding:0 5px;
	text-decoration:none;
}

.pagination a:hover{
	color: #000;
	background-color: #CCC;
}

.pagination a.currentpage{ /*Style for currently selected page link*/
	background-color:#CCC;
	border-color:#CCC;
	color:#000 !important;
	cursor:default;
	font-weight:bold;
}

.pagination a.disabled, .pagination a.disabled:hover{ /*Style for "disabled" previous or next link*/
	background-color:white;
	border-color:transparent;
	color:#333;
	cursor:default;
}

.pagination a.prevnext{ /*Style for previous and next link*/
font-weight: bold;
}
