/**
 * \file southprojects Grid theme.
 *
 * Copyright (c) 2006 by SouthProjects
 * http://www.southprojects.com
 * Santiago, Chile,
 * Version 1.2 Dec 2006.
 * All rights reserved.
 */

/* $Id: default.css 5093 2006-11-14 12:27:10Z alex $ */

/*
  Root class name is formed from spgrid + theme file name with first character
  in upper case and following characters in lower case.
*/

.spgridDefault {
  border-collapse: collapse;
  border: 0px;
}

.spgridDefault .spgridTable {
  padding: 0px;
}

.spgridDefault .spgridTableTable {
  border-collapse: collapse;
}

.spgridDefault .spgridTable .spgridCell {
  border: 1px solid #fff;
  padding: 3px;
  font: small Arial, sans-serif;
  color: #000;
  -moz-user-select: none;
}

.spgridDefault .spgridTable .spgridDiv {
  overflow: hidden;
}

/* Alignment depending from type */

.spgridDefault .spgridTypeInt,
.spgridDefault .spgridTypeIntGerman,
.spgridDefault .spgridTypeFloat,
.spgridDefault .spgridTypeFloatGerman
{
  text-align: right;
}

.spgridDefault .spgridCell0 .spgridTypeInt,
.spgridDefault .spgridCell0 .spgridTypeIntGerman
{
  text-align: center;
}


.spgridDefault .spgridTypeBoolean,
.spgridDefault .spgridTypeBooleanTF {
  text-align: center;
}

/* Header */

.spgridDefault .spgridTable tr.spgridRow0 .spgridCell {
  background: #7f8fbf;
  cursor: pointer;
  font-weight: bold;
  border-top: 1px solid #000;
}

/* Sorted header */

.spgridDefault .spgridTable tr.spgridRow0 .spgridSortedAsc .spgridDiv {
  background: url(default/sortedasc.gif) no-repeat right center;
}

.spgridDefault .spgridTable tr.spgridRow0 .spgridSortedDesc .spgridDiv {
  background: url(default/sorteddesc.gif) no-repeat right center;
}

.spgridDefault .spgridTable tr.spgridRow0 .spgridSortedAsc .spgridDiv .spgridSpan,
.spgridDefault .spgridTable tr.spgridRow0 .spgridSortedDesc .spgridDiv .spgridSpan
{
  display: block;
  padding-right: 10px;
}

/* Data */

.spgridDefault .spgridTable .spgridRowOdd .spgridCell {
  background: #e7e7e7;
}

.spgridDefault .spgridTable .spgridRowEven .spgridCell {
  background: #c5c5d0;
}

.spgridDefault .spgridTable .spgridRow .spgridCell {
  border-top: 0px;
}

.spgridDefault .spgridTable .spgridRow .spgridCell0 {
  border-left: 1px solid #000;
}

.spgridDefault .spgridTable .spgridRow .spgridCellLast {
  border-right: 1px solid #000;
}

.spgridDefault .spgridTable .spgridRowLast .spgridCell {
  border-bottom: 1px solid #000;
}

/* Selected row and cell */

.spgridDefault .spgridTable .spgridRowSelected .spgridCell {
  background: #e90;
}

.spgridDefault .spgridTable .spgridRow .spgridCellSelected {
  background: #e60;
}

/* Invalid row and cell */

.spgridDefault .spgridTable .spgridRowInvalid .spgridCell {
}

.spgridDefault .spgridTable .spgridRow .spgridCellInvalid {
  background: #f00;
  color: #fff;
}

/* Editable row and cell */

.spgridDefault .spgridTable .spgridRowEditableOdd .spgridCell {
  background: #e7e7e7;
}

.spgridDefault .spgridTable .spgridRowEditableEven .spgridCell {
  background: #c5c5d0;
}

.spgridDefault .spgridTable .spgridRowEditableOdd .spgridCellEditable {
  background: #e7e7e7;
  text-align: left !important;
}

.spgridDefault .spgridTable .spgridRowEditableEven .spgridCellEditable {
  background: #c5c5d0;
  text-align: left !important;
}

.spgridDefault .spgridTable .spgridRowEditable .spgridCellEditable .spgridTextarea,
.spgridDefault .spgridTable .spgridRowEditable .spgridCellEditable .spgridSelect {
  background: #fff;
  margin: 0px;
  border: 0px;
  padding: 0px;
  font: small Arial, sans-serif;
  overflow: hidden;
}

/* Checkbox */
.spgridDefault .spgridTable .spgridRowEditable .spgridCellEditable .spgridInput {
  height: 13px;
  width: 13px;
  margin: 0px;
}

/* Pagination */

.spgridDefault .spgridPagination {
  font: small Arial, sans-serif;
  color: #000;
  text-align: center;
}

.spgridDefault .spgridPagination .spgridNextPage,
.spgridDefault .spgridPagination .spgridPrevPage {
  cursor: pointer;
  padding: 0px 4px 0px 4px;
}

.spgridDefault .spgridPagination .spgridFirstPage,
.spgridDefault .spgridPagination .spgridLastPage {
  cursor: pointer;
}

.spgridDefault .spgridPagination .spgridPage {
  cursor: pointer;
  text-decoration: underline;
}
