body {
  padding:0px;
  margin:0px;
  background-color:#ffffff;
  font-family:Verdana,Arial,Helvetica,sans-serif;
  color:#000000;
}

#kopf {
  height:100px;
  margin:10px;
  text-align:center;
  background-color:#ffffff;
}

#inhalt {
  width:auto;
  min-width:120px;
  padding:0px;
  margin-right: 10px;
  margin-top: 12px;
  margin-bottom: 0px;
  margin-left: 180px;  
  background-color:#ffffff;
  border: 2px solid #738b94;
  border-radius: 1em 1em 1em 1em;
}

#inhalt_no_menu {
  width:auto;
  min-width:120px;
  padding:0px;
  margin-right: 10px;
  margin-top: 12px;
  margin-bottom: 0px;
  margin-left: 10px;  
  background-color:#ffffff;
  border: 2px solid #738b94;
  border-radius: 1em 1em 1em 1em;
}

#menu {
  position:absolute;
  top:122px;
  left:10px;
  width:160px;
  height:140px;
  text-align:center;
  background-color:#ffffff;
  border: 2px solid #738b94;
  border-radius: 1em 1em 1em 1em;
}

#admin {
  position:absolute;
  top:280px;
  left:10px;
  width:160px;
  height:270px;
  text-align:center;
  background-color:#ffffff;
  border: 2px solid #738b94;
  border-radius: 1em 1em 1em 1em;
}

/* Layout für kleine Bildschirme (z.B. Mobilgeräte) */
@media (max-width: 600px) {
  #inhalt {
    margin-left: 10px;
    margin-top: 10px;
    width:auto;
    position: static;
    font-size: 12px; /* Schriftgröße für mobile Geräte */
  }

  #menu, #admin {
    position: static;
    width:auto;
    margin-left: 10px;
    margin-top: 10px;
    margin-right: 10px;
  }
}


#fuss {
  padding:15px;
  text-align:center;
}

/* upload */
#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: wait;
}

#text{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 30px;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

p {
  font-size:0.8em;
  padding:5px 10px;
}

q { 
  quotes: '"' '"' 
  }

h1 {
	font-size:0.8em;
	color: #ffffff;
	background: none #738b94;
	border: 2px solid #738b94;
	border-radius: 1em 1em 0 0;
	margin: 0;
	padding: 0;
}

hr {
  color: #738b94;
}

A:link {
	background: none; 
	color: #363636; 
	font-size: 1em; 
	text-decoration: none;
}

A:active {
	background: none; 
	color: #363636; 
	font-size: 1em; 
	text-decoration: none;
}

A:visited {
	background: none; 
	color: #363636; 
	font-size: 1em; 
	text-decoration: none;
}

A:hover {
	background: none; 
	color: #363636; 
	font-size: 1em; 
	text-decoration: underline;
}

textarea {
  resize: none;
}

/* Container für das Passwortfeld und die Checkbox */
.password-container {
    position: relative;
    display: inline-block;
}

/* Verstecke die eigentliche Checkbox */
.password-container #showpass {
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0; /* Versteckt die Checkbox */
    width: 22px;
    height: 18px;
}

/* Label, das das Bild anzeigt */
.password-container #showpass + label {
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 22px;
    height: 18px;
}

/* Bild anzeigen */
.password-container #showpass + label::before {
    content: "";
    display: block;
    width: 22px;
    height: 18px;
    background-image: url("../img/auge.jpg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Anderes Bild anzeigen, wenn Checkbox aktiv ist */
.password-container #showpass:checked + label::before {
    background-image: url("../img/augezu.jpg");
}



pre {
  font-size:12px;
  padding:10px 15px;
}


.tabletitle {
  background: none; 
  color: #FFFFFF; 
  font-size: 1em;
  FONT-WEIGHT: bold; 
  text-decoration: none;
}

/* Fehler und Meldungen andersfarbig in box anzeigen */
.notice{
  display: inline-block;
  padding:8px;
  background:#e6ffe6;
  border:1px solid #b7f0b7;
  margin-bottom:10px;
}

