
:root {
  --background-color: #000000;
  --darker-background-color: #321b4a;
  --accent-color: #3b1b4a;
  --text-color: #ffffff;
  --navbar-height: 80px;
  --navbar-position: sticky;
  --max-width: 100%; /* Adjust the maximum width as needed */
}

* {  
  margin: 0;
  padding: 0;
  font: Tahoma; 
  color: var(--text-color);
  background-color: #000000;
  box-sizing: border-box;
  
}

/* General Styles */
html  {
  width: auto;
  height: 100%;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  background-color: #000000(0, 0, 0, 0.05);
  margin: 0;
  max-width: var(--max-width);
  margin: 0 auto; /* To center the content horizontally */
}



body {
  width: auto;
  height: 100%;
  font: Tahoma; 
  background-color: #3b1b4a(0, 0, 0, 0.05);
  margin: 0;
  max-width: var(--max-width);
  margin: 0 auto; /* To center the content horizontally */
}




footer {
  /* ... Your footer styles ... */
  background-color: rgb(133, 192, 45);
  display: flex;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  bottom: 0;
  z-index: 9999; /* Set a numeric value here */
  margin: 0 auto; /* To center the content horizontally */

}



  /* Desktop view styles */

/* Navigation Styles */
nav {
  height: var(--navbar-height);
  background-color: var(--background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2;
}


nav .logo {
  margin-left: 30px;
  font: Tahoma; 
  font-size: 35px;
  font-variant: small-caps;
  text-decoration: none;
  --text-color: #ffe600;
  border: 2px solid #ff4400;
  padding: 5px 10px;
  border-radius: 25px 15px 25px 15px; 
  font-weight: bold;
  


}


nav ul {
  height: min-content;
  width: 200px;
  background-color: var(--background-color);
  display: none;
  position: absolute;
  top: var(--navbar-height);
  right: 0;
  justify-content: center;
  list-style-type: none;
  border: 0px solid #ff4400;
}

nav li {
  height: min-content;
  width: 100%;
  justify-content: center;
  font-size: 20px;


}

nav ul a {
  padding: 30px 0;
  font-size: 20px;
  
}



.dropdown {
  position: static;
  width: 100%;
  justify-self: center;
  border: 0px solid #ff4400;
}

.dropdown li {
  padding: 0;
  display: block;
  position: static;
  background: var(--darker-background-color);
}

.dropdown li a {
  width: 100%;
  padding: 0;
  justify-content: center;
}

#toggle_button:checked ~ ul {
  display: block;
}


.nav ul {
  height: 100%;
  
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}


nav li {
  height: 100%;
  height: 100%;
  text-align: center;
  position: relative;
}

nav li:hover {
  background: #321b4a;
}

nav ul:hover {
  background: #321b4a;
}

nav ul a {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

nav ul a:hover {
  background: #321b4a;
}




.expandable_li {
  display: block;
}

.expandable_li label { 
  padding: 30px 0;
  cursor: pointer;
  display: block;
}

.expandable_li input[type="checkbox"]:checked ~ .dropdown {
  display: block;
}


nav input[type="checkbox"] {
  display: none;
}


.toggle_button {
  width: 30px;
  height: 23px;
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;}





.dropdown li {
  height: 70px;
  width: auto;
}

.dropdown li a {
  justify-content: center;
  width: auto;
}
S

nav input[type="checkbox"] {
  display: none;
}



.expandable_li label:hover {
  background: #3b1b4a;
}

.expandable_li:hover .dropdown {
  background: #3b1b4a;

}

.expandable_li input[type="checkbox"]:checked ~ .dropdown {
  display: block;
}

.dropdown li:hover {
  background: #3b1b4a;

}


/* The sidebar menu */
.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 160px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;

}
/* toppoistion unter header */

.sidenav {
  top: 80px; /* Stay at the top */
  background-color: #111; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
}

/* The navigation menu links */
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}



