/*** Global
*********************************************************/
table.form {
	width: 500px;
  margin: 30px 0 30px 19px;
}

table.form td
, table.form tr.bgr td {
	color: #3e251c;
  background: none;
  border: none;
}

table.form td.label {
	padding: 0 10px 10px 0;
	vertical-align: top;
	width:255px;
}

table.form td.input {
	padding: 0 0 10px;
	vertical-align: top;
}

table.form label span.required {
	color: #f00;
	font-size:1em;
	margin-left:0.1em;
}

table.form label sup.required {
	color: #f00;
	font-size:1em;
	margin-left:0.1em;
}

table.form td.label div.description {
	font-size: 0.84em;
	margin-top: 5px;
}

table.form td.input div.description {
	font-size: 0.7em;
	padding-top: 5px;
	clear: both;
}

table.form div.description code {
	font-size: 1.1em;
	background-color: #e7e7e7;
}

div.field_error_message {
	float: left;
	margin-top: 5px;
	margin-left:0em;
	color: #f00;
	font-size: 0.7em;
}

div.buttons {
	margin-top: 0px;
	padding-bottom: 10px;
	height:24px;
  width: 519px;
/*	border-top: 2px solid #ccc;*/
	text-align:right;
}

table.form input,
table.form textarea,
table.form select {
	cursor: text;
}

div.buttons input {
	cursor: pointer;
}

table.form a {
	cursor: pointer;
}

div.form_result_success {
	color:#009900;
	font-size:0.9em;
	text-align: center;
	margin-top:1em;
}

div.form_result_error {
	color: #FF0000;
	font-size:0.9em;
	text-align: center;
	margin-top:1em;
}

table.chooser_item {margin-bottom:0;}

table.form_date,
table.form_phone,
table.form_pasport
{margin-bottom:0;}

table.chooser_item td {vertical-align: top;}
table.chooser_item td,
table.form_date td,
table.form_phone td,
table.form_pasport td
{
	padding-right: 0;
	padding-left: 0;
}

.playground {text-align:center; position:relative; height:45px}
.result_value {font-weight:bold; position:relative; top:2px}
.chooser_item input {position:relative; top:-1px}
/*input.string {width:250px!important; margin-right:10px}*/

table.form td div.subgroup_title {
	color:#9BDE59;
	font-weight: bold;
	position:absolute;
	left: 20px;
	top: -8px;
	background-color:#FFFFFF;
	padding:0 0.5em;
}

/*** Fields
*********************************************************/
table.form_float_ele td {
  padding: 0;
}

table.form_name td {
	vertical-align: bottom;
    border: none;
}

table.form_name td.first_name {
	padding: 0 0.5em;
}

table.form_name td.last_name input,
table.form_name td.first_name input,
table.form_name td.patronymic_name input {
	width: 10em;
}

table.form_name label {
	/*font-size: 0.84em;*/
}

table.form_password td.check {
	padding-left: 0.5em;
  border: none;
}

table.form_password td.password input,
table.form_password td.check input {
	width: 10em;
}

table.form_password label {
	font-size: 0.7em;
}

table.form_phone td.code
, table.form_phone td.separator {
	padding: 0 0.5em 0 0;
  border: none;
}

table.form_pasport td.separator {
	padding: 0 0.5em 0 0;
}

table.form_phone td.code input {
	width: 3.5em;
	text-align: right;
}

table.form_phone td.number input {
	width: 100px;
}

table.form_phone label {
	font-size: 0.84em;
}

table.form_pasport td.code {
	padding-right: 0.5em;
}

table.form_pasport td.code input {
	width: 4.5em;
	text-align: right;
}

table.form_pasport td.number input {
	width: 100px;
}

table.form_pasport label {
	font-size: 0.84em;
}

input.png {border:none;}

input.string {
	width: 250px;
}
input.small_string {
	width: 210px !important; margin-right: 4px;
	vertical-align: middle;
}

input.folder,
input.email,
input.uri {
	width: 250px;
}

input.file {
	width: 16em;
}

input.word,
input.postcode {
	padding-right:2px;
}

input.postcode {
	width: 50px;
}

select.simple {
	width: 262px;
}

