@import url('font-awesome.css');

*,
*: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;
}

.formulaire {
    /* taille et position*/
    width: 300px;
	
    margin: 60px auto 30px;
    padding: 20px;
    position: relative; /* position du bouton de validation*/
    
    /* Styles 
    box-shadow: 
        0 0 1px rgba(0, 0, 0, 0.4), 
        0 3px 7px rgba(0, 0, 0, 0.4), 
        inset 0 1px rgba(255,255,255,1),
        inset 0 -3px 2px rgba(0,0,0,0.25);*/
		
    border-radius: 5px;
    background: white; 
    background: -moz-linear-gradient(#eeefef, #ffffff 10%);
    background: -ms-linear-gradient(#eeefef, #ffffff 10%);
    background: -o-linear-gradient(#eeefef, #ffffff 10%);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#eeefef), color-stop(0.1, #ffffff));
    background: -webkit-linear-gradient(#eeefef, #ffffff 10%);
    background: linear-gradient(#eeefef, #ffffff 10%);
}

.formulaire .field {
    position: relative; /* position icone */
}

.formulaire .field i {/* taille et position */
    left: 0;
    top: 0;
    position: absolute;
    height: 36px;
    width: 36px;

    /* Line */
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.7);

    /* Styles */
    color: #777777;
    text-align: center;
    line-height: 42px;
    -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;
    pointer-events: none;
}

.formulaire input[type=text],
.formulaire input[type=password],
textarea,.base_option select,
.formulaire input[type=number],input[type=tel]{
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    /* taille et position */
    width: 100%;
    padding: 10px 18px 10px 45px;

    /* Styles */
    border: none; /* Rsuppression du contour par default*/
    box-shadow: 
        inset 0 0 5px rgba(0,0,0,0.1),
        inset 0 3px 2px rgba(0,0,0,0.1)!important;
    border-radius: 3px!important;
      /*background:url('http://localhost/BDD/Formulaire/images/bg.jpg');*/
    color: #777;
    -webkit-transition: color 0.3s ease-out;
    -moz-transition: color 0.3s ease-out;
    -ms-transition: color 0.3s ease-out;
    -o-transition: color 0.3s ease-out;
    transition: color 0.3s ease-out;
}
.search,.search2{
   text-decoration:none;
	background:#28A315;
	border-top-right-radius:10px;
	border-bottom-left-radius:10px;
	padding:7px;
	font-size:24px;

	color:#fff;
	-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;
	
	box-shadow: 
        0 0 1px rgba(0, 0, 0, 0.4), 
        0 2px 1px rgba(0, 0, 0, 0.4), 
        inset 0 1px rgba(255,255,255,0),
        inset 0 -1px 2px rgba(0,0,0,0.25);
	
}

.formulaire input[type=text],
.base_option select,
.formulaire input[type=number]{
    margin-bottom: 10px;
}

.formulaire input[type=text]:hover ~ i,
textarea:hover~ i,
.formulaire input[type=password]:hover ~ i ,
.base_option select:hover ~ i,
.formulaire input[type=number]:hover~ i{
    color: #28A315;
}

.formulaire input[type=text]:focus ~ i,
.base_option select:focus ~ i,
textarea:focus~ i,
.formulaire input[type=password]:focus ~ i ,
.formulaire input[type=number]:focus~ i{
    color: #28A315;
}

.formulaire input[type=text]:focus,
.formulaire input[type=password]:focus,
textarea:hover~ i,
.formulaire button[type=submit]:focus ,
.base_option select:focus,
.formulaire input[type=number]:focus{
    outline: none;
}

.formulaire .submit {
    /* taille et position */
  
    position: absolute;
	margin-top:-20px;
	width:83px;
	height:83px;
    top: 20px;
    right: -87px;
    padding: 8px;
   
    /* Styles */
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 
        0 0 2px rgba(0,0,0,0.1),
        0 3px 2px rgba(0,0,0,0.1),
        inset 0 -3px 2px rgba(0,0,0,0.2);
}

.formulaire .submit:after {
    /* taille et position */
    content: "";
	/*.....................
    width: 10px;
    height: 10px;
	*/
    position: absolute;
    top: -2px;
    left: 30px;

    /* Styles */
    background: #ffffff;
    
    /* Other masks trick */
    box-shadow: 0 62px white, -32px 31px white;
}

.formulaire button {
    /* taille et position*/
    width: 100%;
    height: 100%;
    margin-top: -1px;

    /* Icon styles */
    font-size: 1.4em;
    line-height: 1.75;
    color: white;

    /* Styles */
    border: none; /* Remove the default border */
    border-radius: inherit;
    background: #5D5959;
    background: -moz-linear-gradient(#5D5959, #28A315);
    background: -ms-linear-gradient(#5D5959, #28A315);
    background: -o-linear-gradient(#5D5959, #28A315);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#5D5959), to(#28A315));
    background: -webkit-linear-gradient(#5D5959, #28A315);
    background: linear-gradient(#5D5959, #28A315);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.3),
        0 1px 2px rgba(0,0,0,0.35),
        inset 0 3px 2px rgba(255,255,255,0.2),
        inset 0 -3px 2px rgba(0,0,0,0.1);

    cursor: pointer;
}

.formulaire button:hover,
.formulaire button[type=submit]:focus {
    background: #7CB342;
    -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;
}

.formulaire button:active {
    background: #42A2BC;
    box-shadow: 
        inset 0 0 5px rgba(0,0,0,0.3),
        inset 0 3px 4px rgba(0,0,0,0.3);
}







.formulaire2 .field {
    position: relative; /* position icone */
    margin: 4px;
}

.formulaire2 .field i {/* taille et position */
    left: 0;
    top: 0;
    position: absolute;
    height: 36px;
    width: 36px;

    /* Line */
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.7);

    /* Styles */
    color: #777777;
    text-align: center;
    line-height: 42px;
    -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;
    pointer-events: none;
}

.formulaire2 .submit:after {
    /* taille et position */
    content: "";
    /*.....................
    width: 10px;
    height: 10px;
    */
    position: absolute;
    top: -2px;
    left: 30px;

    /* Styles */
    background: #ffffff;

    /* Other masks trick */
    box-shadow: 0 62px white, -32px 31px white;
}
