﻿/* remove codrops styles and reset the whole thing */
/*body {
   background: url(/public/Images/bg.jpg);
}*/
#container_demo{
	 text-align: left;
	 margin: 0;
	 padding: 0;
	 margin: 0 auto;
	 font-family: "Trebuchet MS","Myriad Pro",Arial,sans-serif;
}

a.hiddenanchor{
	display: none;
}
/** The wrapper that will contain our two forms **/
#wrapper{
	width: 60%;
	right: 0px;
	min-height: 560px;	
	margin: 0px auto;	
	width: 500px;
	position: relative;	
}
/**** Styling the form elements **/

/**** general text styling ****/
#wrapper a{
	color: rgb(95, 155, 198);
	text-decoration: underline;
}

#wrapper h1{
	font-size: 38px;
	color: black;
	padding: 2px 0 10px 0;
	font-weight: bold;
	text-align: center;
	padding-bottom: 0px;
	-webkit-margin-before: 0.0em;
-webkit-margin-after: 0.0em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
}
/** For the moment only webkit supports the background-clip:text; */
#wrapper h1{
	-webkit-text-fill-color: rgb(58, 58, 58);
	-webkit-background-clip: text;
}
#wrapper h1:after{
	content: ' ';
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 10px;
	background: -moz-linear-gradient(left, rgba(147,184,189,0) 0%, grey 20%, rgba(147,184,189,1) 53%, rgba(147,184,189,0.8) 79%, rgba(147,184,189,0) 100%); 
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,lightgrey), color-stop(20%,grey), color-stop(53%,grey), color-stop(79%,grey), color-stop(100%,lightgrey)); 
	background: -webkit-linear-gradient(left, grey 0%,grey) 20%,grey 53%,grey 79%,grey 100%; 
	background: -o-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
	background: -ms-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
	background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
}

#wrapper p{
	margin-bottom:15px;
}
#wrapper p:first-child{
	margin: 0px;
}
#wrapper label{
	color: #676767;
	position: relative;
}

/**** advanced input styling ****/
/* placeholder */
::-webkit-input-placeholder  { 
	color: rgb(190, 188, 188); 
	font-style: italic;
}
input:-moz-placeholder,
textarea:-moz-placeholder{ 
	color: rgb(190, 188, 188);
	font-style: italic;
} 
input {
  outline: none;
  text-indent: 0;
}

/* all the input except submit and checkbox */
#wrapper input:not([type="checkbox"]){
	width: 80%;
	margin-top: 4px;
	padding: 10px 5px 10px 82px;	
	border: 1px solid rgb(58, 58, 58);
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	  -moz-box-sizing : content-box;
	       box-sizing : content-box;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
	-webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
	   -moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
	        box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#wrapper input:not([type="checkbox"]):active,
#wrapper input:not([type="checkbox"]):focus{
	border: 1px solid rgb(58, 58, 58);
	background: rgba(238, 236, 240, 0.2);	
	-webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
	   -moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
	        box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
} 

/** the magic icon trick ! **/
[data-icon]:after {
    content: attr(data-icon);
    /*font-family: 'FontomasCustomRegular';
    color: #676767;
    position: absolute;
    left: 10px;
    top: 5px;
	width: 30px;*/
}

/*styling both submit buttons */
#wrapper p.button input{
	width: 30%;
	cursor: pointer;	
	background: rgb(58, 58, 58);
	padding: 8px 5px;
	font-family: "Trebuchet MS","Myriad Pro",Arial,sans-serif;
	color: #fff;
	font-size: 18px;	
	border: 1px solid black;	
	margin-bottom: 10px;	
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
   -webkit-box-shadow: 0px 1px 6px 4px transparent inset, 0px 0px 0px 0px #FEFEFE, 0px 1px 3px 3px #D2D2D2;
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#wrapper p.button input:hover{
	background: rgb(103, 103, 103);
}
#wrapper p.button input:active,
#wrapper p.button input:focus{
	background: rgb(103, 103, 103);
	position: relative;
	top: 1px;
	border: 1px solid rgb(12, 76, 87);	
	-webkit-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
	   -moz-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
	        box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
}
p.login.button,
p.signin.button{
	text-align: right;
	margin: 5px 0;
}


