/*******************************************************************************
 * Stylesheet für Tabulatorseiten
 * Enthält Formatierung für Tabulator, Übersichtsliste und Detailformular.
 * @author: Daniel Grothe
 * @version: 2.0, 2008-08-01
 * @version: 1.0, 2007-12-01
 ******************************************************************************/

.cb {
	display: block;
	clear: both;
	height: 0px;
	font-size: 1px;
	line-height: 0px;
}

/*==============================================================================
  Tabulator-Control
 =============================================================================*/

.tabcontrol {
	width: 99%;
	position: relative;
	z-index: 1;
}

.tabcontrol .overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	background: #fff;
	width: 100%;
	height: 100%;
	filter: alpha( opacity = 60 );
	-moz-opacity: 0.6;
	opacity: 0.6;
}

.tabcontrol .overlay img {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -16px 0 0 -16px;
}

.tabcontrol .tabbar {
	float: left;
	padding: 0;
	margin: 0;
	width: 100%;
}

.tabcontrol .tabbar a {
	float: left;
	padding: .4em .8em;
	margin: 0 2px 0 0;
	color: #666;
	background: #f8f8f8;
	text-decoration: none;
	font-weight: bold;
	border: 1px solid #ddd;
	border-top: 2px solid #ddd;
	border-bottom: 0;
	position: relative;
	bottom: -1px;
	z-index: 1;
}

.tabcontrol .tabbar a:hover {
	color: #222;
	border-top: 2px solid #fa2;
}

.tabcontrol .tabbar a.active {
	color: #04a;
	background: #fff;
	text-decoration: underline;
	border-color: #aaa;
	border-top-color: #04a;
	border-bottom: 0;
	position: relative;
	bottom: -1px;
	z-index: 3;
}

.tabcontrol .tabbar a.active:hover {
	border-top: 2px solid #fa2;
}

.tabcontrol .tabcontent {
	clear: both;
	position: relative;
	top: 0px;
	z-index: 2;
	padding: 1em 1%;
	width: 98%;
	border: 1px solid #aaa;
	background: #fff;
}

.tabcontrol .tabpage {
	display: none;
	width: 100%;
}

.tabcontrol .tabpage h2 {
	clear: both;
}

/*==============================================================================
  Meldungen
 =============================================================================*/

.tabcontrol .messagebox {
	float: right;
	clear: right;
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0;
	cursor: default;
	z-index: 100;
}

.tabcontrol .messagebox div {
	padding: .5em;
}

.tabcontrol .messagebox img.close {
	float: right;
	margin: 0;
}

.tabcontrol .messagebox a.undo {
	font-weight: bold;
	padding: 0 1em;
}

.tabcontrol .warning {
	border: 2px solid #f88;
	background: #fee;
	color: #000;
}

.tabcontrol .success {
	border: 2px solid #8f8;
	background: #efe;
	color: #000;
}

.tabcontrol .internal {
	border: 2px solid #888;
	background: #ccc;
	color: #000;
}

/*==============================================================================
  Auswahlliste
 =============================================================================*/

.tabcontrol .liste_wrap {
	clear: both;
	padding-right: 17px; /* Good approximation for width of most scrollbars */
}

.tabcontrol .liste_head {
	clear: both;
	float: left;
	text-align: left;
	width: 99.5%;
}

.tabcontrol .liste_scroll {
	clear: both;
	height: 20em;
	overflow: scroll;
	overflow-x: hidden;
}

.tabcontrol .liste_body {
	clear: both;
	float: left;
	text-align: left;
	width: 99.5%;
	padding-bottom: 20px;
}

/*
  Listenkopf
 -----------------------------------------------------------------------------*/

.tabcontrol .liste_head {
	border: 1px solid #aaa;
	background: #002E87;
}

.tabcontrol .liste_head a {
	float: left;
	padding: .4em 0.5%;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
}

/*
  Listenkörper
 -----------------------------------------------------------------------------*/

.tabcontrol .liste_body {
	background: #fff;
}

.tabcontrol .liste_body a {
	width: 100%;
	clear: left;
	float: left;
	padding: 0;
	margin: 0;
	text-decoration: none;
	cursor: default;
	text-align: left;
	font-weight: normal;
	border: 1px solid #ccc;
	border-top: 1px solid #fff;
	color: #244;
}

