/* Style-Definitionen fuer den konfigurierbaren Editor in Formular-Art */

body.editor {
	border: 0px solid none;
	padding: 0px;
	margin: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding: 10px;
	color: #000000;
	background-color: #F3F6FF;
}

textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	overflow: auto;
}

form {
	width: 800px;
	margin: 0px;
	padding:0px;
	border: 0px none;
}

div[mark=mark] { background-color: Black; color: White; }

div.submitAbort{
	width: 100%;
	text-align: right;
	padding: 0px;
	margin: 0px;
	border: none;
}
div.abort,
div.preview,
div.save{
	font-size: 11px;
	display: inline-block;
	margin-left: 10px;
	margin-right: 0px;
	padding: 1px;
	vertical-align: middle;
	cursor: pointer;
	background-color: #B8CFEF;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background-image: url(../skin/img/group_bg.jpg);
	background-position: left top;
	background-repeat: repeat-x;
	border-top: 1px solid White;
	border-left: 1px solid White;
	border-right: 1px solid Silver;
	border-bottom: 1px solid Silver;
}
div.submitAbort div img{
	padding: 0px;
	margin: 0px;
	vertical-align: middle;
}
div.abort span,
div.save span{
	padding-left: 10px;
	padding-right: 10px;
	vertical-align: middle;
}

div.attribut { /* Dieses Div kapselt einen kompletten Attribut-Bereich */
	width: 392px;
	margin: 0px;
	padding: 2px;
	vertical-align: top;
	display: inline-block;
	border: 1px none red;
}
div.nameLoc { /* Klartext-Beschriftung allgemein (Attribut und Region) */
	width: 100px;
	display: inline-block;
	margin: 0px;
	vertical-align: top;
}

