/* Most usual classes */

/* th, td.KT_th
 * 		the top row on nextensio list
 * 		labels container on nextensio form
 * 		As on the form table headings are semantically incorrect, we have td.KT_th */
.KT_tngtable th {
	background-color: #b3b3b3;
	font-weight: bold;
	color:#333333;
	vertical-align: top;
}
.KT_tngtable td.KT_th {
	background-color: #EEEEEE;
	font-weight: bold;
	color:#333333;
	vertical-align: top;
}
/* the plain cells   */
.KT_tngtable td {
	vertical-align:middle;
}

/* *
 * recommmended css attribute order
	* layout:            display, list-style
	* box positioning:   position, float, clear
	* box position:      top, right, bottom, left
	* box clipping:      overflow, clip
	* box size:          width, height
	* box style:         margin, padding, border, background
	* text:              color, font, text-decoration, text-transform
	* text positioning:  text-align, vertical-align
	* other text:        white-space, ...
 * */

/* Table and cell look and feel */
.KT_tngtable {
	border: solid 1px #CCCCCC;
	border-collapse:collapse;
}

.KT_tngtable tfoot, .KT_tngtable thead {
	border: solid 1px #000000;
}

.KT_tngtable td, .KT_tngtable th, .KT_tngtable caption {
	padding: .2em;
	white-space: nowrap;
	vertical-align: middle;
}

.KT_tngtable th {
	background-repeat:repeat-x;
	background-color:#b3b3b3;
}

/* HACK: to make ktml3 skin work properly */
.KT_tngtable .ktml * td {
	border:none;
	white-space: normal !important;
}

.KT_tngtable .ktml span.lcontainer table {
}

.KT_tngtable .ktml span.lcontainer td {
	padding: 0 !important;
	margin: 0 !important;
	vertical-align: middle;
}

/* Buttons area for tNG form */
.KT_buttons td {
	/*padding: 0;*/
	background-color: #CCCCCC;
	text-align: right;
}

/* Fonts for the table, table headings, table cells */

.KT_tngtable th, .KT_tngtable caption {
	text-align: left;
}
.KT_tngtable td.KT_th{
	text-align:right;
}

.KT_tngtable .KT_row_filter{
 border-top:1px solid gray;
 background-color:#F7F7F7;
}
.KT_tngtable td {
}

/* Active Form Elements :font-sizes */
.KT_tngtable input, .KT_tngtable select {
}

.KT_tngtable textarea {
}

/* Special items : error containers, field hints, required table cell  */
.KT_field_error {
	color: #cc0000;
}
.KT_field_hint {
	color:#0000cc;
	font-size: 1em;
}

.KT_tngtable td.KT_required {
}

/* span containing the "*" for required field labels */
.KT_tngtable label span.KT_required {
	padding: 0 .2em;
	color: #cc0000;
	font-weight: normal;
}


/* The client-side error displaying */

	/* How the label should change on error */
	.form_validation_field_error_label {
		/* color:#cc0000; */
	}

	/* How the input's container (TD) should change on error */
	.form_validation_field_error_container {
		/* border: .2em solid black; */
	}

	/* How the input textfield should change on error */
	.form_validation_field_error_text {
		/* border:.2em solid #cc0000; */
	}

	/* The actial error message style */
.form_validation_field_error_error_message {
	color:#cc0000;
	font-weight: bold;
	clear:left;
}

form.form_validation_form_error table {
	border: 1px solid red;
}

/* The server-side error displaying */
/* topmost error div */
#KT_tngerror {
	padding: 1em 1em 1em 8em;
	margin:.5em 0;
	color: #000000;
	background-color:#FFFFFF;
	background-image:url(../nitsche/images/error.gif);
	background-repeat:no-repeat;
	background-position:1% 50%;
	border: solid 1px red;
}

/* trace container ( iniitally collapsed), and "Submit this to InterAKT... " area */
#KT_tngdeverror, #KT_tngtrace {
	border: solid 1px red;
	color: #000000;
	background-color:#FFFFFF;
	width: 80%;
	margin-top: 0.5em;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
	padding-top: 0.5em;
	padding-right: 1em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
}
    #KT_tngdeverror a, #KT_tngdeverror a:visited, #KT_tngdeverror a:active, #KT_tngdeverror a:hover, 
    #KT_tngtrace a, #KT_tngtrace a:visited, #KT_tngtrace a:active, #KT_tngtrace a:hover {
        font-weight: bold;
        text-decoration: none;
        color: #555555;
	    padding: 0 .5em 0 1.2em;
	    margin-right: 0;
    }
    #KT_tngdeverror a:hover, 
	#KT_tngtrace a:hover {
		text-decoration: underline;
    }

	/* alignment and borders for the form submit buttons */
	#KT_tngdeverror #KT_needhelp {
		text-align: right;
	}

	#KT_tngdeverror label, #KT_tngtrace label {
		display: block;
		font-weight:bold;
	}

	#KT_tngtrace ul {
		padding-left:1em;
		margin-left:1em;
	}

	#KT_tngtrace_details {
		display: none;
	}

#KT_tngwarning {
	padding: 1em 1em 1em 5em;
	margin:.5em 0;
	font-weight:bold;
	color: #000000;
	border:thin solid black;
	background-color:#000000;
	background-image:url(../nitsche/images/warning.gif);
	background-repeat:no-repeat;
	background-position:left;
}
