﻿/*DataGrids*/

.DataGridNoDataPlaceholder {
    padding: 5px 3px 5px 3px;
    border-style: solid;
	border-width: 1px;
	border-color: #CCCCCC;
    font-style: italic;
}

.DataGrid
{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
}

.DataGridHeader, .DataGridFooter
{
	background-color: #07599B;
	font-weight: bold;
	font-size: 10pt;
	color: #FFFFFF;
}

.DataGridHeader td
{
	padding-left: 3px;
	padding-right: 3px;
	padding-top: 2px;
	padding-bottom: 2px;
	border-style: solid;
	border-width: 1px;
    border-color:#888888;
}
.DataGridHeader td a, .DataGridHeader td a:hover
{
	color: #FFFFFF;
}

.DataGridItem.Highlight
{
    -webkit-transition: background-color 0.4s; /* Safari  */
    transition: background-color 0.4s;
}

.DataGridItem
{
	background-color: #EAEAEF;
}

.DataGridItem td, .DataGridAlternatingItem td, .DataGridTotalRow td, .DataGridSelected td, .DataGridEditItem td
{
	border-width: 1px;
	border-left-style: solid;
	border-left-color: #CCCCCC;
	border-right-style: solid;
	border-right-color: #CCCCCC;
	border-bottom-style: none;
	padding: 2px;
}

.DataGridItem td, .DataGridAlternatingItem td, .DataGridSelected td
{
	border-top-style: none;
}

.DataGridAlternatingItem, .DataGridTotalRow
{
	background-color: ghostwhite;
}
.DataGridEditItem
{
	background-color: silver;
}
.DataGridEditItem input[type=text] 
{
    min-width:97%;
}
.DataGridSelected
{
	background-color: #ffffcc;
	
}
.DataGridPager
{
	background-color: White;
	color: red;
}
.DataGridPager td
{
	border-style: solid;
	border-width: 1px;
	border-color: #CCCCCC;
    border-top:none;
}

.NoPager
{
    margin-top:5px;
}

.CheckColumn, .EditColumn, .IconColumn
{
	width: 30px;
	text-align: center;
}

.DataGrid .CenteredColumn{
    text-align: center;
}

.DateColumn
{
    white-space:nowrap;
}

.DataGridTotalRow
{
	border-top-width: 2px;
	border-top-color: midnightblue;
	border-top-style: solid;
}

.DataGridCellWithRightBorder
{
	border-right-width: 1px !important; 
	border-right-color: midnightblue !important;
	border-right-style: solid !important;
}

.DataGridCellWarning
{
    background-color: #FAD3D3;
}



/*Plain DataGrids*/
.DataGridHeader_Plain, .DataGridFooter_Plain
{
	font-weight: bold;
}

.DataGridTotal_Plain
{
	height: 25px;
	font-weight: bold;
	vertical-align: top;
}

.DataGridHeader_Plain, .DataGridFooter_Plain, .DataGridItem_Plain, .DataGridAlternatingItem_Plain, .DataGridTotal_Plain
{
	background-color: inherit;
	border: none;
	font-size: 10pt;
}

.DataGridItem_Plain td, .DataGridAlternatingItem_Plain td, .DataGridHeader_Plain td
{
    padding-left:10px;
    padding-right:10px;
}

td.SortedColumnHeaderImageAsc, td.SortedColumnHeaderImageDesc
{
    background-position: right;
    background-repeat: no-repeat;
    padding-right:15px;
}

td.SortedColumnHeaderImageAsc
{
    background-image: url('../images/Sort_Ascending_Landfolio.png');
}

td.SortedColumnHeaderImageDesc
{
    background-image: url('../images/Sort_Descending_Landfolio.png');
}