/* remove codrops styles and reset the whole thing */
#container_form{
	 text-align: left;
	 margin: 0;
	 padding: 0;
	 margin: 0 auto;
	 font-family: 'Open Sans', sans-serif;
}


#form_wrapper a.hiddenanchor{
	display: none;
}
/** The form_wrapper that will contain our two forms **/
#form_wrapper{
	width:100%;
	margin:0 auto;	
	max-width: 400px;
	position: relative;	
}
/**** Styling the form elements **/

/**** general text styling ****/
#form_wrapper a{
	color: rgb(95, 155, 198);
	text-decoration: underline;
}

#form_wrapper h1{
	font-size: 28px;
	color:#777;
	padding: 2px 0 10px 0;
	margin:0;
	font-weight: normal;
	text-align: center;
	padding-bottom:20px;
}
/** For the moment only webkit supports the background-clip:text; */
#form_wrapper h1{
    background: -webkit-repeating-linear-gradient(-45deg, 
	rgb(18, 83, 93) , 
	rgb(18, 83, 93) 20px, 
	rgb(64, 111, 118) 20px, 
	rgb(64, 111, 118) 40px, 
	rgb(18, 83, 93) 40px);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
}


#form_wrapper p{
	margin-bottom:15px;
}
#form_wrapper p:first-child{
	margin: 0px;
}
#form_wrapper label{
	color:#939393;
	position: relative;
}

/**** advanced input styling ****/
/* placeholder */
#form_wrapper ::-webkit-input-placeholder  { 
	color: rgb(190, 188, 188); 
	font-style: italic;
}
#form_wrapper input:-moz-placeholder,
#form_wrapper textarea:-moz-placeholder{ 
	color: rgb(190, 188, 188);
	font-style: italic;
} 
#form_wrapper input {
  outline: none;
}


#form_wrapper input:not([type="checkbox"]):active,
#form_wrapper input:not([type="checkbox"]):focus{
	border: 1px solid rgba(91, 90, 90, 0.7);
	background: rgba(238, 236, 240, 0.2);
} 

#form_wrapper label { position:relative; }
#form_wrapper label i { position:absolute; left:10px; top:41px; font-size:16px; color:#55a03a; }

/*styling both submit buttons */
#form_wrapper p.button input{
	width: 30%;
	cursor: pointer;	
	background:#5e93c9;
	padding: 8px 5px;
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	font-size: 14px; text-transform:uppercase;	
	border:0;	
	margin-bottom: 10px;	
	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
	        border-radius: 0;
	-webkit-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#form_wrapper p.button input:hover{
	background:#55a03a;
}
#form_wrapper p.button input:active,
#form_wrapper p.button input:focus{
	background:#55a03a;
	position: relative;
	top: 1px;
}
#form_wrapper p.login.button,
#form_wrapper p.signin.button{
	text-align: right;
	margin: 5px 0;
}


/* styling the checkbox "keep me logged in"*/
.keeplogin{
	margin-top: -5px;
}
.keeplogin input,
.keeplogin label{
	display: inline-block;
	font-size: 12px;	
	font-style: italic;
}
.keeplogin input#loginkeeping{
	margin-right: 5px;
}
.keeplogin label{
	width: 80%;
}


/*styling the links to change from one form to another */

p.change_link{
	position: absolute;
	color: rgb(127, 124, 124);
	left: 0px;
	height: 20px;
	width: 100%;
	padding: 17px 30px 20px 30px;
	font-size: 14px	;
	text-align: right;
	border-top: 1px solid #ccc;
	-webkit-border-radius: 0 0  5px 5px;
	        border-radius: 0 0  5px 5px;
}
#form_wrapper p.change_link a {
	display: inline-block;
	font-weight: normal;
	background:transparent;
	padding:5px 7px;
	color:#55a03a;
	margin-left: 10px; font-size:12px;
	text-decoration: none;
	-webkit-border-radius: 0;
	border-radius: 0;
	border:#55a03a solid 1px;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s  linear;
	-o-transition: all 0.4s linear;
	-ms-transition: all 0.4s  linear;
	transition: all 0.4s  linear;
	text-transform:uppercase;
}
#form_wrapper p.change_link a:hover {
	color:#000;
	border:#000 solid 1px;
}
#form_wrapper p.change_link a:active{
	position: relative;
	top: 1px;
}
/** Styling both forms **/

#form_wrapper { position:fixed; left:50%; top:50%; transform:translate(-50%,-60%); }
#form_wrapper .login_logo { max-width:320px; margin:0 auto; margin-bottom:20px; display:block; text-align:center; }
#login{
	position: relative;
	top: 0px;
	width: 100%;	
	padding:40px 20px 40px;
	margin: 0 0 10px 0;
	border: 1px solid #ccc;
	-moz-border-radius: 2px;
		 border-radius: 2px; background-color:#fff; 
			
}
#login input { padding:10px 10px; height:auto; border:#777 solid 1px; }
#register{	
	z-index: 21;
	opacity: 0;
}
#login{
	z-index: 22;
}
#toregister:target ~ #form_wrapper #register,
#tologin:target ~ #form_wrapper #login{
	z-index: 22;
	-webkit-animation-name: fadeInLeft;
	-moz-animation-name: fadeInLeft;
	-ms-animation-name: fadeInLeft;
	-o-animation-name: fadeInLeft;
	animation-name: fadeInLeft;
	-webkit-animation-delay: .1s;
	-moz-animation-delay: .1s;
	-o-animation-delay: .1s;
	-ms-animation-delay: .1s;
	animation-delay: .1s;
}
#toregister:target ~ #form_wrapper #login,
#tologin:target ~ #form_wrapper #register{
	-webkit-animation-name: fadeOutLeftBig;
	-moz-animation-name: fadeOutLeftBig;
	-ms-animation-name: fadeOutLeftBig;
	-o-animation-name: fadeOutLeftBig;
	animation-name: fadeOutLeftBig;
}

/** the actual animation, credit where due : http://daneden.me/animate/ ***/
.animate{
	-webkit-animation-duration: 1s;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: both;
	
	-moz-animation-duration: 1s;
	-moz-animation-timing-function: ease;
	-moz-animation-fill-mode: both;
	
	-o-animation-duration: 1s;
	-o-animation-timing-function: ease;
	-o-animation-fill-mode: both;
	
	-ms-animation-duration: 1s;
	-ms-animation-timing-function: ease;
	-ms-animation-fill-mode: both;
	
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-fill-mode: both;
}

/** yerk some ugly IE fixes 'cause I know someone will ask "why does it look ugly in IE?", no matter how many warnings I will put in the article */

.lt8 #form_wrapper input{
	padding: 10px 5px 10px 32px;
    width: 92%;
}
.lt8 #form_wrapper input[type=checkbox]{
	width: 10px;
	padding: 0;
}
.lt8 #form_wrapper h1{
	color: #066A75;
}
.lt8 #register{	
	display: none;
}
.lt8 p.change_link,
.ie9 p.change_link{
	position: absolute;
	height: 90px;
	background: transparent;
}