/* Hamburger Icon Styles */
.toggle_button_sidenav {
  width: 30px;
  height: 23px;
  position: absolute;
  top: 25px;
  right: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.bar {
  height: 4px;
  width: 100%;
  background: var(--text-color);
  border-radius: 5px;
}

img {
max-width: 80px;
  font-size: 16px;
  color: #ffe600;

}

img.square-thumbnail {
max-width: 80px;
width: 80px; /* Setzen Sie die Breite auf Ihre gewÃ¼nschte GrÃ¶ÃŸe */
height: 80px; /* Setzen Sie die HÃ¶he auf die gleiche GrÃ¶ÃŸe wie die Breite */
object-fit: cover; /* FÃ¼llt den Container und schneidet das Bild proportional zu */
font-size: 16px;
color: #ffe600;
}



.sticky-menu {
  position: fixed;
  bottom: 130px;
  right:  20%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0c5460;
  color: #0c5460;
  border: 1px, #d21a1a;
  border-radius: 50%;
}



#check-for-clicking { 
  display: none; 
}
.main-add-button-plus, .menu-add-items, .main-add-button-minus {
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 65px;
  height: 65px;
  border: 10px, #d21a1a;
  border-radius: 50%;
}
.main-add-button-plus, .main-add-button-minus {
  cursor: pointer;
  z-index: 50;
  border: #d21a1a;
}
.main-add-button-plus:hover { 
  background: #333333;
}
.main-add-button-minus:hover {
  background: #333333;
}
.main-add-button-plus:active {
  border:  #d21a1a;
  border-radius: 50%;

  background-color: #333333;
  border: 5px, #d21a1a;

}
.main-add-button-minus:active {
  background-color: #000000;
  border: 5px, #d21a1a;

}
.main-add-button-plus .menu-add-button-title {
  border: 5px, #d21a1a;
  border-radius: 50%;

  width: 100%;
  height: 65px;
  font-size: 24px;
  line-height: 70px;
  text-align: center;
  bottom: 50%;
  color: #fafafa;
  border-radius: 50%;
}

.minus {
  border: 5px, #d21a1a;
  border-radius: 50%;
  background-color: #000000;
  width: 100%;
  height: 65px;
  font-size: 24px;
  line-height: 70px;
  text-align: center;
  bottom: 50%;
  color: #fafafa;
  border-radius: 50%;
}
.main-add-button-minus .menu-add-button-title {
  border:  #d21a1a;
  width: 100%;
  height: 70px;
  font-size: 24px;
  line-height: 70px;
  text-align: center;
  color: #fafafa;
  border-radius: 50%;
}
.menu-add-items { 
  z-index: 10; 
  border: 1px, #d21a1a;
}
.plate {
  margin: auto;
  position: absolute;
  text-align: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 60px;
  opacity: 0;
  border-radius: 50%;
  -webkit-transition: all 0.4s ease-in;
  -moz-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
  cursor: pointer;
  background: #000000;
  -webkit-box-shadow: 0px 0px 3px 1px #d21a1a;
  -moz-box-shadow: 0px 0px 3px 1px #d21a1a;
  box-shadow: 0px 0px 3px 1px #d21a1a;
  border: 1px, #d21a1a;

}
.plate i {
  width: 100%;
  font-size: 12px;
  line-height: 70px;
  text-align: center;
  color: white;
  font-family: Helvetica;
  font-style: normal;
  font-weight: bold;
  border: 1px, #d21a1a;

}
.plate:hover i { 
  color: #fafafa;
}
.plate:nth-of-type(1) {
  background: #000000;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
  border: 1px, #d21a1a;


}
.plate:nth-of-type(2) {
  background: #000000;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
.plate:nth-of-type(3) {
  background: #000000;
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.plate:nth-of-type(4) {
  background: #000000;
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.plate:nth-of-type(5) {
  background: #000000;
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.plate:nth-of-type(6) {
  background: #000000;
  -webkit-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.plate:nth-of-type(1):hover {
  background: #333333;
}
.plate:nth-of-type(2):hover {
  background: #333333;
}
.plate:nth-of-type(3):hover {
  background: #333333;
}
.plate:nth-of-type(4):hover {
  background: #333333;
}
.plate:nth-of-type(5):hover {
  background: #333333;
}
.plate:nth-of-type(6):hover {
  background: #333333;
}

#check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate { 
  opacity: 1; 
}
#check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(1) {
  left: 0%;
  top: -200%; 
}
#check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(2) {
  left: 0%;
  top: -400%;
}
#check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(3) { 
  left: 0%;
  top: -600%;
}
#check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(4) {
  left: 0%;
  top: -800%;
}
#check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(5) {
  left: 0%;
  top: -1000%;
}
#check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(6) {
  left: 0%;
  top: -1200%;
}
#check-for-clicking:checked ~ .main-add-button-plus {
  display: none;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
