zzform *
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form.fh
{
	border: none;
	padding: none;
	margin: 0 0 1em;
	
	position: relative;
}

form.fh
{
	max-width: 500px;
	margin: 0 0 0.5em;
	padding: 0 0 0.5em;
	/*border-bottom: 1px solid #DDD;*/
}

form.fh legend
{
	padding: 0;
	font-style: normal;
	margin: 0 0 0.3em;
	font-size: 1.2em;
	font-weight: normal;
	color: #007AC2;
}

form.fh label
{
	display: block;
	font-weight: normal;
	float: none;
	margin: 0;
	width: 100%;
	font-size: 11px;
}

form.fh label
{
	font-weight: bold;
	font-size: 1.1em;
}

form.fh input, form.fh textarea, form.fh select { margin: .5em 0; }

form.fh input.text, form.fh textarea
{
	background: #F8F8F8;
	border: 1px solid rgba(0,0,0,.15);
	border-left-color: rgba(0,0,0,.3);
	border-top-color: rgba(0,0,0,.3);
	box-shadow: inset 1px 1px 5px rgba(0,0,0,.1);
	-webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,.1);
	color: #555;
	line-height: 1;
	padding: .25em .35em;
	width: 100%;
	border-radius:2px
}

form.fh input.text:focus, form.fh textarea:focus
{
	background: #FFF;
	border-color: rgba(0,0,0,.3);
	color: #111;
	outline: none;
}


form.fh input[type=file] {
	font-size:13px;
	line-height:1;
	color:#888;
}


form.fh textarea { max-width: 100%; min-height:100px}

form.fh select
{
	max-width: 100%;
	width: 100%;
	padding:.25em .35em;
}

form.fh .field.form-submit {
	margin-top: 1.5em;
}

form.fh input.submit
{
	background: linear-gradient(to bottom, rgba(245,245,245,1) 0%,rgba(215,215,215,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#d7d7d7',GradientType=0 );
	
	border: 1px solid rgba(0,0,0,.3);
	border-left-color: rgba(0,0,0,.2);
	border-top-color: rgba(0,0,0,.1);
	border-color: #cecece\9;
	box-shadow: 1px 1px 3px rgba(0,0,0,.1);
	-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,.1);
	cursor: pointer;
	font-weight: bold;
	font-size: 1.1em;
	height: auto;
	line-height: 2em;
	width: auto;
	padding: 0em 1em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

form.fh input.submit:hover {
	background: linear-gradient(#53b2fc, #1385e5);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#53b2fc', endColorstr='#1385e5',GradientType=0 );
	color: #fff;
}

form.fh input.reload
{
	margin-left: 0;
	font-size: inherit;
	line-height: 1.5;
	zdisplay: none;
}

form.fh .required label:after
{
	color: #E06;
	content: " *";
}

form.fh .form-note { color: #555; font-size: 13px; }

form.fh .field-note
{
	font-size: 11px;
	color: #888;
}

form.fh .field-info { margin: 1em 0; }
form.fh .field-info * { line-height: 1.2; }

form.fh .field-description
{
	font-size: 11px;
	color: #888;
}

form.fh .field-reference
{
	background: #FFF;
	padding: 1em;
	margin: 1.5em 0;
	border-radius: 2px;
}

form.fh .filelist .fileset
{
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 15px 0 0;
	margin: 1.5em 0 0;
	border-top: 1px dashed #CCC;
}

form.fh .filelist .fileset .thumb
{
	background: #FFF;
	float: left;
	padding: 5px;
	border: 1px solid #AAA;
	border-color: #BBB #AAA #AAA #BBB;
}

form.fh .filelist .fileset .thumb img
{
	display: block;
	margin: 0;
}

form.fh .filelist .fileset textarea
{
	float: right;
	margin: 0;
	width: 310px;
}

form.fh .filelist a
{
	background: #C00;
	color: #FFF;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	display: block;
	width: 30px;
	height: 30px;
	position: absolute;
	left: 6px;
	top: 21px;
	text-decoration: none;
	margin: 0;
	padding: 0;
}

form.fh .filelist a:hover
{
	background: #333;
	color: #FFF;
}

form.fh .field-ext
{
	border-top: 1px dashed #CCC;
	padding-top: 1em;
}

form.fh .field-ext label
{
	font-weight: normal;
	color: #888;
	cursor: pointer;
}

zzzform.fh .field-ext label:after
{
	content: " +";
	font-size: 18px;
	color: #080;
}

form.fh .field-ext label.active { color: #111; }

zzzform.fh .field-ext label.active:after
{
	content: " –";
	color: #C00;
}

form.fh .field-ext textarea { margin-bottom: 0; }
form.fh .field { margin: 0 0 1em; }

form.fh .form-controls
{
	border-top: 1px solid #DDD;
	padding: 1.5em 0 0;
}

form.fh .error
{
	color: #E06;
	font-size: inherit;
}

form.fh .error-message { font-size: 11px; }
form.fh .extra-loud { color: #E06; }
form.fh dl.author { font-size: .8em; }

.ok-message
{
	border: 1px solid #ccc;
	padding: 1.5em;
	font-weight: bold;
	font-size: 1.2em;
	border-bottom: 3px solid #3c0;
	border-radius: 2px;
	color: green;
}



form.fh textarea#fh-text { min-height: 300px; }








.debug-header {background:#eee;border-bottom:1px dashed #888;font-family:monospace;font-weight:bold;padding:3px 10px;}
.debug-section {background:#eee;border-bottom:2px solid #888;font-family:monospace;font-size:12px;line-height:1.2;padding:10px;}
.debug-message {margin:.25em 0}
.debug-message .info {color:#369}
.debug-message .warning {color:#333}
.debug-message .error {color:#c30}

.Tx-Formhandler .positive message {margin-bottom: 1em;}
