body {
  background-color: #FFFFFF;
  margin: 0px;
}

body,p,h1,h2,h3,table,td,th,ul,ol,textarea,input,select,iframe {
  font-size: 11px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  color: black;
}

.nav {
  margin-left: 2px;
  margin-bottom: 2px;
}

table,input,textarea,select {
  font-size: 100%;
  vertical-align: top;
  margin-bottom: 1px;
}

img {
  border-style: none;
}

img.toolbar {
  background-color: #FFFFFF;
  border: 1px solid #999999;
  color: black;
  padding: 1px;
  width:16px;
  height:16px;
}

/* Devider in einer Toolbar */
img.toolbardiv {
  border: none;
  padding: 2px;
  width:4px;
  height:16px;
  text-align:center;
}

input,textarea,select {
  background-color: white;
  /*border: 1px solid #999999;*/
  border-top:1px solid #7c7c7c;
  border-left:1px solid #c3c3c3;
  border-right:1px solid #c3c3c3;
  border-bottom:1px solid #ddd;
  background:#fff url(fieldbg.gif) repeat-x top;
  color: black;
  padding: 1px;
}

/* Pseudo-Klasse :focus für input-Controls mit hellgrauem Hintergrund */
input:focus,select:focus,textarea:focus {
  background-color: #F4FFEC;
}

/** Fehlerhafte Felder mit rotem Hintergrund */
input.error,textarea.error,select.error {
  background-color: red;
}

/* Pflichtfelder */
input.mandantory,textarea.mandantory,select.mandantory {
  background-color: #FFF5EE;
}

/* Readonly-Felder */
input.readonly,textarea.readonly,select.readonly {
  background-color: #F7F7F7;
}

/* Felder, in die nur Großbuchstaben eingegeben werden dürfen */
input.upper,textarea.upper,select.upper {
  text-transform: uppercase;
}

/* Länge 5 und kleiner */
input.length5 {
  width: 45px;
}

/* Länge 6 bis 11 sowie Datumsfelder */
input.length6-11 {
  width: 95px;
}

/* Länge 12 bis 23 */
input.length12-23 {
  width: 145px;
}

/* Länge 24 und größer */
input.length24 {
  width: 245px;
}

/* Links(meist onClicks) die einen Span eingepackt sind */
span.link {
  text-decoration: underline;
  padding-right: 5px;
}

iframe {
  padding:0px;
  margin:0px;
}

.actionimage {
  background-color: #FFFFFF;
  border-style: solid;
  border-width: 1px;
  color: black;
  border-color: #999999;
  padding: 1px;
  width: 30mm;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
}

table.spreadsheet {
  color: #333333;
  background-color: white;
  border: 1px solid #eeeeee;
  /* border-collapse: collapse; ff-Problem mal prüfen!!!!*/
  margin: 0px;
  padding: 0px;
}

table.ex {
  color: #000000;
  background-color: #f1f1f1;
}

/** Fehlermeldungen **/
.error_message {
  color: #ffffff;
  background-color: #CC0000;
  width: 100%;
  font-weight: bold;
}

.error_message tr td{
  color: #ffffff;
  background-color: #CC0000;
  width: 100%;
  font-weight: bold;
}

tr {
  vertical-align: top;
}

tr.spreadsheet {
  background-color: transparent;
  color: black;
}

/** Gerade Zeilen innerhalb eines Grids: derzeit keine Ergänzungen zu tr.spreadsheet **/
tr.even {
}

/** Ungerade Zeilen innerhalb eines Grids: derzeit keine Ergänzungen zu tr.spreadsheet **/
tr.odd {
}

/** Markierte Zeilen innerhalb eines Grids: mit rotem Text **/
tr.marked {
  background-color: #ffdddd;
  color: red;
  cursor: pointer;
}

/** Versteckte Zeilen (falls keine Eingabefelder, sondern nur versteckte Felder vorhanden sind) */
tr.hidden {
  display:none;
}

/** Default für alle Tabellenzellen **/
td {
  text-align: left;
}

/** Standard-Grid-Tabellenzelle **/
td.spreadsheet {
  border: 1px solid #eeeeee;
  padding: 1px 1px 1px 3px;
  white-space: nowrap;
  background-color: transparent;
}

/** Gruppenköpfe: grauer Hintergrund, fette Schrift **/
td.groupheader {
  font-weight:bold;
  background-color: #f0f0f0;
}

/** Für Find-Felder innerhalb eines Grids: keine Ergänzungen **/
td.find {
  background-color: transparent;
}

/** Zellen mit Eingabefeldern in Insert/Update-Masken **/
td.inputfield {
  min-width: 250px;
  width: 250px;
  background-color: transparent;
}

/** Zellen mit Labels in Insert/Update-Masken **/
td.fieldlabel {
  width: 100px;
  white-space: nowrap;
  background-color: transparent;
  padding-right: 5px;
  text-align: right;
}

/** Zellen mit Toolbar-Buttons: Kein Innen- bzw. Außenabstand, kein Zeilenumbruch **/
td.toolbar {
  padding:0px;
  margin:0px;
  white-space:nowrap;
  /**width:35px;**/
}  

/** Hilfszellen fürs Layout mit grauem Hintergrund **/
td.graycell {
  background-color: #f0f0f0;
  color: black;
}

