form.x_forms
{
margin: 0 0 1.5em 0;
position: relative;
}
div.order_frame form.x_forms {
margin: 0;
padding: 0.5em 2em 0 0;
}
form .fieldset
{
position: relative;
width: 100%;
margin: 0 0 3em 0; //margin: 0 0 1.5em 0;
border: 0 hidden;
padding: 0;
}
form .fieldset .legend
{
display: block;
font-size: 1.4em;
margin: 0 0 1em 0;
padding: 0;
font-weight: normal;
}
form .fieldset .fieldset .legend
{
font-size: 1.2em;
}
form .legend em
, form .legend .comment
{
font-size: 0.7em;
}
form .row
{
position: relative;
z-index: 2;
margin: 0 0 1.5em 0;
padding: 0;
width: 100%;
}
form .label
{
float: left;
-display: inline;
width: 13em;
margin: 0 -13em 0 0;
padding: 0;
position:relative;
z-index:2;
}
form .selector .label
{
float: none;
width: auto;
margin: 0;
}
form .wide .label
{
float: none;
display: block;
width: auto;
margin-right: 0;
margin-bottom: 0.2em;
}
form .field
{
padding: 0 0 0 14em;
margin: 0;
-display:inline;
position:relative;
z-index:1;
}
form .wide .field
{
padding-left: 0;
}
form .field .text
{
width:13em;
}
form .field textarea.text { width:40em; }
form .field .no_choice
{
border: 0 hidden;
background: transparent;
}
form .field textarea
{
height: 8em; //height: 6.5em;
}
form .field textarea.text
{
overflow: visible;
}
form .field .presized
{
width: auto;
}
form .row .comment
, form .row .example
, form .row .valid_message
{
display: block;
text-decoration: none;
font-size: 0.8em;
}
form .row .comment
, form .row .example
{
	margin-top: 0.2em;
	color: #808080;
}
form .row .unit
{
	display: inline;
	color: #000000;
	font-size: 1em;
	margin-top: 0;
	//position: relative; //top: -0.1em;
}
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;
}



.disabled label
{
color: #bfbfbf;
}
.disabled .field .text
{
background-color: #d4d0c8;
}

form .invisible
{
position: absolute;
visibility: hidden;
}
form .repeat_template
{
margin-top: 1em;
border-top: 1px solid #cccccc;
padding-top: 2em;
}
form .repeat_control
{
margin: 0;
}
form .repeat_control .button
{
/*border-bottom: 1px dashed;*/
cursor: pointer; cursor: hand;
}
form .repeat_control .button.disabled
{
cursor: default;
}
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;
}

.for_input input, .for_selector input { margin:0; }
form .selector { margin-bottom: 0.5em; }
form .selector input { float:left; margin-right:-100%; position:relative; top:5px; }
html*form .selector input { top:4px; //top:1px; }
form .type_checkbox .selector input { top:3px; //top:-1px; }
form .selector label { margin-left:20px; //margin-left:22px; }

form .field { position:relative; }
form dl.required .field i.icon, form dl.required-ok .field i.icon { position:absolute; display:inline; padding:16px 16px 0 0; height:0; top:0.7em; margin:-6px 0 0 5px; }
form dl.required .field i.icon { background-position:-191px 0; }
form dl.required-ok .field i.icon { background-position:-191px -16px; }


form .type_date .field input,
form .type_date .field select {margin-right: 0.5em;}

form .type_password {z-index: 3;}


form dl.sub {margin-left: 25px; margin-top: -1.5em;}


form .phone,
form .passport {margin-bottom: 0;}
form .phone .width_fix,
form .passport .width_fix {width: auto;}

form .phone .legend,
form .passport .legend {float: left; display: inline; width: 13em; margin: 0 -13em 0 0; padding: 0; font-size: 1em !important;}

form .phone dl.phone_code,
form .passport dl.passport_series {float: left; width: auto; margin-right: 0.5em; margin-bottom: 0; z-index: 3;}
form .phone dl.phone_code .label,
form .phone dl.phone_code .clear,
form .passport dl.passport_series .label,
form .passport dl.passport_series .clear {display: none;}
form .phone dl.phone_code .example {margin-top: 0;}

form .phone dl.phone_number,
form .passport dl.passport_number {width: auto;}
form .phone dl.phone_number .label,
form .passport dl.passport_number .label {display: none;}
form .phone dl.phone_number .field,
form .passport dl.passport_number .field {padding-left: 0;}


div.order_frame form.x_forms div.hr {margin: 0 -3.3em 1.5em -1.3em; border-top: 1px solid #dddddd;}

#r_previous_step {width: auto; margin-bottom: 0; //float: left;}
#r_previous_step .label,
#r_previous_step .clear {display: none;}
#r_previous_step .field {padding-left: 0; float: left;}
#r_previous_step .field .width_fix {width: auto;}

#r_next_step,
#r_confirm {width: auto; margin-bottom: 0;}
#r_next_step .label,
#r_next_step .clear,
#r_confirm .label,
#r_confirm .clear {display: none;}
#r_confirm .field {padding-left: 0; float: right; margin: 0 0 1.5em 0;}
#r_next_step .field .width_fix,
#r_confirm .field .width_fix {width: auto;}


