﻿
.grid {
    width: 100%;
    table-layout: fixed;
}

tr.gridrow > td:nth-child(1), tr.gridrow_alternate > td:nth-child(1) {
    border-left: 1px solid #E0E0E0;
}

.mc-grid-pager-results {
    color: #ffffff;
    display: inline-block;
}

.mc-grid-pager {
    color: #ffffff;
    float: right;
    display: inline-block;
}

.mc-grid-page-size {
    margin-left: 5px;
    margin-right: 5px;
}

.ui-icon {
    display: inline;
}

.grid th {
    padding-right: 10px;
    padding-left: 9px;
    text-align: left;
    background-color: rgba(161, 161, 161, 0.47);
    color: #000000;
    height: 25px;
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

    .grid th a {
        color: #000000;
        text-decoration: none;
    }

    .grid th label.sort-action {
        cursor: pointer;
        cursor: hand;
    }

.sortable, .sort_asc, .sort_desc {
    cursor: pointer;
    cursor: hand;
}

.grid td {
    padding-left: 9px;
    padding-right: 10px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    word-wrap: break-word;
    vertical-align: text-top;
}

    .grid td a {
        color: #00F;
        text-decoration: none;
        margin-right: 5px;
    }

.sortable {
    background: url('../images/column-sortable.png') no-repeat center right;
    margin-left: 3px;
    margin-right: 3px;
}

.sort_asc {
    background: url('../images/column-asc.png') no-repeat center right;
}

.sort_desc {
    background: url('../images/column-desc.png') no-repeat center right;
}

.previous {
    background: url('../images/back_enabled.png') no-repeat top left;
}

.next {
    background: url('../images/forward_enabled.png') no-repeat top right;
}

.addIcon {
    background: url('../images/add.png') no-repeat top right;
    cursor: pointer;
    display: inline-block;
    height: 16px;
    line-height: 26px;
    margin-bottom: 2px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 2px;
    text-align: left;
    vertical-align: middle;
    width: 16px;
}

.mc-grid-page-next, .mc-grid-page-first, .mc-grid-page-previous, .mc-grid-page-last {
    display: inline-block;
    margin-top: 8px;
    margin-left: 5px;
    cursor: pointer;
    cursor: hand;
}

.tableHeader {
    background: linear-gradient(to bottom, #78B1ED 0%, #417BB5 100%);
    font-weight: bold;
    line-height: 30px;
    text-align: left;
    color: #ffffff;
    height: 30px;
    padding: 5px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.mc-grid-footer {
    background: linear-gradient(to bottom, #78B1ED 0%, #417BB5 100%);
    font-weight: bold;
    line-height: 30px;
    text-align: left;
    color: #ffffff;
    height: 30px;
    padding: 5px 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.mc-grid-page-number {
    width: 20px;
    margin-left: 5px;
    margin-right: 5px;
}

.addButton {
    float: right;
    display: block;
}

.editButtons {
    padding-bottom: 5px;
    padding-left: 10px;
    padding-top: 5px;
}

.gridrow_alternate {
    background: #efefef;
}