.error{
  display: inline-block;
  padding:8px;
  background:#ffe6e6;
  border:1px solid #f0b7b7;
  margin-bottom:10px;
}

/* searchbox */
.searchboxContainer {
    margin-top: 1rem;
    width: 246px; 
	background: #fff url('../img/lupe1.jpg') right top no-repeat; 
	border: 2px solid #969690; 
	border-radius: 17px; 
	color: #620;
	overflow: hidden;
	}
	
#searchbox {
	text-align: left; 
	padding: 0; 
	margin: 0;
	}

#searchbox input.submit {
	width: 36px; 
	height: 28px; 
	float: right; 
	background: none; 
	border: 0; 
	padding: 0; 
	margin: 0;
	}
	
#searchbox input.submit:hover {
	cursor: pointer;
	}
	
#searchbox input.text {
	width: 184px; 
	background: #f6f9f9; 
	float: left; 
	font-size: 14px; 
	border: 0; 
	border-right: 1px solid #999; 
	border-radius: 15px 0 0 15px; 
	padding: 6px 12px; 
	margin: 0;
	}

/* Archiv Filter Dropdown */
.filter-label {
  font-size: 0.9rem;
  color: #555;
  margin-right: 6px;
}

.filter-select {
  padding: 4px 8px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}



/* Buttons normalisieren */

input[type=button], input[type=submit], input[type=reset] {
  display: inline-block;
  width: auto; 
  height: 22px;
  margin: 0px 0px 0px 0px;
  border: 1;
  cursor: pointer;
}

/* Grid Container für Buttons nebeneinander */
.grid-container {
  display: grid;
  max-width: 60em;
  grid-template-columns: auto auto auto;
}

.grid-container2 {
  display: grid;
  max-width: 70em;
  grid-template-columns: auto auto;
}

.grid-item {
  background-color: rgba(255, 255, 255, 255);
  border: 0px solid;
  padding: 1px;
  /* horizontale UND vertikale Zentrierung */
  display: flex;
  justify-content: center;  /* horizontal */
  align-items: center;      /* vertikal */
  /* optional, damit Inhalt nicht rechts/links klebt */
  text-align: center;
}

/* Dateiupload - Drop Zone für Drag & Drop */

input[type="file"] {
	display: block;
	margin: 1em;
	padding: 1em;
	border: thin dotted;
	background: #fff;
	cursor: pointer;
}

.dropZone {
	background-color: #f0f0f0;
	border: medium dashed #c82f04;
	transition: background-color 0.3s;
}

.dropZone.disabled {
    background-color: #f8f8f8;
    border-color: #ccc;
    pointer-events: none; /* deaktiviert Drag & Drop */
    opacity: 0.6;
}

.dropZone.dragover {
	background-color: #e0e0ff;
}

.dateiListe,
.thumbnailListe {
	padding-left: 1.5em;
}

.thumbnailListe li {
	display: inline;
}

.thumbnailListe img {
	max-width: 100px;
	max-height: 100px;
	margin: 0.5em;
	border: thin solid #ccc;
}

/* Bildergröße Darstellung */

.image-card {
  display: inline-block;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.image-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

.image-card.small-card {
  width: 33%; /* 1/3 der normalen Größe */
}

.image-card.small-card img {
  width: 100%;
  height: auto;
}

/* CARD STYLE END*/  

/* Tabellen	*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Haupttabelle */
table.main {
  width:auto;
  border: 1px solid #ddd;
}

table.main td {
  text-align: left;
  padding: 10px;
  border: none;
}

/* Detailtabelle */

table.detail {
  width:100%;
  border: none;
}

table.detail td {
  border: 1px solid #ddd;
}

table.detail tr:nth-child(even) {
  background-color: #f2f2f2;
}

.detailcolumn {
  width:140px;
}

.highlight-row {
 background-color: #738b94;
}
        
/* Detailtabelle */

table.frame {
  width:100%;
  border: none;
}

table.frame td {
  border: none;
}