.grid-view-loading
{
	background:url(loading.gif) no-repeat;
}

.grid-view {
	clear: both;
}


.grid-view table.items
{
	border-collapse: collapse;
    width: 100%;
    margin-bottom: 0;
}


.grid-view table.items thead
{
	border-bottom: 2px solid #cacaca;
	background: #eeeeee;
	vertical-align: top;
	font-weight: bold;
	
}


.grid-view table.items thead th,
.grid-view table.items thead td
{
	padding: 3px 6px;
	line-height: 18px;
	border: 1px solid #dfdfdf;
	font-weight: bold;
	vertical-align: middle;
    white-space: nowrap;	
}


tfoot
{
	border-top: 2px solid #cacaca;
	border-bottom: 1px solid #cacaca;
	border-left: 1px solid #cacaca;
	border-right: 1px solid #cacaca;
	background: #eeeeee;
	font-weight: bold;	
}

tfoot td
{
	padding: 3px 6px;
}

.grid-view table.items tbody td {
	position: relative;
    border: 1px solid #cacaca;
    height: 34px;
    vertical-align: middle;
    white-space: nowrap;
}

.grid-view table.items tbody td
{
    padding-left: 6px;
    padding-right: 6px;
}

.grid-view table.items tbody td > a
{
    padding-left: 3px;
    padding-right: 3px;
}


.grid-view table.items tbody td.input-column
{
    padding-left: 0;
    padding-right: 0;
}


.grid-view table.items tbody td input[type=text],.grid-view table.items tbody td select {
    border: none;
    height: 100%;
    padding: 0;
    line-height: 0;
    padding-left: 6px;
    -webkit-border-radius: 0; 
    border-radius: 0;
    width: 100%;
}

.grid-view table.items tbody td input[type=text].error,.grid-view table.items tbody td select.error {
    background: #ffd2d2;
}

.grid-view table.items tbody td.incoming span {
	color: #2E8B57;
	font-weight: bold;
}

.grid-view table.items tbody td.outgoing span {
	color: #e00034;
	font-weight: bold;
}
.grid-view table.items tbody tr.attention td {
	color: red;
}

.grid-view table.items th a
{
	text-decoration: none;
}

.grid-view table.items tbody tr {
	border-top: 1px solid #dddddd;
	height: 27px;
	vertical-align: top;
}


.grid-view table.items th a.asc
{
	background:url(up.gif) right center no-repeat;
	padding-right: 10px;
}

.grid-view table.items th a.desc
{
	background:url(down.gif) right center no-repeat;
	padding-right: 10px;
}

.grid-view table.items tr.even
{
	background: #fff;
}

.grid-view table.items tr.odd
{
	background: #efeff8;
}
.grid-view table.items tr.warning
{
	background: #ecc3bb;
}
.grid-view table.items tr.selected
{
	background: #BCE774;
}

.grid-view table.items tr:hover.selected
{
	background: #CCFF66;
}

.grid-view table.items tbody tr:hover
{
	background: #ECFBD4;
}

.grid-view .link-column img
{
	border: 0;
}



ul.yiiPager .selected a, ul.yiiPager a:hover {
	background: #7c7bad;
}



.grid-view .button-column img
{
	border: 0;
}

.grid-view .checkbox-column
{
	width: 15px;
}

.grid-view .summary
{
	display: none;
	margin: 0 0 5px 0;
	text-align: right;
	position: absolute;
	right: 5px;
	top: 70px
}

.grid-view .pager
{
	margin: 5px 0 0 0;
	text-align: right;
}

.grid-view .empty
{
	font-style: italic;
}

.grid-view .filters input,
.grid-view .filters select
{
	width: 100%;
	
}
