body
{
	background-color: rgb(247, 245, 241/var(--tw-bg-opacity)));
	/*rgb(247 245 241/var(--tw-bg-opacity));*/
	font-family: Georgia, Trebuchet MS, Tahoma;
	/*Tahoma, Verdana, sans-serif; */
	font-size:21px; 
}

h1
{
	font-family: Trebuchet MS;
	margin: 6px 12px;
	font-weight: 800;
	color: cornflowerblue;
}

table
{
	font-size:20px;
	/*border-spacing: 10px;*/
    border-collapse: separate;
}

tr
{
}

input, select
{
	padding: 4px 4px 4px 4px; 
	border-radius: 10px; 
	//height:38px;
	border: blue solid 0.6px;
	font-size:20px; 
}

input[readonly] {
  background-color: #f0f0f0;
  color: #888;
  cursor: not-allowed;
}

input[type=checkbox]
{
	padding: 8px 8px 8px 8px; 
	border-radius: 10px; 
	height:24px;
	border: blue solid 0.6px;
	font-size:21px; 
}

a
{
	padding: 8px 8px 8px 8px; 
	border-radius: 10px; 
	height:38px;
	border: blue solid 0.6px;
	text-decoration: none; 
	font-size:21px; 
}

xli
{
	padding: 10px 10px 10px 10px; 
	border-radius: 10px; 
	height:40px;
	border: blue solid 0.6px;
	text-decoration: none; 
	font-size:21px; 
}

.main
{
	padding-top:4px; 
	/*
	padding-left:40px; 
	padding-right:40px; 
	*/
	padding-bottom:4px; 
	text-align: left; 
	/*width:70%; */
	width:100%;
	font-size:21px; 
}

.headerStyle
{
	color: cornflowerblue; 
	cursor: pointer; 
}

.tableparent
{
	width:100%; 
	height:100%; 
	text-align:center; 
	vertical-align:middle; 
	border: none; 
	font-size:21px; 
}

.column_label
{
	text-align:right;
	color: cornflowerblue; 
	cursor: pointer; 
}
.column_size
{
	width: auto;
}

.column_error
{
	text-align:left;
	color: red; 
	cursor: pointer; 
}

.column_input_width
{
	width:500px;
}

.column_input
{
	text-align:left;
	width:500px;
	font-size:21px; 
}

.column_button
{
	color: cornflowerblue; 
	cursor: pointer; 
	text-align:center;
}

.button_save
{
	padding: 2px;
	border-radius: 6px;
}

/* Optional: Basis-CSS für die Baumansicht */
.category-tree {
	margin: 8px;
}
.category-tree ul {
	list-style: none; /* Entfernt die Standard-Aufzählungszeichen */
	padding-left: 50px; /* Einrückung der Unterebenen */
}
.category-tree li {
	margin: 5px;
	/* Optional: Zeigt eine leichte Linie für die Baumstruktur */
	/*border-left: 1px dashed #ccc;*/
}
/* Erste Ebene ohne Einrückung */
.category-tree > ul {
	padding-left: 0;
}



.tree {
  --spacing: 1.5rem;
  --radius: 10px;
  margin-top: 8px;
  margin-top: 8px;
}

.tree li {
  display: block;
  position: relative;
  padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
}

.tree ul {
  margin-left: calc(var(--radius) - var(--spacing));
  padding-left: 0;
}

.tree ul li {
  border-left: 2px solid #ddd;
}

.tree ul li:last-child {
  border-color: transparent;
}

.tree ul li::before {
  content: '';
  display: block;
  position: absolute;
  top: calc(var(--spacing) / -2);
  left: -2px;
  width: calc(var(--spacing) + 2px);
  height: calc(var(--spacing) + 1px);
  border: solid #ddd;
  border-width: 0 0 2px 2px;
}

.tree summary {
  display: block;
  cursor: pointer;
}

.tree summary::marker,
.tree summary::-webkit-details-marker {
  display: none;
}

.tree summary:focus {
  outline: none;
}

.tree summary:focus-visible {
  outline: 1px dotted #000;
}

.tree li::after,
.tree summary::before {
  content: '';
  display: block;
  position: absolute;
  top: calc(var(--spacing) / 2 - var(--radius));
  left: calc(var(--spacing) - var(--radius) - 1px);
  width: calc(2 * var(--radius));
  height: calc(2 * var(--radius));
  border-radius: 50%;
  background: #ddd;
}

.tree summary::before {
  z-index: 1;
  background: #696 url('expand-collapse.svg') 0 0;
}

.tree details[open] > summary::before {
  background-position: calc(-2 * var(--radius)) 0;
}

