
/************************* Formulaire d'inscription ******************/
/** fonts used for the icons **/ 
@font-face {
  font-family: 'formulaires';
  src: url('fonts/formulaires.eot?16582527');
  src: url('fonts/formulaires.eot?16582527#iefix') format('embedded-opentype'),
       url('fonts/formulaires.woff?16582527') format('woff'),
       url('fonts/formulaires.ttf?16582527') format('truetype'),
       url('fonts/formulaires.svg?16582527#formulaires') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
    font-family: 'BebasNeueRegular';
    src: url('fonts/BebasNeue.otf');
    font-weight: normal;
    font-style: normal;
}

a.hiddenanchor{
	display: none;
}

/** Le wrapper du formulaire **/
#formcontact{
	margin: auto;	
	position: relative;	
	margin-top:30px;
	margin-bottom:30px;
}

/**** text styling ****/
#formcontact a{
	color: rgb(95, 155, 198);
	text-decoration: underline;
}


/*
#formcontact h1{
	font-size: 48px;
	color: rgb(6, 106, 117);
	padding: 2px 0 10px 0;
	font-family: 'BebasNeueRegular','Arial Narrow',Arial,sans-serif;
	font-weight: bold;
	text-align: center;
	padding-bottom: 30px;
}
*/

#formcontact p {
	margin-bottom:15px;
	text-align:left;
}
#formcontact p:first-child{
	margin: 0px;
}
#formcontact label{
	color: #EDE9F7;
	font-weight:bold;
	position: relative;
}

/**** advanced input styling ****/
/* placeholder */
::-webkit-input-placeholder  { 
	color: rgb(168, 166, 166); 
	font-style: italic;
}
input:-moz-placeholder, textarea:-moz-placeholder {
	color: rgb(168, 166, 166);
	font-style: italic;
} 
input:-ms-input-placeholder {
	color: rgb(168, 166, 166);
	font-style: italic;
}
input {
  outline: none;
}

/* all the input except submit and checkbox */
#formcontact input:not([type="checkbox"]), textarea {
	width: 92%;
	margin-top: 4px;
	padding: 10px 5px 10px 32px;
	background-color : #E9ECF1;
	font-family: Arial,sans-serif;
	color: rgba(129, 159, 182, 1);

	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	-webkit-box-shadow: 0px 1px 4px 0px rgba(157, 179, 208, 0.6) inset;
	   -moz-box-shadow: 0px 1px 4px 0px rgba(157, 179, 208, 0.6) inset;
	        box-shadow: 0px 1px 4px 0px rgba(157, 179, 208, 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;
    border: none;
}
#formcontact input:not([type="checkbox"]):active,
#formcontact input:not([type="checkbox"]):focus, #formcontact textarea:focus  {
	border: 1px solid rgba(91, 90, 90, 0.7);
	background: rgba(211, 231, 253, 1);
	-webkit-box-shadow: 0px 1px 4px 0px rgba(157, 179, 208, 0.9) inset;
	   -moz-box-shadow: 0px 1px 4px 0px rgba(157, 179, 208, 0.9) inset;
	        box-shadow: 0px 1px 4px 0px rgba(157, 179, 208, 0.9) inset;
} 

/** the magic icon trick ! **/
[data-icon]:after {
    content: attr(data-icon);
    font-family: 'formulaires';
    color: #2a445d;
    position: absolute;
    left: 10px;
    top: 35px;
	width: 30px;
}

/*styling both submit buttons */
#formcontact p.button input {
	width: 30%;
	cursor: pointer;	
	background: #A0C053;
	padding: 8px 5px;
	margin-top:30px;
	margin-bottom:20px;
	font-weight: 800;
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);

	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}


#formcontact p.button input:hover{
	background: rgb(74, 179, 198);
}
#formcontact p.button input:active,
#formcontact p.button input:focus{
	background: rgb(40, 137, 154);
	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: center;
	/*margin: 5px 0;*/
}
#formcontact p.signin {
	text-align: center;
}

/** Styling the form **/
.animate0  {	
  -webkit-animation-duration: .2s;
          animation-duration: .2s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

#register1, #register2 {
	/*position: absolute;*/
	position: relative;
	top: 0px;
	width: 88%;	
	
	padding: 18px 6% 60px 6%;
	background: rgb(247, 247, 247);
	border: 1px solid rgba(147, 184, 189,0.8);
	-webkit-box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),	0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	   -moz-box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),	0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	        box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),	0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	-webkit-box-shadow: 5px;
	-moz-border-radius: 5px;
		 border-radius: 5px;
}

#register2{	
	z-index: 1;
	/*opacity: 0;*/
	display: none;
}
#register1{
	z-index: 2;
}
#toregister1:target ~ #formcontact #register1,
#toregister2:target ~ #formcontact #register2{
	z-index: 2;
	/*-webkit-animation-delay: .6s;
	-moz-animation-delay: .6s;
	-o-animation-delay: .6s;
	-ms-animation-delay: .6s;
	animation-delay: .6s;*/
	
	-ms-animation-timing-function: ease-in;
	-o-animation-timing-function: ease-in;
	-moz-animation-timing-function: ease-in;
	-webkit-animation-timing-function: ease-in;
	animation-timing-function: ease-in;
	
	-webkit-animation-name: zoomIn;
	-moz-animation-name: zoomIn;
	-ms-animation-name: zoomIn;
	-o-animation-name: zoomIn;
	animation-name: zoomIn;
	display: block;
}
#toregister1:target ~ #formcontact #register2,
#toregister2:target ~ #formcontact #register1{
	-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: zoomOut;
	-moz-animation-name: zoomOut;
	-ms-animation-name: zoomOut;
	-o-animation-name: zoomOut;
	animation-name: zoomOut;
	display: none;
}

.form_wrap {
	position: relative;
	width: 88%;	
	margin-top:10px;
	margin-bottom:80px;
	padding: 18px 6% 10px 6%;
	background-color: #334C6A;
		-moz-border-radius: 5px;
	 -webkit-border-radius: 5px;
			 border-radius: 5px;
		/* shadow */
			-moz-box-shadow: 4px 4px 5px rgba(20, 20, 20, 0.5);
		 -webkit-box-shadow: 4px 4px 5px rgba(20, 20, 20, 0.5);
			  -o-box-shadow: 4px 4px 5px rgba(20, 20, 20, 0.5);
				 box-shadow: 4px 4px 5px rgba(20, 20, 20, 0.5);
	
	
	/*background: rgb(247, 247, 247);
	border: 1px solid rgba(147, 184, 189,0.8);
	-webkit-box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),	0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	   -moz-box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),	0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	        box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),	0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	-webkit-box-shadow: 5px;
	-moz-border-radius: 5px;
		 border-radius: 5px;*/
}

/** 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 #formcontact input{
	padding: 10px 5px 10px 32px;
    width: 92%;
}
.lt8 #formcontact input[type=checkbox]{
	width: 10px;
	padding: 0;
}
.lt8 #formcontact h1{
	color: #066A75;
}

.lt8 p.change_link,
.ie9 p.change_link{
	position: absolute;
	height: 90px;
	background: transparent;
}

#formcontact span.error-block {
    color: #ff6565;
}


/***********************************************
Mobile (portrait 768px)
***********************************************/
@media only screen and (max-width:768px) {
	.form_wrap { width: 100%; }
	#formcontact p.button input { width:70%; } 
} 