div.input {
	width: 260px;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

div.refPreview{
	min-height: 18px;
	background-color: #eeeeee;
}

div.attributButtons { /* Buttons im Attribut-Editor */
	display: inline-block;
	font-style: italic;
	margin: 0px;
	vertical-align: top;
	border: 0px none gray;
	cursor: pointer;
}

div.attributButtons img{
	vertical-align: middle;
}

div.filePicker {
	width: 22px;
	max-width: 22px;
	text-align: right;
	overflow: hidden;
	background-image: url(../skin/img/durchsuchen.png);
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}
input[type=file] { /* Eingabefeld im Attribut-Editor */
	filter:alpha(opacity: 0);
	opacity: 0;
	cursor: pointer;
}
/* Hier die einzelnen Editor-Felder, die moeglich sind */
div.display {            color: #6D6D6D; border: 1px solid #888888; width: 100%; min-height: 18px; background-color: #F3F6FF; overflow: auto; }
div.display[readonly] {  color: #6D6D6D; border: 1px solid #888888; width: 100%; min-height: 18px; background-color: #F3F6FF;}
input {	                                 border: 1px solid #888888; width: 100%; min-height: 18px; }
input[readonly] {        color: #6D6D6D; border: 1px solid #888888; width: 100%; min-height: 18px; background-color: #F3F6FF;}
textarea {                               border: 1px solid #888888; width: 100%; min-height: 18px; }
textarea[readonly] {     color: #6D6D6D; border: 1px solid #888888; width: 100%; min-height: 18px; background-color: #F3F6FF;}
select {                                 border: 1px solid #888888; width: 100%; min-height: 18px; }
select[readonly] {       color: #6D6D6D; border: 1px solid #888888; width: 100%; min-height: 18px; background-color: #F3F6FF;}
div.refPreview {                         border: 1px solid #888888; width: 100%; min-height: 18px; }
div.refPreview[readonly]{color: #6D6D6D; border: 1px solid #888888; width: 100%; min-height: 18px; background-color: #F3F6FF;}


div.editGroup,
div.alert {
	width: 100%;
	padding: 0px;
	padding-bottom: 10px;
	margin: 0px;
	margin-bottom: 15px;
	border: 0px none;
	border-top: 1px solid White;
	border-left: 1px solid White;
	border-right: 1px solid Silver;
	border-bottom: 1px solid Silver;
	background-color: #B8CFEF;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background-image: url(../skin/img/group_bg.jpg);
	background-position: left top;
	background-repeat: repeat-x;
}
div.alert {
	width: 796px;
	font-weight: bold;
	color: #001282;
	padding: 2px;
}
div.alertInUse,
div.alertOthers {
	font-weight: normal;
	font-size: 10px;
	color: black;
}

div.editGroupNameLoc{
	font-size: 16px;
	font-weight: bold;
	color: #001282;
	padding: 2px;
}

/* 2-spaltiger Standard */
div.editGroup[depth=d1] div.attribut {
	width: 392px;
	margin: 2px;
	margin-top: 2px;
	padding: 0px;
	vertical-align: top;
	display: inline-block;
	border: 1px none red;
}
div.editGroup[depth=d1] div.attribut div.nameLoc {
	width: 100px;
	vertical-align: top;
}
div.editGroup[depth=d1] div.attribut div.input {
	width: 260px;
	vertical-align: top;
}


/* 1-spaltige Ausnahmen fuer html-, refIdList- und useList-Felder */
div.editGroup[depth=d1] div.attribut[edittype=html],
div.editGroup[depth=d1] div.attribut[edittype=refIdList],
div.editGroup[depth=d1] div.attribut[edittype=useList]{
	width: 100%;
}
div.editGroup[depth=d1] div.attribut[edittype=html] div.input,
div.editGroup[depth=d1] div.attribut[edittype=refIdList] div.input,
div.editGroup[depth=d1] div.attribut[edittype=useList] div.input {
	width: 790px;
	margin: 2px;
}
div.editGroup[depth=d1] div.attribut[edittype=html] div.nameLoc,
div.editGroup[depth=d1] div.attribut[edittype=refIdList] div.nameLoc,
div.editGroup[depth=d1] div.attribut[edittype=useList] div.nameLoc {
	width: 400px;
}
div.editGroup[depth=d1] div.attribut[edittype=refIdList] div.attributButtons,
div.editGroup[depth=d1] div.attribut[edittype=useList] div.attributButtons {
	width: 380px;
	text-align: right;
}

/* Sonderbreiten Bild-Definition */
div.editGroup[depth=d1] div.attribut[attr="images.file_name"],
div.editGroup[depth=d1] div.attribut[attr="images.org_details"],
div.editGroup[depth=d1] div.attribut[attr="images.message"],
div.editGroup[depth=d1] div.attribut[attr="images.abstract"],
div.editGroup[depth=d1] div.attribut[attr="images.description"],
div.editGroup[depth=d1] div.attribut[attr="images.keywords"]{
	width: 100%;
}
div.editGroup[depth=d1] div.attribut[attr="images.file_name"] div.input,
div.editGroup[depth=d1] div.attribut[attr="images.org_details"] div.input,
div.editGroup[depth=d1] div.attribut[attr="images.message"] div.input,
div.editGroup[depth=d1] div.attribut[attr="images.abstract"] div.input,
div.editGroup[depth=d1] div.attribut[attr="images.description"] div.input,
div.editGroup[depth=d1] div.attribut[attr="images.keywords"] div.input{
	width: 659px;
	margin: 2px;
}
div.editGroup[depth=d1] div.attribut[attr="images.file_name"] div.input div{
	background-color: #eeeeee;
}
div.editGroup[depth=d1] div.attribut[attr="images.file_name"] div.nameLoc,
div.editGroup[depth=d1] div.attribut[attr="images.org_details"] div.nameLoc,
div.editGroup[depth=d1] div.attribut[attr="images.message"] div.nameLoc,
div.editGroup[depth=d1] div.attribut[attr="images.abstract"] div.nameLoc,
div.editGroup[depth=d1] div.attribut[attr="images.description"] div.nameLoc,
div.editGroup[depth=d1] div.attribut[attr="images.keywords"] div.nameLoc{
	width: 98px;
}
div.editGroup[depth=d1] div.attribut[attr="images.id"] div.nameLoc {
	display: none;
}
div.editGroup[depth=d1] div.attribut[attr="images.id"] {
	width: 752px;
	margin-left: 10px;
}

/* 2-te Ebene Gruppen */
div.editGroup[depth=d2] { width: 780px; background-color: #DCDCDC; }
div.editGroup[depth=d2] div.attribut { width: 778px; }
div.editGroup[depth=d2] div.nameLoc { 	width: 130px; }

/* Mini-Preview inaktiv */

div.miniPreview[active=inactive] {	border-left: 2px solid red;	}
div.miniPreview[active=active] {	border-left: 2px solid white;	}

/* Mini-Preview eines Bildes */
div.refPreview[refObject=images] div.miniPreview { padding: 5px; position: relative; display: inline-block; min-width: 46px; }
div.refPreview[refObject=images] div[attr] { display: none; }
/* div.refPreview[refObject=images] div[attr=name] { position: absolute; bottom: 5px; width: 46px; height: 14px; overflow: hidden; color: White; } */

/* Nun noch der Bitte warten-Dialog */
div.onTopBg {
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	text-align: center;
	background-color: Silver;
	width: 100%;
	height: 100%;
	opacity: .5;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
}
div.onTopAll {
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	text-align: center;
	width: 100%;
	height: 100%;
}
div.onTopBox {
	position: relative;
	margin: auto;
	width: 120px;
	top: 100px;
	border: 1px solid Gray;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background-color: White;
	padding: 40px;
	color: Gray;
	font-weight: bold;
	text-align: center;
}

/*** Erweiterung TableGrid *****/

table.tableGrid {
	width: 100%;
}
table.tableGrid td {
	border: 1px solid Gray;
	padding: 2px;
	padding-left: 4px; padding-right: 4px;
	width: 20%;
	background-color: white;
}
table.tableGrid td.upDown {
	border: none;
	padding: 0px;
	padding-left: 4px;
	width: 5%;
	cursor: pointer;
	background-color: #B8CFEF;
}
div.editGroup[depth=d1] div.attribut[edittype=tableGrid]{
	width: 100%;
}
div.editGroup[depth=d1] div.attribut[edittype=tableGrid] div.input {
	width: 663px;
}

/*** Erweiterung codeMirror ***/

.CodeMirror {
	height: auto;
}

img.imgPreview { background-image: url("img/schachbrett.png"); }
img.imgPreview:hover { background-image: none; background-color: rgb(240,240,240); }

div.inputWarning {
	position: absolute;
	bottom: -5px;
	right: -8px;
	width: 10px;
	height: 10px;
	border-radius: 20px;
	background-color: red;
}

/* optimaler Ausschnitt */
div.slideBox {
	margin-left: 100px;
	position: relative;
	width: 525px;
	height: 525px;
	background-color: lightgrey;
	border-radius: 20px;
	border: 1px solid white;
	border-bottom-color: grey;
	border-right-color: grey;
	font-size: 0 !important;
	font-family: "MS Sans Serif", Geneva, Arial, Helvetica, sans-serif !important;
	line-height: 100% !important;
}
div.imgArea {
	display: inline-block;
	position: absolute;
	top: 50%; 		left: 50%;	/* Mittig zentrierte Bildbox */
	transform: translateY(-50%) translateX(-50%);
	overflow: hidden;
	border-radius: 4px;
	border: 2px solid white;
	border-top-color: grey;
	border-left-color: grey;
	overflow: hidden;
	font-size: 0 !important;
	font-family: "MS Sans Serif", Geneva, Arial, Helvetica, sans-serif !important;
	line-height: 100% !important;
}
div.editGroup[depth="d1"] div.attribut[attr="images.id"] img {
	border: none !important;
	padding: 0 !important;
	padding-top: 0 !important;
	margin: 0 !important;
	font-family: "MS Sans Serif", Geneva, Arial, Helvetica, sans-serif !important;
	line-height: 100% !important;
}
div.optBox {
	box-sizing: content-box;
	position: absolute;
	transform: translateY(-50%) translateX(-50%);
	border: 1000px solid rgba(255,255,255,0.5);
	font-size: 0;
	font-family: "MS Sans Serif", Geneva, Arial, Helvetica, sans-serif !important;
	line-height: 100% !important;
}
