﻿/*  Used for all DetailsView Controls.  */
.MillworkDetailsView
{
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.AspNet-DetailsView
{
	border: 1px solid;
}

/*  Begin MillworkDetailsView  */
/*  Please refer to FormViewExample.css for comments on these rules.  */
.MillworkDetailsView div.AspNet-DetailsView-Header
{
    color: #F7F6F3;
    background-color: #5D7B9D;
    font-weight: bold;
    padding: 4px 0 4px 4px;
    position: relative;
}

/*  Each field defined for the DetailsView generates an individual list item (li) in the rendered HTML.  */
/*  Each li effectively is a row in a table (though no table tag is generated by the adapter).  */
.MillworkDetailsView div.AspNet-DetailsView-Data li
{
    padding: 3px 0 2px 4px;
    position: relative;
    color: #333333;
    background-color: #ffffff;
    vertical-align: middle;
    font-size: 9pt;
    min-height: 1.4em; /*  ADDED for Firefox  */
}

/*  Every other field is marked as being "Alternate."  */
/*  This allows you to define an "alternating row" style (though the adapter doesn't actually generate an HTML table).  */
.MillworkDetailsView div.AspNet-DetailsView-Data li.AspNet-DetailsView-Alternate
{
    background-color: #F7F6F3;
}

/*  This corresponds to the HeaderText attribute of an <asp:BoundField>.  */
.MillworkDetailsView span.AspNet-DetailsView-Name
{
    position: absolute;
    top: 4px;
    left: 5px;
    font-weight: bold;
    font-size: 8pt;
}

/*  This corresponds to the DataField attribute of an <asp:BoundField>.  */
.MillworkDetailsView span.AspNet-DetailsView-Value
{
    margin-left: 10em;
    font-size: 8pt;
}

.MillworkDetailsView span.AspNet-DetailsView-Value input,
.MillworkDetailsView span.AspNet-DetailsView-Value select,
.MillworkDetailsView span.AspNet-DetailsView-Value textarea
{	
    font-size: 8pt;
}

.MillworkDetailsView .AspNet-DetailsView-Pagination
{
    background-color: #284775;
    text-align: center;
    padding: 4px 0 4px 0;
    position: relative;
    font-size: 8pt;
}

.MillworkDetailsView .AspNet-DetailsView-ActivePage
{
    color: #ffffff;
    margin-left: 4px;
}

.MillworkDetailsView .AspNet-DetailsView-OtherPage
{
    color: #00FFFF;
    text-decoration:none;
    margin-left: 4px;
}
/*  End MillworkDetailsView  */
