.clock{
	/* The .clock div. Created dynamically by jQuery */
	background-color:#ffffff;
	height:80px;
	width:80px;
	position:relative;
	overflow:hidden;
	float:left;
}

.clock .rotate{
	/* There are two .rotate divs - one for each half of the background */
	position:absolute;
	width:80px;
	height:80px;
	top:0;
	left:0;
}

.rotate.right{
	display:none;
	z-index:11;
}

.clock .bg, .clock .front{
	width:40px;
	height:80px;
	background-color:#ffffff;
	position:absolute;
	top:0;
}

.clock .display{
	/* Holds the number of seconds, minutes or hours respectfully */
	position:absolute;
	width:80px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	z-index:20;
	color:#252525;
	font-size:15px;
	text-align:center;
	top:30px;
	left:0;
	
	/* CSS3 text shadow: */
	text-shadow:2px 2px 3px #333333;
}

/* The left part of the background: */

.clock .bg.left{ left:0; }

/* Individual styles for each color: */
.purple .bg.left{ background:url(img/bg_purple.png) no-repeat left top; }
.green .bg.left{ background:url(img/bg_purple.png) no-repeat left top; }
.blue .bg.left{	background:url(img/bg_purple.png) no-repeat left top; }

/* The right part of the background: */
.clock .bg.right{ left:40px; }

.purple .bg.right{ background:url(img/bg_purple.png) no-repeat right top; }
.green .bg.right{ background:url(img/bg_purple.png) no-repeat right top; }
.blue .bg.right{ background:url(img/bg_purple.png) no-repeat right top; }


.clock .front.left{
	left:0;
	z-index:10;
}
