#entity-page #entity-editor {
	background: #F9F9F9;
	width: 700px;
	margin-right: 20px;
	padding: 5px;
}

#entity-editor > * * {
	display: inline-block;
}

#entity-editor > div {
	margin: 1px;
	padding: 0;
	clear: both;
	background: #F9F9F9;
}

#entity-editor > div.odd {
	background-color: #F0F0F0;
}

#entity-editor > div > div {
	display: inline-block;
	float: left;
	width: 700px;
}

#entity-editor label, #entity-editor .data {
	border-bottom: 2px solid transparent;
}

#entity-editor > div > * {
	margin: 0px;
	padding: 0px;
	text-align: left;
}

#entity-editor label {
	width: 280px;
	padding: 8px 10px 0px;
	float: left;
	border-bottom-color: #DDD;
}

#entity-editor .data {
	padding: 3px 10px;
	float: right;
}

#entity-editor .data * {
	width: 400px;
	float: right;
}

#entity-editor div.bool label {
	width: 660px;
}

#entity-editor > div.bool .data {
	width: 40px;
}

#entity-editor input, #entity-editor select {
	margin: 1px 0px;
	float: right;
	background-color: #FFF;
}

#entity-editor input:focus, #entity-editor select:focus {
	outline: none;
	border-right-width: 5px !IMPORTANT;
}

#entity-editor .readonly input, #entity-editor .readonly select {
	background: inherit;
	color: black;
}

#entity-editor input[type=checkbox] {
	width: auto;
	min-width: auto;
	margin-top: 3px;
}

#entity-editor > button {
	width: 680px;
	margin: 10px 5px 5px;
	//display: block;
	float: none;
}

#entity-editor.ng-invalid > button {
	color: #F00;
}

#entity-editor.ng-pristine > button {
	color: #888;
}

#entity-editor .required label:after {
	content: " *";
	color: #F66;
}

#entity-editor .bool.required label:after {
	content: none;
}

#entity-editor.ng-dirty input.ng-valid, #entity-editor.ng-dirty select.ng-valid {
	border-color: #4C4;
}

#entity-editor.ng-dirty .readonly input.ng-valid, #entity-editor.ng-dirty .readonly select.ng-valid {
	border-color: #00F;
}

#entity-editor h3 {
	color: #046;
	margin: 5px 0px 5px;
	padding: 5px 10px;
	width: 100%;
	border: 1px dotted #088;
	border-bottom: none;
}

#entity-editor div:hover h3 {
	padding-left: 15px;
	color: #406;
	background-color: #EEE;
}

#entity-editor div.header {
	background-color: #FAFFFF;
}