table.chooser_item td {
	padding: 0 5px 5px 0;
  vertical-align: top;
}



textarea.text,
textarea.short_text,
textarea.large_text,
textarea.wysiwyg,
textarea.simple_wysiwyg {
	width: 250px;
	height: 100px;
	background:none repeat scroll 0 0 #FFF7CF;
	border:1px solid #B1BD9C;
	color:#4C4C4C;
	font:11px Arial,sans-serif;
	padding:4px 5px 5px;
}

textarea.short_text {
	height: 60px;
}

textarea.large_text {
	height: 150px;
}

textarea.wysiwyg {
	height: 250px;
}

textarea.simple_wysiwyg {
	height: 125px;
}

table.form_date td.day input,
table.form_date td.month input,
table.form_date td.hours input,
table.form_date td.minutes input {
	width: 20px;
	text-align: center;
}

table.form_date td.year input {
	text-align: center;
	width: 40px;
}

table.form_date td.date_separator,
table.form_date td.datetime_separator,
table.form_date td.time_separator {
	font-size: 0.8em;
	padding: 0 3px;
	color: #666;
}

table.form_date td.date_separator {
	padding-top: 1px;
}

table.form_date td.datetime_separator {
	padding-right: 10px;
}

.form_calendar input {
	float: right;
	width: 90px;
}

.form_calendar button {
	float: right;
	margin-left: 5px;
	height:20px;
	width:40px;
}

div.field_image {
	float: left;
	margin: 0 20px 10px 0;
}

div.field_image_params {
	float: left;
	padding: 0 10px 10px 0;
}

div.field_image_replace {
	font-size: 0.84em;
	padding-top: 5px;
	clear: left;
}

input.year {
	width: 5em;
	text-align: right;
}

input.integer,
input.short_word {
	width: 5em;
	text-align: left;
	float: left;
}

input.small_integer {
	width: 2em !important;
	margin-right: 4px;
	text-align: left;
	vertical-align: middle;
}

td.multiple {
	vertical-align: top;
	padding: 0 10px 5px 10px !important;
	font-size: 0.84em;
  border: none;
}

td.multiple table.chooser_item {
	margin: 0;
}

td.multiple table.chooser_item td.chooser_label {
	padding-top: 3px;
}

td.multiple_small table.chooser_item td.chooser_label {
	font-size: 0.7em;
}

td.chooser_label label {
  margin: 0 5px 0 0;
}

td.chooser_label label span.small {
    color: #999;
    font-size: 0.8em;
    display: block;
}


/*** Groups
*********************************************************/


table.form_group_tabs {
  background: #e8f4d3;
	margin-bottom: 30px;
}

table.form_group_tabs td
, table.form_group_tabs tr.bgr td  {
	padding: 0 10px 15px 20px;
	border: none;
	/*font-size: 0.7em;*/
	background: url('/f/tabs_bottom_border.gif') repeat-x bottom;
  border: none;
}

table.form_group_tabs td.first {
	/*padding-left: 0;*/
}

table.form_group_tabs a {
	outline: none;
}

table.form_group_tabs a span {
  cursor: pointer;
}

table.form_group_tabs td.selected {
	background-image: url('/f/tabs_bottom_border_selected.gif');
}


.h-textcol .form_group_tabs {
  height: 34px;
  margin: 0 0 20px;
  padding: 11px 0 0 19px;
  background: #e8f4d3;
}

