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

#nav ul {
  margin: 0;
  padding: 0;
  width: 80%;
  display: block;
  list-style: none;
}

#nav li {
  width: 80%;
  display: block;
}

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

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

/* responsive-nav-style */

@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

#nav,
#nav * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#nav,
#nav ul {
  list-style: none;
  width: 100%;
  float: left;
}

#nav li {
  float: left;
  width: 100%;
}

#nav a {
  color: #444444;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  background: #eeeeee;
  padding: 0.7em 1em;
  float: left;
  font-weight: bold;
  background-image: url("../images/overlay-light.png"); background-repeat: repeat-x;
  background-position: bottom left;
  border-bottom: 1px solid #ffffff
}
#nav ul ul a {
  background: #f8f8f8;
  padding-left: 2em;
  font-weight: normal;
  text-transform: none;
}
#nav-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
    -moz-user-select: none;
    background: url("../images/responsive-menu.png") no-repeat scroll 50% 50% rgba(0, 0, 0, 0);
    float: left;
    height: 50px;
    margin-left: 30px;
    margin-top: -166px;
    overflow: hidden;
    text-indent: -9999px;
    width: 50px;
}

@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) {
  #nav-toggle {
    background-image: url(../images/responsive-menu-retina.png);
    -webkit-background-size: 100px 100px;
    -moz-background-size: 100px 100px;
    -o-background-size: 100px 100px;
    background-size: 100px 100px;
  }
}