* html .form-control {
	height:1%;
	position:relative;
}

.form-control fieldset {
	padding:0.5em;
	background:#f2f2f2;
	border:outset gray 1px;
	margin-bottom:0.2em;
}
.form-control legend {
	padding: 0.1em 0.3em;
	background:#f2f2f2;
	border:outset gray 1px;
}
.form-control .comment {
	color:gray;
	clear:both;
	display:block;
}
.form-control .error{
	color:red;
}
.form-control .star {
	color:red;
	font-weight:bold;
}
/*
.form-control .textarea,
.form-control .radio,
.form-control .listbox,
.form-control .date,
.form-control .text,
.form-control .password2,
.form-control .select,
.form-control .image,
.form-control .multi,
.form-control .table
{
	border:solid silver 1px;
	margin:2px;
	clear:both;
}

.form-control .text label,
.form-control .password2 label,
.form-control .select label,
.form-control .radio .label,
.form-control .listbox .label,
.form-control .multi .label,
.form-control .date .label,
.form-control .image .label,
.form-control .textarea .label,
.form-control .table .label {
	float:left;
	width:160px;
}
.form-control .text .length {
	border:solid silver 1px;
	color:silver;
	text-align:center;
	width:3em;
}
.form-control .textarea .comment {
	clear:none;
}
.form-control .radio .input,
.form-control .password2 .input,
.form-control .listbox .input,
.form-control .multi .input,
.form-control .date .input.i,
.form-control .image .input
.form-control .table .input
 {
	float:left;
	margin-right:10px;
}
.form-control .listbox .multi {
	display: none;
	border:none;
}
.form-control .listbox .hint {
	display:block;
	color:gray;
}

.form-control .listbox .input,
.form-control .image .input
{
	margin-left:160px;
}
.form-control .listbox .input,
.form-control .listbox .input select
{
	float:left;
}
.form-control .listbox .selected {
	width:100%;
}


*/

.form-control .label {
	display:block;
	float:left;
	width:160px;
	margin-right:-100%;
}
.form-control .input {
	display:block;
	margin-left:160px;
	width:auto;
}

.form-control .field {
	border:solid silver 1px;
	margin:2px;
	clear:both;
}

.form-control .field:after {
    content: "."; 
    display: block; 
    height: 0;
    clear: both; 
    visibility: hidden;
}
.form-control .field {display:inline-block;}
/*\*/
	.form-control .field {display:block;}
	* html .form-control .field {height: 1%}
/**/


/* ----------- */

.form-control .listbox .input select {
	float:left;
}

/* ----------- */

.form-control .image label.alt {
	clear:both;
	display:block;
	float:left;
	width:80px;
}
.form-control .image .label {
	position:relative;

}
.form-control .image .label a.extend {
	position:absolute;
	top:0.3em;
	right:0.3em;
	width:1.2em;
	height:1.2em;
	line-height:1em;
	text-align:center;
	font-weight:bold;
	display:block;
	background:silver;
	overflow:hidden;
	text-decoration:none;
}

/* ----------- */

.form-control .listbox .hint {
	display:block;
	color:gray;
}

/* ----------- */

.form-control .date select {
	font-family:inherit;
	font-size:inherit;
}
.form-control .date input {
	text-align:center;
	font-family:inherit;
	font-size:inherit;
	width:2em;
}
.form-control .date input.year { width:4em; }

/* ----------- */

.form-control .password2 .crypt {
	width:414px;
	height:0.3em;
	border:solid black 1px;
	background:white;
}
.form-control .password2 .crypt span {
	display:block;
	background:white;
	height:0.3em;
}
.form-control .password2 .crypt span.l1 { background:#d33; }
.form-control .password2 .crypt span.l2 { background:orange; }
.form-control .password2 .crypt span.l3 { background:#fd0; }
.form-control .password2 .crypt span.l4 { background:#4a4; }
.form-control .password2 .crypt span.l5 { background:#5e5; }

/* ----------- */

.form-control table.tableedit {
	border-collapse:separate;
	border-spacing:1px;
	border:none;
	background:black;
}
.form-control table.tableedit td {
	background:white;
	padding:0;
}
.form-control table.tableedit th {
	background:silver;
	padding:0;
}
.form-control table.tableedit input {
	border:none;
}
.form-control table.tableedit input {
	background:#def;
}
.form-control table.tableedit input:focus {
	background:#ffa;
}
.form-control table.tableedit tr.focus {
	background:#ffa;
}
.form-control table.tableedit input.button {
	background:silver;
	border:outset gray 1px;
}
.form-control table.tableedit tr.first input.button.up,
.form-control table.tableedit tr.last input.button.dn
{
	color:gray;
}

/* ----------- */

/* links decoration */

html body .files a {
	display:block;
	background: url(f/def.gif) left center no-repeat;
	padding-left: 18px;
	line-height: 16px;
	margin-bottom:0.1em;
	overflow:visible;
}
html body .form-control .files a {
	float:left;
}

html body .files a.gif { background-image: url(f/gif.gif); }
html body .files a.jpg { background-image: url(f/jpg.gif); }
html body .files a.png { background-image: url(f/png.gif); }

html body .files a.txt { background-image: url(f/txt.gif); }
html body .files a.pdf { background-image: url(f/pdf.gif); }
html body .files a.doc { background-image: url(f/doc.gif); }
html body .files a.xls { background-image: url(f/xls.gif); }
html body .files a.mdb { background-image: url(f/mdb.gif); }
html body .files a.ppt { background-image: url(f/ppt.gif); }

html body .files a.rar,
html body .files a.zip { background-image: url(f/rar.gif); }

html body .files a.wma,
html body .files a.mp3 { background-image: url(f/audio.png); }


.files .row {
	vertical-align:middle;
	line-height:16px;
	clear:both;
}
.files .dbtn {
	display:block;
	float:left;
}
.files .dbtn * {
	vertical-align: middle
}
.fileset .current {
	clear:both;
}
.files {
	margin:0;padding:0;
	margin-top:0.5em;
	border-top: solid gray 1px;
}

/* autoclear */
.files:after {
    content: "."; 
    display: block; 
    height: 0;
    clear: both; 
    visibility: hidden;
}
.files {display:inline-block;}
/*\*/
	.files {display:block;}
	* html .files {height: 1%}
/**/

.files .head {
	margin:0;padding:0;
	margin-bottom:0.2em;
	font-weight:bold;
}
.field .files {
	border:none;
}