.h-textcol .form_group_tabs li {
  width: 28px;
  height: 48px;
  overflow: hidden;
  position: relative;
  bottom: -14px;
  margin: -14px 9px 0 0;
  padding: 0;
  background: none;
  float: left;
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.form_group_tabs span.num {
  display: block;
  width: 28px;
  height: 43px;
  padding: 5px 0 0;
  color: #fff;
  cursor: pointer;
  background: url(/f/img/form-tabs-bg.png) 0 0 no-repeat;
}

.h-textcol .form_group_tabs li.selected span.num {
  background-position: 0 -48px;
}


/*** Files
*********************************************************/
table.form_files {
	clear: both;
}

table.form_files td {
	padding-top: 5px;
  border: none;
}

table.form_files td.system {
	cursor: pointer;
	padding-right: 10px;
}

div.add_files {
	border-bottom: 1px dashed #000;
	cursor: pointer;
	font-size: 0.8em;
	float: left;
}

div.add_files_description {
	font-size: 0.7em;
	padding-top: 5px;
	clear: both;
	display: none;
}

div.files {
	clear: both;
	padding-top: 20px;
}

div.files div.file {
	margin: 10px 10px 0 0;
	font-size: 0.84em;
	float: left;
	color: #999;
}

div.files div.file span {
	cursor: pointer;
	color: #000;
}


/*** Element tree
*********************************************************/
div.tree {
	font-size: 0.7em;
	clear: left;
}

table.tree {
	width: 100%;
}

table.tree td {
	vertical-align: top;
  border: none;
}

table.tree td.tree_icon {
	width: 1%;
	padding: 5px 5px 0 0;
}

table.tree td.tree_input {
	width: 1%;
	padding-right: 5px;
}

table.tree td.tree_title {
	padding-top: 3px;
	font-size: 0.7em;
}

table.tree a {
	cursor: pointer;
}

a.tree_switcher {
	display: block;
	margin: 2px 0 10px 0;
	float: left;
	border-bottom: 1px dashed #000;
	text-decoration: none;
	cursor: pointer;
	font-size: 0.84em;
}

div.tree_subitems {
	margin-left: 14px;
	display: none;
}

div.sort_item {
	cursor: move;
}

div.sort_item a {
	cursor: pointer;
}

/*.content_inner form table td {border-bottom:1px solid #E9F4D2!important}
.content_inner form table td td {border-bottom:0!important}*/

div.other_city {margin-top:0.5em;}
div.other_city input {width:100px;}
.kcaptcha {
	width:150px;
}

#selector_quality_theme {
	width:400px;
}

/* 04.02.2010 */


#form-buttons {
	width: 500px;
	margin-left: 19px;
}

#form-buttons .submit-wrap {
	float: right;
}


#calculator_result {
	padding: 20px 0 0;
}

#calculator_result table {
	width: 520px;
}

#calculator_result table td {
	width: 50%;
}

/* Passport field */
table.form_passport td {
	vertical-align: bottom;
    border: none;
}

table.form_passport td.serial,
table.form_passport td.number {
	padding: 0 5px 0 0;
}

table.form_passport_date td.year {
    padding: 0 20px 0 0;
}

table.form_passport td.serial input {
	width: 30px;
	text-align: center;
}

table.form_passport td.number input {
	width: 40px;
	text-align: center;
}

table.form_passport td.who input {
	width: 250px;
}

table.form_passport_date td.code input {
	width: 95px;
	text-align: center;
}

table.form_passport label,
table.form_passport_date label {
	font-size: 0.84em;
}

input.credit_card {
	width: 45px;
	text-align: center;
}

table.credit-card {
    width: auto;
}

table.credit-card tr td {
    padding: 0 11px 0 0 !important;
}

table.credit-card tr td.last {
    padding: 0 !important;
}

/* Address */

table.form_address td {
	vertical-align: bottom;
    border: none;
}

table.form_address td.postcode,
table.form_address td.city,
table.form_address td.build {
	padding: 0 5px 0 0;
}

table.form_address td.area,
table.form_address td.street {
    padding: 0;
}

table.form_address_date td.year {
    padding: 0 20px 0 0;
}

table.form_address td.postcode input {
	width: 40px;
	text-align: center;
}

table.form_address td.area input {
	width: 188px;
}

table.form_address td.street input,
table.form_address td.city input {
    width: 114px;
}

table.form_address td.build input,
table.form_address td.flat input {
    width: 20px;
}

table.form_address td.who input {
	width: 135px;
}

table.form_address label,
table.form_address_date label {
	font-size: 0.84em;
}

.equivalent {
    margin: 0 0 0.7em 0;
}

.equivalent label {
    font-size: 0.84em;
}

.address-container {
    padding: 0 0 1em 0;
}

td.group-label {
    font-size: 16px;
    padding: 0 0 15px !important;
    color: #2183A8 !important;
}