#check-for-clicking:checked ~ .main-add-button-minus {
  display: inline;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
#check-for-clicking:not(:checked) ~ .main-add-button-minus {
  display: none;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
#check-for-clicking:not(:checked) ~ .main-add-button-plus {
  display: inline;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s;
}







/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */

  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}

  body {
      overflow: scroll; /* Verhindere das Scrollen des gesamten Body-Inhalts */
  }
  
  .scroll-container {
      max-height: calc(100vh - 100px); /* Maximale HÃ¶he des Containers (Viewport-HÃ¶he abzÃ¼glich Footer-HÃ¶he) */
      overflow-y: auto; /* Vertikale Scrollbar anzeigen, wenn nÃ¶tig */
  }


      /* scroll snap takes care of restoring scroll position */
      .swipe-container {
          display: flex;
          overflow: auto;
          overflow-x: scroll;
          scroll-snap-type: x mandatory;
          height: 70px;
          width: 100%;
        }
        /* scrollbar should be hidden */
        .swipe-container::-webkit-scrollbar {
          display: none;

        }
        /* main element should always snap into view */
        .swipe-element {
          scroll-snap-align: start;
          font: Tahoma; 
          padding: 0px;
          background-color: #000000;
          height: 70px;
          max-width: 23ch;
        }
        /* actions and element should be 100% wide */
        .action,
        .swipe-element {
          min-width: 100%;
          height: auto;
        }
        .action {
          display: flex;
          align-items: center;
        }
        /* icon should remain sticky */
        i {

          color: white;
          position: sticky;
          left: 16px;
          right: 16px;
        }
        /* action background colors */
        .left {
          background-color: orchid;
          
        }
        .right {
          justify-content: flex-end;
          background-color: cornflowerblue;
        }
        
        .swipe-row {
          
            display: flex;
            overflow-x: scroll;
            scroll-snap-type: x mandatory;
            
            /* Additional styling for each row */
          }
                /* scrollbar should be hidden */

        .swipe-row::-webkit-scrollbar {
          display: none;
          
        }
            


                  .action,
                  .swipe-row { 
                  width: 100%; /* Adjust the width as needed */
                  }
                  .action {
                  display: flex;
                  align-items: center;
                  }
                  /* icon should remain sticky */
                  i {

                  color: white;
                  position: sticky;
                  left: 16px;
                  right: 16px;
                  }
                  /* action background colors */
                  .left {
                  background-color: rgb(218, 112, 112);
                  text-align: right;
                  
                  }
                  .right {
                  justify-content: flex-end;
                  background-color: rgb(237, 232, 100);
                  }



/* Place the navbar at the bottom of the page, and make it stick */
.navbar {
  background-color: #1d1b4a;
  overflow: hidden; /* Hide overflow */
  position: fixed; /* Stay at the bottom */
  bottom: 0; /* Stay at the bottom */
  width: 100%;
  height: 70px;
  justify-content: center; 
  
}

/* Style the links inside the navigation bar */
.navbar a {
    
  
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  font: Tahoma;
  font-size: 15px;
  width: 25%;
  height: 70px;    
  border-top: 1px solid #232323;
  border-bottom: 1px solid #232323;
  border-radius: 5px 5px 0px 5px;
  margin-top: 1px;
margin-bottom: 1px;
}





table,
table#detail {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  margin: 0 auto; 
  width: 100%;


}

