form.x_forms
{
margin: 0 0 10px 0;
position: relative;
}
form.x_forms *
{
line-height: 120%;
}
form .fieldset
{
position: relative;
width: 100%;
margin: 2em 0 3em 0; //margin: 0 0 2em 0;
border: 0 hidden;
padding: 0;
}
form .legend
{
display: block;
font-size: 1em;
margin: 1em 30px 0.25em 0;
padding: 0;
font-weight: normal;
}
form .legend em
{
font-size: 0.6em;
}
form .row
{
position: relative;
z-index: 2;
//height: 1px;
margin: 1em 0;
padding: 0;
width: 100%;
}
form .label
{
float: left;
display: inline;
width: 10em;
margin: 0 -10em 0 0;
padding: 0;
font-size: 0.89em;
}
form.narrow .label
{
width: 5em;
margin-right: -5em;
}
form .selector .label
{
float: none;
width: auto;
margin: 0;
}
form .wide .label
{
float: none;
width: auto;
margin-right: 0;
}
form .field
{
padding: 0 0 0 11em;
margin: 0;
}
form.narrow .field
{
padding-left: 6em;
}
form .wide .field
{
padding-left: 0;
}
form .field .text
{
width: 100%;
}
form .field .no_choice
{
border: 0 hidden;
background: transparent;
}
form .field textarea
{
height:13em; //height: 10.6em;
}
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: #cc6666;
}
form .valid input
, form .valid textarea
{
color: #677985;
}

form dl.required .label
, form div.required .legend
{
color: #cc6666;
}

/*
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 input.wide
, form textarea.wide
, form textarea.HTML
{
width: 100%;
}
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;
}

form .selector { clear: left; //height: 1px; }
form .selector input { float: left; margin-right: -20px; }
form .selector label { margin-left: 20px; //margin-left: 23px; //margin-top: 3px; display: block; font-size: 0.89em; }