

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-collapse li {

  display: block;
}

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

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

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


/* ------------------------------------------
  DEMO PAGE'S STYLES
--------------------------------------------- */


a:active,
a:hover {
  outline: 0;
}

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

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #37302a;
}

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

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  float: left;
  left: 20%;
}

.nav-collapse li {
  float: left;
  width: 100%; 
}

@media screen and (min-width: 65em) {
  .nav-collapse li {
     width: auto;
	 line-height:45px;
    /**width: 18.9%; /* IE7 Hack 
    _width: 17%; /* IE6 Hack */
	width: 20%;
	position:relative;
	
  }
}


.nav-collapse a {
  color: #3b3b3b;
  text-decoration: none;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  float: left;
  font-size:12pt;
  background-color: transparent;
}
.nav-collapse a:hover{
  background: #fff;
  color: #77b2fb;
  -webkit-transition: color 300ms, background 500ms, border-color 700ms;
	transition: color 300ms, background 500ms, border-color 700ms;
	animation-name: fadeIn;
	animation-duration: 1s;
  
}
@media screen and (min-width: 65em) {
  .nav-collapse a {
    margin: 0;
    float: left;
    text-align: center;
	 
  }
}

.nav-collapse ul ul a {
  background: #ca3716;
  padding-left: 2em;
}

@media screen and (max-width: 1040px){
	.nav-collapse ul {
		left: 0;
		margin-top: 0;
	}
	
	.nav-collapse a {
	  padding-left: 0;
	  padding-right: 0;
  }
}


@media screen and (min-width: 65em) {
  .nav-collapse ul ul a {
    display: none;
  }
  
  
}

#nav-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 0;
  cursor: pointer;
  width: 70px;
  height: 50px;
  overflow: hidden;
  background-color:#77b2fb;
  /*background: transparent url("bars.png") no-repeat 50% 33%;*/
  position: relative;
	float: right;
	z-index: 9999;
	right: 0px;
	border-radius: 1em;
	
}

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


@media screen and (max-width: 1040px){
	
	.nav-collapse a{
		font-size: 16pt;
		text-align: center;
	}
}


@media screen and (max-width: 600px){
	
	.nav-collapse li {
		width: 75%;
	}
	
	.nav-collapse a{
		font-size: 12pt;
		text-align: center;
	}
	
}