.tabcontrol .liste_body a.odd {
	background: #f0f0f0;
}

.tabcontrol .liste_body a.even {
	background: #fff;
}

.tabcontrol .liste_body a.odd:hover,
.tabcontrol .liste_body a.even:hover,
.tabcontrol .liste_body a:hover {
	border-color: #4f6b72;
}

.tabcontrol .liste_body a.active {
	background: #FFE0B2;
	border-color: #FF9900;
	color: #222;
}

.tabcontrol .liste_body a span {
	float: left;
	padding: .2em 0.5%;
	margin: 0;
}

.tabcontrol .liste_body a img {
	border: 0;
}

/*==============================================================================
  Eingabeformular
 =============================================================================*/

.tabcontent form.details {
	position: relative;
	/*height: 600px;*/
	display: block;
	padding: 0;
	margin: 0;
}

.tabcontent form.details div.details {
	width: 80%;
}

.tabcontent form.details h3 {
	clear: left;
	display: block;
	width: 97%;
	padding: 0;
	margin: 0;
	font-size: 1.2em;
	font-weight: bold;
	text-align: right;
	border-bottom: 1px solid #888;
}

.tabcontent form.details h4 {
	width: 96%;
	font-size: 1.1em;
	font-weight: bold;
	padding: .5% 1%;
	margin: 0;
}

.tabcontent form.details div.line {
	clear: left;
	float: left;
	width: 100%;
	margin: .75% 0;
}

.tabcontent form.details p {
	display: inline;
	float: left;
	padding: 0;
	margin: 0 2% 0 0;
}

.tabcontent form.details .full {
	width: 96%;
}

.tabcontent form.details .big {
	width: 77%;
}

.tabcontent form.details .half {
	width: 47%;
}

.tabcontent form.details .small {
	width: 17%;
}

.tabcontent form.details label {
	font-weight: bold;
	line-height: 1.5em;
}

.tabcontent form.details select,
.tabcontent form.details input,
.tabcontent form.details textarea {
	width: 100%;
	font: 12px/15px normal Arial, sans-serif;
	margin: 0;
	/*padding: 2px;*/
	background: #fff;
	/*border: 1px solid #69d;*/
}
.tabcontent form.details textarea {
	height: 6em;
}

.tabcontent form.details .readonly {
	background: #eee;
	border-color: #aaa;
}

.tabcontent form.details .noborder {
	border: none;
}

.tabcontent form.details .toolbar {
	position: absolute;
	top: 0;
	right: 0;
	width: 20%;
	padding: 0;
	text-align: center;
	z-index: 100;
}

.tabcontent form.details .toolbar button {
	width: 80%;
	margin: 0 auto;
}

/* Anpassungen für IE 6
 * IE 6 passt die Breite des umgebenden Elements an das enthaltene an.
 -----------------------------------------------------------------------------*/
.tabcontent form.details p {
	margin-right: 1%;
}
.tabcontent form.details .full {
	width: 95%;
}
/*.tabcontent form.details .full input,
.tabcontent form.details .full textarea,
.tabcontent form.details .full select {
	padding: 2px 5px;
}*/
.tabcontent form.details .full input,
.tabcontent form.details .full select {
	text-indent: -3px;
}

.regError{
	font-size: 11px;
	font-weight: normal;
}

/* Formatierung für normale Browser.
 * Der Selektor *> wird vom IE6 ignoriert.
 -----------------------------------------------------------------------------*/
.tabcontent form.details *> p {
	margin-right: 2%;
}
.tabcontent form.details *> .full {
	width: 96%;
}
/*.tabcontent form.details *> .full input,
.tabcontent form.details *> .full textarea,
.tabcontent form.details *> .full select {
	padding: 2px 2px;
}*/
.tabcontent form.details *> .full input,
.tabcontent form.details *> .full select {
	text-indent: 0;
}

/*==============================================================================
  Anzeige von Eingabefehlern
 =============================================================================*/

.tabcontrol form.details select.error,
.tabcontrol form.details textarea.error,
.tabcontrol form.details input.error {
	border-color: #f88;
}

.tabcontrol form.details span.error {
	display: block;
	background: #fee;
	font-weight: bold;
	color: #c00;
	padding: .25em;
}
