/*!
 * Start Bootstrap - Simple Sidebar (https://startbootstrap.com/template-overviews/simple-sidebar)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/blob/master/LICENSE)
 */

body {
  overflow-x: hidden;
}

#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled {
  padding-left: 275px;
}

.sidebar-wrapper {
   /* bottom: 25px;*/
    z-index: 1000;
    position: fixed;
    left: 275px;
    width: 0;
     height: calc(100vh - 200px);
   /* height: 100vh;*/
    margin-left: -275px;
    overflow-y: auto; /* this hides the scrollbar on the sidebar when it's hidden*/
    /*background: #E4E8D8;*/
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* sm */
@media screen and (min-width: 576px) {
    .sidebar-wrapper {
   
    }
}

/* md */
@media screen and (min-width: 768px) {
}

/* lg */
@media screen and (min-width: 992px) {
}

/* xl */
@media screen and (min-width: 1200px) {
}

#wrapper.toggled .sidebar-wrapper {
  width: 275px;
  overflow-y:auto;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 0 15px 15px 15px;
}

#wrapper.toggled #page-content-wrapper {
  position: absolute;
  margin-right: -275px;
}

@media(min-width:768px) {
  #wrapper {
    padding-left: 0;
  }
  #wrapper.toggled {
    padding-left: 275px;
  }
  .sidebar-wrapper {
    width: 0;
  }
  #wrapper.toggled .sidebar-wrapper {
    width: 275px;
  }
  #page-content-wrapper {
    padding: 20px;
    position: relative;
  }
  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
}
