/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Oct 5, 2019, 5:44:05 AM
    Author     : HP
*/

#nav {
  left: 0;
  position: fixed;
  right: 0;
  z-index: 1030;
  background-color: #333;
  height: 50px;
  max-height: 50px;
}

#nav li a {
    
    color: #fff;
    display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
       
}


#sidebar1 {
  padding-top: 50px;
  position: fixed;
  height: 100%;
  width: 300px;
  max-width: 90%;
  background-color: white;
  right: 0;
  z-index: 999;
  overflow: auto;

  -webkit-transform: translateX(0);
  transform: translateX(0);

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  -webkit-transition: 300ms ease all;
  transition: 300ms ease all;
}

@media(max-width: 767px) {
  #sidebar1 {
    right: -300px;
  }
  #nav li a{
      display:none;
  }
  #main{
      margin-left: auto; 
  }
}

@media(min-width: 768px) {
  #sidebar1-toggle {
    display: none;
  }
  #sidebar1{
      display:none;
  }
    #main{
      margin-left: 300px; 
  }
}

#sidebar1.show {
  right: 0;
}

#sidebar1-toggle {
  float: right;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 4px;
  margin-bottom: 5px;
  margin-right: 1em;
  margin-top: 5px;
  position: relative;
  cursor: pointer;
}

#sidebar1-toggle span.icon-bar {
  border-radius: 1px;
  display: block;
  height: 2px;
  width: 22px;
  background-color: #888;
}

#sidebar1-toggle span.icon-bar:not(:first-child) {
  margin-top: 4px;
}

#main {
    margin-right: auto;
  
  
}