#content form {
	margin: 1em 0;
	clear: both;
}

fieldset {
	clear: left;
}

fieldset h4 {
	text-transform: uppercase;
	font-size: 90%;
	font-weight: bold;
	letter-spacing: 0.1em;
	color: #004A8F;
	background: #EEEEF8;
	border-bottom: 1px solid #BFC6E0;
	padding: 0.3em 0.5em;
	clear: both;
}

div.row {
	clear: both;
	float: left;
	width: 100%;
	padding: 0.4em 0;
	border-bottom: 1px solid #ddd;
	position: relative;
}

#content form div.row a, #content form div.row a:hover, #content form div.row a:focus {
	background: none;
	border-bottom: 0;
}

.error {
	background: #FCC url(../img/icon-error-small.png) 8px center no-repeat;
}

label {
	width: 27%;
	display: block;
	float: left;
	text-align: right;
	color: #666;
}

div.validator-required label {
	color: #000;
	font-weight: bold;
}

div.validator-required div.field label {
	font-weight: normal;
}

label .accessify {
	position: absolute;
	top: 0;
	left: -9999px;
}

div.field {
	width: 70%;
	float: right;
	text-align: left;
}

div.field input.text, div.field input.password, div.field textarea, div.field select {
	width: 96%; /* wegen des borders und dem padding, die jetzt kommen */
	border: 1px solid #BFC6E0;
	padding: 0.2em 0.3em;
	background: #fff;
}

div.field textarea {
	height: 120px;
}

div.field select {
	width: 98%;
}

.fieldtype-DateField div.field select {
	width: auto;
}

div.field input:focus, div.field textarea:focus, div.field select:focus {
	border-color: #4E6DA8;
}


/* Checkbox */

.fieldtype-CheckboxField .field {
	float: none;
	width: 100%;
}

.row.fieldtype-CheckboxField label {
	float: right;
	text-align: left;
	padding-left: 0;
	margin-right: 0;
	width: 70%;
}

.row.fieldtype-CheckboxField input.checkbox {
	position: absolute;
	top: 0.6em;
	right: 73%;
}

/* RadioField */

.fieldtype-RadioField .field input {
	float: left;
	clear: left;
}

.fieldtype-RadioField .field label {
	margin-left: 1.5em;
	float: none;
	text-align: left;
	width: auto;
}

/* MultipleCheckboxField */

.fieldtype-MultipleCheckboxField .field input {
	float: left;
	clear: left;
}

.fieldtype-MultipleCheckboxField .field label {
	font-weight: normal;
	margin-left: 1.5em;
	float: none;
	text-align: left;
	width: auto;
}


#content div.field a.add-language {
	padding-left: 0;
}

#content a.edit-link {
	display: block;
	background: url(../img/edit.png) right center no-repeat;
	position: relative;
	margin-right: 0.5em;
	padding: 0;
}

#content a.edit-link:hover {
	border: 0;
}

#content a.edit-link span.empty {
	text-transform: uppercase;
	font-size: 80%;
	letter-spacing: 0.2em;
	font-weight: normal;
}

/* Hilfetext */

div.helptext {
	clear: both;
	width: 68.7%;
	margin-top: 0;
	margin-left: 30%;
	background: url(../img/helptext-top.png) left top no-repeat;
	padding-top: 5px;
	border-top: 1px solid #fff;
}

.fx div.helptext {
	position: absolute;
	margin-left: 0;
	padding: 0;
	border-top: 0;
	width: 190px;
	left: -188px;
	top: -6px;
	z-index: 99;
	background: url(../img/helptext-right.png) right top no-repeat;
	padding-right: 10px;
}

div.helptext div.content {
	margin: 0;
	background: #FFFCCC;
	border: 1px solid #DA7;
	border-top: 0;
	font-size: 80%;
	padding: 0.3em;
	overflow: hidden;
}

.fx div.helptext div.content {
	border-top: 1px solid #DA7;
	border-right: 0;
	padding: 1em;
}

div.helptext div.content p {
	margin: 0;
	padding: 0;
}


/* ProjectOverview: Editors */

#project-editors {
	margin-left: 0;
	float: left;
	width: 100%;
}

#project-editors li{
	display: block;
	float: left;
	padding: 2px 6px;
	margin: 2px 0;
	white-space: nowrap;
	height: 1.4em;
}

#project-editors li.editor {
	border: 1px solid #CCC;
	background: #EEEEF8;
	margin-right: 4px;
}

#content #project-editors li.editor a {
	margin-left: 4px;
	padding-left: 0;
	background-image: none;
}

#content #project-editors li.editor a:hover {
	background: url(../img/delete-hover.png) center left no-repeat;
	border: 0;
}

#project-editors li.editor a:hover img {
	visibility: hidden;
}

#project-editors li .autoPadDiv {
	margin: 0px 2px;
}

#project-editors li .admin-note {
	font-size: 75%;
	color: #666;
}


/* ProjectView: Generate Certificates */

#generate-certificates-arrow {
	margin: 0 13px 0 11px;
}



/* Multilingual Forms */

label.lang {
	width: auto;
	display: block;
	float: none;
	text-align: left;
	color: #004A8F !important;
	font-weight: normal !important;
	font-size: 90%;
	margin-top: 0.4em;
}

label.lang.first-child {
	margin-top: 0;
	font-weight: bold !important;
}

label.lang img {
	float: left;
	margin-right: 0.3em;
}

span.lang-prefix {
	text-transform: uppercase;
	font-weight: normal;
	float: left;
	display: block;
	width: 2em;
	background: red;
}


/* LanguageSelectField */

.fieldtype-LanguageSelectField select {
	margin-bottom: 0.4em;
}


/* MaxLengthHelper */

div.maxLengthDisplay {
	margin-top: 0.2em;
	margin-bottom: 0.4em;
}

div.maxLengthDisplay.error {
	color: #F53C00;
	font-weight: bold;
	padding-left: 2em;
	background-position: 0 0;
	background-color: transparent;
}


/* Edit Languages */

div.row.fieldname-edit-languages label {
	display: none;
}

div.row.fieldname-edit-languages div.field {
	float: none;
	width: auto;
}

div.row.fieldname-edit-languages input {
	padding: 0;
	cursor: pointer;
	border-width: 0;
	text-align: left;
	background: url(../img/content-a-bg.gif) no-repeat 0 0.45em transparent;
	color: #4E6DA8;
	text-decoration: none;
	font-weight: bold;
	padding-left: 0.9em;
	border-bottom: 1px solid white;
}

div.row.fieldname-edit-languages input:hover, div.row.fieldname-edit-languages input:focus {
	border-bottom-color: #BDC7E7;
}

/* AUTOSAVE */
div.changes {
	display: inline;
	margin-right: 0.5em;
	position: relative;
}

div.changes div.helptext {
	width: 350px;
	display: none;
	left: -357px;
	top: -13px;
}

div.changes div.helptext ul {
	margin: 0;
	list-style-type: none;
}

div.changes div.helptext span.label {
	font-weight: bold;
}

div.changes:hover div.helptext {
	display: block;
}
