html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
}

[data-role=sidemenu-container] {
  position: relative;
  width: 100%;
  min-height: 100%;
  transition: transform 400ms ease;
  -webkit-transition: -webkit-transform 400ms ease;
}

[data-sidemenu-dir=left].is-active {
  transform: translate3d(80%, 0, 0);
  -webkit-transform: translate3d(80%, 0, 0);
}

[data-sidemenu-dir=right].is-active {
  transform: translate3d(-80%, 0, 0);
  -webkit-transform: translate3d(-80%, 0, 0);
}

#sidemenu {
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80%;
  background-color: #333;
  font-size: 14px;
  transition: transform 400ms ease 0s;
  -webkit-transition: -webkit-transform 1ms ease 0s;
}

[data-sidemenu-dir=left] #sidemenu {
  left: 0;
  transform: translate3d(-100%, 0, 0);
  -webkit-transform: translate3d(-100%, 0, 0);
}

[data-sidemenu-dir=right] #sidemenu {
  right: 0;
  transform: translate3d(100%, 0, 0);
  -webkit-transform: translate3d(100%, 0, 0);
}

#sidemenu ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

#sidemenu li {
  border-bottom: 1px solid #222;
}

#sidemenu a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  text-decoration: none;
}

#sidemenu a:hover {
  color: #ccc;
}

#sidemenu .divider {
  height: 20px;
}