@CHARSET "UTF-8";
html, body {
	margin:	0;
	padding: 0;
	height: 100%;
}

body {
	background-color: #ddd;
	font-family: Helvetica;

}

@media (max-width: 640px) {
	body { font-size: 12px;	}
}

@media (min-width: 641px) {
	body { font-size: 14px;	}
}

img			{ border-style: none; }

input		{ 
	margin: 4px;
	height: 20px;
}
#farbbutton {
	height: 26px;
}

#startseite {
	margin-top: 10px;
	text-align:center;
}

.lizenz { font-size: 10px; }

#header {
	margin: 0;
	padding: 1%;
	height: 9%;
	max-height: 60px;
	background-color: #ccc;
	border-bottom: 1px solid #666;
}

.header img {
	float: left;
	height: 100%;
	max-height: 60px;
	margin-right: 2%;
}

.header_r img {
	float: right;
}

.head_tischbutton {
	float: left;
	margin: 3px;
	border: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0,0,0,.4);
	min-width: 50px;
	min-height: 50px;
	text-align: center;
	line-height: 1.8;
	font-weight: bold;
}

#head_verkaeufer {
	float:right;
	margin-right: 2%;
	margin-top: 1px;
	height: 95%;
	width: auto;
	max-width: 150px;
	min-width: 55px;
	background: #00ffff;
	border: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

#head_verkaeufertext {
	position:relative; top:35%;
	overflow: hidden;
	font-weight: bold;
	font-family: inherit;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
	padding: 0 10px;
}

#content {
	padding: 4px;
	/* background-color: #ffff00; */
}

.kasse {
    width: 100%;
    /* background-color: #00ff00; */
}

.kasse_button {
	float: left;
	margin: 3px;
	border: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0,0,0,.4);
	min-height: 40px;
	}
	
.kasse_button:hover {
	box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
}

.kasse_button:active {
	box-shadow: 0px 0px 8px rgba(204, 0, 0, 0.6);
}
	
.kasse_bblock {
	float: left;
	min-width: 270px;
	min-height: 200px;
	}
#kasse_liste {
	float: left;
	min-width: 116px;
	height: 24%;
	margin: 0;
	}
.kasse_liste_artikel {
	margin: 3%;
	height: 40%;
	text-align: center;
	font-family: inherit;
	border: double gray;
	border-radius: 5px;
}
#kasse_liste_summe {
	margin: 3%;
	height: 40%;
	text-align: center;
	font-family: inherit;
  	font-size: 30px;
	font-weight: bold;
	border: double gray;
	border-radius: 5px;
}
.kasse_bblock2 {
	float: left;
	min-width: 116px;
	/* background-color: #00000f; */
}

.button_halb {
	float: left;
	height: 40%;
 	width: 42%;
 	min-width: 42px;
	font-family: inherit;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	margin: 3%;
	border: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
.button_halb:hover {
	box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
}

.button_halb:active {
	box-shadow: 0px 0px 8px rgba(204, 0, 0, 0.6);
}

.kasse_neuerVerkauf {
	height: 41%;
	width: auto;
	min-width: 101px;
	font-family: inherit;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	margin: 3%;
	border: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0,0,0,.4);
	background-color: #80FF80;
}
.kasse_neuerVerkauf:hover {
	box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
}

.kasse_neuerVerkauf:active {
	box-shadow: 0px 0px 8px rgba(204, 0, 0, 0.6);
}

.kasse_buttontext {
    text-align: center;
    font-family: inherit;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
}

#ksumme {
	position:absolute; width:80%; height:80%; top:10%; left:10%;
	background-color: #80FF80;
	text-align: center;
	font-family: inherit;
	border: double gray;
	border-radius: 5px;
}

.ksumme_b {
	height: 80%;
	width: auto;
  	font-size: 30px;
	min-width: 101px;
	font-family: inherit;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	margin: 3%;
	border: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0,0,0,.4);
	background-color: #80FF80;
}
#kverkaeufer {
	position:absolute; width: auto; min-height:80%; top:10%; left:0.5%; right:0.5%;
	background-color: #F0F0F0;
	text-align: center;
	font-family: inherit;
	border: 10px solid grey;
	border-radius: 5px;
}

#kverkaeufer_b {
	float: left;
	padding: 30px;
	min-width: 200px;
	min-height: 101px;
  	font-size: 30px;
	font-family: inherit;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	margin: 3%;
	border: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 1px 2px 4px rgba(0,0,0,.4);
	background-color: #80FF80;
}
#kverkaeufer_b:hover {
	box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
}
#kverkaeufer_b:active {
	background-color: #F08080;
}

@media (min-width: 340px) {
	.kasse_buttontext, .kasse_buttontextred {
		position:relative; top:30%;
	}
}

@media (orientation: portrait) {
	#content {
		height: 87.5%;
	}
    #kasse {
    	height: 100%;
    }
	.kasse_button {
        width: 29%;
        height: 13.5%;
	}
	
	.kasse_bblock {
		width: 100%;
		height: 76%;
	}
	#kasse_liste {
		width: 40%;
		height: 24%;
	}
	.kasse_bblock2 {
		width: 55%;
		height: 24%;
	}
}

@media (orientation: landscape) {
    #content {
	   height: 85%;
    }
    #header {
    	height: 12%;
    }
    .kasse {
    	height: 96%;
    }
    .kasse_button {
	   width: 22%;
	   height: 17%;
    }
	.kasse_bblock {
	   width: 75%;
	   height: 100%;
	}
	#kasse_liste {
		width: 24%;
		height: 40%;
	}

	.kasse_bblock2 {
		width: 24%;
		height: 50%;
	}
}


#nav ul {
	list-style: none;
	margin-top: 10px;
	padding: 0;
}
#nav ul li a {
	background-color: #FFFFFF;
	border: 1px solid #999999;
	color: #222222;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;
}

#nav ul li:first-child a {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
#nav ul li:last-child a {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
#nav ul.hide {
	display: none;
}

table {
	width: 90%;
	font-weight: bold;
}

.klist table { width: 50%; }
.klist table th {	text-align: left; }
.klist table td {	text-align: right; }
.klist table img { width: 35px; }

.farbe_sw { color: black; }
.farbe_rot { color: red; }
.farbe_gruen { color: green; }
.h_farbe_rot {	background-color: red;	}
.h_farbe_gruen {	background-color: #80FF80;	}
.h_farbe_hblau {	background-color: #80FFFF;	}
