/* ==========================================================================
   3d css
   ========================================================================== */

.supports3dCSS .fold-wrap {
	perspective: 400px;
	-webkit-perspective: 400px;
	-moz-transform: perspective(300px);
	-moz-transform-style: preserve-3d;
	box-shadow: rgba(0, 0, 0, 0.1) -2px 2px 10px inset;
}

.supports3dCSS .fold-wrap, .supports3dCSS .fold-wrap .panel, .supports3dCSS .fold-wrap .panel .overlay {
	transition-duration: 100ms;
	-webkit-transition-duration: 100ms;
	-khtml-transition-duration: 100ms;
	-ms-transition-duration: 100ms;
	-moz-transition-duration: 100ms;
	-o-transition-duration: 100ms;
	transform: translateX(0) rotateY(0);
	-webkit-transform: translateX(0) rotateY(0);
	-khtml-transform: translateX(0) rotateY(0);
	-moz-transform: translateX(0) rotateY(0);
	-ms-transform: translateX(0) rotateY(0);
	-o-transform: translateX(0) rotateY(0);
	transition-property: transform, opacity;
	-webkit-transition-property: -webkit-transform, opacity, box-shadow;
	-khtml-transition-property: -khtml-transform, opacity, box-shadow;
	-moz-transition-property: -moz-transform, opacity, box-shadow;
	-ms-transition-property: -ms-transform, opacity, box-shadow;
	-o-transition-property: -o-transform, opacity, box-shadow;
	transition-timing-function: cubic-bezier(.42, 0, 1, 1);
	-webkit-transition-timing-function: cubic-bezier(.42, 0, 1, 1);
	-khtml-transition-timing-function: cubic-bezier(.42, 0, 1, 1);
	-moz-transition-timing-function: cubic-bezier(.42, 0, 1, 1);
	-ms-transition-timing-function: cubic-bezier(.42, 0, 1, 1);
	-o-transition-timing-function: cubic-bezier(.42, 0, 1, 1);
	transform-origin: 0 0;
	-o-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	-webkit-transform-origin: 0 0;
}

.supports3dCSS .fold-wrap .panel .overlay {
	position: absolute;
	width: 100%;
	top: 0;
	bottom: 0;
	opacity: 0;
	background: linear-gradient(left, transparent,rgba(0, 0, 0, 0.15));
	background: -khtml-linear-gradient(left, transparent,rgba(0, 0, 0, 0.15));
	background: -webkit-linear-gradient(left, transparent,rgba(0, 0, 0, 0.15));
}

.supports3dCSS .fold-wrap .panel1 .overlay {
	left: auto;
	right: 0;
	width: 40px;
}

.supports3dCSS .fold-wrap:hover .panel .overlay {
	opacity: 0.8;
}

.supports3dCSS .fold-wrap:hover .panel {
	transition-timing-function: cubic-bezier(0, 0, .58, 1); 
	-webkit-transition-timing-function: cubic-bezier(0, 0, .58, 1); 
	-khtml-transition-timing-function: cubic-bezier(0, 0, .58, 1); 
	-moz-transition-timing-function: cubic-bezier(0, 0, .58, 1); 
	-ms-transition-timing-function: cubic-bezier(0, 0, .58, 1); 
	-o-transition-timing-function: cubic-bezier(0, 0, .58, 1); 
}

.supports3dCSS .fold-wrap:hover .panel2 {
	transform: rotateY(-70deg);
	-webkit-transform: rotateY(-70deg);
	-khtml-transform: rotateY(-70deg);
	-moz-transform: rotateY(-70deg);
	-ms-transform: rotateY(-70deg);
	-o-transform: rotateY(-70deg);
}

.supports3dCSS .fold-wrap .panel2 .overlay {
	background: linear-gradient(left, rgba(255, 255, 255, 0),rgba(255, 255, 255, 0.4));
	background: -khtml-linear-gradient(left, rgba(255, 255, 255, 0),rgba(255, 255, 255, 0.4));
	background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0),rgba(255, 255, 255, 0.4));
}

