html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

:focus {
  outline: 0;
}
body {
  line-height: 1;
  color: black;
  background: white;
}
ol, ul {
  list-style: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
  font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}
blockquote, q {
  quotes: "" "";
}

#header {
  clear: both;
  width: 100%;
  height: 80px;
  background-image: url('images/header.png');
  background-repeat: repeat-x;
}

#header_left {
  float: left;
  background-image: url('images/headerleft.png');
  width: 250px;
  height: 80px;
}

#header_right {
  float: right;
  background-image: url('images/headerright.png');
  width: 160px;
  height: 80px;
}

#footer {
  color: #555;
  font-size: 10px;
  text-align: center;
  margin-bottom: 6px;
}

.wrapper {
  position: static;
  border: 0px;
  margin-top: 6px;
  padding-left: 4px;
  padding-bottom: 4px;
  overflow: auto;
}

a {
  color: #600;
  text-decoration: none;
  /*float: left;*/
}

a:hover {
  color: #000;
  text-decoration: none;
}

a:focus {
  outline: none;
}

body {
  width: 100%;
  min-width: 600px;
  border: 0;
  font: 80%/1em tahoma, arial, helvetica, sans-serif;

  background-image: url('images/background.jpg');
  background-repeat: repeat-x;
}

h1, h2, h3, h4, h5, h6 {
  font-family: arial, helvetica, sans-serif;
  font-size: 100%;
  line-height: 1em;
}

h1 {
  font-size: 18px;
  padding: 0 0 1em 0;
}

h2 {
  font-size: 16px;
  padding: 0 0 1em 0;
}

h3 {
  font-size: 13px;
  font-weight: bold;
  padding: 0 0 0.2em 0;
}

h6 {
  color: #555;
}

br {
  clear: both
}

strong {
   font-weight: bold;
}

.label {
  float: left;
  margin: 3px 3px 3px 0;
}

/* ---------------------------*/
/* Forms                      */
/* ---------------------------*/

#form {
  float: left;
  border: 1px solid black;
  background-color: #fff;
}

#form #caption {
  float: left;
}

#form #caption .text {
  font-size: 1.3em;
  padding: 3px 0 7px 3px;
  float: left;
}

#form #caption #help {
  float: left;
}

#form #caption #help a {
  background-image: url('images/help2.png');
  background-repeat: no-repeat;
  float: left;
  width: 16px;
  height: 16px;
  margin: 2px 2px 2px 10px;
}

#form  #content {
  float: left;
  clear: both;
}

#form #content a {
/*  float: left*/
}

.frame {
  clear: both;
  float: left;
  background-color: #f9f9f9;
  padding: 3px;
  margin: 0 0 5px 0;
  border: 0px solid black;
}

.frame .updown {
  float: left;
  margin: 5px;
}

.frame .updown .up{
  float: left;
  clear: both;
}
.frame .updown .down{
  float: left;
  clear: both;
}

.frame .framebar {
  margin: 5px 5px 5px 0px;
  float: left;
}

.frame .framebar .orderby {
  float: left;
  margin-right: 5px;
}

.frame .framebar .fieldlist {
  float: left;
  margin-right: 5px;
}
.frame .framebar .filterfield {
  float: left;
  margin-right: 5px;
}

.frame .framebar .label {
  float: left;
}

/* Panel of the frame tabs */
.tabs {
  clear: both;
  float: left;
  width: 100%;
  font-size: 93%;
  line-height: normal;
  border-bottom: 1px solid #666;
}

.tabs ul {
  margin: 0;
  padding: 5px 10px 0 0;
  list-style: none;
}
.tabs  li {
  display: inline;
  margin: 0;
  padding: 0;
}

.tabs  a {
  float: left;
  background: url("images/tableft.gif") no-repeat left top;
  margin: 0;
  padding: 0 0 0 4px;
  text-decoration: none;
}

.tabs a span {
  float: left;
  display: block;
  background: url("images/tabright.gif") no-repeat right top;
  padding: 5px 15px 4px 6px;
  color: #666;
}

.tabs a:hover span {
  color: #000;
}
  
.tabs  a:hover {
  background-position: 0% -42px;
}
  
.tabs   a:hover span {
  background-position: 100% -42px;
}
  
.tabs  #selected a {
  background-position: 0% -42px;
}

.tabs  #selected a span {
  background-position: 100% -42px;
}

