/*! Pushy - v0.9.1 - 2013-9-16
* Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
* https://github.com/christophery/pushy/
* by Christopher Yee */

/* Menu Appearance */
#container {width: 100%; position: relative; padding-top: 125px;}

.pushy{
    position: fixed;
    width: 50%;
    height: 100%;
    top: 0;
    z-index: 9995;
    background: #333332;
    overflow: auto;
	 padding: 90px 2em;
    -webkit-overflow-scrolling: touch; /* enables momentum scrolling in iOS overflow elements */
}

/*.pushy a{
    display: block;
    color: #b3b3b1;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-decoration: none;
}

.pushy a:hover{
    background: #9c8656;
    color: #000;
}
*/

/* Menu Movement */

.pushy-left{
    -webkit-transform: translate3d(-100%,0,0);
    -moz-transform: translate3d(-100%,0,0);
    -ms-transform: translate3d(-100%,0,0);
    -o-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0);
}

.pushy-open{
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.container-push, .push-push{
    -webkit-transform: translate3d(50%,0,0);
    -moz-transform: translate3d(50%,0,0);
    -ms-transform: translate3d(50%,0,0);
    -o-transform: translate3d(50%,0,0);
    transform: translate3d(50%,0,0);
}

/* Menu Transitions */

.pushy, #container, .push{
    -webkit-transition: -webkit-transform .2s cubic-bezier(.16, .68, .43, .99);
    -moz-transition: -moz-transform .2s cubic-bezier(.16, .68, .43, .99);
    -o-transition: -o-transform .2s cubic-bezier(.16, .68, .43, .99);
    transition: transform .2s cubic-bezier(.16, .68, .43, .99);
    /* improves performance issues on mobile*/
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

/* Site Overlay */

.site-overlay{
    display: none;
	 background: rgba(0,0,0,0.5);
}

.pushy-active .site-overlay{
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    z-index: 9996;
}

/* Example Media Query */

@media screen and (max-width: 1024px){
    .pushy{
  		width: 95%; left: -5%;
    }
	
	.pushy-left{
		 -webkit-transform: translate3d(-100%,0,0);
		 -moz-transform: translate3d(-100%,0,0);
		 -ms-transform: translate3d(-100%,0,0);
		 -o-transform: translate3d(-100%,0,0);
		 transform: translate3d(-100%,0,0);
	}

	.pushy-open{
		 -webkit-transform: translate3d(0,0,0);
		 -moz-transform: translate3d(0,0,0);
		 -ms-transform: translate3d(0,0,0);
		 -o-transform: translate3d(0,0,0);
		 transform: translate3d(0,0,0);
	}

	.container-push, .push-push{
		 -webkit-transform: translate3d(100%,0,0);
		 -moz-transform: translate3d(95%,0,0);
		 -ms-transform: translate3d(95%,0,0);
		 -o-transform: translate3d(95%,0,0);
		 transform: translate3d(95%,0,0);
	}
	
	.pushy-active .site-overlay{
		 left: 95%;
	}

}