/* GLOBALS */
html  {
	background-color: #a2a2a2;
	
}
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

 

/* Demo 2 */

calibri {font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 16px;
}


/* line 4, ../sass/style.scss */
.input span {
  display: none;
}
/* line 5, ../sass/style.scss */
.input input:required, .input textarea:required {
  background: url(asterisk.png) 98% center no-repeat;
  color :black;
  background-color: #fff;
}
/* line 8, ../sass/style.scss */
.input input:focus:invalid, .input textarea:focus:invalid {
	
		  border: 3px solid #ff0000;
    border-radius: 5px;
	
	
  border-color: #FF0000;
  background-image: none;
  -moz-box-shadow: 0 0 5px #d45252;
  -webkit-box-shadow: 0 0 5px #d45252;
  -o-box-shadow: 0 0 5px #d45252;
  box-shadow: 0 0 5px #d45252;
}
/* line 13, ../sass/style.scss */
.input input:focus:invalid + span, .input textarea:focus:invalid + span {
	

  display: block;
  color: #FF0000;/* line 17, ../sass/style.scss *//* line 17, ../sass/style.scss *//* line 17, ../sass/style.scss *//* line 17, ../sass/style.scss *//* line 17, ../sass/style.scss */
}
/* line 17, ../sass/style.scss */
.input input:focus:valid, .input textarea:focus:valid {
  border-color: #56c93f;
  -moz-box-shadow: 0 0 5px #56c93f;
  -webkit-box-shadow: 0 0 5px #56c93f;
  -o-box-shadow: 0 0 5px #56c93f;
  box-shadow: 0 0 5px #56c93f;
}
/* line 21, ../sass/style.scss */
.input input:valid, .input textarea:valid {
  background-image: none;
}


input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus{
	outline: none;
}

/* le block et contenair du formulaire */
	
	#date1 {    
		width: 60px; 
		} 
	
	
	#date {    
		width: 130px; 
		} 
	  	#nom, #prenom {    
		width: 205px; 
		}	
		
		#email {    
		width: 275px; 
		}	
		
.form-2 {
    /* Size and position *//* Size and position *//* Size and position *//* Size and position *//* Size and position *//* Size and position *//* Size and position *//* Size and position */
    width: 450px;
    height: 290px;
    margin: 25px auto;
    padding: 15px;
    position: relative;

    /* Styles */
    background: rgba(0, 191, 255, 0.64);
    border-radius: 4px;
    color: #ffffff;
    box-shadow:
        0px 2px 2px rgba(0,0,0,0.2),        
        0 1px 5px rgba(0,0,0,0.2),        
        0 0 0 12px rgba(255,255,255,0.4); 
}
		.form-2 input[type=text],
.form-2 input[type=password]
 {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
     
     
    padding: 5px;
    margin-bottom: 5px;
    border: 3px solid #ebe6e2;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
		
 		input:focus:invalid{
	border: dotted 1px;
		border-color:#FF0000;
		
		}
 
	#subscribe-email {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	}
	
 
 
.error{
 font-size: 12px; color:#ff0000; }
		
 /* Demo 2 */


.form-2 h1 {
    font-size: 15px;
    font-weight: bold;
    color: #bdb5aa;
    padding-bottom: 8px;
  
     
    box-shadow: 0px 1px 0px rgba(255,255,255,0.8);
}

.form-2 h1 .log-in,
.form-2 h1 .sign-up {
    display: inline-block;
    text-transform: uppercase;
}

.form-2 h1 .log-in {
    color: #2d2c2b;
    padding-right: 2px;
}

.form-2 h1 .sign-up {
    color: #ffb347;
    padding-left: 2px;
}

.form-2 .float {
    width: 50%;
    float: left;
    padding-top: 15px;
    
}

.form-2 .float:first-of-type {
    padding-right: 5px;
}

.form-2 .float:last-of-type {
    padding-left: 5px;
}

.form-2 label {
	 font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    display: block;
    padding: 0 0 5px 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
     
    font-size: 11px;
}

.form-2 label i {
	
    margin-right: 5px; /* Gap between icon and text */
    display: inline-block;
    width: 10px;
}





.form-2 input[type=text2],
.form-2 input[type=password2] {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
     
     
    padding: 5px;
    margin-bottom: 5px;
    border: 3px solid #ebe6e2;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}








.

.form-2 label:hover ~ input {
    border-color: #CCC;
}

 

.form-2 input[type=submit],
.form-2 .log-twitter {
    /* Size and position--------------------ici l'input de validation */
    width: 300px;
    height: 40px;
      position: absolute;
    
    left: 50%;
    transform: translateX(-50%)  ;
 
    /* Styles */
    box-shadow: inset 0 1px rgba(255,255,255,0.3);
    border-radius: 5px;
    cursor: pointer;

    /* Font styles */
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 14px;
    line-height: 38px; /* Same as height */
    text-align: center;
    font-weight: bold;
}

.form-2 input[type=submit] {
    margin-left: 1%;
    background: #fbd568; /* Fallback */
    background: -moz-linear-gradient(#fbd568, #ffb347);
    background: -ms-linear-gradient(#fbd568, #ffb347);
    background: -o-linear-gradient(#fbd568, #ffb347);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#fbd568), to(#ffb347));
    background: -webkit-linear-gradient(#fbd568, #ffb347);
    background: linear-gradient(#fbd568, #ffb347);
    border: 1px solid #f4ab4c;
    color: #7d4900;
    text-shadow: 0 1px rgba(255,255,255,0.3);
}

.form-2 .log-twitter {
    margin-right: 1%;
    background: #34a5cf; /* Fallback */
    background: -moz-linear-gradient(#34a5cf, #2a8ac4);
    background: -ms-linear-gradient(#34a5cf, #2a8ac4);
    background: -o-linear-gradient(#34a5cf, #2a8ac4);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#34a5cf), to(#2a8ac4));
    background: -webkit-linear-gradient(#34a5cf, #2a8ac4);
    background: linear-gradient(#34a5cf, #2a8ac4);
    border: 1px solid #2b8bc7;
    color: #ffffff;
    text-shadow: 0 -1px rgba(0,0,0,0.3);
    text-decoration: none;
}



/* Fallback fro broswers that don't support box shadows */
.no-boxshadow .form-2 input[type=submit]:hover {
    background: #ffb347;
}

.no-boxshadow .form-2 .log-twitter:hover {
    background: #2a8ac4;
}

.form-2 p:last-of-type {
    clear: both;    
}

.form-2 .opt {
    text-align: right;
    margin-right: 3px;
}

.form-2 label[for=showPassword] {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

.form-2 input[type=checkbox] {
    vertical-align: middle;
    margin: -1px 5px 0 1px;
}

