
/**
 * Definiert die StyleSheet für folgende Objekte.
 *  - ServerError-Dialog (#errordiv)
 *  - Error/Warning/Info-Dialog (#alertDialog)
 *  - Confirm-Dialog (#confirmLayer)
 *  - Layer zum Sperren der Eingabe (#inactiveDiv)
 */
 
/** DIV in dem die Popups zentriert angezeigt werden */
.popupBackgroundDiv {
	position: absolute;
	top: 0;
	left: 0;
	width: inherit;
	height: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1000;
}

/************************
 *** ServerError-Dialog
 ************************/
#serverErrorContentDiv {
	position: relative;
	width: 660px;
	min-height: 145px;
	background-color: white;
	font-size: 16px;
	background-color: white;
	border: 4px outset lightgray;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 15px;
	overflow: hidden;
}
#serverErrorLeftDiv {
	float: left;
	width: 170px;
	min-height: inherit;
}
#serverErrorMiddleDiv {
	float: left;
	width: 410px;
	min-height: inherit;
}
#serverErrorMessage {
	float: left;
	width: inherit;
	min-height: calc(130px - 60px);
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
}
#serverErrorButtons {
	float: left;
	width: inherit;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: right;
}
.serverErrorBackButton {
	height: 40px;
	width: inherit;
	
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	
	background-image: -moz-linear-gradient(270deg, #fff, #4775A2);
	background-image: -webkit-linear-gradient(270deg, #fff, #4775A2);
	background: -o-linear-gradient(top, #fff, #4775A2);
	background: -ms-linear-gradient(top, #fff 30%, #4775A2 100%);
	
	border-top: 2px solid lightgrey;
	border-left: 2px solid lightgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 2px solid darkgrey;
}
#serverErrorBackButton_text {
	display: flex;
	align-items: center;
	justify-content: center;
	height: inherit;
	width: inherit;
	letter-spacing: 0.5em;
}
#serverErrorRightDiv {
	float: left;
	height: 150px;
	width: 128px;
}

/*************************************
 *** Alert-Dialog und Confirm-Dialog
 *************************************/
.alertContentDiv {
	width: 550px;
	font-size: 16px;
	font-weight: normal;
	padding: 15px 15px 15px 15px;
	background-color: white;
	border: 4px outset lightgray;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 15px;
	overflow: hidden;
}
/** Info: wird aktuell nicht verwendet */
.alertContentDiv img {
	float: right;
	position: absolute;
	top: 15px;
	right: 15px;
}
.alertHeader {
	height: 25px;
	font-weight: bold;
	margin: 10px;
	margin-bottom: 20px;
	font-size: 20px;
	color: red;
	overflow: hidden;
}
#alertMessage {
	font-size: 14px;
}
.alertMessage {
	min-height: 50px;
	margin: 10px;
	margin-bottom: 20px;
}
.alertAdditionalMessage {
	font-weight: normal;
	font-size: 12px;
}
.alertButtons {
	width: inherit;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: right;
}
.alertBackButton {
	width: 120px;
	height: 40px;
	margin-right: 10px;
	
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	
	background-image: -moz-linear-gradient(270deg, #fff, #4775A2);
	background-image: -webkit-linear-gradient(270deg, #fff, #4775A2);
	background: -o-linear-gradient(top, #fff, #4775A2);
	background: -ms-linear-gradient(top, #fff 30%, #4775A2 100%);
	
	border-top: 2px solid lightgrey;
	border-left: 2px solid lightgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 2px solid darkgrey;
}
.jaButton {
	bottom: 15px;
	right: 150px;
}
.neinButton {
	bottom: 15px;
	right: 20px;
}
.alertBackButton_text, .jaButton_text, .neinButton_text {
	display: flex;
	align-items: center;
	justify-content: center;
	height: inherit;
	width: inherit;
}


/***********************************
 *** Layer zum Sperren der Eingabe
 ***********************************/

/** Das DIV wird angezeigt wenn die Kasse beschäftigt ist */
#inactiveDiv {
	position: absolute;
	top: 0;
	left: 0;
	width: inherit;
	height: inherit;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.6);
}

/** DIV in dem das Lade-Icon angezeigt wird */
#ajaxloaderInactiveDiv {
	position: relative;
	height: 150px;
	width: 400px;
	color: black;
	background: rgba(255, 255, 255, 1);
	text-align: center;
	border-top: 1px solid #444;
	border-left: 1px solid #444;
	border-right: 1px solid lightgrey;
	border-bottom: 1px solid lightgrey;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	margin-top: 320px;
	margin-left: auto;
	margin-right: auto;
}

/** Definiert das Lade-Icon */
#ajaxloaderInactiveDiv img {
	margin: 28px auto;
}

/** DIV in dem Hinweis des Lade-Icons */
.ajaxloader_text {
  display: block;
  margin-top: 2px;
}

/** Abweichung in der Auflösung 1366 * 768 */
@media only screen and (width : 1366px){
	
	#ajaxloaderInactiveDiv {
		/* left: 350px; */
	}
}
