html{
    height: 100%;
    overflow-x: hidden;
}
.curtains{
    width: 100%;
    z-index:1;
    position:relative;
}
.curtains>li{
    -webkit-transform:translateZ(0);
    position: fixed;
    display:block;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    z-index:1;
}
.curtains>li.hidden{display:none;}
.curtains>li:first-child{z-index:2;}

/*! responsive-nav.js v1.0.15 by @viljamis */

.js #nav {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

#nav.opened {
  max-height: 9999px;
}

#nav-toggle {
	position: absolute; right: 20px;
}

@media screen and (min-width: 767px) {
  .js #nav {
    position: relative;
  }
  .js #nav.closed {
    max-height: none;
  }
  #nav-toggle {
    display: none;
  }
}