
/*--------------------*/
/* Reveal */
/*--------------------*/


.nav-reveal a {
	overflow: hidden;
	width: 40px;
	height: 120px;
	background-color: rgba(142,68,173,0.6);
	-webkit-transition: width 0.4s, background-color 0.4s;
	transition: width 0.4s, background-color 0.4s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}

.nav-reveal .icon-wrap {
	position: absolute;
	z-index: 100;
	padding: 44px 4px;
	width: 40px;
}

.nav-reveal a.prev .icon-wrap {
	left: 0;
}

.nav-reveal a.next .icon-wrap {
	right: 0;
}

.nav-reveal svg.icon {
	fill: #af7ac4;
}

.nav-reveal div {
	position: absolute;
	top: 0;
	padding: 0 50px;
	width: 400px;
	height: 100%;
}

.nav-reveal a.prev div {
	left: 0;
	padding-right: 130px;
	text-align: right;
}

.nav-reveal a.next div {
	right: 0;
	padding-left: 130px;
}

.nav-reveal h3 {
	position: relative;
	margin: 0;
	padding: 20px 0;
	color: #fff;
	font-weight: 300;
	font-size: 1.45em;
	line-height: 1.2;
}

.nav-reveal div h3 span {
	display: block;
	padding-top: 10px;
	color: #542568;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	font-size: 50%;
}

.nav-reveal img {
	position: absolute;
	top: 10px;
	height: 100px;
}

.nav-reveal a.prev img {
	right: 10px;
}

.nav-reveal a.next img {
	left: 10px;
}

.nav-reveal a:hover {
	width: 400px;
	background-color: #8e44ad;
}



@media screen and (max-width: 520px) {
	.nav-reveal a.prev{
		-webkit-transform-origin: 0% 50%;
		transform-origin: 0% 50%;
	}

	.nav-reveal a.next{
		-webkit-transform-origin: 100% 50%;
		transform-origin: 100% 50%;
	}

	.nav-reveal a{
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
	}
}
