/**
 * This stylsheet contains formating information for tables, forms, etc inside services
 * and overrides some layout settings to get more screen espace
 *
 * @ 04.09.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 > td {
   padding-top: 2px;
   padding-bottom: 2px;

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

   border-top: 1px solid white;
}

.AutoTable > * > tr:first-child td {
	padding-top: 0;
}

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

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

/** left spacer column for autotable with mandatory marker */
td.lsp_mand {
   background-image: url(img/def/star.gif);
   background-position: 14px 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;
}

.error a:link, .error a:visited {
	color: white;	
}

.errortext {
  font-size: 10pt;

  padding-left: 9px;

  color: white;
  background-color: #999999 !important;
  
  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;
}

/** for member select */
.membersLink {
	max-height: 100px;
	overflow-y: auto;
}

/* 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;
}


/** styles for fileupload input element */

div.fileUpload
{
	padding: 0; margin: 0;
}

.fileUpload .error 
{
	margin-top: 4px;	
}

.fileUpload .error .errortext 
{
	margin: 4px;
}

.fileUpload, .fileUploadStatus {
	font-size: 10pt;
}

.fileUploadStatus {
	
	position: relative;
	vertical-align: middle;
	
	padding: 2px;
	padding-left: 4px;

	border: 1px inset black;
	border-radius: 2px;
	-moz-border-radius: 2px;
	
	color: black;
		
}

.fileUploadStatus div {
	
	color: white;
	background-color: black;
		
	white-space: nowrap;
	overflow: hidden;
	
}

.fileUploadStatus div.updating {

	position: absolute; 
	left: 2px; top: 2px; right: 2px;
	
	padding: 0;
	padding-left: 2px;
	
	color: white;
	background-color: black;
		
	white-space: nowrap;
	overflow: hidden;
		
}


