/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
footer {
  padding: 30px 0;
}
.row-offcanvas {
    margin-top: 120px;
  }
/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 991px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;

  }

  .row-offcanvas-right {
    right: 0;
  }



  .row-offcanvas-right
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -25%; /* 6 columns */
	background-color:#eee;
  }

  .row-offcanvas-right.active {
    left: 40%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 23%; /* 6 columns */
  }
  .row-offcanvas-left.active .main {
    opacity: 0.6;
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
	padding-right:10px;
     /*width: 50%; 6 columns */
  }
  .sidebar-offcanvas ul {
    list-style: none;
    padding: 0;
   /* position: fixed;
    width: 45%;*/
  }
  .sidebar-offcanvas a {
    display: block;
   /* padding: 10px 15px;
    /*background-color: #fff;*/
    color: black;
    border-bottom: 1px solid #ddd;
  }
  .sidebar-offcanvas .nav li a:hover {
    background-color: black;
    color: white;
  }  
  .sidebar-offcanvas a.nav-head {
    background-color: #eee;
    font-weight: bold;
    color: black;
    border-bottom: 1px solid #fff;
  }
  
  .navbar-nav {
    margin: 7.5px 0;
  }
  
  .navbar-nav .open .dropdown-menu>li>a {
    padding: 5px 15px; line-height: 15px;
  }

  .dropdown-menu {
    min-width: 150px;
  }
  .dropdown-menu>li>a {
    white-space: normal;
  }
  
  img {width:100%}
}

@media screen and (max-width: 600px) {
  .sidebar-offcanvas {
    position: absolute;
    top: 0;
	padding-right:10px;
    /*width:45%;  6 columns */
  }
  .sidebar-offcanvas ul {
    list-style: none;
    padding: 0;
   /* position: fixed;
    width: 80%;*/
  }	

}

@media screen and (max-width: 360px) {
  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
	background-color:#eee;
  }
  .row-offcanvas-left.active {
    left: 48%; /* 6 columns */
  }
}
