﻿/* the root panel of the data grid 'div' type*/
.xdatagrid {
    min-width:400px;
}
    /* the root table of the data grid 'table' type*/
    .xdatagrid table {
        width: 100%;
    }
        /* datagrid header 'thead' type*/
        .xdatagrid table thead {
        }
            /* datagrid header column 'th' type*/
            .xdatagrid table thead tr, .evenrow td, .oddrow td {
                vertical-align: middle !important;
            }

                .xdatagrid table thead tr td div {
                    white-space: nowrap;
                    text-align: center;
                    padding: 3px 2px 3px 2px;
                    border: solid 1px rgba(62, 88, 143, 1); /*1px solid rgba(0,0,0,0.1);*/
                    border-radius: 2px;
                    color: #fff;
                    margin: 0px 0px 0px 1px;
                    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f5f5f5',EndColorStr='#f1f1f1');
                    background-color: rgba(62, 88, 143, 1); /*rgb(245, 245, 245);*/
                    cursor: default;
                    vertical-align: middle;
                    /*font-weight:bold*/
                }

                    .xdatagrid table thead tr td div.hover {
                        border-bottom: 1px solid #F1C43F;
                    }
                    /*column sorting asc icon*/
                    .xdatagrid table thead tr td div.asc {
                        background: url(images/up.png) no-repeat center top;
                        background-color: rgba(62, 88, 143, 1);
                    }
                    /*column sorting desc icon*/
                    .xdatagrid table thead tr td div.desc {
                        background: url(images/dn.png) no-repeat center top;
                        background-color: rgba(62, 88, 143, 1);
                    }
.xdatagrid div.pagerPanel {
	margin-top:5px;
    min-width:350px;
    /*padding-left:25%;
    padding-right:25%;*/
    display:inline-table;
}
.xdatagrid div.btnseparator {
	float: left;
	height: 22px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #fff;
	margin: 1px;
}
div.pGroup {
	float: left;
	background: none;
	height: 24px;
	margin: 0px 5px;
}
.xdatagrid div.pagerPanel .pPageStat,.xdatagrid div.pagerPanel .pcontrol {
	position: relative;
	top: 5px;
	overflow: visible;
}

.xdatagrid div.pagerPanel input {
	vertical-align: text-top;
	position: relative;
	top: -5px;
}

.xdatagrid div.pagerPanel  div.pButton {
	float: left;
	width: 22px;
	height: 22px;
	border: 0px;
	cursor: pointer;
	overflow: hidden;
}

.xdatagrid div.pagerPanel  div.pButton:hover,.xdatagrid div.pagerPanel  div.pButton.pBtnOver
	{
	width: 20px;
	height: 20px;
	border: 1px solid #ccc;
	cursor: pointer;
}
.pcontrol input
{
    text-align:center
}
.xdatagrid div.pagerPanel  div.pButton span {
	width: 20px;
	height: 20px;
	display: block;
	float: left;
}

.xdatagrid div.pagerPanel  div.pButton:hover span,.xdatagrid div.pagerPanel  div.pButton.pBtnOver span
	{
	width: 19px;
	height: 19px;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}

.xdatagrid .pFirst {
	background: url('images/first.gif') no-repeat center;
}

.xdatagrid .pPrev {
	background: url(images/prev.gif) no-repeat center;
}

.xdatagrid .pNext {
	background: url(images/next.gif) no-repeat center;
}

.xdatagrid .pLast {
	background: url(images/last.gif) no-repeat center;
}

div.pagerPanel select {
	margin:0px;
}

div.pagerPanel input {
	margin:0px;
}
.oddrow div {
    background: rgba(221,235,247,0.5); /*#f7f7f7;*/
    /*border-bottom: 1px solid rgba(0,0,0,0.1);*/
}

.evenrow div {
    background: rgba(189,215,238,0.5); /*#e7e7e7;*/
    /*border-bottom: 1px solid #e7e7e7;*/
}

.evenrow div, .oddrow div {
    padding: 3px 2px 3px 2px;
    border: solid 1px rgba(62, 88, 143, 0);
    /*border: 1px solid rgba(0,0,0,0.1);*/
    margin: 0px 0px 0px 1px;
    min-height: 14px;
}

.xdatagrid table tr.evenrow:hover div, .xdatagrid table tr.oddrow:hover div {
    border: 1px solid #F1C43F;
    background: #fdeeb3;
    cursor: pointer;
    /*border: 1px solid #F1C43F;

	background: #fee486;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fef9c9), to(#fee486));
	background: -moz-linear-gradient(#fef9c9, #fee486);
	-pie-background: linear-gradient(#fef9c9, #fee486);*/
    /*cursor: pointer;*/
    /*background: rgba(0,0,0,0.2);
    cursor:pointer*/
}
.xdatagrid.ie div.headerPanel th div,.xdatagrid.ie  div.bodyPanel td  div,div.colCopy.ie div
	/* common inner cell properties*/ {
	overflow: hidden;
}

.xdatagrid .selectAll{
    width:20px;
}
.multiselect-add-panel{
    margin-bottom:10px;
}