@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }


#nav {
}

#nav ul {
}

#nav li {
}

#nav a {
}

#toggle { display: none }

@media screen and (max-width: 640px) {
  .js #nav {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
  }
  #nav {
    position: relative;
  }
  #nav.opened { max-height: 740px!important; /*9999px*/ /*540px!important;*/ }
  #nav a:hover { background: transparent }
  #nav .active a:hover { color: #fff; background: rgba(0,0,0, .3) }
  #alpha{
	  position:relative;
  }
  #toggle {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    width: 70px;
    height: 55px;
    float: right;
    margin: 0 -2em 1em 0;
    text-indent: -9999px;
    overflow: hidden;
    background: url("../images/toggle.gif") no-repeat 100% 33%;
	position:absolute;
	right:1%;
	top:-90px;
  }
  .article #toggle {
	top:-90px;
}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
  #toggle {
    /* background: url("../assets/common/toggle.gif") no-repeat 100% 33%; */
    -webkit-background-size: 100px 100px;
    -moz-background-size: 100px 100px;
    -o-background-size: 100px 100px;
    background-size: 100px 100px;
  }
}

@media screen and (min-width: 76em) {
  #nav { width: 18em }
}
