html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    color: #333333; 
    background-color: #f4f4f4; /* Auskommentieren, falls ein Hintergrundbild eingebunden wird */
    background-image: url('iStock-946210052_L.jpg');
    background-size: cover;
    background-position: center; /* Bild wird horizontal und vertikal zentriert */
    background-repeat: no-repeat; /* Bild wird nicht wiederholt */
    background-attachment: fixed; /* Bild bleibt feststehend beim Scrollen */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

a:link, a:visited {
    color: white; /* Farbe für nicht besuchte und besuchte Links */
    text-decoration: none; /* Keine Unterstreichung */
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #333;
  color: white;
  padding: 0;
}

.navbar-left, .navbar-right {
	display: flex;
}

.navbar-right {
	justify-content: flex-end; /* Elemente rechts ausrichten */
}

.navbar a {
    float: left; /* NEU */
    font-size: 16px; /* NEU */
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* The dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    text-align: center;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    /* margin: 0; *//* Important for vertical align on mobile phones */
}

.navbar-btn {
    float: left; /* NEU */
    font-size: 16px; /* NEU */
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;	
    cursor: pointer;
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn, .navbar-btn:hover {
    background-color: red;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.navbar-label {
    float: left; /* NEU */
    font-size: 16px; /* NEU */
	font-weight: normal;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;	
}

.maincont {
	padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    flex: 1; /* Nimmt den verfügbaren Platz ein */
    /* overflow-y: auto; /* Erlaubt das Scrollen, wenn der Container-Inhalt zu groß wird */
    height: 100%;
}

.container-columns {
    display: flex; /* Flexbox verwenden */
    justify-content: space-between; /* Platz zwischen den Bereichen */
    width: 100%;
    height: 100%;
}

.left-cont-34 {
    width: 34%;
    padding-right: 10px; /* Innenabstand zum rechten Container */
}

.right-cont-66 {
    width: 66%;
    padding-left: 10px; /* Innenabstand zum linken Container */
}

.left-cont-50 {
    display: flex;
    flex-direction: column; /* Anordnung der Elemente in einer Spalte */
    width: 50%;
    padding-right: 10px; /* Innenabstand zum rechten Container */
}

.right-cont-50 {
    display: flex;
    flex-direction: column; /* Anordnung der Elemente in einer Spalte */
    width: 50%;
    padding-left: 10px; /* Innenabstand zum linken Container */
}

h1 {
    font-size: 18px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 6px;
    padding: 8px;
    background-color: #f2f2f2;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

h2 {
    font-size: 16px;
    text-align: left;
    margin-top: 4px;
    margin-bottom: 0px;
    padding: 0px;
}

label {
    font-weight: bold;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* transparentes Schwarz */
    z-index: 1000; /* sicherstellen, dass das Overlay über allem anderen liegt */
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 1px solid #000;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 1001; /* sicherstellen, dass das Popup-Fenster über dem Overlay liegt */
    width: 68%; /* Neue Breite */
    height: 68%; /* Neue Höhe */
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="password"],
input[type="submit"] {
	width: 80%;
    padding: 4px 10px;
    /* margin-bottom: 15px; */
    /* border: 1px solid #ccc; */
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #205079a5; /* #007bff; */
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #0ad6b3; /* #0056b3; */
}

/* FOOTER */
.footer {
    background-color: #333;
    text-align: center;
    color: #fff;
    font-size: 10px;
    padding: 4px 16px;
    bottom: 0;
    margin-top: auto; /* Sorgt dafür, dass der Footer immer am unteren Rand bleibt */
}

/* TABLE */
table {
    font-size: 14px;
	border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

td {
    background-color: rgba(255, 255, 255, 0.8); /* Weiß mit 20% Transparenz */
}

tr:first-child th:first-child {
    border-top-left-radius: 5px;
}

tr:first-child th:last-child {
    border-top-right-radius: 5px;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

/* CANVAS */
canvas {
	background-color: #fff;
    padding: 8px;
    background-color: #f2f2f2;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

/* IMAGES */ /* CURRENTLY NOT NEEDED */
img {
		width: 100%;
		/* height: auto; */
}

/* SVGs */
.hoverable:hover {
	fill: red;
	opacity: 0.4;
}