.block-revealer__element {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	pointer-events: none;
	opacity: 0;
}

.menu {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 400px;
	z-index: 100;
	overflow: hidden;
	box-sizing: border-box;
}

.js .menu {
	pointer-events: none;
}

.js .menu--open {
	pointer-events: visible;
}

.menu__inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0 0 0 40px;
	margin: 0;
	background: #FDC315;
	overflow: hidden;
	vertical-align: middle;
	box-sizing: border-box;
}

.menu__inner ul {
	position: absolute;
	display: block;
	width:100%;
	max-height: 100%;
	top:50%;
	padding: 0;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
	list-style-type: none;
}

.menu__item {
	padding: 0 0 40px 0;
	vertical-align: middle;
}

.js .menu__item {
	transform: translate3d(-13em,0,0);
	transition: transform 0s 0.4s;
}

.menu--open .menu__item {
	opacity: 1;
	transform: translate3d(0,0,0);
	transition: opacity 0.4s 0.135s, transform 0.4s 0.135s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.menu--open .menu__item:nth-child(2) {
	transition-delay: 0.165s;
}

.menu--open .menu__item:nth-child(3) {
	transition-delay: 0.195s;
}

.menu--open .menu__item:nth-child(4) {
	transition-delay: 0.225s;
}

.menu--open .menu__item:nth-child(5) {
	transition-delay: 0.255s;
}

.menu--open .menu__item:nth-child(6) {
	transition-delay: 0.285s;
}

.menu--open .menu__item:nth-child(7) {
	transition-delay: 0.315s;
}

.menu--open .menu__item:nth-child(8) {
	transition-delay: 0.345s;
}

.menu .menu__link {
	font-size: 2em;
	line-height: 1em;
	vertical-align: middle;
	color: #FFF;
	font-family: 'butlermedium', serif;
	text-decoration: none;
	padding-bottom: 1em;
	-webkit-transition: color .1s linear;
	-moz-transition: color .1s linear;
	transition: color .1s linear;
}

.menu .menu__link:hover,
.menu .menu__link:focus {
	color:#4f4ca9;
}

.demo-menu { background: #4f4f54; color: #828282; }
.demo-menu a { color: #c5c149; }
.demo-menu a:hover, .demo-menu a:focus { color: #fcf652; }


@media (max-width: 1000px) {
	.menu {
		width: 100% !important;
		max-width: 100%;
	}
	.menu .menu__link {
		font-size: 1.5em !important;
		line-height: 1.5em !important;
	}
	
	.menu__item {
		padding: 0 0 1em 0 !important;
	}
}