
/*body { overflow-x: hidden; }*/

#site-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

main {
 *zoom: 1;
  width: auto;
  /*max-width: 1200px;*/
  float: none;
  display: block;
  /*
  margin-right: auto;
  margin-left: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 20px;
  */
}

main:before, main:after {
  content: '';
  display: table;
}

main:after { clear: both; }

/* Navbar Menu Component */

.menu {
  width: 330px;
  height: 100%;
  background: #222;
  position: fixed;
  top: 0;
  right: -330px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  -webkit-transform: translateX(0) translateZ(0);
  transform: translateX(0) translateZ(0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.3s cubic-bezier(0.32, 1.25, 0.375, 1.15);
  transition: all 0.3s cubic-bezier(0.32, 1.25, 0.375, 1.15);
  z-index: 10;
}

.menu.show-nav {
  -webkit-transform: translateX(-300px);
  -ms-transform: translateX(-300px);
  transform: translateX(-300px);
  -webkit-transform: translateX(-300px) tranlateZ(0);
  -ms-transform: translateX(-300px) tranlateZ(0);
  transform: translateX(-300px) tranlateZ(0);
  -webkit-transform: translate3d(-300px, 0, 0);
  transform: translate3d(-300px, 0, 0);
}

.menu ul {
  margin: 0;
  padding: 0;
}

.menu ul li {
  position: relative;
  list-style: none;
  width: 60%;
  margin: 0 auto;
  padding: 20px 10px;
  text-align: center;
  border-top: 1px solid #333;
  box-shadow: 0 -1px 1px -1px #746559;
}

.menu ul li:first-child {
  margin-top: 20px;
  border: 0;
  box-shadow: none;
}

.menu ul li a {
  position: relative;
  font-size:15px;
  font-weight: 300;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.7);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.menu ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #f38b00;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s cubic-bezier(0.32, 1.25, 0.375, 1.15);
  transition: all 0.3s cubic-bezier(0.32, 1.25, 0.375, 1.15);
}

.no-touch .menu ul li a:hover:after {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  visibility: visible;
}

.menu p {
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 86%;
  left: 20px;
  font-size: 0.875em;
  text-align: center;
}

.menu p a {
  color: rgba(243, 139, 0, 0.6);
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.menu p a:hover {
  color: #f38b00;
  text-decoration: underline;
}

.nav-toggle {
  position: fixed;
  top:20px;
  right:30px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  -webkit-transform: translateX(0) translateZ(0);
  transform: translateX(0) translateZ(0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.4s cubic-bezier(0.32, 1.25, 0.375, 1.15);
  transition: all 0.4s cubic-bezier(0.32, 1.25, 0.375, 1.15);
  z-index: 11;
}

.nav-toggle span {
  color:#FFF;
  padding:5px 8px;
  font-size:1.6rem;
  border-radius: 4px;
  background:rgba(0,0,0,0.40);;
  border:rgba(255,255,255,0.4) 1px solid;
}

.no-touch .nav-toggle span:hover { color:#FFF; background:#f45900;  }

.nav-toggle span.fa-times { color:#fff; background:none; border:none; }

.nav-toggle span.fa-times:hover { color:#fff; background:none; border:none; }

.nav-toggle.show-nav {
  top: 12px;
  right: 12px;
}

@media screen and (max-width:1000px) {
	.nav-toggle { top:1rem; right:1rem;}
	.nav-toggle span { font-size:2rem; color:#FFF; background:rgba(0,0,0,0.40); }
	.menu ul { padding:0;  }
	.menu li { padding:15px 0; }
	.menu li a { font-size:20px!important; }
}