
.flip-container .card-front {
	width: 600px;
	height: 400px;
	background-color: #3188AB;
	z-index: 4;
}

.first-level-card .card-front {
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	padding: 10px 15px;
	background-color: #3188AB;
	border-radius: 5px;
}

.second-level-card .card-front {
	font-weight: bold;
	color: #3188AB;
	background-color: #D9E2E8;
}

.third-level-card .card-front {
	background-color: #fff;
}

.fourth-level-card .card-front {
	background-color: #FFF1E2;
}

.fifth-level-card .card-front {
	background-color: #fff;
}


.flip-container {
	position: fixed;
	width: 300px;
	height: 50px;

	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	perspective: 1000;
}

.flip-container.flipped .flipper {
	position: relative;

	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.flipper {
	-webkit-transition: 0.5s;
	-webkit-transform-style: preserve-3d;
	-moz-transition: 0.5s;
	-moz-transform-style: preserve-3d;
	transition: 0.5s;
	transform-style: preserve-3d;
}


.flipper .card-front {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	height: 50px;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.card-back {
	background: #ccc;
	width: 100%;
	height: 50px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	border-radius: 5px;
	border: 1px solid #aaa;
	box-shadow: #aaa 3px 3px 3px;
	padding: 1em;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;

	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	transform: rotateY(180deg);

	-webkit-transition: width .6s, height .6s;
	-moz-transition: width .6s, height .6s;
	transition: width .6s, height .6s;
}

.flip-container.flipped .card-back {
	height: 400px;
	width: 600px;
}

.unflip-button {
	position: absolute;
	right: 5px;
	top: 5px;
	cursor: pointer;
}
