form
{
margin: 0;
width: 34em;
position: relative;
}
form .fieldset
{
position: relative;
width: 100%;
margin: 0; //margin: -1em 0;
border: 0 hidden;
padding: 0;
}
form .legend
{
display: block;
margin: 2em 0 -0.5em 0;
padding: 0;
font-weight: bold;
}
form .row
{
position: relative;
z-index: 2;
//height: 1px;
margin: 1em 0;
padding: 0;
width: 100%;
}
form .label
{
float: left;
display: inline;
width: 13em;
margin: 0 -13em 0 0;
padding: 0;
}
form.narrow .label
{
width: 7em;
margin-right: -7em;
}
form .selector .label
{
float: none;
width: auto;
margin: 0;
}

form .field
{
margin: 0 0 0 14em;
padding: 0;
}
form.narrow .field
{
margin-left: 8em;
}

form .field .text
{
width: 100%;
}
form .field .no_choice
{
border: 0 hidden;
background: transparent;
}
form .field textarea
{
height: 8em; //height: 7.4em;
}
form .field textarea.text
{
overflow: visible;
}
form .field .presized
{
width: auto;
}
form .comment
, form .example
, form .valid_message
{
display: block;
text-decoration: none;
font-size: 0.89em;
}
form .valid_message
{
visibility: hidden;
}
form .invalid input
, form .invalid select
, form .invalid textarea
, form .invalid .valid_message
{
color: #961313;
}
form .valid input
, form .valid textarea
{
color: green;
}
form .required .label:after
{
content: '*';
color: #961313;
}
form .required .label
{
behavior: expression( !this.after ? this.after = ( 1 | this.appendChild( document.createElement( 'ins' ) ).appendChild( document.createTextNode( '*' ) ) ): '' );
}
form .required .label ins
{
color: #961313;
text-decoration: none;
}
form .invisible
, .type_radio .field .disabled
, form dl.required-ok .label ins
, form div.required-ok .legend ins
, form dl.required-ok .label:after
, form div.required-ok .legend:after
{
content: '';
display: none;
}
form .type_date .field .disabled
, form dl.required .label ins
, form div.required .legend ins
{
display: inline;
}
.disabled label
{
opacity: 0.4;
}

form .repeat_template
{
margin-top: 1em;
border-top: 1px solid #cccccc;
padding-top: 2em;
}
form .repeat_control
{
margin: 0 0 2em 0;
}
form .repeat_control .button
{
border-bottom: 1px dashed;
cursor: pointer; cursor: hand;
}
form .repeat_control .button.disabled
{
display: none;
}
form .required_message
{
clear: left;
position: absolute;
left: 100%; bottom: 0;
margin: 0;
padding: 0 0 0 0.5em;
white-space: nowrap;
}
form .required_message
{
z-index: 1;
padding: 0.25em 0.5em;
background: #eeeecc;
visibility: hidden
}
form.submitted .required .required_message,
form.submitted .invalid .valid_message
{
visibility: visible;
}
form .sheets div.sheet
, form .sheets strong.legend
{
visibility: hidden;
position: absolute;
right: 200%; bottom: 200%;
width: 0; height: 0;
z-index: 1;
}
form .sheets div.sheet.selected
, form .sheets strong.legend.selected
{
visibility: visible;
position: relative;
right: auto; bottom: auto;
width: 100%; height: auto;
z-index: 2;
}
form.tabs_sheet .sheets .sheets
{
width: 100%;
position: relative;
}
form.tabs_sheet .sheets .tabs
{
margin: 0 4em 0 0;
//width: 100%;
}
form.tabs_sheet .sheets div.sheet
{
clear: left;
}
form.tabs_sheet .sheets strong.legend
{
visibility: visible;
position: relative;
right: auto; bottom: auto;
float: left;
display: inline;
width: auto; height: auto;
margin: 0.2em -1px -2px 0;
border: 1px solid black;
padding: 0.15em 0.5em;
font-weight: normal;
cursor: default;
white-space: nowrap;
}
form.tabs_sheet .sheets strong.legend.selected
{
margin-top: 0; //margin-top: 1px;
border-bottom: 0 hidden;
padding-top: 0.25em;
padding-bottom: 0.25em;
font-weight: bold;
z-index: 3;
}
form.tabs_sheet .sheets div.sheet
{
width: 100%;
margin: 0 0 2em 0;
border: 1px solid black;
padding: 0;
}
form.tabs_sheet .sheets div.sheet .sheet_control
{
position: absolute;
right: 0; top: -2em;
height: 2em;
margin: -2px -1px 0 0;
}
form.tabs_sheet .sheets div.sheet .sheet_control input
{
width: 2em; height: 2em;
padding: 0;
}
form.tabs_sheet .sheets div.sheet .reducer
{
position: relative;
width: auto;
margin: 0 0.75em;
padding: 0;
}
form dl
{
margin: 0;
}

form .field .HTML
, form div.HTML
{
height: 5em;
}
form .field .small
, form textarea.small
, form div.small
{
height: 10em;
}
form .field .medium
, form textarea.medium
, form div.medium
{
height: 20em;
}
form .field .large
, form textarea.large
, form div.large
{
height: 29em;
}

/* alpha */

form .for_combobox {
	position: relative;
}

.for_combobox dd {
	position: relative;
}

.for_combobox .combo-list {
	position: absolute;
	left: 0;
	top: 100%;		
	width: 15em;	
	visibility: hidden;
}

form .combo-field-active {
	z-index: 1000;
}

.combo-field-active .combo-list {		
	visibility: visible;
}

/* for miel */

form .columns
{
clear: left;
width: 100%;
margin-bottom: 1em;
//padding-right: 1px;
}
.columns:after
, form .period:after
{
content: '';
display: block;
clear: left;
}
form .columns .row
{
float: left;
width: 50%;
}

form .period
{
margin: 0; //margin-top: 1.5em;
}
form .period .row
{
width: auto;
float: left;
margin: 0;
}
form .period .label
, form .period .field
{
width: auto;
margin-left: 0;
margin-right: 0.5em;
}


/*vazzda*/

.disabled {
	display:none;
}

.disabled.type_submit {
	display:block;
}

form
{
line-height:1.2;
}

form input
, form textarea
, form select
{
	font-size:1em;
}

form .legend
{
font-size:1.2em;
margin: 2em 0 1em 0;
}

form .row
{
margin:0 0;
padding:0.8em 0;
clear:both;
}

form .fieldset
{
padding-bottom:1em;
position:relative;
}

for_textarea

form .repeat_template
{
padding-top:0;
margin:0;
border:0 none;
}

form .for_textarea
{
padding-top:1.5em;
margin-top:0;
}

#r_contact_phone
{
margin-bottom:0.5em;
}

#r_contact_phone_status
{
margin:0 0 -1em 0;
}

#r_contact_phone_type
{
margin-top:-2em;
}

.repeat_control
{
margin:0;
padding:0;
position:absolute;
left:35em;
top:0.8em;
}

.repeat_control input
{
margin-bottom:1.2em;
}

.type_radio dd {
	margin-top:-4px;
}