.index_table {

  width: 100px;
  border-collapse: collapse;
  margin: 0 auto;

  }


  table th,
  table#detail th,
  table td {
    padding: 8px;
    text-align: left; 
    vertical-align: top; /* Ausrichtung des Textes oben in der Zelle */
    font-size: 24px;
    height: 60%;
    
  }



  table th,
  table#detail th,
  table td {
      width: 95%;
      height: 75px;
      vertical-align: top; /* Ausrichtung des Textes oben in der Zelle */
      color: #ffffff;
      font-size: 16px;
      background-color: #000000;

    }

  .td1 {
      padding: 8px;
      vertical-align: top; /* Ausrichtung des Textes oben in der Zelle */
      font: Tahoma, bold; 
      font-size: 18px;
      background-color: #000000;      
      color: #ffffff;
      border-bottom: 0px solid #ff4400;  
      border-top: 0px solid #ff4400;
      border-left: 0px solid #ff4400;
      border-right: 0px solid #ff4400;
      height: auto;
      text-align: left;

  
  }
  

  
  /* Table Header Styles */
  table thead,
  table#detail thead {
      background-color: #1d1b4a;
  }
  

  
  /* Alternating Row Colors */
  
  .table td:nth-child(odd)
   {
      background-color: #321b4a;
  }
  
  .table tbody tr:nth-child(even)
   {
      background-color: #3b1b4a;
  }

  .td1 {
      padding: 8px;
      text-align: left;
      font-size: 18px;
      font: Tahoma, bold; 
  
  }
  
  .toggle_button {
      display: flex;
  }


  main {
      margin-left: 100%; /* Same as the width of the sidebar */
      padding: 0px 10px;
      position: relative;
    }

  nav ul {
      height: min-content;
      width: 100%;
      background-color: var(--background-color);
      display: none;
      position: absolute;
      top: var(--navbar-height);
  }

  nav li {
      height: min-content;
      width: 100%;
  }

  nav ul a {
      padding: 30px 0;
  }

  .expandable_li {
      display: block;
  }

  .expandable_li label { 
      padding: 30px 0;
      cursor: pointer;
      display: block;
  }

  .expandable_li:hover .dropdown {
      display: none;
  }

  .expandable_li input[type="checkbox"]:checked ~ .dropdown {
      display: block;
  }

  .dropdown {
      position: static;
      width: 100%;
  }

  .dropdown li {
      padding: 0;
      display: block;
      position: static;
      background: var(--darker-background-color);
  }

  .dropdown li a {
      width: 100%;
      padding: 0;
      justify-content: center;
  }
  
  #toggle_button:checked ~ ul {
      display: block;
  }

/* Form Styles */


/* Form Styles */
form {
  max-width: auto;
  margin: 0 auto;
  background-color: #000000;

  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form input,
form button {
  width: 350px;
  height: 40px;
  padding: 6px;
  border: 1px solid #232323;
  border-radius: 15px;
  margin-bottom: 10px;
  outline: none;
  font-size: 18px;
  font: Tahoma; 
  background-color: #ffffff;
  color: #000000;
  


}
button 
{
  background-color: transparent;
}

form button:hover {
  background-color: #cccccc;
}

form h1 {
  text-align: block;
  margin-bottom: 20px;
  border: 1px solid #232323;

}

form p {
  text-align: block;
  margin-bottom: 10px;
  
}

form a {
  text-decoration: none;
  color: #000000;
  
  
}

form a:hover {
  color: #000000;
}

form label {
  display: center;
  margin-bottom: 8px;
  text-align: left;
  font-size: 18px;
  color: #ffffff;

  
}

form input[type="text"],
form input[type="password"] {
  display: block;
  margin-bottom: 20px;
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;}

textarea[name="note"]#id_note {
  width: 350px;
  height: 150px;
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 25px 15px 25px 15px; 
  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
  display: block;
  background-color: #ffffff;
  border-radius: 15px;
}

select[name="zutaten"]#id_zutaten {
  display: block;
  width: 350px;
  height: 140px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}

select[name="zutaten_alt"]#id_zutaten {
  display: block;
  width: 350px;
  height: 140px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}


select[name="lagerort"]#id_lagerort {
  display: block;
  width: 350px;
  height: 140px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}

select[name="buyer"]#id_buyer {
  display: block !important;
  width: 350px !important;
  height: 40px !important;
  padding: 0 5px !important;
  border: 1px solid #232323 !important;
  background-color: #ffffff !important;
  border-radius: 15px !important;
  margin-bottom: 10px !important;
  font-size: 16px !important;
  color: #000000 !important;
}

select[name="supplier"]#id_supplier {
  display: block !important;
  width: 350px !important;
  height: 40px !important;
  padding: 0 5px !important;
  border: 1px solid #232323 !important;
  background-color: #ffffff !important;
  border-radius: 15px !important;
  margin-bottom: 10px !important;
  font-size: 16px !important;
  color: #000000 !important;
}

textarea[name="zubereitung"]#id_zubereitung {
  display: block;

  width: 350px;
  height: 150px;
  padding: 10px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}

