@font-face {
	font-family: 'Kalinga';
src:url('/assets/simply_css/fonts/kalinga.ttf');
src:url('/assets/simply_css/fonts/Kalinga.otf');
}
/* remove codrops styles and reset the whole thing */
#container_demo{
	 text-align: left;
	 /*margin: 0;*/
	 padding: 0;
	 margin: 50px auto;
	 font-family: Kalinga,Arial,sans-serif;
}

.form-field-name{font-family:Kalinga,Arial,sans-serif; font-size:14px; text-align:left; color:#5E5E5E; }

/** The wrapper that will contain our two forms **/
#wrapper{
	width: 60%;
	right: 0px;
	min-height: 560px;	
	margin: 50px auto;	
	width: 500px;
	position: relative;	
}
/**** Styling the form elements **/

/**** general text styling ****/
#wrapper a{
	text-decoration: underline;
}

#wrapper .login-heading{
	font-size: 35px;
	padding: 2px 0 10px 0;
	font-family: kalinga,'Arial Narrow',Arial,sans-serif;
	text-align: left;
	padding-bottom: 30px;
}
/** For the moment only webkit supports the background-clip:text; */
#wrapper h1{
}
#wrapper h1:after{
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 10px;

}

#wrapper p{
	margin-bottom:0;
}
#wrapper p:first-child{
	margin: 0px;
}
#wrapper label{
	position: relative;
}

/**** advanced input styling ****/
/* placeholder */
::-webkit-input-placeholder  { 
	font-style: italic;
}
input:-moz-placeholder,
textarea:-moz-placeholder{ 
	font-style: italic;
} 
input {
  outline: none;
}

/* all the input except submit and checkbox */
#wrapper input:not([type="checkbox"]){
    font-family: Kalinga, Arial, sans-serif;
    font-size: 12px;
    /* Size and position */
    width: 400px;
    padding: 5px 18px 5px 18px;

    color: #777;
}
#wrapper input:not([type="checkbox"]):active,
#wrapper input:not([type="checkbox"]):focus{
	border: 1px solid rgba(91, 90, 90, 0.7);	
	-webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.3) inset;
	   -moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.3) inset;
	        box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.3) inset;
} 

/** the magic icon trick ! **/
[data-icon]:after {
    content: attr(data-icon);
    font-family: 'FontomasCustomRegular';
    color: #666;
    position: absolute;
    left: 10px;
    top: 35px;
	width: 30px;
}


/*styling both submit buttons */
#wrapper p.button input{
	width:auto;
	cursor: pointer;
	background: url(/assets/login-icon.png) left no-repeat;	
	padding: 4px 5px 0px 10px;
	font-family: Kalinga,Arial,sans-serif;
	color: #C71C30;
	font-size: 16px;
	border: 0px solid #ef2748;	
	margin-bottom: 10px;
	float:left;
}
#wrapper p.button input:hover{
	color: #A81425;
}
#wrapper p.button input:active,
#wrapper p.button input:focus{
	position: relative;
}
p.login.button,
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 */
#wrapper p.change_link{
	margin-left:80px;
	float:left;
	margin-top:7px;
	font-size:12px;
	padding: 2px 6px;
	color: #7D7D7D;
	text-decoration: none;
}
#wrapper p.change_link a {
	display: inline-block;
	color: #00A4D6;
	text-decoration: none;
}
#wrapper p.change_link a:hover {
	color: #006D8F;
}
#wrapper p.change_link a:active{
	position: relative;
	top: 1px;
}

/** home button**/
#wrapper p.home_button{
	width:130px;
	float:left;
	margin-left:60px;
	margin-top:20px;
	font-size:12px;
	padding: 2px 6px;
	color: #7D7D7D;
	text-decoration: none;
	border-top:#ccc solid 1px;
}
#wrapper p.home_button a {
	display: inline-block;
	color: #000;
	font-size:12px;
	text-decoration: none;
}
#wrapper p.home_button a:hover {
	color: #B3102E;
}
#wrapper p.home_button a:active{
	position: relative;
	top: 1px;
}
/** Styling both forms **/
#register, 
#login{
	position: absolute;
	top: 0px;
	width: 88%;	
	padding: 18px 6% 60px 6%;
	margin: 0 0 35px 0;
}
#register{	
	z-index: 21;
	opacity: 0;
}
#login{
	z-index: 22;
}
#toregister:target ~ #wrapper #register,
#tologin:target ~ #wrapper #login{
	z-index: 22;
	-webkit-animation-delay: .6s;
	-webkit-animation-timing-function: ease-in;
	-moz-animation-delay: .6s;
	-moz-animation-timing-function: ease-in;
	-o-animation-delay: .6s;
	-o-animation-timing-function: ease-in;
	-ms-animation-delay: .6s;
	-ms-animation-timing-function: ease-in;
	animation-delay: .6s;
	animation-timing-function: ease-in;
	-webkit-animation-name: scaleIn;
	-moz-animation-name: scaleIn;
	-ms-animation-name: scaleIn;
	-o-animation-name: scaleIn;
	animation-name: scaleIn;
}
#toregister:target ~ #wrapper #login,
#tologin:target ~ #wrapper #register{
	-webkit-animation-timing-function: ease-out;
	-moz-animation-timing-function: ease-out;
	-o-animation-timing-function: ease-out;
	-ms-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-name: scaleOut;
	-moz-animation-name: scaleOut;
	-ms-animation-name: scaleOut;
	-o-animation-name: scaleOut;
	animation-name: scaleOut;
}

/** the actual animation, credit where due : http://daneden.me/animate/ ***/
.animate{
	-webkit-animation-duration: 0.5s;
	-webkit-animation-fill-mode: both;
	
	-moz-animation-duration: 0.5s;
	-moz-animation-fill-mode: both;
	
	-o-animation-duration: 0.5s;
	-o-animation-fill-mode: both;
	
	-ms-animation-duration: 0.5s;
	-ms-animation-fill-mode: both;
	
	animation-duration: 0.5s;
	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 #wrapper input{
	padding: 10px 5px 10px 32px;
    width: 92%;
}
.lt8 #wrapper input[type=checkbox]{
	width: 10px;
	padding: 0;
}
.lt8 #wrapper h1{
	color: #066A75;
}
.lt8 #register{	
	display: none;
}
.lt8 p.change_link,
.ie9 p.change_link{
	position: absolute;
	height: 90px;
	background: transparent;
}