/** Default für alle Tabellenüberschrifen **/
th {
  text-align: left;
}

/** Tabellenüberschriften im Grid **/
th.spreadsheet {
  background-image: url(../images/design/long/header_bg.gif);
  padding: 2px 1px 2px 3px;
  white-space: nowrap;
}

/** Sortierbare Tabellenspalten **/
th.sortable {
  cursor:pointer;
}

/** Tabellenspalten, nach denen sortiert wurde **/
th.sorted {
  color:red;
  font-weight:bolder;
}

div.spreadsheet {
  background-color: white;
  height: 100%;
}

form {
  padding:0px;
  margin:0px;
  /*background-color: #f0f0f0;*/
}

fieldset {
  margin: 2px 6px 5px 6px;
  padding: 1px;
  background-color: #ffffff;
  border: 1px solid #cccccc; 
  -moz-border-radius: 7px;
}

p.red {
  color: #FF0000;
  background-color: transparent;
}

pre {
  font-family: "Courier New", monospace;
  font-size: 110%;
  margin-left: 0;
  margin-bottom: 0;
}

/** Span für versteckte Formularfelder: werden außerhalb des Fensters angezeigt **/
span.hiddenFields {
  position:absolute;
  z-index:-100;
  left:-100px;
  top:-100px;
}

/** Wird benötigt, wenn mehr als zwei input-Tags in einer Tabellenzelle dargestellt werden sollen
    Der IE macht auch dann einen Zeilenumbruch, wenn es gar nicht nötig wäre */
span.nowrap {
  white-space:nowrap;
}

/** Required Label FETT */
label.required {
	font-weight: bold;
}
/** Required mit rotem Stern dahinter*/
span.required {
  color: #ff0000;
  font-size: xx-small;
}

/** Darstellung von Text bei disableten Buttons **/
span.disabled {
  color: grey;
}

img.float {
  float: left;
}

hr {
  background-color: transparent;
  color: #000000;
  height: 1px;
}

a.nounderline {
  text-decoration: none;
}

a {
  text-decoration: none;
  color: #636563;
  background-color: transparent;
}

a:link {
  text-decoration: none;	
  color: #636563;
  background-color: transparent;
}

a:visited {
  text-decoration: none;
  color: #636563;
  background-color: transparent;
}

a:active {
  text-decoration: none;
  color: #636563;
  background-color: transparent;
}

a:hover {
  text-decoration: underline;
  color: #636563;
  background-color: transparent;
}

a.left:link {
  text-decoration: none;
  color: #636563;
  background-color: transparent;
}

a.left:visited {
  text-decoration: none;
  color: #636565;
  background-color: transparent;
}

a.left:hover {
  text-decoration: underline;
  color: #636563;
  background-color: transparent;
}

a.left:active {
  text-decoration: underline;
  color: #636563;
  background-color: transparent;
}

a.red:link {
  color: #FF0000;
  background-color: transparent;
}

a.red:visited {
  color: #FF0000;
  background-color: transparent;
}

a.red:active {
  color: #FF0000;
  background-color: transparent;
}

a.red:hover {
  color: #FF0000;
  background-color: transparent;
}

.button {
  background-color: #CCCCCC;
  border-color: #333333 #333333 #333333 #333333;
  height: 20px;
  width: 110px;
  font-weight: normal;
  color: #000000;
  cursor: pointer;
  border-style: solid;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px
}

/* F4-Button */
.promptbutton {
  background-color: #FFFFFF;
  border-style: none;
  font-size: 7pt;
  color: black;
}

/* Button in einer Gridzeile */
.rowbutton {
  background: transparent none;
  color: #000000;
  border-style: none;
  margin: 0px;
  padding-left: 1px;
  padding-right: 1px;
}

/* Standard-Buttons */
button {
  background: transparent none;
  border: 0px none transparent;
  margin: 0px;
  padding: 0px;
  vertical-align: baseline;
  cursor: pointer;
  color: black;
}

/* Bild im Button in einer Toolbar */
button.toolbar {
  text-align:center;
}

/* Confirm-Buttons */
button.confirmbutton {
  border: 0px transparent none;
  margin: 1px;
  width: 30px;
}

/* Kleine Buttons */
button.smallbutton {
  color: inherit;
  border: 0px transparent none;
  width: 12px;
  height: 12px;
}

/* DeleteConfirm-Div */
#confirm {
  width:200px;
  height:120px;
  position:absolute;
  top:50%;
  left:50%;
  margin:-50px auto auto -100px;
  background-color:red;
  padding: 5px;
  text-align:center;
  z-index: 999;
}
div.mainFrame {
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  border-bottom: 1px solid #666666;
  border-left: 1px solid #666666;
  padding: 0px 0px 10px 0px;
  margin: 20px 7px 5px 7px;
  white-space: nowrap;
  background-color: #f0f0f0;
  overflow: auto;
}
div.topHeader {
  padding: 0px 0px 0px 0px;
  margin: 15px 7px 5px 7px;
  white-space: nowrap;
  background-color: transparent;
  overflow: auto;
  text-decoration: none;
  color: slategray;
}
div.topHeader a{
  padding: 0px 0px 0px 0px;
  margin: 15px 7px 5px 7px;
  white-space: nowrap;
  background-color: transparent;
  overflow: auto;
  text-decoration: none;
  color: slategray;
}