.form-error {
	color: #A94442;
	background-color: #F2DEDE;
	border-color: #EBCCD1;
	padding: 15px;
	margin-bottom: 15px;
	border: 1px solid transparent;
	border-radius: 4px;
}

.form-item {
	margin: 10px 0;
	max-width: 100%;
	width: 500px;
}
.form-item:first-of-type {
	margin-top: 0;
}
.form-item:last-of-type {
	margin-bottom: 0;
}
.form-item.inactive {
	display: none;
}

.form-label {
	display: block;
	font-weight: normal;
}

.form-input {
	position: relative;
}

.form-root-container:after,
.form-items > .inner:after {
	content: "";
	display: block;
	clear: both;
}

select,
textarea,
input {
	font-family: inherit;
	font-size: inherit;
}
.form-select,
.form-textfield {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 34px;
	padding: 8px 10px;
	color: #000;
	background: #fff;
	border: 1px solid #c9c9c9;
	border-radius: 0;
}
.form-textfield {
	-webkit-appearance: none;
}
.form-textfield:disabled {
	background: #f8f8f8;
	color: #555;
}
.form-textarea {
	height: 100px;
	margin: 0;
}
.form-number {
	max-width: 100px;
}
.select-custom-title {
	background: #eee;
	font-weight: 700;
	border: 0;
}
.select-custom-title .fa {
	font-weight: 700;
}

.form-password-generator {
	cursor: pointer;
	position: absolute;
	top: 5px;
	left: 100%;
	margin-left: 7px;
}

.form-delete-button,
.form-add-button {
	margin-top: 10px;
}


.radio-label,
.checkbox-label {
	cursor: pointer;
}
.radio-label .fa,
.checkbox-label .fa {
	margin-right: 2px;
}
.radio-label .radio-icon-checked,
.checkbox-label .checkbox-icon-checked {
	display: none;
}
.radio-label input,
.checkbox-label input {
	display: none;
}
.radio-label input:checked ~ .radio-icon-checked,
.checkbox-label input:checked ~ .checkbox-icon-checked {
	display: inline-block;
}
.radio-label input:checked ~ .radio-icon-unchecked,
.checkbox-label input:checked ~ .checkbox-icon-unchecked {
	display: none;
}
.form-item-error .form-label {
	color: #A94442;
}
.form-item-error .form-textfield {
	border-color: #A94442;
}
.form-item-error .form-textfield:focus {
	border-color: #843534;
}

.form-input-error {
	color: #A94442;
}

.form-item-icon .form-input {
	display: table;
	width: 100%;
}
.form-item-icon .form-textfield {
	display: table-cell;
	border-radius: 0 4px 4px 0;
	width: 100%;
}
.form-icon-addon {
	display: table-cell;
	width: 40px;
	vertical-align: middle;
	font-size: 16px;
	padding: 0 10px;
	line-height: 14px;
	color: #555;
	text-align: center;
	background-color: #EEE;
	border: 1px solid #CCC;
	border-radius: 4px 0 0 4px;
	border-right: 0;
	box-sizing: border-box;
}

.form-icon-feedback {
	position: absolute;
	right: 10px;
	top: 0;
	font-size: 18px;
	line-height: 34px;
}
.form-icon-error {
	color: #A94442;
}
.form-type-select .form-icon-feedback {
	right: 25px;
}

.form-loader,
.form-item-loader {
	display: none;
	font-size: 16px;
}
.form-loader .fa-spin,
.form-item-loader .fa-spin {
	animation-duration: 1s;
	-webkit-animation-duration: 1s;
}
.form.loading > .form-loader,
.form-item.loading > .form-item-loader {
	display: block;
}
.form-item.loading > .form-add-button {
	display: none;
}


.form-type-address,
.form-type-fieldset {
	border: 1px solid #ddd;
	padding: 15px;
	border-radius: 4px;
	box-sizing: border-box;
}
.form-type-container:after,
.form-type-fieldset:after {
	content: "";
	display: block;
	clear: both;
}
.form-type-fieldset > .form-label,
.form-type-address > .form-label {
	font-weight: 600;
	color: #959595;
	font-size: 12px;
	text-transform: uppercase;
	margin-bottom: 5px;
}
.form-type-address .form-name-postal-code {
	max-width: 100px;
	float: left;
	margin-top: 0;
}
.form-type-address .form-name-locality {
	max-width: 356px;
	margin-left: 10px;
	float: left;
	margin-top: 0;
}
.form-collapsible.collapsed .form-delete-button {
	display: none;
}

.form-type-editor {
	width: auto;
}

.form-type-actions .form-item {
	float: left;
	margin: 0 10px 0 0;
	width: auto;
}
.form-type-actions:after {
	clear: both;
	content: "";
	display: block;
}

.form-type-checkboxes .form-label,
.form-type-checkbox .form-label {
	cursor: pointer;
}

.form-file-upload,
.form-type-file.has-value > .form-input > .form-file-preview {
	display: block;
}
.form-type-file.has-value > .form-input > .form-file-upload,
.form-type-file.loading > .form-input > .form-file-upload,
.form-type-file.loading > .form-input > .form-file-preview,
.form-file-preview {
	display: none;
}
.form-file-upload-button {
	position: relative;
	display: inline-block;
	overflow: hidden;
}
.form-file {
	position: absolute;
	top: 2px;
	bottom: 2px;
	right: 0;
	margin: 0;
	padding: 0;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}
.form-file-preview-image {
	height: auto;
	width: auto;
	max-width: 100%;
	max-height: 350px;
}
.form-type-file .form-add-button,
.form-type-file .form-delete-button {
	display: none;
}

.form-search .form-item {
	float: left;
	margin: 20px 10px 0 0;
}
.form-search:after {
	clear: both;
	display: block;
	content: "";
}

.select-custom-options {
	background: #eee;
	padding: 3px 0;
}
.select-custom-option:hover,
.select-custom-option.active {
	background: #f5f5f5;
}
.select-custom-option {
	padding: 8px 10px;
}

.autocomplete-preview {
	background: none;
	color: #333;
	padding: 6px 32px 6px 12px;
	margin-bottom: 0px;
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
	vertical-align: middle;
	-moz-user-select: none;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.autocomplete-remove {
	color: #C9302C;
	top: 6px;
	right: 12px;
}
.autocomplete-items {
	background: #fff;
	padding: 3px 0;
	margin-top: 2px;
	box-shadow: 0 6px 12px rgba(0,0,0,0.18);
	border-radius: 4px;
	border: 1px solid #ccc;
}
.autocomplete-item.active {
	background: #f5f5f5;
}

.autoselect-options {
	background: #fff;
	padding: 3px 0;
	margin-top: 2px;
	box-shadow: 0 6px 12px rgba(0,0,0,0.18);
	border-radius: 4px;
	border: 1px solid #ccc;
}
.autoselect-option:hover,
.autoselect-option.active {
	background: #f5f5f5;
}

.checkboxes-select-options {
	background: #fff;
	padding: 3px 0;
	margin-top: 2px;
	box-shadow: 0 6px 12px rgba(0,0,0,0.18);
	border-radius: 4px;
	border: 1px solid #ccc;
}
.checkboxes-select-option:hover,
.checkboxes-select-option.active {
	background: #f5f5f5;
}

.form-list-search {
	margin-top: 20px;
}
.form-list-search .form-item {
	float: left;
	margin: 0 10px 0 0;
}
.form-list-search .form-item:last-child {
	margin-right: 0;
}