@import url('html5reset-1.6.1.css');

body {
	/*background: transparent url('../img/bg-wood1.jpg') repeat left top;*/
	margin-left: 25px;
}
#background-vignett {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;

}
#background-vignett img {
	position: absolute;
	width: 100%;
	height: 100%;
}

header {
	width: 640px;
	margin: 25px 0 0 0px;
}

h1, h2, footer p {
	font-family: arial;
	margin-left: 30px;
	margin-bottom: 10px;
	text-align: center;
}

h1 {
	color: rgba(0, 0, 0, 0.4);
	font-size: 44px;
}

h2 {
	color: rgba(0,0,0,0.25);
	font-size: 20px;
}

footer p {
	color: #FFF;
	font-size: 14px;
	font-weight: bold;
	-moz-border-end-color: #F00;
	background-color: #0065FD;
	padding: 5px 10px;
}

section {
	width: 700px;
	margin: 25px 0 0 0px;
}

section ul {
	margin-top: 30px;
	float: left;
}

section ul li {
	float: left;
	margin: 0 0 22px 65px;
}

.card {
	position: relative;
	width: 80px;
	height: 80px;
	cursor: pointer;
}

.card div {
	-webkit-transition-duration: .3s;
	-webkit-transition-timing-function: ease-out;
	-webkit-backface-visibility: hidden;
}

.card .back, .card .front {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 80px;
	height: 80px;
	background: #fff;
	-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;
	
}

.card .back {
	z-index: 200;
	-moz-box-shadow: 0 0 4px #323232; -webkit-box-shadow: 0 0 4px #323232; box-shadow: 0 0 4px #323232;
}

.card .front {
	z-index: 100;
	-webkit-transform: rotateY(-180deg);
}

.card.shadow_hack .front {
	-moz-box-shadow: 0 0 4px #323232; -webkit-box-shadow: 0 0 4px #323232; box-shadow: 0 0 4px #323232;
}

.card.customhover .back {
	-webkit-transform: scale(1.1);
	-webkit-box-shadow: #666 0 5px 10px;
}

.card .back .graphic {
	position: absolute;
	top: 5px;
	left: 5px;
	width: 70px;
	height: 70px;
	background-image: url(../img/logo.png);
	
	/*background: #bdeeee;*/
	background: -moz-linear-gradient(100% 100% 90deg, #bdeeee, #e0f0f1);
	/*background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bdeeee), to(#e0f0f1));*/
	-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;
	
}

.selected .back {
	z-index: 300;
	-webkit-transform: rotateY(180deg);
}

.selected .front {
	z-index: 400;
	-webkit-transform: rotateY(0deg);
}

footer {
	width: 640px;
	
}
.num-turns, .time {

	color: #F00;
	padding: 5px 10px;
}