/**/
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: 10px;
}
.gallery figure {
  margin: 0;
  border-width: 1px;
  border-color: grey;
  border-style: dashed;
  text-align: center;
  flex: 1 1 auto;
  padding: 2px;
}
.gallery img {
  max-height: 400px;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.gallery figcaption {
  margin-top: 2px;
  font-size: 0.9em;
  color: #555;
}
.color-row {
  margin-top: 2px;
  display: flex;
  justify-content: center;
  gap: 2px;
}
.property-row {
  margin: 1px;
  /*display: flex;*/
  justify-content: center;
  gap: 2px;
}

.circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s;
}
.blue { border-color: blue; }
.red { border-color: red; }
.yellow { border-color: gold; }
.wish-input {
  /*flex-grow: 1;*/
  padding: 2px;
  font-size: 0.8em;
  border: 1px solid #ccc;
  border-radius: 5px;
  /*min-width:120px;
  width: 40%;*/
}
  
/*Filter Bar START*/

.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ccc;
  font-family: sans-serif;
}

.filter-bar label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.filter-bar div {
  text-align:left;
  display: flex;
}
.filter-bar span:last-of-type {
  margin-left: auto;
}

#textFilter {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/*Filter Bar ENDE*/

/*START - Für Bildanzeige im Modalen Dialog*/
.responsive-img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  touch-action: none;
}

.modal-content {
  position: relative;
  background: white;
  padding: 10px;
  border-radius: 8px;
  max-width: 95vw;
  max-height: 95vh;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  margin: 0 auto;
  transition: transform 0.3s ease;
  touch-action: none;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10000;
}
/*END - Für Bildanzeige im Modalen Dialog*/	






/*START Modaler Message Dialog*/
/* Modal-Hintergrund */
.message_modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Modal-Fenster */
.message_modal {
  background: white;
  padding: 20px;
  border-radius: 8px;
  /*max-width: 500px;*/
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  max-width: 95vw;
  max-height: 95vh;
}

/* Schließen-Button */
.message_close-btn {
  float: right;
  font-size: 28px;
  cursor: pointer;
  padding-left: 20px;
}

.message_modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: cornflowerblue;
}

.message_modal-header h3 {
  margin: 0;
}
/*ENDE Modaler Message Dialog*/


/*Page Header*/
.pageheader {
  /*display: flex;*/
  justify-content: space-between;
  align-items: start;
  color: cornflowerblue;
  padding:20px;
}
.pageheader_title {
  margin:12px;
  display: inline-flex;
}
/**/

/* Menü-Container */
.menu-container {
  position: relative;
  display: inline-block;
}

/* Hamburger-Button */
.menu-toggle {
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  padding: 2px;
}

/* Menü-Liste */
.menu-wrapper {
  position: relative;
  display: inline-block;
}

.menu-button {
  font-size: 20px;
  cursor: pointer;
  padding: 6px 10px;
  background-color: cornflowerblue;
  color: white;
  border-radius: 6px;
  user-select: none;
}

.menu-content {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  min-width: 280px;
  z-index: 1000;
}

.menu-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background-color: #f0f0f0;
}
	
/*END OF Menue*/

/*START Passwort Manager*/
.password-wrapper {
  position: relative;
  min-width: 400px;
}

.password-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.toggle-visibility {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: #666;
  background: none;
  border: none;
  padding: 0;
}
.toggle-visibility:focus {
  outline: none;
}
	
/*ENDE Passwort Manager*/

.selected_row
{
	/*
	background-color: lightgrey;
	border-radius: 8px; 
	*/
	background-color: #f0f0f0;   /* gewünschte Hintergrundfarbe */
	border-radius: 10px;         /* runde Kanten */
	overflow: hidden;            /* sorgt dafür, dass der Radius sichtbar ist */	
	
}
.selected_row:hover {
  background-color: rgb(247, 245, 241);
  /*grey;*/
}

.details_row
{
	padding: 4px;
}
.selected_row td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.selected_row td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.shadow-img {
	box-shadow: 4px 4px 12px rgba(0,0,0,0.5);
}


.progress-container { margin: 10px 0; }
.progress-bar {
  width: 0%;
  height: 12px;
  background: green;
  text-align: center;
  color: white;
}

.progress_row {
  display: flex;          /* aktiviert Flexbox */
  justify-content: space-around; /* verteilt die Boxen */
  align-items: left;    /* vertikale Ausrichtung */
}
.progress_box {
  width: 50%;
  background: lightblue;
  margin: 5px;
}

/************************************/
footer {
  background-color: #b6c9ec;
  color: white;
  text-align: center;
  padding: 2px 20px 2px 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: medium;
  font-family: Trebuchet MS;
}

footer a {
  color: cornflowerblue;
  text-decoration: none;
  margin: 0 10px;
  font-size: medium;
  border: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Scroll-to-top Button */
#scrollTopBtn {
  display: none; /* unsichtbar am Anfang */
  position: fixed;
  bottom: 70px; /* über dem Footer */
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #b6c9ec;
  color: white;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #555;
}
/*************************************/

.feldinfo
{
	font-family:Trebuchet MS;
	color: darkgray;
	text-align: left;
	margin-left: 10px;
	font-size: x-small;
	max-width: 500px;
	width: auto;
	height: auto;
}