/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
  padding-top: 70px;
}
footer {
  padding: 30px 0;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .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-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    /*right: -50%; /* 6 columns */
    right: -140px;
    width: 140px;
    
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    /*right: 50%; /* 6 columns */
  }
  
  .row-offcanvas-right .svg-block {
    /*margin-left: 0px;*/
    margin: 0 auto;
  }

  .carousel {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
  }
  .carousel .carousel-inner{
    width: 100%;
    height: 100%;
  }
  .carousel .carousel-inner .item{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
  }

  .row-offcanvas-right .svg-block {
    width: 100%;
    height: -webkit-calc(100% - 60px - 47px - 30px);
    height: -moz-calc(100% - 60px - 47px - 30px);
    height: calc(100% - 60px - 47px - 30px);
  }
  
  .row-offcanvas-right.active .svg-block {
    width: 100%;
    height: 100%;
  }

  .row-offcanvas-right .svg-block svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: auto; left: 0; right: 0; bottom: 0;
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .main-offcanvas {
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
  }

  .row-offcanvas.active .main-offcanvas {
    width: -webkit-calc(100% - 125px);
    width: -moz-calc(100% - 125px);
    width: calc(100% - 125px);
  }

  .sidebar-offcanvas {
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
    /*position: absolute;*/
    position: fixed;
    top: 50px;
    right: -125px;
    /*width: 50%; /* 6 columns */
  }

  .row-offcanvas.active .sidebar-offcanvas {
    right: 0;
  }
}

/*
   .row-offcanvas #sidebar { display: none; }
   .row-offcanvas.active #sidebar { display: block;
   }
 */
