/*** Global
*********************************************************/
table.form {
	width: 430px;
	margin-top:1.5em;
	margin-left:1.5em;
}

table.form td {
	padding: 0;
}

table.form td.label {
	width: 40%;
	padding: 2px 20px 20px 0;
	vertical-align: top;
	font-size: 100%;
	font-size: 1.0em;
}

table.form td.input {
	padding-bottom: 20px;
	vertical-align: top;
	text-align:left;
	width: 250px;
}

table.form td.input .form_float_ele {
	/*float: right;*/
	/*margin-right: 5px;*/
	font-size: 0.84em;
	width:100%;
}

table.form label sup.required {
	color: #f00;
}

table.form sup.required {
	color: #f00;
}

table.form span.required {
	font-size: 0.84em;
}

table.form td.label div.form_description {
	font-size: 0.8em;
	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;
	color: #f00;
	font-size: 0.7em;
}

div.buttons input {
	clear: both;
	font-size:0.8em;
	font-weight:bold;
	cursor: pointer;
	float: right;
}

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

table.form a {
	cursor: pointer;
}

div.form_result_error {
	margin:1em 1.5em;
	margin-bottom:0;
	color:#f00;
	font-size: 0.84em;
}

div.form_result_success {
	margin:1em 1.5em;
	margin-bottom:0;
	width:100%;
	font-size: 0.84em;
}


/*** Fields
*********************************************************/
table.form_password {width:100%;}
table.form_name td {
	vertical-align: bottom;
}

table.form_name td.first_name {
	padding: 0 5px;
	padding-right:0;
}

table.form_name td.last_name input,
table.form_name td.first_name input,
table.form_name td.patronymic_name input {
	width: 120px;
}

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

table.form_password td.check {
	padding-left: 5px;
}

table.form_password td.password input,
table.form_password td.check input {
	width: 120px;
}

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

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

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

table.form_phone td.number input {
	width: 10em;
}

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

input.string {
	width: 255px;
}

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

input.file {
	width: 16em;
}

input.word {
	width: 49%;
}

select.simple {
	width: 20.6em;
}

table.chooser_item {
	float: left;
	margin: 0 1em 0.5em 0;
}

table.chooser_item td {
	vertical-align: top;
}

table.chooser_item td.chooser_label {
	padding: 0.25em 0 0 0.25em;
	font-size: 0.84em;
}

textarea.text,
textarea.short_text,
textarea.large_text,
textarea.wysiwyg,
textarea.simple_wysiwyg {
	width: 255px;
	height: 100px;
	font-family: Monaco, monospace;
	line-height:15px;
}

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: 25px;
	text-align: center;
}

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

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: left;
	width: 90px;
}

.form_calendar button {
	float: left;
	margin-left: 5px;
}

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 {
	width: 10em;
	text-align: right;
}

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

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;
}


/*** Groups
*********************************************************/
table.form_group_tabs {
	margin-top: 2em;
}

table.form_group_tabs td {
	padding: 0 10px 8px 10px;
	font-size: 0.7em;
	background: url('/cms/f/tabs_bottom_border.gif') repeat-x bottom;
}

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

table.form_group_tabs a {
	color: #000;
	cursor: pointer;
	text-decoration:none;
}

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

table.form_group_tabs td.selected a {
	color: #87d2e8;
	cursor: text;
}


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

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

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;
}

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;
}
