#left-panel {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    padding-top: 49px;
    background: #181918;
}
#left-panel {
    -webkit-transition: 250ms cubic-bezier(0.1,.57,.1,1);
    transition: 250ms cubic-bezier(0.1,.57,.1,1);
    -webkit-transform: translate(0px,0) translateZ(0px);
}
#top-bar > :first-child, aside {
    width: 240px;
}
aside {
    display: block;
    overflow: hidden;
    background: red;
    min-height: 100%;
}

/*logo*/
.logo-name{
    display: inline-block;
    height: 39px;
    float: left;
}
.logo-name *{
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.logo-name {
    display: inline-block;
    width: 175px;
    margin-top: 13px;
    margin-left: 9px;
}
.logo-name img {
    width: 230px;
    height: auto;
    padding-left: 0px;
    margin-top: -8px;
}

/* Style the tab */
.tab {
    float: left;
    /*border: 1px solid #ccc;*/
    /*background-color: #f1f1f1;*/
    width: 100%;
    height: 300px;
}
/* Style the buttons inside the tab */
.tab button {
    display: block;
    background-color: inherit;
    /*color: black;*/
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}
.tablinks{
    color: white;
}




.fixed-top-bar #body-container {
    margin-top: 49px;
}
#body-container {
    margin-left: 240px;
    padding: 0;
    padding-bottom: 0px;
    padding-bottom: 52px;
    min-height: 500px;
}

#body-container {
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 10px 14px;
    border: 1px solid #ccc;
    width: 100%;
    border-left: none;
    min-height: 500px;
}



.mobile-version-detected #left-panel {
    left: -240px;
    z-index: 99;
}
.mobile-version-detected #body-container {
    margin-left: 0px;
}

@media (max-width: 768px){
  #left-panel {
      left: -240px;
      z-index: 903;
  } 
  .mobile-version-detected #left-panel {
      left: 0px;
      z-index: 903;
  }

  #body-container {
      margin-left: 0;
      width: 100% !important;
  }
}