textarea[name="bemerkung"]#id_bemerkung {
  display: block;

  width: 350px;
  height: 150px;
  padding: 10px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}

textarea[name="bestand"]#id_bestand {
display: flex;
  width: 350px;
  height: 120px;
  padding: 10px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}

textarea[name="zutaten"]#id_zutaten {
  display: block;

  width: 350px;
  height: 150px;
  padding: 10px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}


textarea[name="zutaten_alt"]#id_zutaten_alt {
  display: block;

  width: 350px;
  height: 150px;
  padding: 10px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}
textarea[name="zutaten_alt"]#id_zutaten_alt {
  display: block;

  width: 350px;
  height: 150px;
  padding: 10px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}

select[name="lagerort"]#id_lagerort {
  display: block;

  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #000000;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 18px;
  color: #000000;

}
select[name="zutat_von"]#id_zutat_von {
  display: block;
  width: 350px;
  height: 150px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
  

}
select[name="category"]#id_category {
  display: block;

  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}

select[name="winter_sommer"][id="id_winter_sommer"] {
  display: block;
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}


select[name="wer"]#id_wer {
  display: block;

  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}

select[name="unit"]#id_unit {
  display: block;

  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
  padding-right: 10%;

}

select[name="lagerung"]#id_lagerung {
  display: block;

  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}
input[name="bestand"]#id_bestand {
  display: row;
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #000000;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}
select[name="aufwärmen"]#id_aufwärmen {
  display: block;
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}

select[name="winter_sommer"]#id_winter_sommer {
  display: block;
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
  background-color: #818181;

}

select[name="buyer"]#id_buyer {
  display: block !important;
  width: 350px !important;
  height: 40px !important;
  padding: 0 5px !important;
  border: 1px solid #232323 !important;
  background-color: #ffffff !important;
  border-radius: 15px !important;
  margin-bottom: 10px !important;
  font-size: 16px !important;
  color: #000000 !important;
}

select[name="supplier"]#id_supplier {
  display: block !important;
  width: 350px !important;
  height: 40px !important;
  padding: 0 5px !important;
  border: 1px solid #232323 !important;
  background-color: #ffffff !important;
  border-radius: 15px !important;
  margin-bottom: 10px !important;
  font-size: 16px !important;
  color: #000000 !important;
}



select[name="bereich"]#id_bereich {
  display: block;
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}


input[type="date"]#idzu_wann {
  display: block;  
  width: 350px;
  height: 40px;
  padding: 7px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}

input[type="file"] {
  display: block;  
  width: 350px;
  height: 40px;
  padding: 7px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

}

select[name="quantity"]#id_quantity {
  display: block;
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;

    

}


img {
  display: block;

  max-width: 60%;
  font-size: 16px;
  color: #000000;
  border: 1px solid #232323;
  border-radius: 15px;
}

img.square-thumbnail {
max-width: auto;
max-height: auto; /* Setzen Sie die maximale HÃ¶he auf die gewÃ¼nschte GrÃ¶ÃŸe */
object-fit: cover;
object-position: center;
  font-size: 16px;
  color: #ffe600;
border: 1px solid #232323;
background-color: #ffffff;
border-radius: 15px;}




textarea[name="unit"]#id_unit {
  display: block;

  width: 350px;
  height: 100px;
  padding: 10px;
  border: 1px solid #232323;
  background-color: #ffffff;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;


}

/* Searchbar Styles */

button {
  background-color: #000000;
  padding: 0px;
  text-decoration: none;
  font-size: auto;
  width: 100px;
  height: 40px;
  cursor: pointer;
  --text-color: #ffffff;
  --text-shadow: #f1f1f1;
  font: Tahoma; 
  font-variant: titling-caps;
  border: 1px solid #232323;
  color: #ffffff;
  flex-direction: none;
  position: sticky;
  border-radius: 25px 15px 25px 15px; 



}


input[name="bestand"]#id_besteand {
  width: 350px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #000000;
  background-color: #ffffff;
  border-radius: 15px;
  font-size: 16px;
  color: #000000;
}


