
#menuToggle_sm{
  display: block;
/*  position: relative;*/
  position: fixed;
  top: 160px;
  left: 20px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle_sm a{
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

#menuToggle_sm a:hover{
  color: tomato;
}


#menuToggle_sm input{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

#menuToggle_sm span{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  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;
}

#menuToggle_sm span:first-child{
  transform-origin: 0% 0%;
}

#menuToggle_sm span:nth-last-child(2){
  transform-origin: 0% 100%;
}

#menuToggle_sm input:checked ~ span{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle_sm 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
 */
#menuToggle_sm input:checked ~ span:nth-last-child(2){
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 320px;
  /*
  margin: -100px 0 0 -50px;
  */
  margin: -40px 0 0 -50px;

  padding: 50px;
  /*
  padding-top: 125px;
  */
  padding-top: 70px;
  padding-right:20px;
  
  background: #ededed;
  background: #fff;

  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{
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle_sm input:checked ~ ul{
  transform: none;
  /*
  transform:rotate(-3deg);
  */
  /*
  box-shadow: 40px 40px 200px rgba(0,0,0, 0.15);
  */
  box-shadow: 10px 10px 10px rgba(0,0,0, 0.15);
}




#menuToggle_sm a{
  width:100%;
  display:block;
}
#menuToggle_sm a .icon{
  width:28px;
  height:28px;
  float: right;
}

.icon_1{
  background-color: #00a4c4;
}
.icon_2{
  background-color: #f2ab0f;
}
.icon_3{
  background-color: #f15fba;
}
.icon_4{
  background-color: #44d357;
}

#menuToggle_sm li.teilen a{
  display:inline;
  padding:3px;
  border:1px solid #ccc;
  margin:0 3px 0 3px
}