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

/* $Id: winxp.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.
*/

.spgridWinxp {
  border-collapse: collapse;
  border: none;
}

.spgridWinxp .spgridTable {
  padding: 0px;
}

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

.spgridWinxp .spgridTable .spgridCell {
  border-width: 1px 1px 0px 1px;
  border-style: solid;
  border-color: #f1efe2;
  padding: 3px 5px;
  font: 11px Tahoma, Arial, sans-serif;
  -moz-user-select: none;
}

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

/* Alignment depending from type */

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

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

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

/* Header */

.spgridWinxp .spgridTable tr.spgridRow0 .spgridCell {
  background: url(winxp/headbg.jpg) repeat-x bottom #eaebdb;
  cursor: pointer;
  font-weight: normal;
  border-top: 1px solid #FAF9F4;
  border-right: 1px solid #ACA899;
  border-left: 1px solid #ACA899;
  font: 11px Tahoma, Arial, sans-serif;
  padding-bottom: 5px;
  color: #000;  
}

.spgridWinxp .spgridTable tr.spgridRow0 .spgridCell0 {
  border-left: 1px solid #FAF9F4;
}

/* Active header */

.spgridWinxp .spgridTable tr.spgridRow0 .spgridCellActive {
  background: url(winxp/headbgsel.jpg) repeat-x bottom #FAF9F4;
}

/* Sorted header */

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

.spgridWinxp .spgridTable tr.spgridRow0 .spgridSortedAscActive .spgridDiv {
  background: url(winxp/sortedasc.gif) no-repeat right center;
}

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

.spgridWinxp .spgridTable tr.spgridRow0 .spgridSortedDescActive .spgridDiv {
  background: url(winxp/sorteddesc.gif) no-repeat right center;
}

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

/* Data */

.spgridWinxp .spgridTable .spgridRow  {
  background: #fff;
}

.spgridWinxp .spgridTable .spgridRowLast .spgridCell {
  border-bottom: solid 1px #D6D2C2;
}

.spgridWinxp .spgridTable .spgridCellLast {
  border-right: solid 1px #D6D2C2;
}

/* Fixed column */

.spgridWinxp .spgridTableFixed .spgridCell {
  background: url(winxp/firstcolbg.jpg) repeat-x top #eaebdb;
  border-top: solid 1px #D6D2C2;
  border-right: solid 1px #D6D2C2;
  border-left: solid 1px #D6D2C2;
  color: #000;
}

.spgridWinxp .spgridTableFixed .spgridCell0 {
  border-left: solid 1px #FAF9F4;
}

/* Active row and cell */

.spgridWinxp .spgridTable .spgridRowActive .spgridCell {
  background: #316AC5;
  color: #fff;
}

/* Selected row and cell */

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

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

/* Invalid row and cell */

.spgridWinxp .spgridTable .spgridRowInvalid .spgridCell {
}

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

/* Editable row and cell */

.spgridWinxp .spgridTable .spgridRowEditable .spgridCell {
  background: #fff;
  color: #000;
}

.spgridWinxp .spgridTableFixed .spgridRowEditable .spgridCell {
  background: url(winxp/firstcolbg.jpg) repeat-x top #eaebdb;
}

.spgridWinxp .spgridTable .spgridRow .spgridCellEditable {
  background: #fff;
  text-align: left !important;
}

.spgridWinxp .spgridTableFixed .spgridRow .spgridCellEditable {
  background: url(winxp/firstcolbg.jpg) repeat-x top #eaebdb;
}

.spgridWinxp .spgridTable .spgridRow .spgridCellEditable0 {
  background: url(winxp/firstcolbg.jpg) repeat-x top #eaebdb;
}

.spgridWinxp .spgridTable .spgridRow .spgridCellEditable .spgridTextarea,
.spgridWinxp .spgridTable .spgridRow .spgridCellEditable .spgridSelect {
  background: #ebebeb;
  margin: 0px;
  border: 0px;
  padding: 0px;
  font: 11px Tahoma, Arial, sans-serif;
  overflow: hidden;
}

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

/* Pagination */

.spgridWinxp .spgridPagination {
  font: 11px Tahoma, Arial, sans-serif;
  color: #000;
  text-align: center;
  padding-top:5px;
}

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

.spgridWinxp .spgridPagination .spgridFirstPage,
.spgridWinxp .spgridPagination .spgridLastPage {
  background: #eaebdb;
  cursor: pointer;
}

.spgridWinxp .spgridPagination .spgridNextPage,
.spgridWinxp .spgridPagination .spgridPrevPage {
  background: #eaebdb;
  padding: 0px 4px 0px 4px;
  cursor: pointer;
}

.spgridWinxp .spgridPagination .spgridCurrentPage {
  font-weight: bold;
}
