
#viewport {
  padding-left: 250px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#sidebar {
  z-index: 1000;
  position: fixed;
  left: 250px;
  width: 280px;
  height: 100%;
  margin-left: -250px;
  overflow-y: auto;
  background: #be0101;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#sidebar header {
  background-color: #be0101;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 52px;
  text-align: center;
}

#sidebar header a {
  color: #fff;
  display: block;
  text-decoration: none;
}

#sidebar header a:hover {
  color: #fff;
}

#sidebar .nav {
  padding: 10px 16px;
}

#sidebar .nav a{
  padding: 10px;
  background: none;
  text-align: start;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
}

#sidebar ul li >a,
a[aria-expanded="true"] {
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
  #sidebar {
    width: 100px;
    height: 100%;
    position: relative;
  }
  #sidebar a {float: left;}
  div.content {margin-left: 0;}
}

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
  #sidebar a {
    text-align: center;
    float: none;
  }
}