


.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,
#nav * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#nav {
  list-style: none;
  width: 100%;
  float: left;
  margin:0;
  padding:0;
  background:#fcfcfc;
}

#nav ul {
  list-style: none;
  margin:0;
  padding:0;
}


#nav li {
  height:auto;
  text-align:right;
  border-bottom:1px solid #fff;
}


#nav a {
  display:block;
  color: #08471f;
  text-decoration: none;
  width: 100%;
  padding: .5em 1em;
  font-size:1em;
	font-family: 'Open Sans', Arial, helvetica, verdana, sans-serif;; 
	font-weight: 400; 
	font-style: normal;
}

#nav a:hover {
  color: #209c13;
  background:#f6f6f6;
}





@media screen and (min-width: 768px) {
#nav {
  width: 75%;
 float: right;
 background:none;
 margin-top:4.5em;
}

#nav ul {
	float:right;
}

  #nav li {
    width: auto;
    border-bottom:none;
    display: inline-block;
	margin: 0;
	zoom: 1;
  }
  
  #nav a {
    margin: 0;
    padding: 2px 10px;
    float: right;
    text-align: right;
    border-bottom: 0;
    font-size:.9em;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    
  }
  
  #nav a:hover {
  color:#fff;
  background:#339933;
  background: rgba(51, 153, 51, 0.85); 
}

 #nav li.active a {
 	background:#009900;
	background-color: rgba(66, 178, 66, 0.1); 
	}
	
 #nav li.active a:hover {
	color: #08471f; 
	}

  #nav ul ul a {
    display: none;
  }

  .js #nav {
    position: relative;
  }
  .js #nav.closed {
    max-height: none;
  }
  #nav-toggle {
    display: none;
  }


}

#nav-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin:1em 1em 1em 0;
  width: 40px;
  height: 40px;
  float: right;
  text-indent: -9999px;
  overflow: hidden;
  background: url("../img/elements/navicon.png") no-repeat;
  bottom:0;
  right:0;
  position:absolute;
}

@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("../img/elements/navicon@2X.png");
    -webkit-background-size: 40px 40px;
    -moz-background-size: 40px 40px;
    -o-background-size: 40px 40px;
    background-size: 40px 40px;
  }
}




