﻿.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. */
 div.AspNet-DetailsView-Header
{
    color: #F7F6F3;
    background-color: #5D7B9D;
    font-weight: normal;
    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). */
 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 */
    list-style:none;
    clear:left;
}

/* 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). */
 div.AspNet-DetailsView-Data li.AspNet-DetailsView-Alternate
{
    /*background-color: #F7F6F3;*/
}

/* This corresponds to the HeaderText attribute of an <asp:BoundField>. */
 div.AspNet-DetailsView-Name
{
	color: #005685;
	font-weight:bold;
	vertical-align:text-top;
	margin-right:10px;
    min-width: 150px;
    text-align:right;
    float:left;
   xxborder:1px solid;
    
}

/* This corresponds to the DataField attribute of an <asp:BoundField>. */
 div.AspNet-DetailsView-Value
{
	min-width:250px;
    margin-left:0px;
    text-align:left;
    xxfloat:left;
}

/* --------------------------------------------------------------------------------------------------- */
/* Please refer to FormViewExample.css for comments on these rules. */
 .AspNet-DetailsView-Pagination
{
    background-color: #284775;
    text-align:center;
    padding: 4px 0 4px 0;
    position:relative;
}
 .AspNet-DetailsView-ActivePage
{
    color: White;
    margin-left: 4px;
}

.AspNet-DetailsView-OtherPage
{
    color: #00FFFF;
    text-decoration:none;
    margin-left: 4px;
}

/* CssDetailsViewMini overrides the existing widths so it can fit in a single column (2-col layout width:25em;)*/
.CssDetailsViewMini 
{
	width: 99%;
}
.CssDetailsViewMini div.AspNet-DetailsView-Name
{
	min-width: 7em;
	vertical-align:middle;
} 
.CssDetailsViewMini div.AspNet-DetailsView-Value
{
	/*reduce the min-width from 250px to 10em*/
	min-width: 10em;
	vertical-align:middle;
}
.CssDetailsViewMini div.AspNet-DetailsView-Value input
{
	/* make thewidth smaller to allow the error things to go next to it*/
	min-width: 7em;
}
