/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   (c) 2014 @adtileHQ
 *   http://www.adtile.me
 *   http://twitter.com/adtilehq
 *
 *   Free to use under the MIT License.
 *
 * ============================================= */



section{
  margin: 0;
  padding: 0;
  border: 0; 
  height: 100%;
  width: 100%;
}
header{
  margin: 0;
  padding: 0;
  border: 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; }


/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */


.nav{ position:fixed; float:left; width:230px; z-index:9999999; overflow:hidden; padding-top:20px; margin-left:15px; }
.nav ul{ margin:30px 0 0 0;}
.nav li{ overflow:hidden; line-height:37px; font-family:"Grenadier","Open Sans", "Open Sans Light", "Segoe UI"; font-size:29px; text-shadow:1px 2px 0 rgba(0, 0, 0, 0.7);}
.nav li a:hover{ margin-left:10px; }


.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
  width:230px;
}

.nav-collapse li {

  width: 100%;
  display: block;
   z-index:9999999; overflow:hidden;
}

.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;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}



/* ------------------------------------------
  DEMO STYLES
--------------------------------------------- */

section {
  padding:0px; margin:0px;
  height: 100%;
  width: 100%;
}




/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0,0,0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 999999;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}




/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

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

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



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



.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
 
  text-decoration: none;
  color: #fff;
  width: 100%;

}

.nav-collapse a:active,
.nav-collapse .active a {
  color: #0198d8;
}



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




@media screen and (min-width: 768px) {
	
	
	.nav-collapse,
	.nav-collapse ul {
	  list-style: none;
	  float: left; margin:15px 0 0 8px; letter-spacing:1px;
	}

	
	 .js .nav-collapse {
		position: relative;
	  }
	  .js .nav-collapse.closed {
		max-height: none;
	  }
	  .nav-toggle {
		display: none;
	  }
	.nav-collapse a {
		text-align: center;
		border-top: 0;
		margin: 0; color: #fff;
	  }
	  
	  .nav-collapse li {
		width: auto;
	  }
  	
	  .nav-collapse {
		
		width: auto;
	  }
	  
  	.nav-collapse ul ul a {
		display: none;
	  }
	.mask {
    display: none !important;
    opacity: 0 !important;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../fonts/responsivenav.eot");
  src:url("../fonts/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../fonts/responsivenav.ttf") format("truetype"),
    url("../fonts/responsivenav.woff") format("woff"),
    url("../fonts/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 45px;
  height: 45px;
  float: right;
  position:absolute; right:0px; z-index:9999;
}

.nav-toggle:before {
  color: #000; /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78"; /* Close icon */
  color:#FFF;
}





