﻿/* Set-up */
.CubeFlipper body {
	color: rgb(6, 106, 117);
	text-transform: uppercase;
	font-family: sans-serif;
	font-size: 100%;
	background: #F4F6F8;
	padding: 3em 0 0 0;
	line-height: 0px;
	-webkit-perspective: 1000px; /* <-NB */

}

/* Container box to set the sides relative to */
.CubeFlipper .cube {
	width: 100%;
	text-align: center;
	margin: 0 auto;margin-bottom:20px;
	height: 50px;

	-webkit-transition: -webkit-transform 5s;
	transition: transform .8s; /* Animate the transform properties */

	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d; /* <-NB */
}

/* The two faces of the cube */
.CubeFlipper .flippety,.flop {
	background: rgb(247, 247, 247);
	border: 1px solid rgba(147, 184, 189, .8);

	-webkit-border-radius: 5px;
	border-radius: 5px;

	-webkit-box-shadow: 0 5px 20px rgba(105, 108, 109, .3), 0 0 8px 5px rgba(208, 223, 226, .4) inset;
	box-shadow: 0 5px 20px rgba(105, 108, 109, .3), 0 0 8px 5px rgba(208, 223, 226, .4) inset;
	height: 50px;
}

/* Position the faces */
.CubeFlipper .flippety {
	-webkit-transform: translateZ(25px);
	transform: translateZ(25px);
	-ms-transform: translateZ(25px);
}

.CubeFlipper .flop {
	-webkit-transform: rotateX(-90deg) translateZ(-25px);
	transform: rotateX(-90deg) translateZ(-25px);
	-ms-transform: rotateX(-90deg) translateZ(-25px);
}

/* Rotate the cube */
.CubeFlipper .cube:hover {
	-webkit-transform: rotateX(90deg);
	transform: rotateX(90deg); /* Text bleed at 90º */
	-ms-transform : rotateX(90deg);
}
.CubeFlipper h1{
font-size:16px;
color:#696969;
text-align:center;

}

.CubeFlipper h2{
font-size:12px;
margin:0px 0px 0px 0px; padding:0px 3px 0px 3px;
text-align: center;
color:#696969;

}