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

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

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

.spgridBlackandwhite .spgridTable {
  padding: 0px;
}

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

.spgridBlackandwhite .spgridTable .spgridCell {
  border: 1px solid #666;
  padding: 3px 5px;
  font: 11px Verdana, Arial, Tahoma, sans-serif;
  -moz-user-select: none;
  cursor: pointer;
}

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

/* Alignment depending from type */

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

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

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

/* Header */

.spgridBlackandwhite .spgridTable tr.spgridRow0 .spgridCell {
  background: #777;
  cursor: pointer;
  border-right: solid 1px #ACA8A9;
  border-top: solid 1px #ccc;
  font: 11px Verdana, Arial, Tahoma, sans-serif;
  font-weight: normal;
  padding-top: 5px;
  color: #ddd; 
}

.spgridBlackandwhite .spgridTable tr.spgridRow0 .spgridCellLast {
  border-right: solid 1px #666;
}

/* Active header */

.spgridBlackandwhite .spgridTable tr.spgridRow0 .spgridCellActive {
  background: #999898;
  cursor: pointer;
  color: #222229; 
}

/* Sorted header */

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

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

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

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

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

/* Data */

.spgridBlackandwhite .spgridTable .spgridRowOdd  {
  background: #ccc;
}

.spgridBlackandwhite .spgridTable .spgridRowEven {
  background: #fff;
}

.spgridBlackandwhite .spgridTable .spgridRowActive {
  background: #666;
  color: #f0f3f8;
}

.spgridBlackandwhite .spgridTable .spgridRow .spgridCell {
  border-bottom: 0px;
}

.spgridBlackandwhite .spgridTable .spgridRowLast .spgridCell {
  border-bottom: solid 1px #666;
}

/* Selected row and cell */

.spgridBlackandwhite .spgridTable .spgridRowSelected {
  background: #e90;
}

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

/* Invalid row and cell */

.spgridBlackandwhite .spgridTable .spgridRowInvalid .spgridCell {
}

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

/* Editable row and cell */

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

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

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

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

/* Pagination */

.spgridBlackandwhite .spgridPagination {
  font: 12px Arial, Tahoma, Verdana, sans-serif;
  color: #999;
  text-align: center;
  padding-top:5px;
  font-weight: bold;
}

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

.spgridBlackandwhite .spgridPagination .spgridNextPage:hover,
.spgridBlackandwhite .spgridPagination .spgridPrevPage:hover {
  text-decoration: underline;
}

.spgridBlackandwhite .spgridPagination .spgridFirstPage {
  cursor: pointer;
  padding-left: 10px;
}

.spgridBlackandwhite .spgridPagination .spgridLastPage {
  cursor: pointer;
  padding-right: 10px;
}

.spgridBlackandwhite .spgridPagination .spgridFirstPage:hover,
.spgridBlackandwhite .spgridPagination .spgridLastPage:hover {
  text-decoration: underline;
}

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