﻿.MasterDetailView
{
    border-radius: 6px;
    border-width: 1px;
    border-color: #aaa;
    border-style: solid;
}

    .MasterDetailView > thead
    {
        background-color: #ccc;
    }

    .MasterDetailView > tfoot
    {
        background-color: #eee;
    }
    
    .MasterDetailView input[type=text]
    {
        width: 99%;
    }

    .MasterDetailView > thead > tr > th
    {
        padding-left:0.5em;
        padding-right:0.5em;
    }

.MasterDetailView>tbody>tr>td
{
    padding: 3px;
    border-right: solid 1px #aaa;
    white-space: pre;
}

    .MasterDetailView td > div
    {
        text-align: left;
    }

.MasterDetailView > tbody > tr > td.noData
{
    padding: 2em;
}

.MasterDetailView > tbody
{
    background-color: #fff;
}

.MasterDetailView > tbody > tr.alternateRow
{
    background-color:#f7f7f7;
}

.MasterDetailView > tfoot td
{
    text-align: right;
}

.MasterDetailView > tfoot a, .MasterDetailView > tfoot span
{
    padding-right: 1em;
    font-weight: bold;
}