.edit {
  padding: 2px;
  border: 1px solid gray;
  float: left;
  background-color: white;
}

.edit:focus {
  outline: 1px solid silver;
}

select.edit  {
  padding: 1px;
}

.error {
  background-color: #FF8080;
}

.required {
  background-color: #FFF0D0;
}

.readonly {
  background-color: #E8E8E8;
}

.datatype_INT {
  text-align: right;
}

/* a group of fields (horizontal or vertical) */
.fieldview {
  margin: 3px 3px 0 0;
  float: left;
  border: 0px solid black;
}

 /* horizontal row of field */
.fieldview .row {
  float: left;
  clear: both;
  margin: 0 0 3px 0;
/*  border: 1px solid black;*/
}

.fieldview .field {
  float: left;
  margin: 0;
  padding: 3px 3px 3px 2px;
  background-color: #fff;
  border: 1px solid black;
  overflow: hidden;
  font-size: 1.0em;
  line-height: 1.2em;
  width: 100%;
}

/* Edit control */
.fieldview .edit {
  float: left;
  margin: 0;
  padding: 3px 3px 3px 2px;  
  font-size: 1em;
  font-family: tahoma, arial, helvetica, sans-serif;
}

/* Searchoperator in a search frame */
.fieldview .searchoperator {
  margin: 0 4px 0 0;
}

/* panel containing the navigator buttons */
.navigatorpanel {
  clear: both;
  float: left;
  margin: 12px 3px 0 0;
}

/* enabled navigator button */
.navigatorpanel .button {
  margin: 0 0 0 4px;
  float: left;
}

.navigatorpanel .spacer {
  width: 16px;
  height: 10px;
  float: left;
}

/* disabled navigator button (image) */
.navigatorpanel  #add {
}
.navigatorpanel  #add[disabled] {
}

/* Panel containing the default form buttons like close, next */
.buttonpanel {
  float: left;
  clear: both;
  margin: 2px 0 0 0;
  width: 100%;
}

 .buttonpanel .button {
  margin: 3px;
}

/* grids */

.grid {
  clear: both;
  float: left;
  margin: 0 0 3px 0;
}

table.grid {
  empty-cells: show;
  border-collapse: collapse;
}

table.grid th {
  text-align: left;
  font-weight: normal;
  background-color: #f9f9f9;
  border-bottom: 1px solid black;
  border-top: 1px solid black;
  padding: 3px 0px 3px 0px;
}

table.grid th a, table.grid th a:visited {
  color: #000;
}

table.grid td {
  vertical-align: top;
  margin: 0;
  border-bottom: 1px solid #BBBBBB;
  padding: 0px 4px 0px 2px;
}

table.grid  tr:hover td.cell {
background-color: #f8f8f8;
}

table.grid tr.selected td.cell {
	background-color: #f8f8f8;
	
}

.grid .indicatorcolumn {
}

.grid .indicatorcolumn .cell{
  width: 20px;
  vertical-align: bottom;
}

.grid .indicatorcolumn  img {
  border: 0;
}

.grid .selectioncolumn{
  vertical-align: middle;
}

.grid .selectedcolumn{
  vertical-align: middle;
}

/* Cell containing one or more items */
.grid .cell {
  line-height: 1.25em;
  padding-top: 3px;
}

.grid .editcell{
  height: 1.8em;
  overflow: visible;
}

.grid .LIMIT_WRONG {
  background-color: #FF8080;
}

.grid .LIMIT_WARNING{
  background-color: #FFFF80;
}

.grid .LIMIT_OK{
  background-color: #80FF80;
}

.grid .cell .field {
  overflow: hidden;
  max-height: 3em;
  font-size: 1.0em;
  float: left;
}

.grid .cell .edit{
  font-size: 1.0em;
  font-family: tahoma, arial, helvetica, sans-serif;
  margin: 0;
}

.grid .cell .datatype_MEM {
  overflow: auto;
}

.grid .scrollbar {
  border: 1px solid #eee;
  border-right: 1px solid black;
  border-left: 1px solid black;
  background-color: #eee;
}

.grid .scrollbartop {
  border-top: 1px solid black;
  border-left: 0px;
}

.grid .scrollbarbottom{
  border-bottom: 1px solid black;
}