.input1 {
  background-color: #1e1e1e; /* Dark background for dark mode */
  color: #e0e0e0; /* Light text color for contrast */
  border: 1px solid #444444; /* Subtle border to fit dark mode */
  border-radius: 15px; /* Rounded corners */
  padding: 8px 15px; /* Padding for better spacing */
  width: 250px; /* Adjusted width for better visibility */
  height: 40px; /* Increased height for better usability */
  font-size: 16px; /* Font size for readability */
  text-align: left; /* Align text to the left for input */
  margin-top: 20px; /* Add space from the top */
  top: 80px;
  left: 10px;
  z-index: 9000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

.input1::placeholder {
  color: #888888; /* Placeholder color to fit dark mode */
  font-style: italic; /* Optional italic style for the placeholder */
}

.input1:focus {
  outline: none; /* Remove default focus outline */
  border-color: #ffffff; /* Change border color on focus */
  box-shadow: 0 0 8px ffffff(98, 0, 238, 0.5); /* Add glow effect on focus */
}



input {
  width: 125px; /* Full-width */
  height: auto;
  font-size: 16px; /* Increase font-size */
  margin-bottom: 12px; /* Add some space below the input */
  background-color: #ffffff;
  border-radius: 15px;  text-align: center;
  border: 1px solid #232323;
  color: #000000;
  font: Tahoma;
  outline: none;



  

}

#myTable {
  width: 100%; /* Full-width */
  font-size: 18px; /* Increase font-size */
  height: 18px;
  border: solid 1px rgb(232, 87, 9);; 
}

#myTable th, #myTable td {
  text-align: left; /* Left-align text */
  padding: 12px; /* Add padding */
  height: inherit;
  border: none; /* Remove borders */
}

#myTable tr {
  text-align: left; /* Left-align text */
  /* Add a bottom border to all table rows */
}

#myTable tr.header, #myTable tr:hover {
  /* Add a grey background color to the table header and on hover */
  background-color: #d21a1a;
}


.message-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Vertikal zentrieren basierend auf der HÃ¶he des Viewports */
  background-color: rgba(0, 0, 0, 0.5); /* Optional: Hintergrund abdunkeln */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9000; 
}