/* styling the checkbox "keep me logged in"*/
.keeplogin{
	margin-top: -5px;
   float: left;
   width: 150px;
   display: block;
}
.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: 440px;
	padding: 17px 30px 22px 30px;
	font-size: 16px	;
	text-align: right;
	background: #3A3A3A;
background-image: -moz-linear-gradient(top, #414141, #323232);
background-image: -ms-linear-gradient(top, #414141, #323232);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#414141), to(#323232));
background-image: -webkit-linear-gradient(top, #414141, #323232);
background-image: -o-linear-gradient(top, #414141, #323232);
background-image: linear-gradient(top, #414141, #323232);
background-repeat: repeat-x;
}
#wrapper p.change_link a {
	display: inline-block;
	background: transparent;
	padding: 2px 6px;
	color: lightgrey;
	margin-left: 10px;
	text-decoration: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-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;
}
#wrapper p.change_link a:hover {
	color: grey;
}
#wrapper p.change_link a:active{
	position: relative;
	top: 1px;
}
input, button {
    border-radius: 6px 6px 6px 6px;
    border: 1px solid #CCCCCC;
}
.btn-sign {
    padding: 5px 20px;
    text-transform: uppercase;
    font-family: "museo-sans",sans-serif;
    font-size: 10px;
    background: -webkit-linear-gradient(top, #8c8c8c 0,#222222 100%,#222222 100%,#222222 100%);
    color: white;
    
    }
/** Styling both forms **/
#register, 
#login{
	/*position: absolute;*/
	/*top: 0px;*/
	width: 514px;	
    min-height: 277px;
	/*padding: 20px ;*/
	margin-left: auto;
    margin-right: auto;
    text-align: center;
	background: rgb(247, 247, 247);
	/*border: 1px solid rgb(58, 58, 58);
	-webkit-box-shadow: 0pt 2px 5px grey,	0px 0px 8px 5px grey inset;
	   -moz-box-shadow: 0pt 2px 5px grey,	0px 0px 8px 5px grey inset;
	        box-shadow: 0pt 2px 5px lightgray,	0px 0px 8px 5px lightgray inset;
	-webkit-box-shadow: 5px;
	-moz-border-radius: 5px;*/
    box-shadow:  0 0 1px 0;
    border-radius: 6px;
    background-image: linear-gradient(to bottom, #FFFFFF 0, #F7F7F7 100%);
}

#login img {
   height: 67px;
   margin-top: 35px;
   margin-bottom: 25px;
}
#register{	
	z-index: 21;
	opacity: 0;
}
/*#login{
	z-index: 22;
}*/
#toregister:target ~ #wrapper #register,
#tologin:target ~ #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 ~ #wrapper #login,
#tologin:target ~ #wrapper #register{
	-webkit-animation-name: fadeOutLeft;
	-moz-animation-name: fadeOutLeft;
	-ms-animation-name: fadeOutLeft;
	-o-animation-name: fadeOutLeft;
	animation-name: fadeOutLeft;
}

.animate{
	-webkit-animation-duration: 0.5s;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: both;
	
	-moz-animation-duration: 0.5s;
	-moz-animation-timing-function: ease;
	-moz-animation-fill-mode: both;
	
	-o-animation-duration: 0.5s;
	-o-animation-timing-function: ease;
	-o-animation-fill-mode: both;
	
	-ms-animation-duration: 0.5s;
	-ms-animation-timing-function: ease;
	-ms-animation-fill-mode: both;
	
	animation-duration: 0.5s;
	animation-timing-function: ease;
}

/** 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;
}