.grid .scrollbar .cell {
  float: left;
  clear: both;
  margin: 0px;
  padding: 5px 3px 4px 2px;
  border-bottom: 0;

  height: 1.2em;
}

.grid .scrollbar div {
  float: left;
}

.grid .scrollbar .scrollup {
}
.grid .scrollbar .scrolldown {
}
.grid .scrollbar.scrollfirst {
}
.grid .scrollbar.scrolllast {
}
.grid .scrollbar.selected {
  background-color: #c8c8c8;
  border-top: 0px;
  border-bottom: 0px;
}

.grid .rowselectioncell {
  width: 20px;
}

/* cell which contains the indicator of the selected row */
.grid .rowselectedindicator{
  width: 20px;
}
.grid .selectioncolumn #selected{
  background: url("images/buttons/checked.gif") no-repeat left top;
  min-width: 16px;
  min-height: 16px;  
}

/* Label and an edit of an horizontal fieldview */
.fieldview .horizontalfieldgroup{
  float: left;
  margin: 0 6px 3px 0;
}

/* Text area */
textarea.edit{
  font-size: 1em;
  height: 1.2em;
  font-family: tahoma, arial, helvetica, sans-serif;
  float: left;
  padding: 2px 0 2px 0;
}


.fkselectbutton {
  float: left;
  width: 16px;
  height: 16px;
  margin: 2px 2px 0 5px;
}

.fkselectbutton .fkselect {
  background-image: url('images/buttons/fkselect.gif');
  background-repeat: no-repeat;
  float: left;
  width: 16px;
  height: 16px;
}

.fkselectbutton .fkselect[disabled] {
  background-image: url('images/buttons/fkselect_.gif');
}

.blobeditbuttons {
  width: 32px;
  margin: 4px 0px 0 5px;
  float: left;

}

.blobeditbuttons .blobload {
  background-image: url('images/buttons/blobload.gif');
  background-repeat: no-repeat;
  width: 16px;
  float: left;
  height: 16px;
}
.blobeditbuttons .blobload[disabled]{
  background-image: url('images/buttons/blobload_.gif');
}

.blobeditbuttons .blobsave{
  background-image: url('images/buttons/blobsave.gif');
  background-repeat: no-repeat;
  float: left;
  width: 16px;
  height: 16px;
}

.blobeditbuttons .blobsave[disabled]{
  background-image: url('images/buttons/blobsave_.gif');
}

.errormessages {
  margin: 0 0 10px 0;
}

.errormessages h6 {
  color: red;
}

.framedescription {
  margin: 1em 0 0em 0;  
}

.textframeimage {
  float: left;
}
.textframedescription {
  margin: 1em;
}

.textframedescription br {
  clear: none
}

.memoframe {
  width: 98%;
  height: 98%;
}
.memoframe .fieldview{
  width: 98%;
  height: 98%;
}

.memoframe .edit{
  width: 98%;
  height: 98%;
}

.memoframe .field{
  overflow: auto;
}

.frameactions {
  float: left;
  margin: 8px 3px 0 0;
}

.frameactions .button{
  margin: 0 3px 0 0;
}

.formbuttons {
  float: left;
  margin: 8px 3px 0 0;
}

.choiceframe {
  padding-top: 1em;	
}

.choiceoption {
  margin: 0 0 10px 0;
  float: left;
  clear: both;
}
.choiceoption input{
  float: left;
}

.choicetexts{
  float: left;
  margin: 0 0 0 1em;
}

.choicetext {
  float: left;
  font-weight: bold;
  margin-bottom: 4px;
}

.choicedescription {
  float: left;
  clear: both;
}

.choicetext {
  float: left;
}

.frame .document .navigatorpanel {
  margin-bottom: 5px;
}
.frame .document .image {
  clear: both;
  float: left;
}

.frame .document .text {
  clear: both;
  float: left;
  margin: 20px;
}

.logframe .grid .cell {
  max-height: 20em;
  overflow: auto;
}

.logframe .grid .cell .field {
  max-height: 20em;
  overflow: auto;
}


#form .dialog {
  margin: 10px;
  padding: 10px;
  border: 1px solid black;
  background-color: #f9f9f9;
}
#form .dialog .text {
    margin-bottom: 5px;
}

#form .dialog .buttonpanel {
  margin: 10px 0 0 0;
  float: none;
}

#form .dialog .button {
  min-width: 5em
}