.messages {
  position: sticky;
  top: 80px; /* Hier die HÃ¶he Ihrer Navigationsleiste anpassen */
  width: 50%;
    list-style: none;
    padding: 10px;
    margin: 0;
  }
  
  .messages li {
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
  }
  
  /* Error message styling */
  .messages .error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
  }
  
  /* Success message styling */
  .messages .success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }
  
  /* Info message styling */
  .messages .info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
  }
  
  /* Warning message styling */
  .messages .warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
  }
  
    
  .error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    }

    .centered {
      color: #ffe600;
      font-size: 18px;
      font-weight: bold;
      text-align: left;
      max-width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      
  }
  
    
  .editable-cell-group {
    display: flex;
    flex-direction: row; /* Anordnung in einer Reihe */
    margin-right: 5px; /* Adjust the value as needed */    
    max-width: 40ch; /* Maximale Breite von 40 Zeichen */
    white-space: nowrap; /* Verhindert ZeilenumbrÃ¼che */
 

  }
  
  .editable-cell {
    max-width: 40ch; /* Maximale Breite von 40 Zeichen */
    white-space: nowrap; /* Verhindert ZeilenumbrÃ¼che */
    overflow: hidden; /* Versteckt den Ã¼ber die Grenze hinausgehenden Text */
    text-overflow: ellipsis; /* Zeigt "..." fÃ¼r abgeschnittenen Text an */
    margin-right: 2px; /* Adjust the value as needed */
  }

  .swipe-element {
    border: 1px solid #232323;
    width: 100%;
  }


  .swipe-row {

    width: 100%;

  }
  
  .item-info {
    display: flex; /* Nutze Flexbox zur Anordnung der Elemente */
    flex-direction: row; /* Anordnung in einer Reihe */
    justify-content: left; /* Zentriere den Inhalt vertikal */
    text-align: left;
    height: auto;
    width: 100%;
    margin-top: 5px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    max-width: auto;


  }
  
  .image {
    flex-grow: fixed; /* Bild soll grÃ¶sser werden */
    margin-right: 5px; /* Abstand zwischen Bild und Details */
  }
  
  .item-details {

    display: flex; /* Nutze Flexbox zur Anordnung der Elemente */
    flex-direction: column; /* Anordnung in einer Reihe */
    justify-content: left; /* Zentriere den Inhalt vertikal */
    align-items: left; /* Zentriere den Inhalt horizontal */
    text-align: left;
    width: 100%;
    margin-top: 2px;  
    margin-left: 0px;

  }

  .kategorie {
    font-size: 18px;
    color: #ffe600;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: left;
    width: 100%; 
  }






  .sticky-menu {
    position: fixed;
    bottom: 130px;
    right:  20%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0c5460;
    color: #0c5460;
    border: 1px, #d21a1a;
    border-radius: 50%;
  }
  
  

  #check-for-clicking { 
    display: none; 
  }
  .main-add-button-plus, .menu-add-items, .main-add-button-minus {
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 65px;
    border: 10px, #d21a1a;
    border-radius: 50%;
  }
  .main-add-button-plus, .main-add-button-minus {
    cursor: pointer;
    z-index: 50;
    border: #d21a1a;
  }
  .main-add-button-plus:hover { 
    background: #333333;
  }
  .main-add-button-minus:hover {
    background: #333333;
  }
  .main-add-button-plus:active {
    border:  #d21a1a;
    border-radius: 50%;

    background-color: #333333;
    border: 5px, #d21a1a;

  }
  .main-add-button-minus:active {
    background-color: #000000;
    border: 5px, #d21a1a;

  }
  .main-add-button-plus .menu-add-button-title {
    border: 5px, #d21a1a;
    border-radius: 50%;

    width: 100%;
    height: 65px;
    font-size: 24px;
    line-height: 70px;
    text-align: center;
    bottom: 50%;
    color: #fafafa;
    border-radius: 50%;
    border-color: #d21a1a;
    
  }

  .minus {
    border: 5px, #d21a1a;
    border-radius: 50%;
    background: #3e3e3e;
    width: 100%;
    height: 65px;
    font-size: 24px;
    line-height: 70px;
    text-align: center;
    bottom: 50%;
    color: #fafafa;
    border-radius: 50%;
  }
  .main-add-button-minus .menu-add-button-title {
    border:  #d21a1a;
    width: 100%;
    height: 70px;
    font-size: 24px;
    line-height: 70px;
    text-align: center;
    color: #fafafa;
    border-radius: 50%;
  }
  .menu-add-items { 
    z-index: 10; 
    border: 1px, #d21a1a;
  }
  .plate {
    margin: auto;
    position: absolute;
    text-align: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    opacity: 0;
    border-radius: 50%;
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    cursor: pointer;
    background: #3e3e3e;
    -webkit-box-shadow: 0px 0px 3px 1px #d21a1a;
    -moz-box-shadow: 0px 0px 3px 1px #d21a1a;
    box-shadow: 0px 0px 3px 1px #d21a1a;
    border: 1px, #d21a1a;

  }
  .plate i {
    width: 100%;
    font-size: 12px;
    line-height: 70px;
    text-align: center;
    color: white;
    font-family: Helvetica;
    font-style: normal;
    font-weight: bold;
    border: 1px, #d21a1a;
    background: #3e3e3e;


  }
  .plate:hover i { 
    color: #fafafa;
  }
  .plate:nth-of-type(1) {
    background: #000000;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    transition-delay: 0s;
    border: 1px, #d21a1a;


  }
  .plate:nth-of-type(2) {
    background: #000000;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    transition-delay: 0.1s;
  }
  .plate:nth-of-type(3) {
    background: #000000;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    transition-delay: 0.2s;
  }
  .plate:nth-of-type(4) {
    background: #000000;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }
  .plate:nth-of-type(5) {
    background: #000000;
    -webkit-transition-delay: 0.4s;
    -moz-transition-delay: 0.4s;
    transition-delay: 0.4s;
  }
  .plate:nth-of-type(6) {
    background: #000000;
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    transition-delay: 0.5s;
  }

  .plate:nth-of-type(1):hover {
    background: #333333;
  }
  .plate:nth-of-type(2):hover {
    background: #333333;
  }
  .plate:nth-of-type(3):hover {
    background: #333333;
  }
  .plate:nth-of-type(4):hover {
    background: #333333;
  }
  .plate:nth-of-type(5):hover {
    background: #333333;
  }
  .plate:nth-of-type(6):hover {
    background: #333333;
  }

  #check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate { 
    opacity: 1; 
  }
  #check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(1) {
    left: 0%;
    top: -200%; 
  }
  #check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(2) {
    left: 0%;
    top: -400%;
  }
  #check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(3) { 
    left: 0%;
    top: -600%;
  }
  #check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(4) {
    left: 0%;
    top: -800%;
  }
  #check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(5) {
    left: 0%;
    top: -1000%;
  }
  #check-for-clicking:checked ~ .main-add-button-minus + .menu-add-items .plate:nth-of-type(6) {
    left: 0%;
    top: -1200%;
  }
  #check-for-clicking:checked ~ .main-add-button-plus {
    display: none;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    transition-delay: 0.1s;
  }
  #check-for-clicking:checked ~ .main-add-button-minus {
    display: inline;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    transition-delay: 0.1s;
  }
  #check-for-clicking:not(:checked) ~ .main-add-button-minus {
    display: none;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    transition-delay: 0.1s;
  }
  #check-for-clicking:not(:checked) ~ .main-add-button-plus {
    display: inline;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    transition-delay: 0.1s;
  }

  .zutaten {
    display: flex;
    flex-direction: column; /* Set to column */
    padding: 10px;
    border: 1px solid #232323;
    border-radius: 15px;  margin-bottom: 10px;
    font-size: 16px; 
    white-space: pre-wrap;
  }

  
  .zutaten_alt {
    display: flex;
    flex-direction: column; /* Set to column */
    padding: 10px;
    border: 1px solid #232323;
    border-radius: 15px;  margin-bottom: 10px;
    font-size: 16px; 
    white-space: pre-wrap;
  }

  .zubereitung {
    display: flex;
    flex-direction: column; /* Set to column */
    padding: 10px;
    border: 1px solid #232323;
    border-radius: 15px;  margin-bottom: 10px;
    font-size: 16px; 
    white-space: pre-wrap;
  }
  .lagerung {
    display: flex;
    flex-direction: column; /* Set to column */
    padding: 10px;
    border: 1px solid #232323;
    border-radius: 15px;  margin-bottom: 10px;
    font-size: 16px; 
    white-space: pre-wrap;
  }
  .aufwÃ¤rmen {
    display: flex;
    flex-direction: column; /* Set to column */
    padding: 10px;
    border: 1px solid #232323;
    border-radius: 15px;  margin-bottom: 10px;
    font-size: 16px; 
    white-space: pre-wrap;
  }
  .winter_sommer {
    display: flex;
    flex-direction: column; /* Set to column */
    padding: 10px;
    border: 1px solid #232323;
    border-radius: 15px;  margin-bottom: 10px;
    font-size: 16px; 
    white-space: pre-wrap;
  }