.supports3dCSS .fold-wrap .panel3 {
	transform-origin: 100% 0;
	-o-transform-origin: 100% 0;
	-moz-transform-origin: 100% 0;
	-ms-transform-origin: 100% 0;
	-webkit-transform-origin: 100% 0;
}

.supports3dCSS .fold-wrap .panel3 .overlay {
	background: linear-gradient(left, transparent,rgba(0, 0, 0, 0.2) 10%,rgba(0, 0, 0, 0.6));
	background: -khtml-linear-gradient(left, transparent,rgba(0, 0, 0, 0.2) 10%,rgba(0, 0, 0, 0.6));
	background: -webkit-linear-gradient(left, transparent,rgba(0, 0, 0, 0.2) 10%,rgba(0, 0, 0, 0.6));
}

.supports3dCSS .fold-wrap:hover .panel3 {
	-webkit-transform: translateX(-86px) rotateY(70deg);
	-khtml-transform: translateX(-86px) rotateY(70deg);
	-moz-transform: translateX(-86px) rotateY(70deg);
	-ms-transform: translateX(-86px) rotateY(70deg);
	-o-transform: translateX(-86px) rotateY(70deg);
	transform: translateX(-86px) rotateY(70deg);
}

.supports3dCSS .fold-wrap .panel4 {
	transition-timing-function: cubic-bezier(.6, 0, 1, 1);
	-webkit-transition-timing-function: cubic-bezier(.6, 0, 1, 1);
	-khtml-transition-timing-function: cubic-bezier(.6, 0, 1, 1);
	-moz-transition-timing-function: cubic-bezier(.6, 0, 1, 1);
	-ms-transition-timing-function: cubic-bezier(.6, 0, 1, 1);
	-o-transition-timing-function: cubic-bezier(.6, 0, 1, 1);
}

.supports3dCSS .fold-wrap:hover .panel4 {
	-webkit-transform: translateX(-86px) rotateY(-70deg);
	-khtml-transform: translateX(-86px) rotateY(-70deg);
	-moz-transform: translateX(-86px) rotateY(-70deg);
	-ms-transform: translateX(-86px) rotateY(-70deg);
	-o-transform: translateX(-86px) rotateY(-70deg);
	transform: translateX(-86px) rotateY(-70deg);
	transition-timing-function: cubic-bezier(0, 0.2, .58, 1); 
	-webkit-transition-timing-function: cubic-bezier(0, 0.2, .58, 1); 
	-khtml-transition-timing-function: cubic-bezier(0, 0.2, .58, 1); 
	-moz-transition-timing-function: cubic-bezier(0, 0.2, .58, 1); 
	-ms-transition-timing-function: cubic-bezier(0, 0.2, .58, 1); 
	-o-transition-timing-function: cubic-bezier(0, 0.2, .58, 1); 
}

.supports3dCSS .fold-wrap .panel3 .overlay {
	background: linear-gradient(right, transparent,rgba(0, 0, 0, 0.6));
	background: -khtml-linear-gradient(right, transparent,rgba(0, 0, 0, 0.6));
	background: -webkit-linear-gradient(right, transparent,rgba(0, 0, 0, 0.6));
}

.supports3dCSS .fold-wrap .panel4shadow {
	left: 195px;
	opacity: 0;
	background: rgba(0, 0, 0, 0.3);
}

.supports3dCSS .fold-wrap:hover .panel4shadow {
	opacity: 1;
	-webkit-transform: translateX(-80px) rotateY(-70deg);
	-khtml-transform: translateX(-80px) rotateY(-70deg);
	-moz-transform:translateX(-80px) rotateY(-70deg);
	-ms-transform:translateX(-80px) rotateY(-70deg);
	-o-transform:translateX(-80px) rotateY(-70deg);
	transform:translateX(-80px) rotateY(-70deg);
}
