section[data-type="sidebar"] {
  position: absolute;
  width: 80%;
  background: #424242;
  height: 100%;
  top: 0;
  left: 20%;
  overflow: hidden;
  z-index: 0 !important;
}

section[data-type="sidebar"] > header {
  position: relative;
  z-index: 1;
  height: 5rem;
  color: #fff;
  background: #333;
}

section[data-type="sidebar"] > header h1 {
  font-size: 2rem;
  font-style: italic;
  line-height: 4.8rem;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  margin: 0 0 0 3rem;
  height: 100%
}

section[data-type="sidebar"] > header h1 em {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1em;
}

section[data-type="sidebar"] > header menu[type="toolbar"] {
  height: 100%;
  float: right;
}

section[data-type="sidebar"] > header menu[type="toolbar"] a,
section[data-type="sidebar"] > header menu[type="toolbar"] button {
  height: 4.9rem;
  line-height: 4.9rem;
  float: left;
  background: none;
  padding: 0 1.75rem;
  -moz-box-sizing: border-box;
  min-width: 5rem;
  text-align: center;
}

section[data-type="sidebar"] > header menu[type="toolbar"] a:last-child,
section[data-type="sidebar"] > header menu[type="toolbar"] button:last-child {
  background: #e5e5e5;
}

section[data-type="sidebar"] > header menu[type="toolbar"] {
  padding: 0;
  margin: 0;
}

section[data-type="sidebar"] > header a,
section[data-type="sidebar"] > header button {
  border: none;
  background: none;
  padding: 0;
  overflow: hidden;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.1em;
  color: #5f5f5f;
}

section[data-type="sidebar"] > header a:first-letter,
section[data-type="sidebar"] > header button:first-letter {
  text-transform: uppercase;
}

section[data-type="sidebar"] > header .icon {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  margin: 0 -1rem;
  font-size: 0;
  overflow: hidden;
  position: relative;
  height: 4.9rem;
}

section[data-type="sidebar"]:before {
  content: "";
  width: 1rem;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

section[data-type="sidebar"] > nav {
  overflow-y: auto;
  max-height: 100%;
  margin-right: -0.8rem;
}

section[data-type="sidebar"] > nav > h2 {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 3.3rem;
  text-indent: 3rem;
  color: #fff;
  background: #333;
  border-bottom: 0.1rem solid #666;
  margin: 0;
  padding-right: 0.8rem;
}

section[data-type="sidebar"] [role="toolbar"] {
  position: absolute;
}

section[data-type="sidebar"] > nav > ul {
  width: 100%;
  margin: 0;
  padding: 0;
}

section[data-type="sidebar"] > nav > ul > li {
  color: #fff;
  list-style: none;
  transition: background 0.2s ease;
}

section[data-type="sidebar"] > nav > ul > li:active {
  background: #00caf2;
}

section[data-type="sidebar"] > nav > ul > li > a {
  text-decoration: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 4.35rem;
  border-bottom: 0.1rem solid #666;
  text-indent: 3rem;
  padding-right: 0.8rem;
  width: 100%;
  -moz-box-sizing: border-box;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.2s ease;
}
section[data-type="sidebar"] > nav > ul > li > a:active {
  color: #fff;
}
