/*
input[type="file"] {
  display: none;
}
*/

.table-auftraege {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  margin-bottom: 20px;
}

.table-auftraege th,
.table-auftraege td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  font-size: 15px;
}

.table-auftraege thead {
  background-color: #ddd;
  font-weight: bold;
}

.table-auftraege tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
.table-auftraege tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.table-auftraege button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.table-auftraege img {
  vertical-align: middle;
}

.table-auftraege td img {
  max-height: 40px;
}

.table-auftraege td:last-child {
  font-weight: bold;
}

.table-auftraege td:first-child {
  white-space: nowrap;
  width: 120px;
}


.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #f8f9fa;
	padding: 5px 0;
	box-shadow: 2px 2px 2px rgba(0.1, 0.1, 0.1, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
}

.footer button {
	background: none;
	border: none;
	font-size: 20px;
	margin: 0 20px;
	cursor: pointer;
}

.footer button:active {
	opacity: 0.6;
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #f8f9fa;
	padding: 5px 0;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}
.navbar table {
	border-collapse: collapse;
}
.navbar td {
	padding: 0 2px;
}
.content {
	margin-top: 60px; /* Platz für fixierte Navigation */
	padding: 5px;
}

/* Setze die Schriftart für die gesamte Webseite */
body {
    font-family: 'Helvetica', 'Arial'; /* Falls 'Arial' nicht verfügbar ist, wird eine generische sans-serif Schriftart verwendet */
}

.rahmen {
	border: 1px solid black; /* Rahmenstärke, -stil und -farbe */
	padding: 5px; /* Innenabstand */
	display: inline-block; /* Damit der Rahmen korrekt angezeigt wird */
}

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}

input.spaltigtextbox {
  width: 120px;	
}
input.messwerte {
  width: 120px;	
}

input[type=text],[type=number],input[type=password],input[type=email], select {
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  width: 200px;
}

div {
 font-size: 16px;	
}

input[type=text]:focus {
  background-color: lightblue;
}
input[type=number]:focus {
  background-color: lightblue;
}


textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  resize: none;
  font-size: 16px;
}



.button {
background-color: #1B5EAA; /* Green */
border: none;
border-radius: 10px;
color: white;
padding: 10px 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
font-weight: bolder;
}

.button:hover {
background-color: #378CAA; /* Green */
color: white;
}

/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.resp-table {
	width: 100%;
	display: table;
	border-spacing: 1px;
	
}

.resp-table-caption{
display: table-caption;
text-align: center;
font-size: 20px;
font-weight: bold;
}

.resp-table-header{
display: table-header-group;
background-color: gray;
font-weight: bold;
font-size: 15px;
}

.table-header-cell{
display: table-cell;
padding: 10px;
text-align: justify;
border-bottom: 1px solid black;
	
}

.resp-table-body{
display: table-row-group;
}

.resp-table-row{
display: table-row;

}

.table-body-cell{
	display: table-cell;
	padding: 2px;
	vertical-align: middle;
}

.scroll {
background: #FFFFFF;
height: 600px;
overflow: auto;
overflow-y: auto;
width: 90vw;
border: 1px solid #000;
padding: 10px;
white-space: nowrap;
}


.tooltip {cursor: help;}

/* Aussehen für Tooltip Fenster */
.tooltip span { 
   position: absolute;
   width: 240px;
   color: #000000;
   margin-top: 20px;
   padding: 15px;
   background-color: #FFFFFF;
   border: 1px solid #343434;
   visibility: hidden;z-index:1900; }

/* bei Mauskontakt sichtbar */
.tooltip:hover span { visibility: visible; }


/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}





/* Footer-Grundlayout */
.footer {
	display: flex;
	align-items: center;     /* vertikal zentriert */
	gap: 18px;               /* gleichmäßiger horizontaler Abstand */
	flex-wrap: wrap;         /* bricht um, falls Bildschirm schmal ist */
	margin-top: 20px;
}

/* Buttons & Icons einheitlich hoch */
.footer img {
	height: 35px;
}

/* PDF-Links vertikal stapeln: Icon oben, Text darunter */
.footer .pdf-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	font-size: 11px;
	color: #000;             /* nach Wunsch anpassen */
}

.footer .pdf-link:hover {
	text-decoration: underline;
}

/* Tablet-optimierte Checkbox-Labels */
.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 8px 0;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 8px;
	transform: scale(1.2);
	cursor: pointer;
}

.checkbox-text {
	flex: 1;
	cursor: pointer;
}

/* Hover-Effekt für bessere Touch-Erfahrung */
.checkbox-label:hover {
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 4px;
	padding: 8px;
	margin: -8px;
}

/* Aktiver Zustand für Touch-Feedback */
.checkbox-label:active {
	background-color: rgba(0, 0, 0, 0.1);
}

