#ADlgBack {
  position: absolute;
	color: black;
  background-color: black;
  /* opacity: 50%; */
  /* filter: alpha(opacity = 50); */
  cursor: default;
  top: 0;
  left: 0;
	bottom: 0;
	right: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  Z-Index: 999;
	text-align: center;
	padding: 0;
	yborder: 10px solid blue;
	display: none;
	margin: 0;
	box-sizing: border-box;
}

#ADlgCont {
	display: none;
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  Z-Index: 9999;
  /* background-color: inherit; */
	backgroud-color: black;
  Z-Index: 9999;
	padding: 0;
	margin: 0;
	border: 0;
}

#ADlgCen1 {
	position: relative;
	top: 50px;
	display: table;
	padding:0;
	border:0;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	Z-Index: 9999;
}
#ADlgCen2 {
	padding:0;
	border:0;
	display: table-cell;
	Z-Index: 9999;
}

#ADlgBody {
	display: block;
  font-family: arial, verdana;
	font-size: 17px;
	font-weight: bold;
	line-height: 21px;
  width: 600px;
	max-width: 100% !important;
	position: relative;
  /* background-color: #f0f1ff; */
  background-color: #000;
  border: 1px solid black;
  Z-Index: 9999;
	padding: 0;
	margin: 0;
	border: 1px solid black;
	box-sizing: border-box;
}

#ADlgBody h1,
#ADlgBody h2,
#ADlgBody h3,
#ADlgBody h4,
#ADlgBody h5,
#ADlgBody ul,
#ADlgBody li,
#ADlgBody a,
#ADlgBody p,
#ADlgBody div,
#ADlgBody input,
#ADlgBody br,
#ADlgBody hr,
#ADlgBody textarea {
	box-sizing: border-box;
	padding: 0px;
	margin: 0px;
	border: 0;
	height: auto;
	/* font-size: 17px; */
	/* font-weight: bold; */
	/* line-height: 21px; */
  font-family: inherit;
  font-size: inherit;
	line-height: inherit;
  font-weight: inherit;
}

#ADlgBody hr { height: 16px; }

/* Freizeile oben auf mobilen Geräten */
#ADlgBody h4 { display: none; }

/* Freizeile unten auf mobilen Geräten */
#ADlgBody h5 { display: none; }

/* Überschrift */
#ADlgBody h1 {
	position: relative;
	background-color:#a8a8bf;
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid black;
}

#ADlgBody h1.img {
	background-color:#a8a8bf;
  width: 100%;
	text-align: left;
  padding: 15px 10px;
	padding-left: 100px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid black;
}

#ADlgBody h1 img {
	position: absolute;
	left: 0;
  width: 80px;
	height: auto;
	max-width: 50px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* Überschrift Fehler */
#ADlgBody h2 {
	background-color: #EF3354;
  text-align: center;
  padding: 15px 10px;
	overflow-x: hidden;
	display: block;
	margin: 0;
  border: 0;
}

/* Hauptbereich mit der Meldung */
#ADlgBody > div {
	max-height: 400px;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	/* background-color: #0062C8; */
  background-color: #f0f1ff;
	/* background-color: #e0e1ef; */
	padding: 40px 10px;
	margin: 0;
	border: 0;
}

#ADlgBody > div.img {
	max-height: 400px;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
  background-color: #f0f1ff;
	padding: 0;
	margin: 0;
	border: 0;
}

#ADlgBody > div.img > img {
	float: left;
	height: auto;
	max-width: 120px;
}

#ADlgBody > div.imgfull {
	/* display: flex; */
	text-align: center;
	max-height: 600px;
	width: 100%;
	padding: 5px;
}

#ADlgBody > div.imgfull > img {
	/* justify-content: center; */
	width: 70%;
	min-width: 70%;
	max-width: 70%;
	height: auto;
	margin: 0 15%;
}

#ADlgBody > div.img > div {
	float: left;
	display: inline-block;
	width: 400px;
	max-width: 400px;
	overflow-x: hidden;
	box-sizing: border-box;
	/* background-color: #0062C8; */
	background-color: #f0f1ff;
	/* background-color: #e0e1ef; */
	padding: 40px 10px;
	margin: 0;
	border: 0;
}

#ADlgBody div.imgbottom img.imgbl {
	float: left;
	height: auto;
	max-width: 140px;
	max-height: 140px;
	overflow-x: hidden;
	overflow-y: auto;
  background-color: #f0f1ff;
	padding: 0;
	margin: 0;
	border: 0;
}

#ADlgBody div.imgbottom img.imgbr {
	float: right;
	height: auto;
	max-width: 140px;
	max-height: 140px;
	overflow-x: hidden;
	overflow-y: auto;
  background-color: #f0f1ff;
	padding: 0;
	margin: 0;
	border: 0;
}

#ADlgBody p { width: 100%; padding: 0; border: 0; margin: 0; }

#ADlgBody p label, #ADlgBody p input, #ADlgBody p textarea {
	padding: 4px;
	margin: 0;
	box-sizing: border-box;
}

#ADlgBody p label {
	display: inline-block;
	min-width: 30%;
	border: 0;
}

#ADlgBody p label.ta {
	display: inline-block;
	text-align: left;
	min-width: 30%;
	border: 0;
}

#ADlgBody p input {
	width: 70%;
	border: 1px solid #999;
}

#ADlgBody p textarea {
	width: 100%;
	height: 8em;
	border: 1px solid #999;
	resize: vertical;
}

/* Fussbereich mit Schaltflächen */
#ADlgBody h3 {
	background-color:#a8a8bf;
  width: 100%;
  text-align: center;
  padding: 0px 10px;
  margin: 0;
  border: 0;
  border-top: 1px solid black;
}

#ADlgBody h3 input {
	min-width: 100px;
	border: 1px solid black;
	border-radius: 7px;
	padding: 2px 10px;
	margin: 15px 10px;
	text-align: center;
	font-weight: bold;
	background-color: #e0e1ef;
}

#ADlgBody h3 input:hover { background-color: #c8c8df; }

#ADlgBody img.lnk {
	cursor: pointer;
}

#ADlgBody div.lnk {
	background-color: #a8a8bf;
	display: inline-block;
	padding: 4px 8px;
	color: black;
	cursor: pointer;
}

#ADlgBody div.lnk:hover {
	background-color: black;
	color: white;
}

@media only screen and (max-width:599px) {
	#ADlgCen1 { top: 0; width: 100%; height: 100%; }
	#ADlgCen2 { width: 100%; height: 100%; }

	#ADlgBody {
		font-size: 20px;
		line-height: 24px;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		height: 100% !important;
		min-height: 100% !important;
		/* max-height: 100% !important; */
	}

	#ADlgBody > div {
		max-height: 9999px;
		height: auto !important;
		background-color: white;
	}

	#ADlgBody h3 input {
		border-radius: 12px;
		padding: 10px 10px;
		background-color: #e0e1ef;
	}

	#ADlgBody h4, #ADlgBody h5 {
		display: block;
		height: 20px;
		background-color: black;
	}

	#ADlgBody p label {
		text-align: left;
		border: none;
		border-top: 10px solid white;
		border-bottom: 2px solid white;
		padding-top: 20px;
		/* background-color: #e0e1ef; */
		display: block;
		min-width: 100%;
	}

	#ADlgBody p input {
		width: 100%;
	}

}
