﻿.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* This style sheet is intended to contain OFTEN CHANGED rules used when the DetailsView control adapter is enabled. */
/* See FormViewExample.css for comparison of similar rules. */

#SampleDetailsView
{
    width:20em;
    position:relative;
}

/* Please refer to FormViewExample.css for comments on these rules. */
.PrettyDetailsView 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). */
.PrettyDetailsView div.AspNet-DetailsView-Data li
{
    padding: 3px 0 2px 4px;
    color: #333333;
    background-color: White;
    vertical-align: middle;
    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). */
.PrettyDetailsView div.AspNet-DetailsView-Data li.AspNet-DetailsView-Alternate
{
    background-color: #F7F6F3;
}

/* This corresponds to the HeaderText attribute of an <asp:BoundField>. */
.PrettyDetailsView span.AspNet-DetailsView-Name
{
    position:absolute;
    top: 3px;
    left: 0;
    font-weight: bold;
}

/* This corresponds to the DataField attribute of an <asp:BoundField>. */
.PrettyDetailsView span.AspNet-DetailsView-Value
{
    margin-left:8em;
}

/* --------------------------------------------------------------------------------------------------- */
/* Please refer to FormViewExample.css for comments on these rules. */
.PrettyDetailsView .AspNet-DetailsView-Pagination
{
    background-color: #284775;
    text-align:center;
    padding: 4px 0 4px 0;
    position:relative;
}

.PrettyDetailsView .AspNet-DetailsView-ActivePage
{
    color: White;
    margin-left: 4px;
}

.PrettyDetailsView .AspNet-DetailsView-OtherPage
{
    color: #00FFFF;
    text-decoration:none;
    margin-left: 4px;
}
