.pagination{
    padding: 2px;
    margin: 0 0 0 0;
    /*clear: both;*/
}

.pagination ul{
    margin: 0 0 0 0;
    padding: 1em;
    text-align: left; /*Set to "left" or "right" to left/right align pagination interface*/
    font-size: 100%;
}

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

*: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{
    padding: 0px 5px;
    border: 1px solid #CCCCCC;
    text-decoration: none;
    color: #999999;
}

.pagination a:hover{
    border: 1px solid #CCCCCC;
    color: #333333;
    background-color: #EDF0D7;
}

.pagination a.currentpage{ /*Style for currently selected page link*/
                           background-color: #EDF0D7;
                           color: #666666!important;
                           border-color:  #CCCCCC;
                           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: #999999;
                                                      border-color: transparent;
}

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