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

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


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

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

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

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  zoom: 1;
}
.opened ul li a {
    border-bottom: 1px solid #ccc;
}
.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;
}
@media screen and (max-width: 60em) {
	.js .nav-collapse {
	  clip: rect(0 0 0 0);
	  max-height: 0;
	  position: absolute;
	  overflow: hidden;
	  display: block;
	  zoom: 1;
	}
}
@media screen and (min-width: 60em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}


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

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #37302a;
  font: normal 100%/1.4 sans-serif;
}

h1 {
  margin-bottom: .5em;
}


/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */
.position {
	position: relative !important;
}
.nav {
  	background-color: #fff;
	border-bottom: 1px solid #ccc;
    height: 87px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}
.logo {
  background: url(../img/logo/Logo2.png) no-repeat scroll 0 0 / 150px auto;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  float: left;
    font-weight: bold;
    height: 67px;
    line-height: 55px;
    margin-left: 30px;
	margin-top: 20px;
    position: relative;
    text-decoration: none;
    width: 181px;
}


/* ------------------------------------------
  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: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

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

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

@media screen and (min-width: 60em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}


/* ------------------------------------------
  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;
}

@media screen and (min-width: 60em) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}

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

@media screen and (min-width: 60em) {
  .nav-collapse li {
    margin-right: 10px;
    width: auto;
  }
}

.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  background-color: #FFF;
  border-top: 1px solid white;
  text-decoration: none;
  padding: 0.7em 1em;
  color: #696868;
  width: 100%;
  float: left;
}
.nav-collapse a:hover {
	background-color: #CCC;
	color: #000;
}

.nav-collapse a:active,
.nav-collapse .active a {

}
.nav-collapse li:hover a::before {
	width: calc(100% - 4px);
}
.nav-collapse a::before{
  	background: #c79c60 none repeat scroll 0 0;
    content: "";
    height: 3px;
    left: 0;
    margin-top: 0;
    position: absolute;
    top: 100%;
    transition: width 0.2s ease-out 0s;
    width: 0;
}

@media screen and (min-width: 60em) {
  .nav-collapse a {
    border-top: 0 none;
    float: left;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 2.2em 2em 0.8em;
    text-align: center;
	position: relative;
  }
}

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

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


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

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  float: right;
    height: 86px;
    overflow: hidden;
    padding: 0.7em 0;
    position: relative;
    text-decoration: none;
    text-indent: -300px;
    width: 60px;
}

.nav-toggle:before {
  color: #000; /* Edit this to change the icon color */
  font: normal 30px/80px "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 */
}





