.pagination{
    padding: 2px;
    height: 35px;
}
.pagination ul{
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 16px;
    display: inline-block;
}
.pagination li{
    list-style-type: none;
    display: inline;
    padding-bottom: 1px;
}
.pagination a, .pagination a:visited{
    padding: 0 5px;
    border: 1px solid #000000;
    text-decoration: none;
    color: #2e6ab1;
}
.pagination a:hover, .pagination a:active, .pagination a:link, .pagination a:visited{
    border: 1px solid #0000000;
    color: #000;
    background-color: #FFFFff;
    font-size: 16px;
}

.pagination a.prevnext{
    font-weight: bold;
	border: 1px solid #000000;
    color: #ffffff;
    background-color: #000000;	
}

.page_number {
    border: 1px solid #000000;
    color: #ffffff;
    background-color: #000000;
    padding:5px;
    text-align: center;
    width: 20px;
    display: inline-block;

}

.rules
{
    height: 400px;
}