.bestand {
  display: flex;
  flex-direction: row; /* Set to column */
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px; 
  
}

button.plusminus {
  display: block;  
  display: row;
  background-color: #232323;
  padding: 0px;
  text-decoration: row;
  font-size: auto;
  width: 60px;
  height: 40px;
  cursor: pointer;
  --text-color: #ffffff;
  --text-shadow: #f1f1f1;
  font: Tahoma; 
  font-variant: titling-caps;
  border: 1px solid #232323;
  color: #ffffff;
  border-radius: 25px 15px 25px 15px; 
  margin-top: 10px;



}

.allergene {
  display: flex;
  flex-direction: column; /* Set to column */
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px; 
  white-space: pre-wrap;
}
.lagerung {
  display: flex;
  flex-direction: column; /* Set to column */
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px; 
  white-space: pre-wrap;
}
.aufwärmen {
  display: flex;
  flex-direction: column; /* Set to column */
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px; 
  white-space: pre-wrap;
}
.anmerkung {
  display: flex;
  flex-direction: column; /* Set to column */
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px; 
  white-space: pre-wrap;
}


  .zutat_von {
    display: flex;
    flex-direction: row; /* Set to column */
    padding: 10px;
    border: 1px solid #232323;
    border-radius: 15px;  margin-bottom: 10px;
    font-size: 16px; 
  }
.kategorie {
  display: flex;
  flex-direction: column; /* Set to column */
  white-space: pre-wrap;
  padding: 10px;
}

.menge {
  display: flex;
  flex-direction: column; /* Set to column */
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px; 
  white-space: pre-wrap;
}

.artikelnr {
  display: flex;
  flex-direction: column; /* Set to column */
  padding: 10px;
  border: 1px solid #232323;
  border-radius: 15px;  margin-bottom: 10px;
  font-size: 16px; 
  white-space: pre-wrap;
}

}