/*	
Layout für Anzeige Kategorienliste
----------------------------------
used in: index.php, cart.php
*/

/* PC */
#iel_KatList {
  display:block;
  z-index: 2;
  position: relative;
  height: auto;
  margin: 0px;
  padding: 20px 20px 0 20px;
  background: white;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;  /* to stop flickering of text in safari */
}
#iel_KatList li {
  color:black;
  position:relative;
  padding: 5px 0;
  font-size: 20px; 
  font-weight:normal;
}

/*	Mobile */
#menu_toggle {
  display: block;
  position: relative;
  top:14px;
  left: 20px;
  -webkit-user-select: none;
  user-select: none;
}
#menu_toggle input {
  display: block;
  width: 75px;
  height: 50px;
  position: fixed;
  top: 0px;
  left: 0px;
  cursor: pointer;
  opacity: 0;     /* hide this */
  z-index: 12;    /* and place it over the hamburger */
  -webkit-touch-callout: none;
}
/* Just a quick hamburger */
#menu_toggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: black;
  border-radius: 3px;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
#menu_toggle span:first-child {
  transform-origin: 0% 0%;
}
#menu_toggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
/* Transform all the slices of hamburger
 * into a crossmark.*/
#menu_toggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: white;
  z-index:3;
}
/* But let's hide the middle one. */
#menu_toggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
/* Ohyeah and the last one should go the other direction */
#menu_toggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0px, -1px);
}
/* Make this absolute positioned
 * at the top left of the screen */
#menu {
  z-index: 2;
  overflow:auto;
  position: fixed;
  width: auto;
  height: 100%;
  margin: -68px 0 0 -50px;
  padding: 50px;
  padding-top: 120px;
  background: rgba(0, 0, 0, 0.7);;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
#menu li {
  position:relative;
  text-align: left;
  padding: 5px 0;
  font-size: 20px; 
  font-weight:normal;
}
#menu div:first-child{
  z-index: 13;
  position:absolute;
  width:40px;
  height:30px;
  line-height:40px;
  color:white;
  top:35px;
  right:25px;
  font-size: 30px; 
  font-weight:normal; 
}
#menu div i{
  position:absolute;
  top:0px;
  right:0px;
}
#menu div i{
position:relative;
}
#menu div:nth-child(2){
  position:absolute;
  width:calc(100% - 25px);
  color:white;
  padding-left:10px;
  top:75px;
  left:30px;
  font-size: 25px; 
  font-weight:normal; 
  text-align:left;
  border-bottom:1px solid white;
}
/* And let's slide it in from the left */
#menu_toggle input:checked ~ ul {
  transform: none;
}
