/*-------------------------
	Simple reset
--------------------------*/


#formContainer{
	width:80%;
	
	height:325px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	z-index:1;
	
	-moz-perspective: 1600px;
	-webkit-perspective: 1600px;
	perspective: 1600px;
}

#formContainer form{
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	
	/* Enabling 3d space for the transforms */
	-moz-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	
	/* When the forms are flipped, they will be hidden */
	-moz-backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	
	/* Enabling a smooth animated transition */
	-moz-transition:0.8s;
	-webkit-transition:0.8s;
	transition:0.8s;
	
	/* Configure a keyframe animation for Firefox */
	-moz-animation: pulse 2s infinite;
	
	/* Configure it for Chrome and Safari */
	-webkit-animation: pulse 2s infinite;
}


/* Firefox Keyframe Animation */
@-moz-keyframes pulse{
	0%{		box-shadow:0 0 1px #CBD6C6;}
	50%{	box-shadow:0 0 8px #CBD6C6;}
	100%{	box-shadow:0 0 1px #CBD6C6;}
}

/* Webkit keyframe animation */
@-webkit-keyframes pulse{
	0%{		box-shadow:0 0 1px #CBD6C6;}
	50%{	box-shadow:0 0 10px #CBD6C6;}
	100%{	box-shadow:0 0 1px #CBD6C6;}
}

#login{
	background:url('../img/panel.jpg') repeat-x;
	z-index:100;
}

#recover{
		background:url('../img/panel.jpg') repeat-x;
	z-index:1;

	opacity:0;
	
	/* Rotating the recover password form by default */
	-moz-transform:rotateY(180deg);
	-webkit-transform:rotateY(180deg);
	transform:rotateY(180deg);
}

#formContainer.flipped #login{
	
	opacity:0;
	
	/**
	 * Rotating the login form when the
	 * flipped class is added to the container
	 */
	
	-moz-transform:rotateY(-180deg);
	-webkit-transform:rotateY(-180deg);
	transform:rotateY(-180deg);
}

#formContainer.flipped #recover{
	
	opacity:1;
	
	/* Rotating the recover div into view */
	-moz-transform:rotateY(0deg);
	-webkit-transform:rotateY(0deg);
	transform:rotateY(0deg);
}


/*----------------------------
	Inputs, Buttons & Links
-----------------------------*/


#login .flipLink,
#recover .flipLink{
	/* The blue ribbon links */
	
	height:38px;
	overflow: hidden;
	position: absolute;
	right: 131px;
	text-indent: -9999px;
	top: 177px;
	width: 205px;
	background:url(../img/button.png) no-repeat;
}

#recover .flipLink{
	
	
	right:auto;
	left:0;
	top: 280px;
		background:url(../img/button2.png) no-repeat;
}

#login:after{
	/* The "Click here" tooltip */
	width:98px;
	height:16px;
	content:'';

	position:absolute;
	right:-120px;
	top:22px;
}

#loginPass{
	top: 215px;
}

#recoverEmail{
	top:215px;
}

#login .flipLink2,
#recover .flipLink2{
	/* The blue ribbon links */
	
	height:38px;
	overflow: hidden;
	position: absolute;
	right: 0px;
	text-indent: -9999px;
top: 280px;
	width: 205px;
	background:url(../img/button.png) no-repeat;
}
.flipLink2{
	/* The blue ribbon links */
	
	height:38px;
	overflow: hidden;
	position: absolute;
	right: 15px;
	text-indent: -9999px;
	top: 311px;
	width: 205px;
	background:url(../img/button.png) no-repeat;
}
/*----------------------------
	The Footer
-----------------------------*/
