/**
 * Table listings
 */
table.listing {
    clear: both;
    width: 100%;
    border-collapse: collapse;
}

    table.listing thead tr th {
        text-align: left;
        padding: 5px;
        border-bottom: 4px solid #6c0;
    }
    
    table.listing thead tr th a.asc {
        padding-right: 20px;
        background: url(../media/icons/arrow_up.png) no-repeat 100% 50%;
    }

    table.listing thead tr th a.desc {
        padding-right: 20px;
        background: url(../media/icons/arrow_down.png) no-repeat 100% 50%;
    }

    table.listing tbody tr {
        background-color: #fff;
    }

    table.listing tbody tr.featured {
        background-color: #cf9;
    }

    table.listing tbody tr td {
        padding: 5px;
        border-bottom: 1px solid #6c0;
        vertical-align: top;
    }

    table.listing tbody tr td.listing-image {
        width: 80px;
        padding-left: 5px;
        vertical-align: middle;
        background: #fff url(../media/images/no-image-small.png) no-repeat 50% 50%;
    }

    table.listing tbody tr td.listing-image a {
        width: 80px;
        display: block;
    }

    table.listing tbody tr td.listing-image a img {}

    table.listing tbody tr td a.relist-listing-button,
	table.listing tbody tr td a.cancel-listing-button,
    table.listing tbody tr td a.stop-watching-button {
        float: left;
        margin-right: 5px;
    }

    table.listing tbody tr td a.listing-title {
        float: left;
    }

    table.listing tbody tr td ul.listing-attributes {
        float: right;
    }

    table.listing tbody tr td ul.listing-attributes li {
        display: inline;
        margin-left: 5px;
    }

    table.listing tbody tr td p {
        clear: both;
        padding-top: 5px;
        margin-bottom: 0;
    }

    table.listing .current-views,
    table.listing .current-watchers,
    table.listing .current-price,
    table.listing .current-bids,
    table.listing .time-remaining {
        text-align: center;
        min-width: 50px;
    }
    
    table.listing td.time-remaining {
        padding-right: 0;
    }

/**
 * Listing pagination
 */
#pagination {
    margin: 10px 0 0 0;
    float: right;
}

    #pagination ol li {
        display: inline;
        margin-right: 3px;
    }

    #pagination ol li.selected {
        font-weight: bold;
    }