/* ============================================================
	General styles
============================================================ */

.fb2_field,
.fb2_field_heading {
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
}

.fb2_field,
.fb2_invariant {
	border: 1px solid #ccc;
	margin-bottom: 5px;
	/* width: 650px; */
}

.fb2_field_heading {
	background-color: #f0f0ee;
	/* border-bottom-width: 0; */
	display: block;
	font-family: georgia, serif;
	font-size: 1.5em;
	font-weight: normal /* !important */;
	/* line-height: 2em;
	padding-left: 10px; */
	padding: 10px;
}

.fb2_field_heading small {
	color: #777;
	display: block;
	font-size: 65%;
}

.fb2_input {
	background-color: white;
	border-top: 1px solid #ccc;
	display: block;
}

.fb2_field .fb2_text_entry {
	border-width: 0;
	display: block;
	font-size: 16px;
	height: 20px;
	width: 100%;
}

/* ============================================================
	Invariant tables
============================================================ */

.fb2_invariant {
	background-color: #f0f0ee;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.fb2_invariant .fb2_invariant_inner {
	padding: 10px;
	/* padding-bottom: 0; */
}

.fb2_invariant h2 {
	text-align: center;
}

.fb2_invariant table {
	width: 100%;
}

.fb2_invariant table.half {
	float: left;
	width: 50%;
}

.fb2_invariant table th,
.fb2_invariant table td {
	/* line-height: 1.2; */
	padding-bottom: 10px;
	text-align: left;
}

.fb2_invariant table th {
	font-weight: bold;
	padding-right: 10px;
}

.fb2_invariant table tr.code td {
	font-family: Consolas, "Courier New", monospace;
}

.fb2_invariant table td ol,
.fb2_invariant table td ul {
	padding-left: 1.75em;
}

.fb2_invariant .clear {
	clear: left;
	height: 0;
	overflow: hidden;
}

/* ============================================================
	Textbox
============================================================ */

.fb2_text .fb2_input {
	/* padding: 2px 5px; */
	padding: 2px;
}


/* ============================================================
	Passwords
============================================================ */

.fb2_password .fb2_input {
	padding: 2px 5px;
}

/* ============================================================
	File
============================================================ */

.fb2_file .fb2_file_inner {
	background-color: white;
	border-top: 1px solid #ccc;
	display: block;
	padding: 2px 5px;
}

.fb2_file .fb2_file_inner input {
	width: 50%;
}

/* ============================================================
	Text Area
============================================================ */

.fb2_textarea .fb2_input {
	padding: 0 0 0 0.25em;
}

.fb2_textarea textarea.fb2_text_entry {
	border-width: 0;
	display: inline;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 12px;
	height: 20em;
	padding: 0;
	width: 100%;
}

/* ============================================================
	Rich-text Area
============================================================ */

/*
.fb2_field.fb2_richtext {
	width: 650px;
}
*/

.fb2_richtext .mceEditorContainer {
	display: block;
	}

.fb2_richtext .mceEditor {
	border-width: 0;
	margin: 0 auto;
	height: 40em;
	width: 100%;
	*width: 730px;
}

.fb2_richtext .defaultSkin table.mceLayout,
.fb2_richtext .defaultSkin table.mceLayout tr.mceFirst td,
.fb2_richtext .defaultSkin table.mceLayout tr.mceLast td {
	border-width: 0;
}

/* ============================================================
	Radio Buttons
============================================================ */

.fb2_radio_wrapper .fb2_radio_wrapper_inner {
	background-color: white;
	border-top: 1px solid #ccc;
	display: block;
}

.fb2_radio_wrapper label {
	display: block;
	padding: 0.25em 0.5em;
}

.fb2_radio_wrapper label * {
	vertical-align: middle;
}

/* ============================================================
	Checkbox Group
============================================================ */

.fb2_checkbox_wrapper .fb2_checkbox_wrapper_inner {
	background-color: white;
	border-top: 1px solid #ccc;
}

.fb2_checkbox_wrapper label {
	display: block;
	padding: 0.25em 0.5em;
}

/* ============================================================
	Checkbox (Stand-alone)
============================================================ */

.fb2_checkbox {
	background-color: white;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

.fb2_checkbox label {
	display: block;
	padding: 0.5em;
}

/* ============================================================
	Selects (drop-downs)
============================================================ */

.fb2_select .fb2_select_inner {
	border-top: 1px solid #ccc;
	display: block;
}

.fb2_select select {
	border-width: 0;
	padding: 0.25em;
	width: 100%;
}

/* ============================================================
	Submit buttons
============================================================ */
.fb2_submit {
	border-width: 0;
}

.fb2_submit .fb2_submit_button {
	background-color: #f0f0ee;
	border: 1px solid #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	font-family: verdana, arial, helvetica, sans-serif;
	padding: 5px;
}

.fb2_submit .fb2_submit_button:hover {
	background-color: white;
	cursor: pointer;
}

/* ============================================================
	Date picker
============================================================ */

.fb2_datepicker .fb2_datepicker_inner {
	border-top: 1px solid #ccc;
	display: block;
	overflow: auto;
	padding: 2px 5px;
}

.fb2_datepicker .fb2_text_entry {
	float: left;
	width: 90%;
}

.fb2_datepicker .date-picker-control {
	float: right;
}


/* ============================================================
	Composite multi-fields
============================================================ */

.fb2_composite .fb2_input {
	background-color: #f0f0ee;
	border-top-width: 0;
	padding: 0 10px;
}

.fb2_composite label,
.fb2_composite label span {
	display: block;
}

.fb2_composite label span {
	padding: 0 0 10px 0;
	font-size: .8em;
}

.fb2_composite .fb2_text_entry {
	border: 1px solid #ccc;
}

/* ============================================================
	Address multi-fields
============================================================ */
