/*! responsive-nav.js 1.0.23 by @viljamis */

@media screen and (max-width:1100px){
	
	#mainmenu{
		font-size: 13px;
	}
	
	ul#menu li{
		padding-right: 12px;
	}
}

@media screen and (max-width:767px){

header{
	/*margin-bottom: 20px!important;*/
}

#mainmenu{
	height: auto!important;
	margin-top: 20px;
}
	
#mainmenu ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block!important;
  list-style: none;
	}

#mainmenu li {
  width: 100%;
  display: block;
  height: auto;
	}
	
ul#menu li{
	height: auto!important;
	line-height:35px!important;
	padding-left: 0px;
}
	
ul.sub-menu{
	position: relative!important;
	display: block!important;
	top: 0px!important;
	height: auto!important;
	left: 13px!important;
}

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

#mainmenu.opened {	
  max-height: 9999px;
	}
	
ul#menu li a{
	height: auto!important;
	}
}



.nav-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 25px;
  height: 20px;
  position: absolute;
  top: 90px;
  text-indent: -9999px;
  overflow: hidden;
  background:url("../images/hamburger.gif") no-repeat;

}

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

@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/hamburger-retina.gif");
    -webkit-background-size: 25px 20px;
    -moz-background-size: 25px 20px;
    -o-background-size: 25px 20px;
    background-size: 25px 20px;
  }
}

