/*******************************************************************************
 *** Definiert die Buttons für die Dialoge (z.B. Okay- und Abbrechen-Button)
 *** Die Buttons sind standard-mäßig rechtsbündig ausgerichtet und 150px breit.
 *******************************************************************************/
.dialog_button {
	position: relative;
	float: right;
	height: 40px;
	width: 150px;
	margin: 5px 5px 0 5px;
	
	font-size: 12px;
	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 #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
}

/** Die Breite der Buttons in den System-Infos */
.dialog_button_250 {
	width: 250px;
}

/** Die Höhe der Buttons in den System-Infos */
.dialog_button_small {
	height: 25px;
}

/** Labels der Dialog-Buttons werden zentriert angezeigt */
.dialog_button_text {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	width: inherit;
	height: inherit;
}
	
/*******************************************************
 *** Definiert die grafischen Buttons der Kasse
 *******************************************************/
.touchscreen_button {
	position: relative;
	float: left;
	
	font-size: 16px;
	font-weight: bold;
	
	background-image: -moz-linear-gradient(270deg, #8AB4D3, #4775A2);
	background-image: -webkit-linear-gradient(270deg, #8AB4D3, #4775A2);
	background: -o-linear-gradient(top, #8AB4D3, #4775A2);
	background: -ms-linear-gradient(top, #fff 30%, #4775A2 100%);
	 
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
}

/** Labels der Buttons werden zentriert angezeigt */
.touchscreen_button_text {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	width: inherit;
	height: inherit;
}

/** Sub-Labels werden am unteren Rand ausgerichtet */
.touchscreen_button_sub_text {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 5px;
	color: white;
	font-size: 10px;
	font-weight: bold;
}

/*********************************************************************************************
 *** Buttons der Workbench für die Auswahl eines Betriebs, Verkaufsstelle, Kasse oder Kellner.
 *** Die Buttons müssen auch die Attribute von "touchscreen_button" besitzen.
 *********************************************************************************************/
.workbench_button {
	width: 235px;
	height: 100px;
	margin: 0 10px 10px 0;
	overflow: hidden;
}
/** Button wenn der Scrollbar angezeigt wird */
.workbench_button_small {
	width: 220px;
}

/** Button für die Auswahl des Kellners */
/** Die Buttons sind wegen dem Numpad etwas kleiner */
.workbench_button_kellner {
	width: 215px;
	height: 80px;
}
/** Button wenn der Scrollbar angezeigt wird */
.workbench_button_kellner_small {
	width: 195px;
}

/** Button für die Auswahl des Kassentyps */
.workbench_button_cashpoint_type {
	width: 450px;
	height: 250px;
	margin: 25px 0 0 32px;
}

/*************************************************
 *** Button für die Tische in der Tischübersicht
 *************************************************/
.table_button {
	position: relative;
	float: left;
	width: 123px;
	height: 62px;
	
  	font-size: 16px;
	font-weight: bold;
  	margin: 0 10px 10px 0;
  	overflow: hidden;
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
	
	background-image: -moz-linear-gradient(270deg, #8AB4D3, #4775A2);
	background-image: -webkit-linear-gradient(270deg, #8AB4D3, #4775A2);
	background: -o-linear-gradient(top, #8AB4D3, #4775A2);
	background: -ms-linear-gradient(top, #fff 30%, #4775A2 100%);   
}

/** Button wenn ein Tisch hervorgehoben werden soll (z.B. bei einer Retoure) */
.table_button_red {
	background-image: -moz-linear-gradient(270deg, #8AB4D3, #f24c4c);
	background-image: -webkit-linear-gradient(270deg, #8AB4D3, #f24c4c);
}

/** Labels der Buttons werden zentriert angezeigt */
.table_button_text {
	display: table-cell;
	width: inherit;
	height: inherit;
	text-align: center;
	overflow: hidden;
}
.table_button_tablenumber {
	max-height: calc(100% - 20px);
	overflow: hidden;
}
.table_button_saldo {
	font-size: 13px;
}

@media only screen and (width : 1366px){
	.table_button {
		width: 133px;
	}
}


/*************************************************
 *** Buttons um die Kellner-Funktion auszuwählen
 *************************************************/
.kellnerfunction_button {
	width: 298px;
	height: 80px;
	margin: 10px 0 0 0;
	
	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 #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
}

/***********************************************
 *** Buttons um die Tischfunktion auszuwählen
 ***********************************************/
.tablefunction_button {
	width: 335px;
	height: 80px;
	margin: 5px;
	margin: 10px 0 0 5px;
	
	background-image: -moz-linear-gradient(270deg, #fff, #6699CC); 
 	background-image: -webkit-linear-gradient(270deg, #fff, #6699CC); 
 	background: -o-linear-gradient(top, #fff, #6699CC); 
 	background: -ms-linear-gradient(top, #fff 30%, #6699CC 100%);   
}
/** Hervorgehobe Tischfunktion wie z.B. "Vorgang erneut öffnen" */
.tablefunction_button_red {
	background-image: -moz-linear-gradient(270deg, #fff, #f66);
	background-image: -webkit-linear-gradient(270deg, #fff, #f66);
	background: -o-linear-gradient(top, #fff, #f66);
	background: -ms-linear-gradient(top, #fff 30%, #f66 100%);
}
/** Button um beim Zusammenführen von Tischen einen Tisch auszuwählen */
.tablefunction_merge_button {
	float: none;
	width: 400px;
	height: 70px;
	margin: 50px auto 0px auto;
}
/** Button um beim Storno einen Stornierungsgrund auszuwählen */
.tablefunction_cancellation_reasen_button {
	height: 60px;
	width: 285px;
	margin: 5px 0 0 5px;
	color: white;
}	

/****************************************************
 *** Button für Kategorien und Artikel in der Kasse
 ****************************************************/
 .kategorie_button {
	position: relative;
	float: left;
	width: 127px;
	min-width: 127px;
	height: 60px;
	
	margin: 5px;
	font-size: 15px;
	font-weight: bold;
	overflow: hidden;
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
}
.hauptkategorie_button {
	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%);
}
.hauptkategorie_xxl_button {
	width: 320px;
}
.unterkategorie_button {
	background-image: -moz-linear-gradient(270deg, #fff, #9DC5ED);
	background-image: -webkit-linear-gradient(270deg, #fff, #9DC5ED);
	background: -o-linear-gradient(top, #fff, #9DC5ED);
	background: -ms-linear-gradient(top, #fff 30%, #9DC5ED 100%);
}
.kategorie_button_text {
	display: table-cell;
	text-align: center;
	vertical-align: top;
	width: inherit;
	height: inherit;
}
.kategorie_button_active {
	background-color: #039;
	border-bottom: 2px solid #9cf;
	border-right: 2px solid #9cf;
	border-left: 2px solid #369;
	border-top: 2px solid #369;
	
	background-image: -moz-linear-gradient(270deg, #8AB4D3, #4775A2);
	background-image: -webkit-linear-gradient(270deg, #8AB4D3, #4775A2);
	background: -o-linear-gradient(top, #8AB4D3, #4775A2);
	background: -ms-linear-gradient(top, #fff 30%, #4775A2 100%);
}

/** Button um einen Artikel anzuzeigen */
.article_button {
	position: relative;
  	float: left;
  	width: 105px;
  	height: 65px;
  	
  	font-size: 12px;
  	font-weight: bold;
  	margin: 0 10px 10px 0;
  	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
 	 
  	background-color: #ecf6ff;
  	background-image: -moz-linear-gradient(270deg, #fff, #BFCCE7); 
	background-image: -webkit-linear-gradient(270deg, #fff, #BFCCE7); 
	background: -o-linear-gradient(top, #fff, #BFCCE7);
	background: -ms-linear-gradient(top, #fff 30%, #BFCCE7 100%);
		  	  
	overflow: hidden;
}
.article_button_bezeichnung {
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin: 13px 0 13px 0;
	height: calc(100% - 26px);
}
.article_button_name {
	display: flex;
	justify-content: baseline;
	max-height: 100%;
}
.article_button_inventory {
	position: absolute;
	top: 3px;
	left: 3px;
  	color: #039;
	font-size: 9px;
}
.article_button_id {
	position: absolute;
	top: 3px;
	right: 3px;
  	color: #039;
	font-size: 9px;
}
.article_button_preis {
	position: absolute;
	bottom: 3px;
	right: 3px;
  	color: #039;
	font-size: 11px;
}
		
/** Definiert die Auflösung in 1366 * 768 */
@media only screen and (width : 1366px){
	.hauptkategorie_button {
	  	width: 174px;
	}
	.hauptkategorie_xxl_button {
		width: 320px;
	}
	.unterkategorie_button {
	  width: 143px;
	}
	.article_button {
		width: 142px;
		height: 83px;
	}
}


/******************************************************************************************
 *** Buttons für die Quick-Functions in der Kasse (z.B. Button um ein Trinkgeld zu buchen)
 ******************************************************************************************/
.quickfunction_button {
	position: relative;
	width: 90px;
	height: 60px;
	margin: 5px 0px 3px 3px;
	text-align: center;
	
	border-top: 2px solid lightgrey;
	border-left: 2px solid lightgrey;
	border-right: 2px solid darkgrey;
	border-bottom: 2px solid darkgrey;
	
	background-image: -moz-linear-gradient(270deg, #fff, #999);
	background-image: -webkit-linear-gradient(270deg, #fff, #999);
	background: -o-linear-gradient(top, #fff, #999);
	background: -ms-linear-gradient(top, #fff 30%, #999 100%); 
}
.quickfunction_button_right {
	width: 190px;
}
.quickfunction_button_system_info_warning {
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
	
	background-image: -moz-linear-gradient(270deg, #fff, #C43C3C); 
	background-image: -webkit-linear-gradient(270deg, #fff, #C43C3C);
	background: -o-linear-gradient(top, #fff, #C43C3C);
	background: -ms-linear-gradient(top, #fff 30%, #c43c3c 100%);
}
#quickfunction_button_parken {
	position: absolute;
	bottom: 198px;
	height: 120px;
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
	
	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%); 
}
#quickfunction_button_pay {
	position: absolute;
	bottom: 198px;
	height: 120px;
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
	
	background-image: -moz-linear-gradient(270deg, #fff, #518900); 
	background-image: -webkit-linear-gradient(270deg, #fff, #518900);
	background: -o-linear-gradient(top, #fff, #518900); 
	background: -ms-linear-gradient(top, #fff 30%, #518900 100%);
}
#quickfunction_button_pay_lite {
	position: absolute;
	bottom: 0px;
	height: 120px;
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
	
	background-image: -moz-linear-gradient(270deg, #fff, #518900); 
	background-image: -webkit-linear-gradient(270deg, #fff, #518900);
	background: -o-linear-gradient(top, #fff, #518900); 
	background: -ms-linear-gradient(top, #fff 30%, #518900 100%);
}
#quickfunction_button_cancel {
	position: absolute;
	bottom: 129px;
	height: 60px;
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
	
	background-image: -moz-linear-gradient(270deg, #fff, #C43C3C); 
	background-image: -webkit-linear-gradient(270deg, #fff, #C43C3C);
	background: -o-linear-gradient(top, #fff, #C43C3C);
	background: -ms-linear-gradient(top, #fff 30%, #c43c3c 100%);
}
#quickfunction_button_booking {
	position: absolute;
	bottom: 0px;
	height: 120px;
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
	
	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%); 
}
.quickfunction_button_text {
	position: absolute;
	display: block;
	bottom: 20px;
	width: inherit;
	font-size: 15px;
	font-weight: bold;
}
	
/***************************************************************************************
 *** Buttons des Checkouts für die Auswahl der Zahlart, des Hausbons, der Tischrabatte.
 ***************************************************************************************/
.checkout_button {
	float: left;
	height: 57px;
	width: 280px;
	margin: 5px;
	
	color: white;
	font-size: 16px;
	font-weight: bold;
	
	background-image: -moz-linear-gradient(270deg, #8AB4D3, #4775A2);
	background-image: -webkit-linear-gradient(270deg, #8AB4D3, #4775A2);
	background: -o-linear-gradient(top, #8AB4D3, #4775A2);
	background: -ms-linear-gradient(top, #fff 30%, #4775A2 100%);
	
	border-top: 2px solid #9cf;
	border-left: 2px solid #9cf;
	border-right: 2px solid #369;
	border-bottom: 2px solid #369;
}
.checkout_button_185 {
	width: 185px;
}
.checkout_button_text {
	padding-left: 25px;
	text-align: left;
}

/** Okay-Button um den Checkout abzuschliessen */
.checkout_okay_button {
	width: 400px;
	height: 80px;
	font-size: 24px;
}

/** Button um die Eingabe des Lottery-Codes zu aktivieren */
.checkout_lottery_button {
	float: left;
	width: 100px;
	height: 40px;
	margin: 5px 5px 0 0;
}

/** Button die nach dem Abrechnen angezeigt werden */
.cashpoint_finish_button {
	width: 500px;
	height: 100px;
	margin: 10px auto;
}
.cashpoint_finish_button_small {
	width: 228px;
	height: 120px;
	margin: 10px;
}

/***************************************
 *** Aussehen eines gedrückten Buttons 
 ***************************************/
.button_active {
	color: darkgree;
	border-bottom: 2px solid lightgrey;
	border-right: 2px solid lightgrey;
	border-left: 2px solid #444;
	border-top: 2px solid #444;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	
	background-color: #69c;
	background-image: -moz-linear-gradient(270deg, #fff, #9BC6F0); 
	background-image: -webkit-linear-gradient(270deg, #fff, #9BC6F0);
	background: -o-linear-gradient(top, #fff, #9BC6F0);
	background: -ms-linear-gradient(top, #fff 30%, #9BC6F0 100%);
}
