html {
  font-family: sans-serif;
  overflow-x:hidden;
}

html:-webkit-scrollbar {
  display: none;
}

.layout {
  width: 100%;
  height: 100%;

  display: grid;
  grid:
    "sidebar body" 1fr
    / auto 1fr;
  gap: 8px;
}

.sidebar {
  grid-area: sidebar;
  // background-color: green;
  width: 20vw;
  height: 98vh;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.body {
  grid-area: body;
  // background-color: blue;
  width: 78vw;
  height: 98vh;
}

/* Remove default bullets */
ul, #myUL {

  list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
  margin-top: 30px;
  padding: 0;
  width: 20vw;
  // background-color: red;
}

li {
  margin-top: 5px;
  margin-bottom: 5px;
}

li:hover {

}

/* Style the caret/arrow */
.caret {
  cursor: pointer;
  user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
  transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
  display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
  display: block;
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  margin: 2px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 10vw;
  padding: 2vw;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  position: absolute;
  z-index: 10;
  left: 15vw;
  top: -28px;
  margin-left: -80px;
  box-shadow: -6px 4px 56px -17px rgba(0,0,0,0.75);
  -webkit-box-shadow: -6px 4px 56px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: -6px 4px 56px -17px rgba(0,0,0,0.75);
}

.popup img {
  width: 100%;
  border-radius: 6px;
}

/* Arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 0%;
  margin-left: -20px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #555 transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.sidebar form {
  width: 80%;
  // border: 1px dashed black;
  padding: 5px;
}

.sidebar label {
  display: block;
  font-size: 0.8em;
  margin-bottom: 2px;
}

.sidebar input {
  padding: 2px;
  width: 100%;
  margin-bottom: 5px;
}

.sidebar select {
  padding: 2px;
  width: 100%;
  margin-bottom: 5px;
}

label {
   display: block;
   margin-bottom: 5px;
 }

 input {
   width: 50%;
   padding: 5px;
   margin-bottom: 15px;
   box-sizing: border-box;
 }

 button {
   background-color: #4CAF50;
   color: white;
   padding: 7px 15px;
   border: none;
   border-radius: 2px;
   cursor: pointer;
 }

 button:hover {
   background-color: #45a049;
 }

.output-table {
  width: 50%;
}

.output-table table, th, td{
  border: 1px dashed grey;
}



/* -------------- Tablet und Halbe Bildschirme --------------  */
@media only screen and (max-width: 1300px) {

  .popup .popuptext {
    width: 20vw;
    left: 25vw;
  }

  .sidebar {
    width: 25vw;
  }

  .output-table {
    width: 90%;
  }

  #uwertForm {
    width: 100%;
  }

  #uwertForm input {
    width: 70%;
  }

}


/* -------------- Mobile Device Hochformat --------------  */

@media only screen and (max-width: 512px) {

}
