/**
 * CSS-Regeln fuer alle Projekte, welche Cist/Ulif benuetzen
 */

/**
 * Error-Ausgaben für User von Statehandlerenvironmen
 */
.error {
  color: #FF0000;
  font-size: medium;
}

.warning {
  color: #ffa844;
  font-weight: bold;
}

.info {
  color: #338800;
}

.error, .warning, .info {
  margin-bottom: 1em;
}

/*
 * Anzeige Ulif-Timer
 */

div#ulif_timer_container {
  display: none;
}

table.ulif_timer {
  border-collapse: collapse;
  width: 70%;
  margin-top: 2em;
}

table.ulif_timer tr td, table.ulif_timer tr th {
  border: solid 1px;
  font-size: x-small;
  text-align: left;
}

table.ulif_timer thead {
  font-weight: bold;
  background-color: #eee;
}

table.ulif_timer tr {
}

table.ulif_timer tr.total td {
  font-weight: bold;
  background-color: #eee;
}

table.ulif_timer thead tr td.graph {
  width: 30%;
}

table.ulif_timer tbody tr td.graph {
  background-color: #ffc;
  text-align: right;
  margin-right: 0.2em;
  display: block; 
  position: relative;
}

/* Box oben rechts im Debug-Modus
 */
div#ulif_debug_box {
	text-align: left; 
	max-width: 800px; 
	background-color: #ffe; 
	z-index: 2000; 
	position: absolute; 
	right: 0; 
	top: 0;
	border: solid 1px #a88; 
	padding: 0.5em;
	color: black;
	white-space: pre;
	font-family: monospace;
	font-size: small;
}

div#ulif_debug_box a {
	color: #00a;
	font-size: small;
}

/**
 * Anzeige der Ulif-Errors
 */
table.ulif_errors {
  border-collapse: collapse;
}


table.ulif_errors tr {
  	color: black;
}

table.ulif_errors tr.timing {
  color: #888;
}

table.ulif_errors tr.debug {
  background: #efe;
}

table.ulif_errors tr.error {
  background: #fee;
}

table.ulif_errors tr.critical {
  background: #faa;
}

table.ulif_errors tr.warning {
  background: #ffe;
}

table.ulif_errors tbody td.message {
  white-space: pre;
}


table.ulif_errors td {
  border: solid 1px #999;
  text-align: left;
  padding-left: 0.3em;
  padding-right: 0.3em;
}

table.ulif_errors thead td {
  background: #eee;
  font-weight: bold;
}

