/* ===================================================================
 * # header styles
 *
 * ------------------------------------------------------------------- */
.s-header {
  z-index: 500;
  width: 100%;
  background-color: transparent;
}
.home .s-header { height: 768px}
.page .s-header { height: 140px}
@media screen and (max-width: 750px){
.home .s-header { height: 400px}
.page .s-header { height: 100px}
}

/* ------------------------------------------------------------------- 
 * ## main navigation 
 * ------------------------------------------------------------------- */
.header-nav {
  z-index: 900;
  font-size: 1.3rem;
  line-height: 1.846;
  padding: 3.6rem 3rem 3.6rem 6rem;
  height: 100%;
  width: 320px;
  background: #000;
  color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  top: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  visibility: hidden;
}
.header-nav a,
.header-nav a:visited {
  color: #fff;
}
.header-nav a:hover,
.header-nav a:focus,
.header-nav a:active {
  color: white;
}
.header-nav__content {
  position: relative;
  left: 70px;
  top: 80px;
  opacity: 0;
  visibility: hidden;
}
.header-nav__list {
  font-size: 1.6rem;
  margin: 3.6rem 0 3rem 0;
  padding: 0 0 1.8rem 0;
  list-style: none;
  counter-reset: ctr;
}
.header-nav__list li {
  line-height: 6.4rem;
  position: relative;
}
.header-nav__list a {
  display: block;
  color: #fff;
  position: relative;
  padding-left: 3.5rem;
}
.header-nav__list a:hover { color: #BF9D5A;}
.header-nav__list a::before {
  content: counter(ctr, decimal-leading-zero) " ";
  counter-increment: ctr;
  font-size: 13px;
  color: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: absolute;
  left: 0;
  top: 0;
}
.header-nav__list a:hover::before {
  color: #BF9D5A;
}

.header-nav__close {
  z-index: 800;
  display: block;
  height: 100px;
  width: 100px;
  position: absolute;
  top: 0;
  right: 0;
  color: transparent;
}

/* menu is open
 * ----------------------------------------------- */
.menu-is-open .header-nav {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-overflow-scrolling: touch;
}
.menu-is-open .header-nav .header-nav__content {
  opacity: 1;
  visibility: visible;
  -webkit-transition-property: all;
  transition-property: all;
  left: 0;
}

/* ------------------------------------------------------------------- 
 * ## mobile menu toggle 
 * ------------------------------------------------------------------- */
.header-menu-toggle {
  position: fixed;
  right: 0;
  top: 0;
  width: 100px;
  height: 100px;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 800
}
.header-menu-toggle.opaque {
  background-color: #000;
}
.header-menu-toggle.opaque::before {
  display: none;
}
.header-menu-icon {
  display: block;
  width: 100px;
  height: 100px;
  right: 0;
  bottom: 0;
}
.header-menu-icon::before,
.header-menu-icon::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: inherit;
  position: absolute;
  left: 0;
}

@media only screen and (max-width: 500px) {
  .header-menu-toggle::before {
    display: none;
  }
}
@media screen and (max-width: 750px){
	.header-nav__close {
	  height: 50px;
	  width: 50px;
	}
	.header-menu-toggle {
	  width: 50px;
	  height: 50px;
	}
	.header-menu-icon {
	  width: 50px;
	  height: 50px;
	}
}

@media screen and (max-width: 320px){
.header-nav__content {
  top: 0px;
}
}