/**
 * This stylsheet contains formating information for tables, forms, etc inside services
 * and overrides some layout settings to get more screen espace
 *
 * @ 06.02.2006
 */

@import url(calendar.css);

/** dbtable and co */

table {
   border: none !important;
}

td {
   vertical-align: top;
}

/* use this to prevent wrapping */
.nowrap {
   white-space: nowrap;
}

.DBTable {
	border-spacing: 1px;
}

.DBTable tr {
   background-color: #F2F2F2;
}

.DBTable td, .DBTable th {
   padding-left: 2px;
   padding-right: 2px;

   padding-top: 1px;
   padding-bottom: 1px;

   vertical-align: middle;
   empty-cells: show;
}

.DBTable th {
   vertical-align: top;
}

.DBTable .Total td {
/*   font-weight: bold; */

   background-color: #333333 !important;
   color: white;
}

.DBTable .Group {
   background-color: white !important;
   font-weight: bold;
   padding-top: 6px;
}

.DBTable .blank {
   background-color: white !important;
}

.navigation {
   text-align: center;
   padding-top: 2px;

   font-size: 9pt;
}

.DBTable .AddRow td {
   background-color: White;
   vertical-align: top;
}

.AutoTable .Title {
   font-weight: bold;
   padding-left: 0;
}

.AutoTable tr  {
   border: 1px solid green;
}

.AutoTable tr td {
   padding-top: 2px;
   padding-bottom: 2px;

   padding-left: 0;
   padding-right: 4px;

   border-top: 1px solid white;
}

/** left spacer column for autotable */
td.lsp,
td.lsp_mand {
  empty-cells: show;

  padding: 0;
  width: 16px;
  min-width: 16px;
}

/** left spacer column for autotable with mandatory marker */
td.lsp_mand {
   background-image: url(img/def/star.gif);
   background-position: 8px 0.5em;
   background-repeat: no-repeat;
}

.error td.lsp_mand {
   background-image: url(img/def/star_white.gif);
}

.AutoTable .spacer {
   height: 12px;
}

.NumInputTable {
   border: 0;
   display: inline;
   vertical-align: bottom;
}

.NumInputTable td {
   padding: 0;
   text-align: right;
   vertical-align: middle;
}

.alt, tr.alt {
   background-color: #DDDDDD;
}

.error, .error td {
  background-color: #999999 !important;

  color: white;
}

.errortext {
  font-size: 10pt;

  padding-left: 7px;

  background-image: url(img/def/error.gif);
  background-position: left;
  background-repeat: no-repeat;

  font-weight: bold;
}

optgroup {
   padding-top: 3px;
}

optgroup option {
  padding-left: 10px;
  padding-right: 10px;
}

/* fix size in moz */
textarea[rows="1"] {
   height: 20px;
}

/* following styles belong to Help-System */
.helptitle {
 font-weight: bold;
 color: white;

 background-color: #333333;

 padding-left: 10px;
 padding-top: 2px;
 padding-bottom: 4px;
}

.helptext {
   text-indent: 10px;
}

.helptext TD {
   text-indent: 0;
}

.helpbottom TD {
   text-align: left;

   padding-left: 3px;
   padding-right: 3px;
}
